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

Share your own howto's etc. Not for support questions!
Post Reply
Message
Author
tmafcerqueira
Posts: 37
Joined: 2007-03-23 22:45

#16 Post by tmafcerqueira »

Will this driver allow me to use beryl + aiglx on my desktop?

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

#17 Post by mzilikazi »

tmafcerqueira wrote:Will this driver allow me to use beryl + aiglx on my desktop?
Assuming you have a supported Nvidia card then yes Beryl will work.
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

morax
Posts: 25
Joined: 2007-03-22 19:07
Location: Oppdal, NO

#18 Post by morax »

Thanks for this. :)

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

#19 Post by jongi »

Here is what I did on KDE system to install the latest nVidia driver

1. Download the driver

Code: Select all

# cd /home/user
# wget http://us.download.nvidia.com/XFree86/Linux-x86/1.0-9755/NVIDIA-Linux-x86-1.0-9755-pkg1.run
Obviously the name will change as per driver.

2. Enter a non x-server terminal and run the package

Code: Select all

Ctrl-Alt-F1
# su -
<Enter password>
# cd /home/user
# /etc/init.d/kdm stop
# sh NVIDIA-Linux-x86-1.0-9755-pkg1.run
<Follow instructions>
# /etc/init.d/kdm start
Last edited by jongi on 2007-05-10 23:00, edited 1 time in total.

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

#20 Post by mzilikazi »

jongi wrote:For those of us running KDE, to install the nVidia driver from the site change

Code: Select all

/etc/init.d/gdm stop
to

Code: Select all

/etc/init.d/kdm stop
And after running the nVidia package, then

Code: Select all

/etc/init.d/kdm start
KDM is mentioned in the original post BTW. :)
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: 477
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 Ninja
Posts: 3321
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: 477
Joined: 2007-04-15 02:41

#23 Post by jongi »

aah the Shaka right hand man

User avatar
mzilikazi
Forum Ninja
Posts: 3321
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: 513
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: 513
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: 2508
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 Ninja
Posts: 3321
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

Post Reply