Page 1 of 2

Salix64-13.1 and NVIDIA (SOLVED)

Posted: 26. Apr 2010, 11:51
by von Selbst
I'm just fresh installed Salex64-13.1a. After with slapt-get in root-terminal install kernel-source. In this point was 1st question - all kernel* packages are 2.6.33.1 and kernel-source is 2.6.33.2.....After this "sh NVIDIA...run" was say:
ERROR: Unable to load the kernel module 'nvidia.ko'. This happens most frequently when this kernel module was built against the wrong or improperly
configured kernel sources, with a version of gcc that differs from the one used to build the target kernel, or if a driver such as rivafb/nvidiafb
is present and prevents the NVIDIA kernel module from obtaining ownership of the NVIDIA graphics device(s), or NVIDIA GPU installed in this system
is not supported by this NVIDIA Linux graphics driver release.

(Nvidia is NVIDIA-Linux-x86_64-195.36.15-pkg2.run )

How can install Nvidia's drivers properly?

Re: Salix64-13.1 and NVIDIA

Posted: 26. Apr 2010, 12:21
by Akuna
You will want to force the upgrade of all your kernel related packages so that they are all on the same version.

Code: Select all

slapt-get -i kernel-modules kernel-huge kernel-firmware kernel-source
gapan wrote:And don't forget to run lilo after you upgrade the kernel. Else your system won't boot.
If not done already, you might also have to blacklist the 'nouveau' module to prevent it from loading automatically:

Code: Select all

echo "blacklist nouveau" >> /etc/modprobe.d/blacklist.conf 
Then reboot in init 3 & you should be able to install NVidia proprietary drivers.

Re: Salix64-13.1 and NVIDIA

Posted: 26. Apr 2010, 12:41
by damNageHack
How about using nouveau drivers? Without wanting to make advertisement / marketing here, but Fedora 13 beta uses them by default, if a nvidia card was detected.

Nouveau is working great here, but I have a mostly current kernel version also ... :o
1095 frames in 5.0 seconds = 218.951 FPS

Re: Salix64-13.1 and NVIDIA

Posted: 26. Apr 2010, 12:44
by gapan
And don't forget to run lilo after you upgrade the kernel. Else your system won't boot.

Re: Salix64-13.1 and NVIDIA

Posted: 26. Apr 2010, 12:46
by Akuna
Indeed :)

Added to my original post.

Re: Salix64-13.1 and NVIDIA

Posted: 26. Apr 2010, 16:48
by thenktor
damNageHack wrote:How about using nouveau drivers? Without wanting to make advertisement / marketing here, but Fedora 13 beta uses them by default, if a nvidia card was detected.

Nouveau is working great here, but I have a mostly current kernel version also ... :o
1095 frames in 5.0 seconds = 218.951 FPS
For real 3D acceleration the NVidia binary driver is still needed.

Re: Salix64-13.1 and NVIDIA

Posted: 26. Apr 2010, 22:19
by JRD
And for Dual Head two. nouveau claims it works, but it doesn't (yet) on my card.

Re: Salix64-13.1 and NVIDIA

Posted: 27. Apr 2010, 09:33
by von Selbst
Thanks to all for related solution! This night i can found them myself too :lol: This solution may be write in to short script:

#!/bin/sh
if [ `id -u` != "0" ]; then
echo -ne "\033[1;31mYou must be root to run this script!\033[1;37m"
exit
else
slapt-get -u
slapt-get --ignore-excludes --upgrade
slapt-get -i kernel-source
echo -ne "\033[1;32m Now with lynx you can choose appropriate driver for your nvidia card!\n After made your choice save downloads in /usr/src\033[1;37m\n"
sleep 10
lynx http://nvidia.com
echo -ne "\nblacklist nouveau" >> /etc/modprobe.d/blacklist.conf
lilo
cp /etc/rc.d/rc.local /etc/rc.d/rc.local.orig
echo "sh /usr/src/NVIDIA*" >> /etc/rc.d/rc.local
echo "mv /etc/rc.d/rc.local.orig /etc/rc.d/rc.local" >> /etc/rc.d/rc.local
reboot
fi

May be it wil be usefull for somebody 8-)

Salix is GREAT! Very quickly, very smart! And all i need is "from the box". Thanks for your work "salixers devels"!

Re: Salix64-13.1 and NVIDIA

Posted: 27. Apr 2010, 09:35
by von Selbst
thenktor wrote:
damNageHack wrote:How about using nouveau drivers? Without wanting to make advertisement / marketing here, but Fedora 13 beta uses them by default, if a nvidia card was detected.

Nouveau is working great here, but I have a mostly current kernel version also ... :o
1095 frames in 5.0 seconds = 218.951 FPS
For real 3D acceleration the NVidia binary driver is still needed.


This theme may be mark as "solved"...But i don't know how do it :?

Re: Salix64-13.1 and NVIDIA

Posted: 27. Apr 2010, 09:37
by gapan
von Selbst wrote:This theme may be mark as "solved"...But i don't now how do it :?
Just edit your first post and change the title.