Jump to content

Installing NVIDIA drivers


moskal
 Share

Recommended Posts

  • Replies 34
  • Created
  • Last Reply

Top Posters In This Topic

of course we can :), first you go to www.nvidia.com, there you go to section Download drivers, and there you see Linux & Freebsd drivers, there you can download the drivers for your architecture, I suppose you pick the first one Linux Display Driver IA32 1.0-6111, or you can download them here:

Nvidea IA32

 

After downloading, you go to terminal, as root, and you type init 3(make sure everything important is saved). this will shutdown the x server, and will give you a console, you log in as root again, navigate to your download folder, and type:

 

sh NVIDIA-Linux-x86-1.0-6111-pkg1.run

 

this will start the installation, just follow instructions, if everything went well, you can launch your x server with "startx"

 

:)

Link to comment
Share on other sites

I have made rpms for NVIDIA-4620 NVIDIA-5341 NVIDIA-6111 and fglrx-3.9.0

I have them compiled for the latest sds kernel 2.6.7-1.sds.37mdk at my site.

I have compile new versions for the latest mandrake-10.0 kernels

2.4.25-7mdk and 2.6.3-15mdk and i will upload them tomorrow

the srpms should compile for any mandrake,multimedia,tmb or sds kernel.

They will be available at

http://rpm.nyvalls.se/graphics10.0.html

 

/Torbjörn Turpeinen (Thac)

Link to comment
Share on other sites

Yes, I did that, but then I got an error and I couldnt start my X, and I didnt know what to do and i reinstalled my MDK :-/

 

now im scared to do it again... hehe what a newbie i am

 

Tom

 

You did what ? You did follow Echylo's (nice but somehow incomplete) instructions or the far more detailed ones at the FAQ & HOWTOs forum I pointed out ? I doubt you've done the latest...

 

Anyway I wouldnt recommend you to reinstall neither, post errors and s/b will help you out.

Link to comment
Share on other sites

I fallowed this from LQ:

 

1. start the computer & choose the "failsafe" option to boot from. (this will boot you into text mode & dump you at a login prompt)

 

2. at the login prompt, type your user name (enter) password (enter)

 

3. type su (enter) password (enter) this will put you in root mode. then type...... init 3 (hit enter) to kill xserver. relogin as root.

 

4. navigate to the directory where you have the nvidia installer script.

 

5. type ls (enter) that will list the contents of the directory (in case you have more than one file on there. you're going to need to know the install script file name, in full.)

 

6. type the following. this is CapSenSItIve....... sh NVIDIA-LINUX-x86-1.0-XXXX-pkg1.run (XXXX=current version number)

 

7. accept the agreement, then answer yes to the prompts. it will load the drivers & when it's done it will dump you back at the prompt.

 

8. we're going to use VI to edit your xf86config file. follow the steps exactly as i type them. again, it's CapSensiTIve.

 

9. type vim /etc/X11/XF86Config-4 (enter)

 

10. type i (this is for insert mode so you can isert the proper driver line)

 

11. use your arrow keys & scroll to the section where it says Section "Module". under that, make sure there's a line that says Load "glx" # 3d layer . if there isn't, add it as the last line, then hit esc .

 

12. if it says either or both of the following under the "Module" section (Load "DRI" Load "Glcore"), remove them by typing i & using the arrow keys to navigate to them & the space or backspace bar(s) to remove them. hit esc .

 

13. type i & use your arrow keys to navigate to where it says Section "Device". navigate to where it says Driver "nv" or Driver "vesa" & make it read Driver "nvidia" .........that's Driver(space)(quotes)nvidia(quotes)

 

14. hit the esc key.

 

15. type :wq (enter) ..........that's (colon)wq then hit the enter key.

 

16. type reboot

 

And when I rebooted I got a long error, so I did not feel like copying it on the paper and then typing it in because it was pretty late and I had to get up in the morning, so I reinstalled it (yes a quick reinstallation)

 

 

Today I'll try the technique from h**p://www.mandrakeusers.org/index.php?showtopic=4567 here, and I'll let you guys know how did it go...

 

 

Thanks for your time!

 

 

Tom

Link to comment
Share on other sites

  • 2 weeks later...

Hey I can't install he drivers either..... the program tells me there was an error when it tried to build the drivers... it also tells me that I have to check /var/logs/NVidiainstaller.log and here's the file... hope you can help me:

 

 

nvidia-installer log file '/var/log/nvidia-installer.log'

creation time: Fri Aug 27 01:05:05 2004

 

option status:

license pre-accepted : false

update : false

force update : false

expert : false

uninstall : false

driver info : false

no precompiled interface: false

no ncurses color : false

query latest driver ver : false

OpenGL header files : false

no questions : false

silent : false

X install prefix : /usr/X11R6

OpenGL install prefix : /usr

Installer install prefix: /usr

kernel source path : (not specified)

kernel install path : (not specified)

proc mount point : /proc

ui : (not specified)

tmpdir : /root/tmp

ftp site : ftp://download.nvidia.com

 

Using: nvidia-installer ncurses user interface

-> License accepted.

-> No precompiled kernel interface was found to match your kernel; would you li

ke the installer to attempt to download a kernel interface for your kernel f

rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)

-> No matching precompiled kernel interface was found on the NVIDIA ftp site;

this means that the installer will need to compile a kernel interface for

