For nvidia and 2.6.21 users

Kernels & Hardware, configuring network, installing services

For nvidia and 2.6.21 users

Postby swirling_vortex » 2007-07-17 14:32

As you may have found out, your nvidia drivers won't compile! This is because PARAVIRTUALIZATION is put into the kernel and the nvidia driver doesn't like that.

So, if you still want 3D acceleration and haven't gone to another distro yet, use this modified nvidia driver:
http://grizach.sc18.info/nvpatch/
http://grizach.servebeer.com/nvpatch/NVIDIA-Linux-x86-100.14.11-pkg1-patched.run
(There are more packages listed on that page)

So far, it hasn't given me any problems and I hope it calms down some stressed out nvidia users. :)
User avatar
swirling_vortex
 
Posts: 631
Joined: 2007-02-16 20:30
Location: Pennsylvania

Postby Eck » 2007-07-17 18:23

That's what I've been sayin'!

Heh heh, except that actually that reworked script does leave para-virtualization enabled as it really doesn't mess with how Debian sets up the Kernel at all. It only provides a GPL certified makefile for the nvidia.ko module so that it will compile fine instead of being blocked by that GPL only switch that para-virtualization has.

All will be solved with the next 2.6.22 Kernels but that nice reworked installer saves a lot of headaches for now.

You'd think NVidia would have released this themselves as it would save users from needing to search around to figure out why their driver won't install. Debian should have also done the same thing so that ANY version of the Debian NVidia driver could be installed the Debian way. Right now, we can't do it the Debian way.

I know our concentration priorities are not putting non-free proprietary drivers too high on the list of things to do but in this case even the most religious Debian users likely want 3D to work, no?

Anyway, it's great that there is a way at all to get it to work. This should at least be advised about on some of the how to documents, if only temporarily until we get the 2.6.22 Linux kernels.
Lenovo z560 Laptop Nvidia GeForce 310m Hitachi 500GB HD Intel HD Audio 4GB RAM
Eck
 
Posts: 740
Joined: 2007-06-27 16:13

Postby jdhore » 2007-07-21 21:43

The new "reworked" 1.0-9639 package doesn't seem to work with my 2.6.21 kernel...I get a weird error about not being to create a few directories/files and the installer completes, but X doesn't want to load the driver. For the record, With 2.6.22 from kernel-archive.buildserver.net (Kernel trunk...i think), the stock 1.0-9639 works perfectly.
jdhore
 
Posts: 250
Joined: 2007-06-03 17:22

Postby L_V » 2007-07-21 21:50

Eck wrote: This should at least be advised about on some of the how to documents, if only temporarily until we get the 2.6.22 Linux kernels.

=> Debian -- linux-source-2.6.22
L_V
 
Posts: 661
Joined: 2007-03-19 09:04

Postby jdhore » 2007-07-21 22:59

L_V wrote:
Eck wrote: This should at least be advised about on some of the how to documents, if only temporarily until we get the 2.6.22 Linux kernels.

=> Debian -- linux-source-2.6.22


What's the difference between using that and downloading a .tar.gz of it from kernel.org? I think nothing...I'll wait for a linux-image to hit to make it so i DON'T have to compile a kernel, thanks.
jdhore
 
Posts: 250
Joined: 2007-06-03 17:22

Postby L_V » 2007-07-22 12:31

You are right and I will do the same because I have the same problem with Nvidia.
It was just to inform that 2.6.22 sources are available per now on Debian site, and nothing more !

Like you, I don't intend to play with kernel compilation to just install a graphic driver.
L_V
 
Posts: 661
Joined: 2007-03-19 09:04

Postby jdhore » 2007-07-22 17:24

L_V wrote:You are right and I will do the same because I have the same problem with Nvidia.
It was just to inform that 2.6.22 sources are available per now on Debian site, and nothing more !

Like you, I don't intend to play with kernel compilation to just install a graphic driver.


