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.
I've been doing a new Lenny 64-bit install after buying a new HDD. I'm pretty much sticking to Lenny, save for the few packages from Sid that are *really* needed. Today (2008-07-27) the nvidia-kernel-source and nvidia-glx packages are not available in Lenny. I installed nvidia-kernel-source from Sid, unpacked it in /usr/src, used module-assistant to compile it and then installed glx from Sid, all as has been advised earlier in this thread (although for previous versions of the nvidia packages). It worked like a charm for the current versions too.
Thanks!
Thanks!
- Telemachus
- Posts: 4574
- Joined: 2006-12-25 15:53
- Been thanked: 2 times
For a simple text file, please use a pastebin rather than a download site.jongi wrote:when i run m-a prepare && m-a a-i nvidia:
http://www.uploading.com/files/MWOX5POW ... g.txt.html
"We have not been faced with the need to satisfy someone else's requirements, and for this freedom we are grateful."
Dennis Ritchie and Ken Thompson, The UNIX Time-Sharing System
Dennis Ritchie and Ken Thompson, The UNIX Time-Sharing System
- Telemachus
- Posts: 4574
- Joined: 2006-12-25 15:53
- Been thanked: 2 times
Ah, well fair enough. On the other hand, most people aren't going to be willing to read a 137 page log, so that raises a different problem.jongi wrote:In OOo, the log file is 137 pages long and doesn't seem to want to post on pastebin.
"We have not been faced with the need to satisfy someone else's requirements, and for this freedom we are grateful."
Dennis Ritchie and Ken Thompson, The UNIX Time-Sharing System
Dennis Ritchie and Ken Thompson, The UNIX Time-Sharing System
that thought did pass my mind i will admit
EDIT: I notice I forgot to mention that this happens with a kernel i compiled. However, apart from the real time kernel options, the config file is one from 2.6.26.1-amd64 (the latest debian kernel if i have the number wrong).
EDIT2: Just noticed I had unticked the option with Paravirtualisation by mistake. Recompiling now. Pretty sure this will fix the error.
EDIT: I notice I forgot to mention that this happens with a kernel i compiled. However, apart from the real time kernel options, the config file is one from 2.6.26.1-amd64 (the latest debian kernel if i have the number wrong).
EDIT2: Just noticed I had unticked the option with Paravirtualisation by mistake. Recompiling now. Pretty sure this will fix the error.
I was sure the below would work. but no go.I must be missing something.
I compiled kernel-2.6.26.5 from kernel.org with relevant patches. I used the config file from 2.6.26.1-amd64 and enabled the real time options (as I have done on a number of previous kernel builds that have had no problem). yet the nvidia driver fails to compile when i run m-a a-i nvidia.
btw the process worked on kernel-2.6.26.1.
I compiled kernel-2.6.26.5 from kernel.org with relevant patches. I used the config file from 2.6.26.1-amd64 and enabled the real time options (as I have done on a number of previous kernel builds that have had no problem). yet the nvidia driver fails to compile when i run m-a a-i nvidia.
btw the process worked on kernel-2.6.26.1.
Desktop: Debian (Sid) 64-bit, Gentoo 64-bit and Ubuntu Jaunty 64-bit
Laptop: Gentoo 32-bit
MythTV: Debian (Testing) 32-bit
Laptop: Gentoo 32-bit
MythTV: Debian (Testing) 32-bit
Fails with what error?jongi wrote:I was sure the below would work. but no go.I must be missing something.
I compiled kernel-2.6.26.5 from kernel.org with relevant patches. I used the config file from 2.6.26.1-amd64 and enabled the real time options (as I have done on a number of previous kernel builds that have had no problem). yet the nvidia driver fails to compile when i run m-a a-i nvidia.
btw the process worked on kernel-2.6.26.1.
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
AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 / 1.5G
Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz / 3G
- Telemachus
- Posts: 4574
- Joined: 2006-12-25 15:53
- Been thanked: 2 times
I think it's on page 125 of the error log he posted. I know that's unhelpful, but some nights, you just can't resist.mzilikazi wrote:Fails with what error?jongi wrote:I was sure the below would work. but no go.I must be missing something.
I compiled kernel-2.6.26.5 from kernel.org with relevant patches. I used the config file from 2.6.26.1-amd64 and enabled the real time options (as I have done on a number of previous kernel builds that have had no problem). yet the nvidia driver fails to compile when i run m-a a-i nvidia.
btw the process worked on kernel-2.6.26.1.
"We have not been faced with the need to satisfy someone else's requirements, and for this freedom we are grateful."
Dennis Ritchie and Ken Thompson, The UNIX Time-Sharing System
Dennis Ritchie and Ken Thompson, The UNIX Time-Sharing System
Good one Telemachus.
mzilikazi - the log file produced by m-a a-i nvidia is 374k long.lems.
it's strange coz i've done this a number of times without problem. i've compiled 2.6.26.5 without a rt-patch and followed the process again and it works.
mzilikazi - the log file produced by m-a a-i nvidia is 374k long.lems.
it's strange coz i've done this a number of times without problem. i've compiled 2.6.26.5 without a rt-patch and followed the process again and it works.
Desktop: Debian (Sid) 64-bit, Gentoo 64-bit and Ubuntu Jaunty 64-bit
Laptop: Gentoo 32-bit
MythTV: Debian (Testing) 32-bit
Laptop: Gentoo 32-bit
MythTV: Debian (Testing) 32-bit
Oh sorry I forgot about the nvidia problem w/ rt kernels. Read the last post here.jongi wrote:Good one Telemachus.
mzilikazi - the log file produced by m-a a-i nvidia is 374k long.lems.
it's strange coz i've done this a number of times without problem. i've compiled 2.6.26.5 without a rt-patch and followed the process again and it works.
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
AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 / 1.5G
Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz / 3G
- Jackiebrown
- Posts: 1246
- Joined: 2007-01-02 04:46
- Location: San Antonio, TX
Reboot.estus wrote:i cant use terminal and ctrl+alt+f2 dont work
At the boot prompt add this to the end:
Code: Select all
single
Code: Select all
update-rc.d -f gdm remove
Code: Select all
nano /etc/X11/xorg.conf
Code: Select all
init 5
Code: Select all
startx
Code: Select all
dpkg -l|grep nvidia
Code: Select all
apt-get install nvidia-xconfig
nvidia-xconfig
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
AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 / 1.5G
Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz / 3G
I just installed Lenny from the Lenny beta 2 install CD. I followed the tutorial from the Debian wiki:
http://wiki.debian.org/NvidiaGraphicsDrivers
I also had to install nvidia-xconfig, mesa-utils, and nvidia-settings. I then ran "nvidia-xconfig".
I also apparently ran into this bug mentioned in the Debian wiki article:
This has been a very informative thread. I learned a lot.
http://wiki.debian.org/NvidiaGraphicsDrivers
Code: Select all
# apt-get install module-assistant gcc nvidia-kernel-common
# m-a update
# m-a prepare
# m-a auto-install nvidia
I also apparently ran into this bug mentioned in the Debian wiki article:
Well, I did not read that far in the wiki untill I had already installed the driver. Fortunately, it all went well. The driver runs well.BUG: There is a bug when you 'apt-get install nvidia-kernel-common' you are asked to insall 40+ packages. (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=303521)
Code: Select all
tom@debian:/data/sauerbraten$ cd /data/
tom@debian:/data$ glxinfo | grep -i direct
direct rendering: Yes
tom@debian:/data$
Doing this HowTo in fresh Lenny install...
I'm following the HowTo in hopes of enabling 3d acceleration on my fresh Lenny net install from the current weekly build image.
The first hitch I ran into was that, by default, only the main repositories are included in sources.list. mzilikazi, you might want to mention that contrib and/or non-free need to be added before you can install the nvidia kernel source and other pakages, for the benefit of others working on a fresh install?
The next hitch is that, with the newfangled stripped down version of xorg.conf, there is no 'nv' or 'vesa' driver line to change to 'nvidia.' So I'm off to find a representative xorg.conf "Device" entry...
In the Debian Wiki, nVidia Graphics Drivers page,the section on how to configure X to use the nvidia driver the manual way says:
Adding a little more detail to this part of the HowTo would be helpful, I think.
Now to save, then restart gnome... It says there's a display manager running on display 0 and do I want to go ahead anyway... yes... some flickering and transient blackness, a grey screen with the "X" in the middle, and another dialog warning that this session was started on display 1...
Finally, I've managed to log into a new session which seems to be functional.
Lets try:
Okay, Debian's package database tells me that glxinfo is in package mesa-utils... Load Synaptic and install it.
Is this another thing to add to the HowTo?
Try again:
Wahoo! YES!
Allright, now to try nvidia-settings... Opens a very pretty looking GUI configuration window showing all sorts of stuff. It seems to have identified my GeForce 8600 GT; the thermal monitor is even working. This is good.
Okay, now it's off to see if I can break it on something that uses 3d... Hmmm... Synaptic... Neverball...
Lordy, it works!!! I've never seen how the game's supposed to behave before!
Okay then, the upgrade to Lenny is paying off!
Thanks to mzilikazi for maintaining this HowTo, and anarchyinc666 for his index of HowTo's.
Now to bring over some more of my configuration stuff and data!! Oh, and maybe install a few more 3d games!
Mike D.
The first hitch I ran into was that, by default, only the main repositories are included in sources.list. mzilikazi, you might want to mention that contrib and/or non-free need to be added before you can install the nvidia kernel source and other pakages, for the benefit of others working on a fresh install?
The next hitch is that, with the newfangled stripped down version of xorg.conf, there is no 'nv' or 'vesa' driver line to change to 'nvidia.' So I'm off to find a representative xorg.conf "Device" entry...
In the Debian Wiki, nVidia Graphics Drivers page,the section on how to configure X to use the nvidia driver the manual way says:
Well, I don't have a "Module" section, but I added the Driver line so my Device section now looks like:Edit /etc/X11/xorg.conf:
* If it contains a "Module" section, be sure that it contains a line:
... and remove or comment out (prepend with a #) any lines that refer to the "dri" or "GLCore" modules.Code: Select all
Load "glx"
* In the "Device" section for your video card, change the driver (normally nv or vesa) to nvidia. If the driver is not defined, add the line
Code: Select all
Driver "nvidia"
Code: Select all
Section "Device"
Identifier "Configured Video Device"
Driver "nvidia"
EndSection
Now to save, then restart gnome... It says there's a display manager running on display 0 and do I want to go ahead anyway... yes... some flickering and transient blackness, a grey screen with the "X" in the middle, and another dialog warning that this session was started on display 1...
Finally, I've managed to log into a new session which seems to be functional.
Lets try:
Code: Select all
# glxinfo|grep rendering
bash: glxinfo: command not found
Is this another thing to add to the HowTo?
Try again:
Code: Select all
# glxinfo|grep rendering
direct rendering: Yes
Allright, now to try nvidia-settings... Opens a very pretty looking GUI configuration window showing all sorts of stuff. It seems to have identified my GeForce 8600 GT; the thermal monitor is even working. This is good.
Okay, now it's off to see if I can break it on something that uses 3d... Hmmm... Synaptic... Neverball...
Lordy, it works!!! I've never seen how the game's supposed to behave before!
Okay then, the upgrade to Lenny is paying off!
Thanks to mzilikazi for maintaining this HowTo, and anarchyinc666 for his index of HowTo's.
Now to bring over some more of my configuration stuff and data!! Oh, and maybe install a few more 3d games!
Mike D.