TIP XOrg 7.1 With Older NVidia Drivers
From Gentoo Linux Wiki
| Terminals / Shells • Network • X Window System • Portage • System • Filesystems • Kernel • Other |
- This page is a candidate for deletion
- Reason given: No longer relevant.
- If you disagree with its deletion, please explain why on its discussion page.
- If you intend to fix it, please remove this notice, but do not remove this notice from articles that you have created yourself.
- Make sure no other pages link here and check the page's history before deleting.
Contents |
[edit] Introduction
This quick tip will allow you to test XOrg 7.1 with your current NVIDIA drivers.
[edit] 8774 and above
Add the following line to /etc/portage/package.keywords:
x11-drivers/nvidia-drivers
If you haven't yet migrated to the new nvidia-drivers package, first we'll need to unmerge the old nvidia-glx and nvidia-kernel packages. The nvidia-drivers package is just a repackaging of these two packages.
emerge --unmerge nvidia-glx nvidia-kernel
Now emerge the nvidia drivers package:
emerge nvidia-drivers
Do not follow any further instructions: The nvidia-drivers 8774 and above do not need any further changes to work with xorg 7.1. You're all done.
[edit] 8762 and below
[edit] Installing
First edit the ebuild:
nano -w /usr/portage/x11-drivers/nvidia-drivers/nvidia-drivers-1.0.8762-r1.ebuild
Remove the ! code> in !><nowiki>=</nowiki>x11-base/xorg-server-1.0.99 code>. Then save and close the editor.
Second You'll have to update the "Manifest" with:
ebuild /usr/portage/x11-drivers/nvidia-drivers/nvidia-drivers-1.0.8762-r1.ebuild digest
Next, emerge the drivers:
emerge --ask nvidia-drivers
[edit] XOrg.conf Options
If you're running compositing, you'll need to disable the hardware acceleration option:
| File: /etc/X11/xorg.conf |
Option "RenderAccel" "false" |
[edit] Running X
You'll need to tell XOrg 7.1 to ignore the outdated NVIDIA driver ABI:
# startx -- -ignoreABI
Once you are in your window manager/desktop environment of choice, be sure to turn off sub-pixel rendering options. This will combat any problems with missing text.
[edit] Using a Login Manager
[edit] XDM (Generic Graphical Login System)
Replace reference to X server:
| File: /etc/X11/xdm/Xservers |
:0 local /usr/bin/X -br -ignoreABI vt7 |
[edit] KDM (For KDE Users)
Change ServerCmd code> entry in kdmrc to:
| File: /usr/kde/<your version>/share/config/kdm/kdmrc |
ServerCmd=/usr/bin/X -br -ignoreABI |
[edit] GDM (For Gnome Users)
Edit your gdm.conf to ignore the new ABI.
| File: /etc/X11/gdm/gdm.conf |
[servers] #0=Standard 1=newABI # Definition of the ABI override X server. [server-newABI] name=newABI command=/usr/bin/X -br -ignoreABI flexible=true chooser=false handled=true priority=0 |
