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

Newegg Daily Deals

Reply
 
Thread Tools
Old 03-25-06, 03:59 PM   #1
r0b0
Registered User
 
Join Date: Nov 2005
Posts: 9
Default UNOFFICIAL patch for 7174 and linux2.6.16

Hi,

Until the nvidia folks update the legacy driver, here's a quick and dirty patch which works for me:

http://deepblue.sk/~r0b0/nv-legacy-linux-2.6.16.patch

It works with gcc4.0, I haven't tested with 4.1.

Quick instructions:

# NVIDIA-Linux-x86-1.0-7174-pkg1.run --extract-only
# cd NVIDIA-Linux-x86-1.0-7174-pkg1/
# patch -p0 <~/nv-legacy-linux-2.6.16.patch
# ./nvidia-installer
r0b0 is offline   Reply With Quote
Old 03-30-06, 05:57 AM   #2
esears
Registered User
 
Join Date: Mar 2006
Posts: 1
Default Re: UNOFFICIAL patch for 7174 and linux2.6.16

Thanks for the unofficial patch.

After applying to NVIDIA-Linux-x86-1.0-7174 drivers, I could then compile under Fedora Core 5, using gcc 4.1.0, kernel 2.6.16-1.2069_FC5

However, I did note a similar issue as in this thread:
http://www.nvnews.net/vbulletin/showthread.php?t=65454

So, in order to get things working I had to copy nvidia_drv.o and nvidia_drv.so from /usr/X11R6/lib/modules/drivers/ to /usr/lib/xorg/modules/drivers/

Thanks again
esears is offline   Reply With Quote
Old 03-30-06, 12:06 PM   #3
jarod1970
Registered User
 
Join Date: Mar 2006
Posts: 4
Default Re: UNOFFICIAL patch for 7174 and linux2.6.16

I have strange behavior following your instructions, if i apply the patch and run nvidia-installer, all work ok, at exit i can do startx and my X starts with NVIDIA acceleration... but if i do a reboot, the X Servers does not start nomore and report me an error "unable to loading the nvidia module".

How can solve this??? (if i restart the nvidia-installer all works again...but at the next reboot the problem remains)

I have Fedora Core 5 with Kernel 2.1.16
jarod1970 is offline   Reply With Quote
Old 03-30-06, 01:11 PM   #4
jarod1970
Registered User
 
Join Date: Mar 2006
Posts: 4
Default Re: UNOFFICIAL patch for 7174 and linux2.6.16

I have solved the problem below, the problem is that at reboot the /dev/nvidia* links are non recreated because most probably udev daemon delete it, so the solution that i have founded is:

1) Create a file called /etc/udev/makedev.d/51-nvida.nodes
2) Write in the file following lines:
nvidiactl
nvidia0
nvidia1
nvidia2
nvidia3
nvidia4
nvidia5
nvidia6
nvidia7

That's all

Regards, Tony
jarod1970 is offline   Reply With Quote
Old 03-30-06, 02:11 PM   #5
jarod1970
Registered User
 
Join Date: Mar 2006
Posts: 4
Default Re: UNOFFICIAL patch for 7174 and linux2.6.16

arghhh...only 2d acceleration work....another problem now.... OpenGL does not work... Xorg.0.log report me a "Failed to load GLX"...

Any idea to solve this?
jarod1970 is offline   Reply With Quote
Old 03-30-06, 02:27 PM   #6
jarod1970
Registered User
 
Join Date: Mar 2006
Posts: 4
Default Re: UNOFFICIAL patch for 7174 and linux2.6.16

Quote:
Originally Posted by jarod1970
arghhh...only 2d acceleration work....another problem now.... OpenGL does not work... Xorg.0.log report me a "Failed to load GLX"...

Any idea to solve this?
Solved with this three steps:

1) cd /usr/lib/xorg/modules/extensions/
2) mv libglx.so OLD_libglx.so
3) ln -s /usr/X11R6/lib/modules/extensions/libglx.so.1.0.7174 ./libglx.so

