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...

11 Steps 1 min read Medium

Step-by-Step Guide

  1. 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.
  2. Step 2: upstream release candidates Additionally

  3. 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 ;

  4. Step 4: Uninstall your old Xorg Warning: If you're currently running X on this machine

  5. Step 5: it will continue to run until you close it or shut down the computer

  6. Step 6: but after uninstalling it

  7. Step 7: it may become very unstable

  8. Step 8: with applications unexpectedly crashing

  9. Step 9: or being unable to open.

  10. Step 10: Emerge X.org 7 First

  11. 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

D

David Fisher

Brings years of experience writing about practical skills and related subjects.

60 articles
View all articles

Rate This Guide

--
Loading...
5
0
4
0
3
0
2
0
1
0

How helpful was this guide? Click to rate: