LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   installing nvidia drivers (https://www.linuxquestions.org/questions/linux-software-2/installing-nvidia-drivers-534436/)

sycamorex 03-04-2007 06:11 AM

installing nvidia drivers
 
Hi all,
I am running Debian 'testing'
I have downloaded a driver for my NVidia Gforce 7 series graphics card:

NVIDIA-Linux-x86-1.0-9746-pkg1.run

However, when I run
sh ./NVIDIA-Linux-x86-1.0-9746-pkg1.run

I got the error that I am running X session, and I need to quit it
first. Fair enough, it seems logical, however, how am I supposed to
exit it to run the installation program.


thanks

sycamorex

puntjuh 03-04-2007 06:25 AM

When your in your X server, logout, then on the loging screen press CTRL+ALT+F1.

Here login as normal user or root, type:

ps aux | grep gdm

now type:

kill xxxxx (replace xxxxx , by the PID as shown by ps aux)

Now from that same console, install your NVIDIA driver!

jschiwal 03-04-2007 07:33 AM

You can log out, switch to a virtual terminal, log into the terminal and switch to the "Full Multiuser with Network" init level. I think that debian might use different run level than the distro I use. If you don't know which one to use, look in your /etc/inittab file:
Code:

# runlevel 1  is  Single user mode
# runlevel 2  is  Local multiuser without remote network (e.g. NFS)
# runlevel 3  is  Full multiuser with network
# runlevel 4  is  Not used
# runlevel 5  is  Full multiuser with network and xdm

This is for SuSE, Redhat, Mandriva, etal. Slackware and maybe debian might be different. In my case, I would enter "sudo /sbin/init 3".

sycamorex 03-04-2007 08:38 AM

Thanks guys,

I managed to do it and everything seems fine

puntjuh 03-04-2007 11:31 AM

you should run:

glxinfo | grep direct

just to make sure 3d accelaration has been activated :).

sycamorex 03-05-2007 01:59 PM

Thanks, yes it is active:)

Quakeboy02 03-05-2007 02:05 PM

There are also the following commands that you can run from a root console:

/etc/init.d/gdm stop
/etc/init.d/gdm start
/etc/init.d/gdm restart


All times are GMT -5. The time now is 11:55 PM.