View Single Post
Old 12-16-04, 02:27 AM   #57
Spyke's Avatar
Join Date: Aug 2004
Location: Canada
Posts: 618
Send a message via AIM to Spyke Send a message via MSN to Spyke Send a message via Yahoo to Spyke
Default Re: Fedora Core 3 and nVidia drivers - Solution

All that is needed for FC3 with udev is to modprobe nvidia in /etc/rc.local.
Entering this command will do just that.
echo "modprobe nvidia" >> /etc/rc.local

By the way, did you ever wonder why the device nodes magically appear when you manually modprobe the nvidia module? Thats because nvidia's module supports udev. This is no different then if you had RTC as a module and something needed RTC and it wasnt loaded, and kmod couldnt load it because /dev/rtc doesnt exist, so you have to cludge a device node there so kmod will auto load the module, but manually loading rtc module will create the node in /dev automatically.

Copying of these device nodes just cludges the device in dev so that when X accesses the /dev node for nvidia, kmod will auto load the module. It isnt necessary, and telling your machine to modprobe nvidia in /etc/rc.local will solve all of your problems. Also delete the rivafb module if it exists.

The main fact is is that this isnt nvidia's problem, nor fedoras.
If you look in slackware's udev script, you will notice that patrick added some nvidia nodes to get created at bootup, so kmod can automatically load the module when X requests it. He has the same thing done for alot of different common device nodes since the same issue happens for them too. This is more of a problem with UDEV itself, since kmod is not integrated with it. kmod wont know if you try to find a nonexistant device in /dev. However, the "old" devfs worked in tandem with kmod, and this problem was never a problem. Kmod would probe a module if something looked for it in /dev if the node existed or not. In my opinion, devfs should of been rewrote into a standard structure and setup like UDEV, instead of deprecated. I can go on about many good things getting deprecated for more dumber things, ALSA over OSS being one of them, OSS still has much better sound quality and crispness over ALSA anyday and that probably wont ever change, yet they call OSS depreciated. The guys over at arent too happy about the ALSA developers getting their way. But heck, the sound quality in the non-free drivers blows ALSA away anyday, and it just about matches the free OSS drivers in the kernel. Bottom line, just because something newer comes along, it shouldnt ever obsolete perfectly working technology thats in most cases far superior.

Anyhow, This is a simple fix, all Fedora has to do is add the device nodes, or nvidia can load the module at bootup via rc.local, since all distro's seem to have some different UDEV setup structure.
Intel i7 980X @ 4GHz | ASUS Rampage III Extreme | GTX 480 3Way SLI @ 900Mhz | Koolance VID-NX480 | Corsair Obsidian 700D
Corsair H70 CPU Cooler | EK-FB RE3 | Corsair AX1200 | Black Ice SR1 360 | 240GB OCZ Revodrive X2 SSD | Windows 7 Ultimate
12GB Corsair Dominator GT @ 8-8-8-24-1T DDR3-1600 | Onkyo TX SR-707 | 70" Sharp Aquos LCD | KEF Audio 5.1 C3/C6LCR/C7
Intel i7 920 D0 @ 4GHz | ASUS Rampage II Extreme | GTX 480 @ 800Mhz | Koolance VID-NX480 | Lian-Li V1200B | Corsair HX1000
EK NB ASUS HP | Watercool HeatKiller 3.0 | Feser Extreme X-360 | 2x160GB Intel X25-M SSD RAID0 | 4x2TB WD20EARS RAID10
12GB Corsair Dominator @ 8-8-8-24-1T DDR3-1600 | Creative X-Fi Titanium | Pioneer DVR-212D | Gentoo Linux
Dell 3008WFP | JohnBlue JB3 | CityPulse DA2.03e II DAC | KingRex T20U w/ Modded Auricaps & PSU | Glow Audio Sub One
Quad Socket Opteron 8356 (16 cores) @ 2.3GHz | Supermicro H8QMi-2 | Supermicro 2U Chassis | Redundant 1200W PSU
32GB 2GBx16 DDR2-667 ECC | 4x 300GB Cheetah SAS RAID10 | Adaptec 5805 512MB w/BBU | Colocated | Gentoo Linux

Last edited by Spyke; 12-16-04 at 02:39 AM.
Spyke is offline   Reply With Quote