How to Upgrade to Modular Xorg in Gentoo
Unmask Xorg 7.0 Copy and paste the whole Modularized X section from /usr/portage/profiles/package.mask to /etc/portage/package.unmask and /etc/portage/package.keywords This section starts with:# Donnie Berkholz (07 Aug 2005) # Modularized X...
Step-by-Step Guide
-
Step 1: Unmask Xorg 7.0 Copy and paste the whole Modularized X section from /usr/portage/profiles/package.mask to /etc/portage/package.unmask and /etc/portage/package.keywords This section starts with:# Donnie Berkholz <[email protected]> (07 Aug 2005) # Modularized X
This stage is really quite simple: emerge
-Ca xorg-x11 rm
-rf /usr/lib/modules rm
-rf /usr/lib/opengl/xorg-x11 rm
-rf /usr/lib/libGL* Note:
Make sure /usr/X11R6 is symlink to ../usr.
If it isn't, delete that directory and create symlink. , To see what flags are available, run emerge
-pv xorg-x11.
On a typical machine an ati graphics card, it might look like this:
VIDEO_CARDS="ati fglrx" INPUT_DEVICES="mouse keyboard" If you have an ati card, make sure that you have dri added as a USE flag.
Emerge it! emerge
-av xorg-x11 Run etc-update (with sudo).
If you have an ati card with 3D acceleration (i.e. you're using fglrx), then emerge ati-drivers afterwards. -
Step 2: upstream release candidates Additionally
-
Step 3: add the following lines to both files: sys-apps/portage sys-apps/man app-admin/eselect-opengl app-admin/eselect media-video/nvidia-kernel media-video/nvidia-glx ;
-
Step 4: Uninstall your old Xorg Warning: If you're currently running X on this machine
-
Step 5: it will continue to run until you close it or shut down the computer
-
Step 6: but after uninstalling it
-
Step 7: it may become very unstable
-
Step 8: with applications unexpectedly crashing
-
Step 9: or being unable to open.
-
Step 10: Emerge X.org 7 First
-
Step 11: you should set the appropriate VIDEO_CARDS and INPUT_DEVICES flags in make.conf.
Detailed Guide
This stage is really quite simple: emerge
-Ca xorg-x11 rm
-rf /usr/lib/modules rm
-rf /usr/lib/opengl/xorg-x11 rm
-rf /usr/lib/libGL* Note:
Make sure /usr/X11R6 is symlink to ../usr.
If it isn't, delete that directory and create symlink. , To see what flags are available, run emerge
-pv xorg-x11.
On a typical machine an ati graphics card, it might look like this:
VIDEO_CARDS="ati fglrx" INPUT_DEVICES="mouse keyboard" If you have an ati card, make sure that you have dri added as a USE flag.
Emerge it! emerge
-av xorg-x11 Run etc-update (with sudo).
If you have an ati card with 3D acceleration (i.e. you're using fglrx), then emerge ati-drivers afterwards.
About the Author
David Fisher
Brings years of experience writing about practical skills and related subjects.
Rate This Guide
How helpful was this guide? Click to rate: