Open your favourite konsole/terminal as root, and enter:
- Code: Select all
equo remove nvidia-drivers --ask
It should remove the current installed nvidia-driver plus dependencies. (check that...)
Then:
- Code: Select all
equo install nvidia-drivers-173.14.36#`uname -r` --ask
(also check that the right drivers plus dependencies getting installed, according to the command.)
If everything went well, the new (right) drivers are installed.
Now, when upgrading the System, it probably also wants to upgrade your nvidia-driver,
which you
don't want., so you have to mask all future nvidia-drivers it may want to upgrade to...
Enter (while still running the terminal) as root:
- Code: Select all
nano -w /etc/entropy/packages/package.mask
Scroll to the end of the list, and enter the following:
- Code: Select all
>=x11-drivers/nvidia-drivers-174.0.0
>=media-video/nvidia-settings-174.0.0
>=x11-drivers/nvidia-userspace-174.0.0
Save the file by pressing (CTRL+O) and leave the nano-editor by pressing (CTRL+X)
Next, edit xorg:
- Code: Select all
nano -w /etc/X11/xorg.conf
search under: section "device" if the driver is nvidia:
- Code: Select all
Section "Device"
Identifier "SabayonVga0"
Driver "nvidia"
#BusID "PCI:01:00"
#Option "RenderAccel" "on"
#Option "XAANoOffscreenPixmaps"
#Option "BusType" "PCI"
#Option "ColorTiling" "on"
#Option "EnablePageFlip" "on"
# UseEvents is causing segmentation faults with
# NVIDIA 6xxx, 7xxx and >=275.xx.xx drivers
# #Option "UseEvents" "True"
Option "LogoPath" "/usr/share/backgrounds/sabayonlinux-nvidia.png"
EndSection
If not, correct it, save, and close the editor.
Restart X:
- Code: Select all
/etc/init.d/xdm restart
It closes all programs, the session, and brings you back to login.
Now you should login properly with a working X.