Now all works fine...
The journey is finished....i hope
jarod1970 is offline   Reply With Quote
Old 04-10-06, 07:00 AM   #7
Zhenech
Registered User
 
Join Date: Mar 2005
Posts: 7
Default Re: UNOFFICIAL patch for 7174 and linux2.6.16

7174 builds on debian sarge with your patch like a charm.
don't looked for the opengl problem - will do that later.

i have still one question: does anyone know, if that (or a similar) patch will sometime gets official? i think there are enough people who need the legacy driver but do not want to miss the newer kernel versions.

greets
Zhe
Zhenech is offline   Reply With Quote
Old 04-10-06, 07:54 AM   #8
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: UNOFFICIAL patch for 7174 and linux2.6.16

@Zhenech: an updated legacy graphics driver is planned for the near future; this driver should match 1.0-8756 in terms of Linux 2.6 compatibility.
zander is offline   Reply With Quote

Old 04-11-06, 06:11 AM   #9
Zhenech
Registered User
 
Join Date: Mar 2005
Posts: 7
Default Re: UNOFFICIAL patch for 7174 and linux2.6.16

Thank you for the info zander.

If here are some Debian Stable users:
I have set up a debian archive for stable users, who want to have a new kernel.
deb http://debian.die-welt.net/ sarge main non-free contrib
and install the 1.0.7174-3dwn1 version of nvidia-kernel-source
Zhenech is offline   Reply With Quote
Old 05-03-06, 04:52 PM   #10
linux__rulez
Registered User
 
Join Date: May 2006
Posts: 1
Thumbs up Re: UNOFFICIAL patch for 7174 and linux2.6.16

The patch works very well. Thanks a lot. The guys from NVidia wrote me:

"A new legacy driver which builds on 2.6.16.x kernels will be released in the very near future. "

But if you don't want to wait, use the short HOWTO and you might be all fine
linux__rulez is offline   Reply With Quote
Old 05-04-06, 03:52 AM   #11
r0b0
Registered User
 
Join Date: Nov 2005
Posts: 9
Default Re: UNOFFICIAL patch for 7174 and linux2.6.16

Quote:
Originally Posted by zander
an updated legacy graphics driver is planned for the near future; this driver should match 1.0-8756 in terms of Linux 2.6 compatibility.
Sorry for following up on my own post... A question (for Zander perhaps):

Will this updated driver work with Xorg1.0?
r0b0 is offline   Reply With Quote
Old 05-17-06, 02:19 PM   #12
logistiker
Registered User
 
Join Date: May 2006
Location: Waller, TX
Posts: 29
Default Re: UNOFFICIAL patch for 7174 and linux2.6.16

Quote:
Originally Posted by r0b0
Hi,

Until the nvidia folks update the legacy driver, here's a quick and dirty patch which works for me:

http://deepblue.sk/~r0b0/nv-legacy-linux-2.6.16.patch

It works with gcc4.0, I haven't tested with 4.1.

Quick instructions:

# NVIDIA-Linux-x86-1.0-7174-pkg1.run --extract-only
# cd NVIDIA-Linux-x86-1.0-7174-pkg1/
# patch -p0 <~/nv-legacy-linux-2.6.16.patch
# ./nvidia-installer

When I apply this patch to the source, it rejects this:

***************
*** 12,19 ****
OUTPUT=$3

CFLAGS="-D__KERNEL__ \
- -nostdinc -isystem $ISYSTEM \
- -Werror -Wimplicit-function-declaration"

if [ "$OUTPUT" != "$SOURCES" ]; then
CFLAGS="$CFLAGS -I$OUTPUT/include2 -I$OUTPUT/include \
--- 12,19 ----
OUTPUT=$3

CFLAGS="-D__KERNEL__ \
+ -DKBUILD_BASENAME=\"#conftest$$\" -DKBUILD_MODNAME=\"#conftest$$\" \
+ -nostdinc -isystem $ISYSTEM"

if [ "$OUTPUT" != "$SOURCES" ]; then
CFLAGS="$CFLAGS -I$OUTPUT/include2 -I$OUTPUT/include \



Any ideas why?
logistiker 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 08:47 PM.


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