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

Share your own howto's etc. Not for support questions!

Postby plugwash » 2007-08-25 12:34

can you try

LANG=C modprobe nvidia

so we can actually make sense of the error message
plugwash
 
Posts: 2508
Joined: 2006-09-17 01:10

Postby bibou91 » 2007-08-25 13:03

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
bibou91
 
Posts: 2
Joined: 2007-08-25 10:20

Postby paul555 » 2007-08-30 14:05

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?
paul555
 
Posts: 5
Joined: 2007-08-28 08:20

Postby mshihrer » 2007-09-09 07:20

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!
mshihrer
 
Posts: 2
Joined: 2007-09-09 06:59

Postby mzilikazi » 2007-09-09 13:40

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
mzilikazi
Forum Ninja
 
Posts: 3321
Joined: 2004-09-16 02:14
Location: Colorado Springs, CO

Postby the » 2007-09-15 20:16

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?
User avatar
the
 
Posts: 176
Joined: 2007-07-29 20:28

Postby jongi » 2007-10-03 19:43

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
jongi
 
Posts: 477
Joined: 2007-04-15 02:41

Postby ~rob33n » 2007-10-13 00:15

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
~rob33n
 
Posts: 3
Joined: 2007-08-13 10:38
Location: behind u!

Postby sith2242 » 2007-10-14 17:08

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 ?
sith2242
 
Posts: 3
Joined: 2007-10-06 07:08

Postby mzilikazi » 2007-10-14 19:51

~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
User avatar
mzilikazi
Forum Ninja
 
Posts: 3321
Joined: 2004-09-16 02:14
Location: Colorado Springs, CO

Postby ~rob33n » 2007-10-14 20:15

Finally I fix the problem.
it's about the nvidia-kernel-source and some source lists.
~rob33n
 
Posts: 3
Joined: 2007-08-13 10:38
Location: behind u!

Postby denham2010 » 2007-10-15 01:38

UPDATE

I found this post: http://www.linuxquestions.org/questions ... lx-452126/

And looking in /usr/lib/xorg/modules/drivers the file nvidia_drv.o exists but I don't have nvidia_drv.so

Help! I am completely new to installing nvidia drivers (using kernel 2.6.22.2-686 if that helps.)

Hi rob33n.

Can you please provide more details.

I have exactly the same problem, but cannot seem to find how to fix it.

I followed the install guide here: http://wiki.debian.org/NvidiaGraphicsDrivers without any errors, yet on boot, it fails to load the nvidia module.
denham2010
 
Posts: 6
Joined: 2007-06-27 22:27

Postby mzilikazi » 2007-10-15 11:50

denham2010 wrote: yet on boot, it fails to load the nvidia module.

Try probing the driver manually and post the output here.
Code: Select all
CTRL+ALT+F1
root
<password>
modprobe nvidia
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
mzilikazi
Forum Ninja
 
Posts: 3321
Joined: 2004-09-16 02:14
Location: Colorado Springs, CO

Postby ~rob33n » 2007-10-15 17:24

the problem is about mesa-utils ..
~rob33n
 
Posts: 3
Joined: 2007-08-13 10:38
Location: behind u!

Postby mindtrick » 2007-10-23 07:15

There's no nvidia-kernel-source in testing repository? What should I do?
I can upgrade to Sid but I want to try out Lenny for some time.
mindtrick
 
Posts: 10
Joined: 2006-08-29 22:31

PreviousNext

Return to Docs, Howtos, Tips & Tricks

Who is online

Users browsing this forum: No registered users and 7 guests

fashionable