your kernel.

-> Kernel source path: '/lib/modules/2.6.3-4mdk/build'

-> Performing cc_version_check with CC="cc".

-> Performing rivafb check.

-> Performing rivafb module check.

WARNING: Your kernel was configured to include rivafb support as

a loadable kernel module.

 

The rivafb driver conflicts with the NVIDIA driver; the

NVIDIA kernel module will still be built and installed,

but be aware that the NVIDIA driver will not be able to

function properly if the rivafb module is loaded!

-> Cleaning kernel module build directory.

executing: 'cd ./usr/src/nv; make clean'...

rm -f -f nv.o os-agp.o os-interface.o os-registry.o nv.o os-agp.o os-interfa

ce.o os-registry.o nvidia.mod.o

rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags}

rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~

-> Building kernel module:

executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.3-4mdk/buil

d SYSOUT=/lib/modules/2.6.3-4mdk/build'...

Your kernel was configured to include rivafb support as

a loadable kernel module.

 

The rivafb driver conflicts with the NVIDIA driver; the

NVIDIA kernel module will still be built and installed,

but be aware that the NVIDIA driver will not be able to

function properly if the rivafb module is loaded!

 

*** Failed rivafb module sanity check, but continuing! ***

 

 

NVIDIA: calling KBUILD...

make -C /lib/modules/2.6.3-4mdk/build \

KBUILD_SRC=/usr/src/linux-2.6.3-4mdk KBUILD_VERBOSE=1 \

KBUILD_CHECK= -f /usr/src/linux-2.6.3-4mdk/Makefile modules

Using /usr/src/linux-2.6.3-4mdk as source for kernel

if [ -h /usr/src/linux-2.6.3-4mdk/include/asm -o -f /usr/src/linux-2.6.3-4md

k/.config ]; then \

echo " /usr/src/linux-2.6.3-4mdk is not clean, please run 'make mrproper'"

;\

echo " in the '/usr/src/linux-2.6.3-4mdk' directory.";\

/bin/false; \

fi;

/usr/src/linux-2.6.3-4mdk is not clean, please run 'make mrproper'

in the '/usr/src/linux-2.6.3-4mdk' directory.

make[3]: *** [prepare1] Error 1

make[2]: *** [modules] Error 2

NVIDIA: left KBUILD.

nvidia.ko failed to build!

make[1]: *** [module] Error 1

make: *** [module] Error 2

-> Error.

ERROR: Unable to build the NVIDIA kernel module.

ERROR: Installation has failed. Please see the file

'/var/log/nvidia-installer.log' for details. You may find suggestions

on fixing installation problems in the README available on the Linux

driver download page at www.nvidia.com.

 

Atte. Nomasoscar

Athlon xp 2000+ 512 sdram GeForce 4 mx 440

Link to comment
Share on other sites

I would try downloading the kerenl source that matches with the kernel using urpmi. Then once installed, try installing the driver.

 

I have installed the sources and it still can't compile.... I don'e know why... you can see my errors log above. Maybe it is because I'm running the community version.. il try downloading the official version.

Link to comment
Share on other sites

/usr/src/linux-2.6.3-4mdk is not clean, please run 'make mrproper'

in the '/usr/src/linux-2.6.3-4mdk' directory.

cd /usr/src/linux-2.6.3-4mdk

make mrproper

 

then try again

 

I did the make mrproper in the /usr/src/linuz-2.6.3-4mdk/ directory and I tried again to compile.. but it showed another error message... here's the log:

 

nvidia-installer log file '/var/log/nvidia-installer.log'

creation time: Sat Aug 28 18:59:50 2004

 

option status:

license pre-accepted : false

update : false

force update : false

expert : false

uninstall : false

driver info : false

no precompiled interface: false

no ncurses color : false

query latest driver ver : false

OpenGL header files : false

no questions : false

silent : false

X install prefix : /usr/X11R6

OpenGL install prefix : /usr

Installer install prefix: /usr

kernel source path : (not specified)

kernel install path : (not specified)

proc mount point : /proc

ui : (not specified)

tmpdir : /root/tmp

ftp site : ftp://download.nvidia.com

 

Using: nvidia-installer ncurses user interface

-> License accepted.

-> No precompiled kernel interface was found to match your kernel; would you li

ke the installer to attempt to download a kernel interface for your kernel f

rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)

-> No matching precompiled kernel interface was found on the NVIDIA ftp site;

this means that the installer will need to compile a kernel interface for

your kernel.

-> Kernel source path: '/lib/modules/2.6.3-4mdk/build'

-> Performing cc_version_check with CC="cc".

ERROR: If you are using a Linux 2.4 kernel, please make sure

you either have configured kernel sources matching your

kernel or the correct set of kernel headers installed

on your system.

 

If you are using a Linux 2.6 kernel, please make sure

you have configured kernel sources matching your kernel

installed on your system. If you specified a separate

output directory using either the "KBUILD_OUTPUT" or

the "O" KBUILD parameter, make sure to specify this

directory with the SYSOUT environment variable or with

the appropriate nvidia-installer command line option.

ERROR: Installation has failed. Please see the file

'/var/log/nvidia-installer.log' for details. You may find suggestions

on fixing installation problems in the README available on the Linux

driver download page at www.nvidia.com.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share


×
×
  • Create New...