Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Nvidia driver - Debian way, custom (or not) kernel.

Share your HowTo, Documentation, Tips and Tricks. Not for support questions!.
Message
Author
jongi
Posts: 472
Joined: 2007-04-15 02:41

#21 Post by jongi »

yeah. i was hoping I could change the post before someone quotes it. Obviously that failed :(

mzilikazi is a distinctly South African sounding name

User avatar
mzilikazi
Forum Account
Forum Account
Posts: 3282
Joined: 2004-09-16 02:14
Location: Colorado Springs, CO

#22 Post by mzilikazi »

jongi wrote: mzilikazi is a distinctly South African sounding name
Indeed it is! I first heard of Mzilikazi in Micheners book "The Covenant" and found him to be a very fascinating man.
Debian Sid Laptops:
AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 / 1.5G
Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz / 3G

jongi
Posts: 472
Joined: 2007-04-15 02:41

#23 Post by jongi »

aah the Shaka right hand man

User avatar
mzilikazi
Forum Account
Forum Account
Posts: 3282
Joined: 2004-09-16 02:14
Location: Colorado Springs, CO

#24 Post by mzilikazi »

This post was updated for the latest Nvidia driver available from Debian repos. This is just a quick note to remind those that may still be subscribed to this thread.
Debian Sid Laptops:
AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 / 1.5G
Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz / 3G

User avatar
Chris Cornell
Posts: 18
Joined: 2007-07-10 09:12

#25 Post by Chris Cornell »

thx a lot. As you can see in my signature I run it successfully.
Much appreciate your Howto.
etch || 2.6.24-rt1 || NVIDIA 169.09 || fvwm cvs patched || pekwm

Licence: by-nc-sa

User avatar
CocoAUS
Posts: 496
Joined: 2007-04-29 08:40

#26 Post by CocoAUS »

WHY THE EFF isn't nvidia-kernel ever in the repos? It would be really nice to be able to just install nvidia-glx and be done with it.

User avatar
Chris Cornell
Posts: 18
Joined: 2007-07-10 09:12

#27 Post by Chris Cornell »

which repos? the official one? ever thought about the licence? :?
etch || 2.6.24-rt1 || NVIDIA 169.09 || fvwm cvs patched || pekwm

Licence: by-nc-sa

User avatar
CocoAUS
Posts: 496
Joined: 2007-04-29 08:40

#28 Post by CocoAUS »

Chris Cornell wrote:which repos? the official one? ever thought about the licence? :?
It is (or was not long ago...too lazy to check) in the Testing and Stable repos. Besides, all the tools are right in the repos, just nvidia-kernel isn't.

User avatar
Chris Cornell
Posts: 18
Joined: 2007-07-10 09:12

#29 Post by Chris Cornell »

CocoAUS wrote:
Chris Cornell wrote:which repos? the official one? ever thought about the licence? :?
It is (or was not long ago...too lazy to check) in the Testing and Stable repos. Besides, all the tools are right in the repos, just nvidia-kernel isn't.
I know. Than I don't understand your posting before. sorry for that.
etch || 2.6.24-rt1 || NVIDIA 169.09 || fvwm cvs patched || pekwm

Licence: by-nc-sa

bibou91
Posts: 2
Joined: 2007-08-25 10:20

#30 Post by bibou91 »

Hi!

I've followed this howto.
However it doesn't work for me.

When i do modprobe nvidia
I've this output

Code: Select all

 modprobe nvidia
sh: /sbin/lrm-video: Aucun fichier ou répertoire de ce type
FATAL: Error running install command for nvidia
People from non debian forums, may think because I had a ubuntu installed before.
When I've installed my debian I kept my home only.

I need your helps! Thank you!
Dell-Vostro 1500 with 8600GT
Debian sid
2.6.22-1 Amd64

plugwash
Posts: 2507
Joined: 2006-09-17 01:10
Contact:

#31 Post by plugwash »

can you try

LANG=C modprobe nvidia

so we can actually make sense of the error message

bibou91
Posts: 2
Joined: 2007-08-25 10:20

#32 Post by bibou91 »

Sorry :)