Honestly, if i KNEW how to compile a kernel to work with everything i need it to work with, i'd gladly do it...but the last time i had to compile a kernel by hand and use it (in Gentoo) i had no sound, so i had to have genkernel config it for me and i don't believe there's something like Genkernel on Debian...If you need another fix (that's easier), add this line:
Code: Select all
deb http://kernel-archive.buildserver.net/debian-kernel/ trunk main

to your sources.list and install all the 2.6.22 stuff (the kernel-image, kernel-headers, etc) and the nvidia driver will install fine (at least it did for me)...Now...This is almost a "git" kernel so don't put it on a system that you need really good stability on (i've pulled 4 days uptime, but i rebooted myself)
jdhore
 
Posts: 250
Joined: 2007-06-03 17:22

a comment about a daily bulld of lenny

Postby kadet » 2007-07-26 01:05

if anyone is using a daily build of lenny and is having this same problem, I followed the steps at http://grizach.sc18.info/nvpatch/ only for editing the Makfile.kbuild and then ran the installer successfully. I was having trouble trying to rebuild kbuild 2.6.20 following the procedure and decided to try it having only edited the Makefile. It may save you some time and grief if you are running into a similar problem.
kadet
 
Posts: 1
Joined: 2007-07-25 23:55
Location: Cleveland

Postby timrichardson » 2007-07-26 05:41

The 2.6.22 kernel is now in unstable along with everyone you need to install the nvidia drivers the debian way.

On the Debian wiki there is a link to a script that simply replaces the install script of the Nvidia package. It was as simple as using the Nvidia download.

http://wiki.debian.org/NvidiaGraphicsDrivers

this wiki page is quite good and I hope as a community we can always rely on it for nvidia installation.
timrichardson
 
Posts: 127
Joined: 2007-07-19 18:10
Location: Melbourne, Australia

Postby L_V » 2007-07-26 14:22

There is a but: all 2.6.22 nvidia packages are not yet available:

exemple:
nvidia-kernel-legacy-71xx-2.6.18-4-k7 is available
nvidia-kernel-legacy-71xx-2.6.22-1-k7 is not yet available.
L_V
 
Posts: 661
Joined: 2007-03-19 09:04

Postby jdhore » 2007-07-26 16:02

L_V wrote:There is a but: all 2.6.22 nvidia packages are not yet available:

exemple:
nvidia-kernel-legacy-71xx-2.6.18-4-k7 is available
nvidia-kernel-legacy-71xx-2.6.22-1-k7 is not yet available.


you could always just install the nvidia package from the nvidia site and be done with it...You don't need (and probably shouldn't use IMO) the one in apt.
jdhore
 
Posts: 250
Joined: 2007-06-03 17:22

Postby L_V » 2007-07-26 16:12

I always try the easiest recommended by Debian.
Never really know how to choose among the 4 methods proposed here http://wiki.debian.org/NvidiaGraphicsDrivers , especially because I don't want to reproduce a complete mess with Lenny/nividia-legacy and xorg 7.2, which forced me to go back to etch.

I just expect an easy way from 2.6.18 to 2.6.22-k7 without playing with any compilation.
I now verify if everything is available, before switching kernels.
I am not in a hurry at all which helps !
I just keep an eye on it for the moment.
L_V
 
Posts: 661
Joined: 2007-03-19 09:04

Postby jongi » 2007-07-28 23:31

I've tried three different methods to install the nvidia drivers and nothing has worked. I'll just wait for the new kernel and hope that sorts the issue.

If I wasn't too lazy I would just compile my own kernel like I did with 2.6.21-1.

EDIT: Impatience got the better of me and I compiled 2.6.22.1 with rt-9 patch. Then I just ran the normal Nvidia installer off their site and all is well again.
jongi
 
Posts: 477
Joined: 2007-04-15 02:41


Return to System configuration

Who is online

Users browsing this forum: No registered users and 10 guests

fashionable