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

Newegg Daily Deals

Reply
 
Thread Tools
Old 03-06-05, 10:03 PM   #1
zbiggy
Registered User
 
Join Date: Sep 2002
Posts: 623
Default [patch nvidia nforce driver]: for 2.6.10 and 2.6.11 kernels

Hi Nvidia nForce chipset mainboard users!

I made all in one patch that fixes all (sound and network) compilation bugs in Nvidia nForce driver ver. 292. This is version 2 which also has fixes for kernel 2.6.11 (my previous patch-nforcex86-292.diff.zip, from: http://www.nvnews.net/vbulletin/showthread.php?t=43177 was for 2.6.10 only).

What's new:
+ Kernel 2.6.11 support
+ More fixes for kernel 2.6.10 (mostly clean-ups to make compilation little faster, some fine tuning)

I wrote this patch for my private use but someone else on the net can be interested in using it. This patch was tested (and works) on my computer (kernels 2.6.10 and freshly installed 2.6.11 from www.kernel.org). So use it on your own risk because I do not have time and possibility to check on other computers.

How to install it:

Unpack drivers:
./NFORCE-Linux-x86-1.0-0292-pkg1.run -x

(the NFORCE-Linux-x86-1.0-0292-pkg1 directory will be created)
Download archived file:
patch-v2-nforcex86-292.diff.zip attachment to NFORCE-Linux-x86-1.0-0292-pkg1 directory

When you are inside NFORCE-Linux-x86-1.0-0292-pkg1 directory execute these commands:

unzip patch-v2-nforcex86-292.diff.zip
patch -p1 < patch-v2-nforcex86-292.diff
./nforce-installer
Attached Files
File Type: zip patch-v2-nforcex86-292.diff.zip (1.4 KB, 1088 views)
zbiggy is offline   Reply With Quote
Old 03-07-05, 12:03 AM   #2
MetaL MilitiA
Registered User
 
Join Date: Mar 2005
Posts: 7
Default Re: [patch nvidia nforce driver]: for 2.6.10 and 2.6.11 kernels

Thanks! Works great! Fixed the problems I've been having here.

I find it kind of sad when other people can write better drivers for NVidia hardware than NVidia themselves.
MetaL MilitiA is offline   Reply With Quote
Old 03-07-05, 04:36 AM   #3
Lithorus
Registered User
 
Lithorus's Avatar
 
Join Date: Sep 2004
Posts: 783
Default Re: [patch nvidia nforce driver]: for 2.6.10 and 2.6.11 kernels

Quote:
Originally Posted by MetaL MilitiA
Thanks! Works great! Fixed the problems I've been having here.

I find it kind of sad when other people can write better drivers for NVidia hardware than NVidia themselves.
Actually most of the driver is unchanged. what you compile is really an interconnect between the binary driver and the kernel. The kernel have a history of changing API and then break binary drivers like NVIDIA, some wonder if it's intentional. So I don't blame nvidia, everytime they update the binary package they usually make sure that it compiles with the latest kernels. Since it's been a while that the last nforce driver was released it does not compile with the latest kernels. However zander(nvidia employee in here) is usually good at making patches for the graphics drivers to fix problems.
Lithorus is offline   Reply With Quote
Old 03-07-05, 08:02 AM   #4
zbiggy
Registered User
 
Join Date: Sep 2002
Posts: 623
Default Re: [patch nvidia nforce driver]: for 2.6.10 and 2.6.11 kernels

Quote:
However zander(nvidia employee in here) is usually good at making patches for the graphics drivers to fix problems.
That is nice, but where is nvidia employee responsible for making patches for nforce chipset drivers? I'm NOT nvidia employee, I'm student . I only use nvidia products and patch'em when do not work. Making patch for free when someone else takes money and do not do work makes me a little bit nervous.
zbiggy is offline   Reply With Quote
Old 03-07-05, 08:52 AM   #5
Lithorus
Registered User
 
Lithorus's Avatar
 
Join Date: Sep 2004
Posts: 783
Default Re: [patch nvidia nforce driver]: for 2.6.10 and 2.6.11 kernels

Quote:
Originally Posted by zbiggy
That is nice, but where is nvidia employee responsible for making patches for nforce chipset drivers? I'm NOT nvidia employee, I'm student . I only use nvidia products and patch'em when do not work. Making patch for free when someone else takes money and do not do work makes me a little bit nervous.
I never claimed that their nforce drivers were very well supported. But I can understand why nvidia might be holding off supporting it further. The current Nforce sound driver really needs to be replaced with another one based off ALSA instead if the old OSS. If they are in the process of this I can understand why they may choose to neglate updating the old for new kernels.
Lithorus is offline   Reply With Quote
Old 03-08-05, 07:24 AM   #6
zbiggy
Registered User
 
Join Date: Sep 2002
Posts: 623
Default Re: [patch nvidia nforce driver]: for 2.6.10 and 2.6.11 kernels

Quote:
But I can understand why nvidia might be holding off supporting it further. The current Nforce sound driver really needs to be replaced with another one based off ALSA instead if the old OSS. If they are in the process of this I can understand why they may choose to neglate updating the old for new kernels.
Maybe you have right. But I think nvidia should keep fixing old drivers till new will be published. We, users, can not use hardware without working driver. I made my patch in 1 hour. The authors of nforce driver, who know the best what (and how) they made, could probably make such patch in shorter time.

greetings,
Zbigniew 'zbiggy' Luszpinski
zbiggy is offline   Reply With Quote
Old 03-08-05, 12:34 PM   #7
SuLinUX
 
SuLinUX's Avatar
 
Join Date: Sep 2003
Location: UK
Posts: 847
Default Re: [patch nvidia nforce driver]: for 2.6.10 and 2.6.11 kernels

Why waste your time, just use the one in the kernel natively, or have you not realized that?
__________________
AthlonXP 2600+ / nForce2 Asus A7N8X-X / PNY GeForce FX5900 Ultra / 1024Mb Samsung Ram /nForce Sound / Hansol 920D Plus 19" monitor / Lite-On 32x12x40 / 2x Maxtor HD 40Gb/80Gb / nVidia 7174 driver / Gnome 2.10.1 / Kernel 2.6.11.9 / Slackware 10.0
SuLinUX is offline   Reply With Quote
Old 03-08-05, 01:34 PM   #8
Lithorus
Registered User
 
Lithorus's Avatar
 
Join Date: Sep 2004
Posts: 783
Default Re: [patch nvidia nforce driver]: for 2.6.10 and 2.6.11 kernels

Quote:
Originally Posted by SuLinUX
Why waste your time, just use the one in the kernel natively, or have you not realized that?
Even though the kernel driver is good and works alot better it DOES miss some of the features of the binary one.
Lithorus is offline   Reply With Quote

Old 03-08-05, 04:41 PM   #9
zbiggy
Registered User
 
Join Date: Sep 2002
Posts: 623
Exclamation Re: [patch nvidia nforce driver]: for 2.6.10 and 2.6.11 kernels

Quote:
Even though the kernel driver is good and works alot better it DOES miss some of the features of the binary one.
For example: hardware sound acceleration, nvmixer, 4 speaker configuration and some other comfortable things. Yes, it is worth wasting time to get these things working.
zbiggy is offline   Reply With Quote
Old 03-20-05, 10:20 AM   #10
pelias
Registered User
 
Join Date: Jan 2003
Location: Hellas
Posts: 11
Default Re: [patch nvidia nforce driver]: for 2.6.10 and 2.6.11 kernels

Hi all,

I have a MSI K8N SLI Platinum m/b. I have install the FC3 and I have apply the patch in order to compile the nvsound. The module is loaded without any problem but I still can't see the sound card.
the dmesg reports :
---------------------------------------------
nvsound: module license 'unspecified' taints kernel.
Nvsound: Nvidia Audio Init Module, 17:15:12 Mar 20 2005 version 1.0-1
----------------------------------------------
the system-config-soundcard can't detect it
the AUDIO section of /etc/sysconfig/hwconf is
----------------------------------------------
class: AUDIO
bus: PCI
detached: 0
driver: nvsound
desc: "Creative Labs SB Audigy LS"
vendorId: 1102
deviceId: 0007
subVendorId: 1462
subDeviceId: 1009
pciType: 1
pcidom: 0
pcibus: 1
pcidev: d
pcifn: 0
-
----------------------------------------------

The /dev/dsp doesn't exist.
Does it really need to be present since alsa is installed?

The /etc/modprobe.conf is :
-------------------------------------------------
alias eth0 forcedeth
alias scsi_hostadapter sata_nv
alias usb-controller ehci-hcd
alias usb-controller1 ohci-hcd
alias ieee1394-controller ohci1394
alias sound-slot-0 nvsound
install nsound /sbin/modprobe --ignore-install nvsound && /usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove nvsound { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove nvsound
----------------------------------------------------
The install and remove lines need to be present?
What is its purspose?
The "alias sound-slot-0 nvsound" line isn't enough?

The FC3 installation have installed :
alsa-utils-1.0.6-3
alsa-lib-1.0.6-3
alsa-lib-devel-1.0.6-3
alsa-lib-1.0.6-3

Why the alsa-lib is reported twice?
Do I really need to upgrade alsa?
Should I do it from ATrpm?


Sorry to bother you with all these "silly" questions but i haven't such problems with the soundcard in the past.
pelias is offline   Reply With Quote
Old 04-11-05, 01:45 PM   #11
zbiggy
Registered User
 
Join Date: Sep 2002
Posts: 623
Default Re: [patch nvidia nforce driver]: for 2.6.10 and 2.6.11 kernels

According to your configuration:
"desc: "Creative Labs SB Audigy LS"
vendorId: 1102
deviceId: 0007"

You have Creative Labs SB Audigy LS. You can not use nvsound driver with it. You have to find driver for Audigy LS. I do not know where you could find it.
zbiggy 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 07:12 PM.


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