sh: /sbin/lrm-video: No such file or directory
FATAL: Error running install command for nvidia
Dell-Vostro 1500 with 8600GT
Debian sid
2.6.22-1 Amd64

paul555
Posts: 5
Joined: 2007-08-28 08:20

#33 Post by paul555 »

I followed the method which have mentioned in the first topic and now nvidia support is working ok but many opengl games are very slow and glxgears gives me low fps numbers

Code: Select all

$ glxgears 
1345 frames in 5.7 seconds = 234.673 FPS
562 frames in 5.6 seconds = 100.933 FPS
712 frames in 6.9 seconds = 103.724 FPS
661 frames in 5.3 seconds = 123.842 FPS
906 frames in 7.4 seconds = 122.698 FPS
722 frames in 5.4 seconds = 134.650 FPS
622 frames in 5.2 seconds = 120.659 FPS
811 frames in 5.0 seconds = 162.034 FPS
952 frames in 5.8 seconds = 164.088 FPS
601 frames in 5.3 seconds = 114.419 FPS
X connection to :0.0 broken (explicit kill or server shutdown).
Does anyone know how to fix this?

mshihrer
Posts: 2
Joined: 2007-09-09 06:59

#34 Post by mshihrer »

paul555 wrote:I followed the method which have mentioned in the first topic and now nvidia support is working ok but many opengl games are very slow and glxgears gives me low fps numbers

Code: Select all

$ glxgears 
1345 frames in 5.7 seconds = 234.673 FPS
562 frames in 5.6 seconds = 100.933 FPS
712 frames in 6.9 seconds = 103.724 FPS
661 frames in 5.3 seconds = 123.842 FPS
906 frames in 7.4 seconds = 122.698 FPS
722 frames in 5.4 seconds = 134.650 FPS
622 frames in 5.2 seconds = 120.659 FPS
811 frames in 5.0 seconds = 162.034 FPS
952 frames in 5.8 seconds = 164.088 FPS
601 frames in 5.3 seconds = 114.419 FPS
X connection to :0.0 broken (explicit kill or server shutdown).
Does anyone know how to fix this?
I was getting a similar, albeit far worse, result. I was lucky to get 60FPS. Far lower than what my system can do. Anyways, I just restarted my machine and it seemed to fix itself.

Code: Select all

30673 frames in 5.0 seconds = 6134.441 FPS
30560 frames in 5.0 seconds = 6111.946 FPS
30439 frames in 5.0 seconds = 6087.733 FPS
30617 frames in 5.0 seconds = 6123.334 FPS
30663 frames in 5.0 seconds = 6132.447 FPS
30767 frames in 5.0 seconds = 6153.300 FPS
I've never installed the nvidia drivers by following a guide, and still used module assistant and I decided to use this guide since there were some extra steps that I never took. So can I ask what the following line is for?

Code: Select all

grep -q ^nvidia /etc/modules || echo nvidia >> /etc/modules 
Thanks and well written howto!

User avatar
mzilikazi
Forum Account
Forum Account
Posts: 3282
Joined: 2004-09-16 02:14
Location: Colorado Springs, CO

#35 Post by mzilikazi »

mshihrer wrote: So can I ask what the following line is for?

Code: Select all

grep -q ^nvidia /etc/modules || echo nvidia >> /etc/modules 
It simply adds 'nvidia' to /etc/modules if it is not already there.
Debian Sid Laptops:
AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 / 1.5G
Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz / 3G

User avatar
the
Posts: 175
Joined: 2007-07-29 20:28

#36 Post by the »

bibou91 wrote:Sorry :)

sh: /sbin/lrm-video: No such file or directory
FATAL: Error running install command for nvidia

I'm getting the exact same error! I use ATI, and when I modprobe fglrx
Terminal wrote:

Code: Select all

# LANG= modprobe fglrx
sh: /sbin/lrm-video: No such file or directory
FATAL: Error running install command for fglrx
Any help here?

jongi
Posts: 472
Joined: 2007-04-15 02:41

#37 Post by jongi »

Which package provides glxinfo?

Code: Select all

