Salix64-13.1 and NVIDIA (SOLVED)

You have a problem with Salix? Post here and we'll do what we can to help.
User avatar
von Selbst
Posts: 3
Joined: 26. Apr 2010, 11:41
Location: St.Petersburg Russia
Contact:

Salix64-13.1 and NVIDIA (SOLVED)

Post 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?
Last edited by von Selbst on 27. Apr 2010, 12:42, edited 2 times in total.
User avatar
Akuna
Salix Wizard
Posts: 1038
Joined: 14. Jun 2009, 12:25

Re: Salix64-13.1 and NVIDIA

Post 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.
Image
What really matters is where you are going, not where you come from.
User avatar
damNageHack
Posts: 663
Joined: 24. Sep 2009, 17:07

Re: Salix64-13.1 and NVIDIA

Post 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
Image
This is the oppinion of the author, it does not force you to share and is signed automatically.
You are free to keep them all errors for your own. Linux is the best game I ever played.
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: Salix64-13.1 and NVIDIA

Post by gapan »

And don't forget to run lilo after you upgrade the kernel. Else your system won't boot.
Image
Image
User avatar
Akuna
Salix Wizard
Posts: 1038
Joined: 14. Jun 2009, 12:25

Re: Salix64-13.1 and NVIDIA

Post by Akuna »

Indeed :)

Added to my original post.
Image
What really matters is where you are going, not where you come from.
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: Salix64-13.1 and NVIDIA

Post 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.
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
User avatar
JRD
Salix Warrior
Posts: 950
Joined: 7. Jun 2009, 22:52
Location: Lyon, France

Re: Salix64-13.1 and NVIDIA

Post by JRD »

And for Dual Head two. nouveau claims it works, but it doesn't (yet) on my card.
Image
User avatar
von Selbst
Posts: 3
Joined: 26. Apr 2010, 11:41
Location: St.Petersburg Russia
Contact:

Re: Salix64-13.1 and NVIDIA

Post 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"!
User avatar
von Selbst
Posts: 3
Joined: 26. Apr 2010, 11:41
Location: St.Petersburg Russia
Contact:

Re: Salix64-13.1 and NVIDIA

Post 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 :?
Last edited by von Selbst on 27. Apr 2010, 09:45, edited 1 time in total.
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: Salix64-13.1 and NVIDIA

Post 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.
Image
Image
Post Reply