Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 12-06-07, 11:07 AM   #1
tld
Registered User
 
Join Date: Aug 2005
Posts: 47
Default FYI: Compiling 100.14.11 under 2.6.23 kernels

Since the 2.6.23 kernel was marked as stable under Gentoo, I wanted to upgrade to it. I wanted to stay at the 100.14.11 nvidia driver because it's the only non-beta driver at this point that doesn't suffer from this video corruption bug:

http://www.nvnews.net/vbulletin/showthread.php?t=98852

...which apparently will be fixed in 169.04. However 100.14.11 wouldn't compile under 2.6.23 apparently due to changes in the kernel ABI. I was able to make a patched ebuild using the patch here:

http://www.linuxinsight.com/nvidia-l...el-2.6.23.html

...and it compiled fine and has been working flawlessly since.

Tom
tld is offline   Reply With Quote
Old 12-12-07, 03:12 PM   #2
BitJam
Registered User
 
Join Date: Apr 2006
Posts: 47
Default Re: FYI: Compiling 100.14.11 under 2.6.23 kernels

I've got the same problem. The 100.14.19 driver does compile without modification and hasn't exhibited the bug (yet).

I downloaded the patch file. Can you post the changes you made to the ebuild?
BitJam is offline   Reply With Quote
Old 12-13-07, 09:40 AM   #3
tld
Registered User
 
Join Date: Aug 2005
Posts: 47
Default Re: FYI: Compiling 100.14.11 under 2.6.23 kernels

Sure. If you're not yet familiar with creating a patched ebuild, you'll want to look here:

http://gentoo-wiki.com/HOWTO_Create_an_Updated_Ebuild

Once I made a renamed copy of the ebuild in my portage overlay (in my case I'm using /usr/local/portage) and copied the files directory there, I named the nvidia patch file nvidia-fix-23.patch and put it in the files directory under my /usr/local/portage/x11-drivers/nvidia-drivers, and added a line to my ebuilt to apply the patch in src_unpack() after the existing patches, as shown by this diff:

Code:
diff -u /usr/portage/x11-drivers/nvidia-drivers/nvidia-drivers-100.14.11.ebuild nvidia-drivers-100.14.11-r90.ebuild
--- /usr/portage/x11-drivers/nvidia-drivers/nvidia-drivers-100.14.11.ebuild     2007-10-07 12:06:33.000000000 -0400
+++ nvidia-drivers-100.14.11-r90.ebuild 2007-12-05 16:14:28.000000000 -0500
@@ -184,6 +184,8 @@
        epatch "${FILESDIR}"/NVIDIA_glx-glheader.patch
        # allow on board sensors to work with lm_sensors
        epatch "${FILESDIR}"/NVIDIA_i2c-hwmon.patch
+       # Patch for 2.6.23 compatibility
+       epatch "${FILESDIR}"/nvidia-fix-23.patch
 
        if ! use x86-fbsd; then
                # Quiet down warnings the user does not need to see
It looks like the change for the 100.14.19 ebuild would be the same, though I have no idea if the patch itself works. Hope this helps.

Tom
tld is offline   Reply With Quote
Old 12-15-07, 12:34 AM   #4
BitJam
Registered User
 
Join Date: Apr 2006
Posts: 47
Default Re: FYI: Compiling 100.14.11 under 2.6.23 kernels

Thanks tld. That's just what I wanted. I've patched ebuilds before but sometimes it involves trial and error. You've saved me some time.

As I mentioned above, I was able to get nvidia-drivers-100.14.19 to compile under gentoo-sources-2.6.23-r3 with no problem. I've played several dvds now and none of them have shown the video corruption bug.

I'm running an amd64 system with a GeForce 6150 chip on the motherboard.
BitJam is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:30 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.