[root:~#] dpkg -l | grep nvidia
ii  nvidia-glx                           100.14.19-1                 NVIDIA binary Xorg driver
ii  nvidia-kernel-2.6.22.9               100.14.19-1+jng2            NVIDIA binary kernel module for Linux 2.6.22
ii  nvidia-kernel-common                 20051028+1-0.1              NVIDIA binary kernel module common files
ii  nvidia-kernel-source                 100.14.19-1                 NVIDIA binary kernel module source
ii  nvidia-settings                      1.0+20060516-3              Tool of configuring the NVIDIA graphics driv
ii  nvidia-xconfig                       1.0+20070502-1              The NVIDIA X Configuration Tool
EDIT: The answer is - mesa-utils

~rob33n
Posts: 3
Joined: 2007-08-13 10:38
Location: behind u!
Contact:

#38 Post by ~rob33n »

I couldnt install the driver.I did all of them but I got an error like this.
my graphic card is geForce go7400 and using debian 'etch' rc1
I'm laptop user. sony vaio vgn-fe41m

Code: Select all

Failed to start X Server.
Failed to load module Nvidia
no drivers available

Code: Select all

rob33n@debian:~$ sudo dpkg -l | grep nvidia
ii  nvidia-glx                           1.0.8776-4                       NVIDIA binary XFree86 4.x driver
ii  nvidia-kernel-2.6.18-5-686           1.0.8776-4+2.6.18.dfsg.1-13etch4 NVIDIA binary kernel module for Linux 2.6.18
ii  nvidia-kernel-common                 20051028+1-0.1                   NVIDIA binary kernel module common files
ii  nvidia-kernel-source                 1.0.8776-4                       NVIDIA binary kernel module source
ii  nvidia-settings                      1.0+20060516-3                   Tool of configuring the NVIDIA graphics driv
ii  nvidia-xconfig                       1.0+20070502-1                   The NVIDIA X Configuration Tool
and here is the logs for nvidia and xorg.

http://rafb.net/p/SYW89v29.html
http://rafb.net/p/CCVFHy77.html

sith2242
Posts: 3
Joined: 2007-10-06 07:08

#39 Post by sith2242 »

i intall the nvidia driver using the Standard method , i get the nvidia logo but wen i did dmesg it show this
**WARNING** I2C adapter driver [NVIDIA I2C Device] forgot to specify physical device; fix it!
**WARNING** I2C adapter driver [NVIDIA I2C Device] forgot to specify physical device; fix it!
**WARNING** I2C adapter driver [NVIDIA I2C Device] forgot to specify physical device; fix it!
ISO 9660 Extensions: Microsoft Joliet Level 3
ISOFS: changing to secondary root
spurious 8259A interrupt: IRQ7.
how do i specify the physical device ?

User avatar
mzilikazi
Forum Account
Forum Account
Posts: 3282
Joined: 2004-09-16 02:14
Location: Colorado Springs, CO

#40 Post by mzilikazi »

~rob33n wrote:I couldnt install the driver.I did all of them but I got an error like this.
my graphic card is geForce go7400 and using debian 'etch' rc1
I'm laptop user. sony vaio vgn-fe41m

Code: Select all

Failed to start X Server.
Failed to load module Nvidia
no drivers available

Code: Select all

rob33n@debian:~$ sudo dpkg -l | grep nvidia
ii  nvidia-glx                           1.0.8776-4                       NVIDIA binary XFree86 4.x driver
ii  nvidia-kernel-2.6.18-5-686           1.0.8776-4+2.6.18.dfsg.1-13etch4 NVIDIA binary kernel module for Linux 2.6.18
ii  nvidia-kernel-common                 20051028+1-0.1                   NVIDIA binary kernel module common files
ii  nvidia-kernel-source                 1.0.8776-4                       NVIDIA binary kernel module source
ii  nvidia-settings                      1.0+20060516-3                   Tool of configuring the NVIDIA graphics driv
ii  nvidia-xconfig                       1.0+20070502-1                   The NVIDIA X Configuration Tool
and here is the logs for nvidia and xorg.

http://rafb.net/p/SYW89v29.html
http://rafb.net/p/CCVFHy77.html
Did you probe the nvidia dirver?

Code: Select all

modprobe nvidia
How did you install the driver? The Debian way presumably?
Debian Sid Laptops:
AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 / 1.5G
Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz / 3G

Post Reply