Thursday, February 02, 2006

FC5 Test 2 : Nvidia Finally Successful!

Fedora Core 5 Test 2 :
Thanks to a Livna Maintainer, we worked out the Nvidia problem on kernel-2.6.15-1.1881_FC5. The packages can be found here.(ATI packages are available too, but I didn't test them)
These are our procedures:

I downloaded the following packages to my home directory "chitlesh":
* nvidia-kmod-1.0.8178-0.lvn.3.2.6.15_1.1881_FC5.src.rpm
* xorg-x11-drv-nvidia-1.0.8178-0.lvn.5.i386.rpm

As root:
# yum install fedora-rpmdevtools

Then as user:
$ fedora-buildrpmtree
$ rpmbuild --rebuild nvidia-kmod-1.0.8178-0.lvn.3.2.6.15_1.1881_FC5.src.rpm --target i686
$ cp /home/chitlesh/rpmbuild/RPMS/i686/kmod-nvidia-*.rpm /home/chitlesh

As root again
# su -m
# rpm -ivh *rpm
# kwrite /etc/X11/xorg.conf&
# /usr/sbin/nvidia-config-display enable
Replaced these two lines
ModulePath "/usr/X11R6/lib/modules/extensions/nvidia"
ModulePath "/usr/X11R6/lib/modules"
by
ModulePath "/usr/lib/xorg/modules/extensions/nvidia"
ModulePath "/usr/lib/xorg/modules"

Reboot.

Big thanks to that Livna Maintainer :) Actually I was his guinea-pig :)

UPDATE (09 Feb 2006): A new version of the nvidia packages has been uploaded that fixes some bugs.

UPDATE (25 March 2006): Links fixed. Packages moved to livna.

36 comments:

Luya Tshimbalanga said...

Suggestions:
$ rpmbuild --rebuild nvidia-kmod-1.0.8178-0.lvn.3.2.6.15_1.1881_FC5.src.rpm
should be changed by
$ rpmbuild --rebuild --target=i686 nvidia-kmod-1.0.8178-0.lvn.3.2.6.15_1.1881_FC5.src.rpm

