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
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

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

#41 Post by ~rob33n »

Finally I fix the problem.
it's about the nvidia-kernel-source and some source lists.

denham2010
Posts: 6
Joined: 2007-06-27 22:27

#42 Post by denham2010 »

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.

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

#43 Post by mzilikazi »

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

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

#44 Post by ~rob33n »

the problem is about mesa-utils ..

mindtrick
Posts: 10
Joined: 2006-08-29 22:31

#45 Post by mindtrick »

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

#46 Post by mindtrick »

Anyway, upgrading to Sid.

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

#47 Post by mzilikazi »

mindtrick wrote:Anyway, upgrading to Sid.
You don't have to upgrade just pull the source from Sid and comment out the repo.
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
neonl
Posts: 27
Joined: 2007-08-30 11:11

#48 Post by neonl »

Hi.

I'm a complete n00b at Debian (recently arrived form Ubuntu ;)) and I'm having a problem witch may be kind of stupid.

When I try to run the first line of the tutorial I get this:

Code: Select all

rui-debian:/home/rui# apt-get update && apt-get install nvidia-kernel-source module-assistant nvidia-settings nvidia-xconfig
Ign cdrom://[Debian GNU/Linux 4.0 r1 _Etch_ - Official i386 NETINST Binary-1 20070820-20:21] etch Release.gpg
Ign cdrom://[Debian GNU/Linux 4.0 r1 _Etch_ - Official i386 NETINST Binary-1 20070820-20:21] etch Release
Ign cdrom://[Debian GNU/Linux 4.0 r1 _Etch_ - Official i386 NETINST Binary-1 20070820-20:21] etch/contrib Packages/DiffIndex
Ign cdrom://[Debian GNU/Linux 4.0 r1 _Etch_ - Official i386 NETINST Binary-1 20070820-20:21] etch/main Packages/DiffIndex
Get:1 http://ftp.uevora.pt etch Release.gpg [378B]
Hit http://ftp.uevora.pt etch Release
Ign http://download.videolan.org sarge Release.gpg
Ign http://ftp.uevora.pt etch/main Packages/DiffIndex
Ign http://download.videolan.org sarge Release
Ign http://ftp.uevora.pt etch/main Sources/DiffIndex
Ign http://download.videolan.org sarge/main Packages/DiffIndex
Hit http://ftp.uevora.pt etch/main Packages
Ign http://download.videolan.org sarge/main Sources/DiffIndex
Hit http://ftp.uevora.pt etch/main Sources
Ign http://download.videolan.org sarge/main Packages
Ign http://download.videolan.org sarge/main Sources
Hit http://download.videolan.org sarge/main Packages
Get:2 http://security.debian.org etch/updates Release.gpg [189B]
Hit http://download.videolan.org sarge/main Sources
Hit http://security.debian.org etch/updates Release
Ign http://security.debian.org etch/updates/main Packages/DiffIndex
Ign http://security.debian.org etch/updates/contrib Packages/DiffIndex
Ign http://security.debian.org etch/updates/main Sources/DiffIndex
Ign http://security.debian.org etch/updates/contrib Sources/DiffIndex
Hit http://security.debian.org etch/updates/main Packages
Hit http://security.debian.org etch/updates/contrib Packages
Hit http://security.debian.org etch/updates/main Sources
Hit http://security.debian.org etch/updates/contrib Sources
Fetched 2B in 1s (1B/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package nvidia-kernel-source
Do I need to update anything at /etc/apt/sources.list?

Thanks and sorry again if this is an Idiot question.

By the way, my graphic is a NVIDIA 8600 GT.
YOU! ARE! A! TOYYYYY! You're not the real Buzz Lightyear! You're - you are an action figure! - Toy Story

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

#49 Post by mzilikazi »

neonl wrote:Hi.Do I need to update anything at /etc/apt/sources.list?

Thanks and sorry again if this is an Idiot question.

By the way, my graphic is a NVIDIA 8600 GT.
Not an idiot question but yes - you need an Etch repo in sources.list. I have this one:

Code: Select all

deb http://ftp.us.debian.org/debian etch main contrib non-free
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
neonl
Posts: 27
Joined: 2007-08-30 11:11

#50 Post by neonl »

Hi.

Problems again. Now when doing "apt-get install nvidia-glx" I get this

Code: Select all

neonland:/home/rui# apt-get install nvidia-glx
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  nvidia-glx: Depends: nvidia-kernel-100.14.19 but it is not installable
The repos us.debian.org are enabled I done apt-get update...

The strangest thing is that I installed once already...
YOU! ARE! A! TOYYYYY! You're not the real Buzz Lightyear! You're - you are an action figure! - Toy Story

Post Reply