Thanks for the help.
Mike
Moderator: Moderators
batvink wrote:wrote:
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-304.64#$(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-310.19
>=media-video/nvidia-settings-310.19
>=x11-drivers/nvidia-userspace-310.19
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.
# package.mask example file
#
# In this file you can specify atoms, one per line, that you would mask.
# Masking a package (atom) means that you will deny Entropy to pull in a package even if it's marked as "NOT experimental".
# LINE CONSTRUCTION:
# <atom>
# See examples below
# EXAMPLES:
# >=media-libs/foo-1.2.3
# media-libs/foo
# <media-libs/foo-1.2.3
# media-libs/foo:1
# >=media-libs/foo-1.2.3#2.6.23-sabayon-r1
#
# :1 means package with SLOT="1"
# #2.6.23-sabayon-r1 means package with kernel tag = 2.6.23-sabayon-r1
>=x11-drivers/nvidia-drivers-310.19
>=media-video/nvidia-settings-310.19
>=x11-drivers/nvidia-userspace-310.19
Return to Beginners|Newbies Area
Users browsing this forum: No registered users and 2 guests