Instead of:
$ cp /home/chitlesh/rpmbuild/RPMS/i686/*.rpm /home/chitlesh
# su -m
# rpm -ivh *rpm


Do
yum localinstall /path/of/rpms/packagename

Instead of

Replaced these two lines
ModulePath "/usr/X11R6/lib/modules/extensions/nvidia"
ModulePath "/usr/X11R6/lib/modules"
by
ModulePath "/usr/lib/xorg/modules/extensions/nvidia"
ModulePath "/usr/lib/xorg/modules"


Do this command:
nvidia-xconfig

Succesfully tested on Rawhide

Chitlesh GOORAH said...

Oops i forgot --rebuild --target=i686
post updated

Anonymous said...

Does that mean that ati and nvidia drivers are working with X.Org 7.0, the modules based version?

I thought they are incompatible...

Luya Tshimbalanga said...

Yes, they work (at least Nvidia version).

The problem was old spec were not compatible with the modular X.org (some of them still using /usr/X11R6 instead of /usr path) so one of Livna maintainer write new packages from scratch.

Changes are new definition of nvidia-kmod and xorg-x11-drv-nvidia.

Chitlesh GOORAH said...

Yes it is. I tested Nvidia and it's working fine for me.:)

Anonymous said...

I followed the instructions, but changed it for my environment for x86_64. There are a few warnings during the compile, but the RPMs are created an I can install.

Once installed and X starts, I get a blank screen and then the monitor shuts down. I've looked at the Xorg log files and there aren't any errors...

I'm using FC5 test2 with the latest yum update.

Any ideas?

Chitlesh GOORAH said...

Can you send me your /etc/X11/xorg.conf at chitlesh AT fedoraproject DOT org ?

Curious Yellow said...

Why does the usual method of running the .run pacakge for the driver using the sh *.run command to install the driver once you've exited X not work? It worked with absolutely no issued in FC4, has some change been made? Sorry for the questions, I'm pretty new to fedora.

Chitlesh GOORAH said...

Hello CuriousYellow,

This is not meant for Fedora Core 4. Since Fedora Core 5 Test * has undergone some major changes, the Nvidia driver is not compatible with Xorg 7.0 modular.

But for the next stable Fedora Core 5, if Nvidia comes up with an update, then things will be easier and different :)

Anonymous said...

No dice when I tried it:
1) Stock fc5 Test 2 DVD.

2) All rpms off the CD no updates (it was not specified to do so here, and I a previous install got borked when I ran yum update, so stock install I remained at..)

3) Appeared to have followed instructions here, failed because there was a third RPM needed from the download site.

4) rpm -ivh all 3 rpms; I had kernel mismatch dep conflicts, which I could have solved, but the SECOND conflict was looking for 'nvidia-common' rpm which does not exist. I searched Google for FC5 nvidia-common, and got one problem report in Flemish which I could not read well enough (but there was not much there to it).

I thank the author for posting their efforts which helped some folks. This is my first time installing Nvidia drivers on a test release (I've been using RH geez since RH5.2). I will try again on the FC5-T3 DVD image, and if that fails for me I'll have to resort to FC4. The point of this exercise is to get a modern MythTV box running (I already have success reports of Myth on FC5 so I'm not worried about that).

If ANYONE has more suggestions for this blog post, it would be much appreciated. This ranks high in Google so I am sure more people will check in...

Chitlesh GOORAH said...

your problem here say that you are NOT following my howto properly.
4) rpm -ivh all 3 rpms;

before rpm -ivh all 3 rpms; you need to rebuild the kernel module yourself:
I quote again:
<<<<
Then as user:
$ fedora-buildrpmtree
$ rpmbuild --rebuild nvidia-kmod-1.0.8178-0.lvn.3.2.6.15_1.1881_FC5.src.rpm --target i686
$ cp /home/chitlesh/rpmbuild/RPMS/i686/kmod-nvidia-*.rpm /home/chitlesh
>>>>

Anonymous said...

I get this error when trying to install kmod-nvidia:


[root@Spot ~]# rpm -ivh kmod-nvidia-1.0.8178-0.lvn.3.2.6.15_1.1977_FC5.i686.rpm
error: Failed dependencies:
nvidia-kmod-common = 1.0.8178 is needed by kmod-nvidia-1.0.8178-0.lvn.3.2.6.15_1.1977_FC5.i686


Any ideas?

--Dane

Chitlesh GOORAH said...

You need to install the package
kmod-nvidia-1.0.8178-0.lvn.3.2.6.15_1.1977_FC5.i686.rpm together with
the xorg-x11-drv-nvidia package, e.g. something like list:

rpm -ivh kmod-nvidia-1.0.8178-0.lvn.3.2.6.15_1.1977_FC5.i686.rpm xorg-x11-drv-nvidia-1.0.8178-0.lvn.5.i386.rpm

Anonymous said...

Thanks, Chitlesh.

Unfortunately, I'm now getting this error:


FATAL: Error inserting nvidia (/lib/modules/2.6.15-1.1991_FC5/extra/nvidia/nvidia.ko): No such device


Does that mean I have to use a different driver? My card is pretty old--a GeForce 2.

Thanks again.

--Dane

Chitlesh GOORAH said...

Ive described how to remedy this here
http://fedoranews.org/cms/node/365

Things have changed lately with the new 2.6.15-1.1991_FC5.

Anonymous said...

thanks so much for your efforts in getting the nVidia driver working and posting your results, it is greatly appreciated, and now for what I think is a complete stupid question ... yet being new to the linux world ... i just installed FC5 test 3 so my kernel is at 2.6.15_1.1991 ... i can still use the nvidia-kmod...rpm I downloaded? or do I need an updated one? I think the comments have create some confusion ... at least for me? sorry for being a dunce, i'm trying to get this stuff ....

Chitlesh GOORAH said...

you can always use the ones you have downloaded. but sometimes on the site they might be updated. nevertheless each time you have updated your kernel you will need to rebuild the rpms as i redescribed on my blog post.

the learning process never ends ... :)

Curious Yellow said...

this link has a howto on installing the nvidia drivers and a patch for them. Have you tried using this method?

I have, and it installs fine, but once I try and use my modified xorg.conf (can provide if necessary) then I get a message saying "module nvidia not found" when I attempt to start X. I will give it another go and update you if you wish.

Chitlesh GOORAH said...

hello curious yellow,
no i havent yet look at it

but concerning to error message
Ive described how to remedy this here
http://fedoranews.org/cms/node/365

Curious Yellow said...

Hi, a locate nvidia.ko command shows that it is already present in /lib/modules/2.6.15-1.1969_FC5/kernel/drivers/video/nvidia.ko

It also says

couldn't open RGB_DB /usr/X11R6/lib/X11/rgb

Any advice?

Chitlesh GOORAH said...

Please tell me what command did you execute so that I can troubleshoot it?

When does the error message show up?

the other nvidia.ko is that of the kernel 2.6.15-1.1969_FC5

you have that nvidia.ko because you have installed nvidia drivers on that kernel :)

Curious Yellow said...

I see, I think that was the kernel I was using if I'm not mistaken.
As for the command, all I did was install nvidia using the instructions on the nvidia forums (nvnews i think), which seemed to be ok. I then configured my xorg.conf and issued a startx command which resulted in the error message.
Anyway, I don't think I'll bother with FC5 anymore as I have gone over to Ubuntu 5.10 which seemes to work like a dream! :)
Sorry :(

Anonymous said...

And this solution is no longer useful, as the RPMs have been removed from the
www.leemhuis.info link listed. And they're not on Livna. Be patient, indeed.

Anonymous said...

I get the following error:

rpm -ivh *.rpm
Preparing... ########################################### [100%]
1:kmod-nvidia-smp ########################################### [ 33%]
2:xorg-x11-drv-nvidia ########################################### [ 67%]
FATAL: Error inserting nvidia (/lib/modules/2.6.15-1.2054_FC5smp/extra/nvidia/nvidia.ko): Unknown symbol in module, or unknown parameter (see dmesg)
3:xorg-x11-drv-nvidia-dev########################################### [100%]


from dmesg


nvidia: module license 'NVIDIA' taints kernel.
nvidia: Unknown symbol print_tainted


any suggestions ?
Rajesh

Chitlesh GOORAH said...

please update your kernel to http://people.redhat.com/davej/kernels/Fedora/FC5/RPMS.kernel/
then install vmware.
The kernel 2.6.15-1.2054.FC5 do not allow compilation of non-gpl modules

alkmyst said...

I'm trying the method you descibe here, and I keep getting an error message as follows:

@localhost tmp]$ rpmbuild --rebuild nvidia-kmod-1.0.8762-1.2.6.16_1.2122_FC5.src.rpm --target i686
Installing nvidia-kmod-1.0.8762-1.2.6.16_1.2122_FC5.src.rpm
warning: InstallSourcePackage: Header V3 DSA signature: NOKEY, key ID a109b1ec
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
Building target platforms: i686
Building for target i686
error: Failed build dependencies:
kernel-devel-i686 = 2.6.16-1.2122_FC5 is needed by nvidia-kmod-1.0.8762-1.2.6.16_1.2122_FC5.i686
kernel-smp-devel-i686 = 2.6.16-1.2122_FC5 is needed by nvidia-kmod-1.0.8762-1.2.6.16_1.2122_FC5.i686



Is it worth it to go thru the tarball method, or is there something I can do with this other than wait for the proper files to become available again?

Chitlesh GOORAH said...

You should use

--define 'kvariants foo'

foo="" for UP-kernel
smp for SMP-kernel

Anonymous said...

Building Residual Income In QLx3 The Most Powerful Business Social On The Web for Building Residual Income!

Anonymous said...

Work at home opportunites For people who are smart enough to go after there own dreams

Work from home opportunites

Women who have children will love it...

Anonymous said...

This is a great Blog! But if you want to really
Work at home with a system that is as good and
as simple as owning your own ATM Cash Machine!
ATM CASH

Anonymous said...

This is a great Blog! But if you want to really
earn money from home work with a system that is
good and is as simple as owning your own
ATM Cash Machine!
ATM CASH

laptop battery said...

How can you prolong your battery for laptop.

seno said...

The Fedora Project announces the second release of the Fedora Core 5 development cycle, available for the i386, x86_64, and PPC/PPC64 architectures. After several weeks of delay, the second development release of Fedora Core 5 was finally made available on January 16th. This is a much anticipated version not only will this be Fedora's first new release after switching to a longer, 9 month release cycle, it is likely that much of the distribution's current core will form the basis of the upcoming release of Red Hat Enterprise Linux 5. The Nvidia driver would not work properly without a driver patch.
---------------------
Christa



Link Building

wow power leveling said...

welcome to the wow power leveling cheap Wow gold service site, buy cheap wow gold,wow gold,world of warcraft power leveling buy wow gold

Anonymous said...

徵信, 徵信社, 感情挽回, 婚姻挽回, 挽回婚姻, 挽回感情, 徵信, 徵信社, 徵信, 捉姦, 徵信公司, 通姦, 通姦罪, 抓姦, 抓猴, 捉猴, 捉姦, 監聽, 調查跟蹤, 反跟蹤, 外遇問題, 徵信, 捉姦, 女人徵信, 外遇問題, 女子徵信, 外遇, 徵信公司, 徵信網, 徵信, 徵信社, 外遇蒐證, 抓姦, 抓猴, 捉猴, 調查跟蹤, 反跟蹤, 感情挽回, 挽回感情, 婚姻挽回, 挽回婚姻, 感情挽回, 外遇沖開, 徵信, 徵信, 徵信社, 抓姦, 徵信, 徵信社, 外遇蒐證, 外遇, 通姦, 通姦罪, 贍養費, 徵信, 徵信社, 徵信社, 抓姦, 徵信社, 徵信社, 徵信, 徵信, 徵信公司, 徵信社, 徵信, 徵信公司, 徵信社, 徵信社, 徵信社, 徵信社, 徵信社, 徵信公司, 徵信社, 徵信, 徵信, 徵信公司, 女人徵信, 外遇, 外遇, 外遇, 外遇

徵信, 徵信網, 徵信社, 徵信網, 徵信, 徵信社, 外遇, 徵信, 徵信, 徵信社, 抓姦, 徵信, 徵信社, 外遇, 徵信社, 抓姦, 徵信社, 徵信公司, 徵信, 徵信社, 徵信公司, 徵信, 徵信社, 徵信公司, 徵信社, 徵信社, 徵信社, 徵信社, 徵信, 徵信社, 徵信社, 徵信社, 徵信,

Anonymous said...

Ultima Online Gold, UO Gold, crestingwait
buy uo gold
buy uo gold
buy uo gold
buy uo gold
buy uo gold
buy uo gold
buy uo gold
buy uo gold
buy uo gold
buy uo gold
lotro gold
wow gold
warhammer gold
buy aoc gold
buy aoc gold
buy aoc gold
buy aoc gold
buy aoc gold
buy aoc gold
buy aoc gold
Age of Conan Gold, AOC Gold