Search:  
Gentoo Wiki

TIP_XOrg_7.1_With_Older_NVidia_Drivers

This article is part of the Tips & Tricks series.
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

Introduction

This quick tip will allow you to test XOrg 7.1 with your current NVIDIA drivers.

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.

8762 and below

Installing

Note: Currently (August 2006) nvidia-drivers 8762 and below is set to conflict with the latest XOrg server. Fix this in two steps. But, remember that this is not supported by Gentoo and if you want support, you should wait until NVIDIA releases their new drivers which will hopefully be soon.

First edit the ebuild:

nano -w /usr/portage/x11-drivers/nvidia-drivers/nvidia-drivers-1.0.8762-r1.ebuild

Remove the ! in !><nowiki>=</nowiki>x11-base/xorg-server-1.0.99. 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

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"

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.

Using a Login Manager

XDM (Generic Graphical Login System)

Replace reference to X server:

File: /etc/X11/xdm/Xservers
:0 local /usr/bin/X -br -ignoreABI vt7 

KDM (For KDE Users)

Change ServerCmd entry in kdmrc to:

File: /usr/kde/<your version>/share/config/kdm/kdmrc
ServerCmd=/usr/bin/X -br -ignoreABI

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 

Links

James Jones, NVIDIA Corp.


Last modified: Sat, 15 Dec 2007 12:43:00 +0000 Hits: 13,697