AIGLX & Beryl for Gentoo Updated!

Well after some recent changes to beryl and aiglx, I realized that the install is actually easier now. So lets begin!

well for starters get into ur root shell to make you life a bit easier rather than repeating sudo this and sudo that. (it's tiresome)

There's two ways to start, either

  1. Put this line into your /etc/portage/package.use
    • x11-base/xorg-server aiglx

    or…

  2. add aiglx to your /etc/make.conf use flags set.

Either way you are gonna have to update your current X11 to use the your new use flag. But if you have a nVidia graphics card you need to do another step before updating your X11.

(For nVidia users only (skip if it doesn't apply to you))

Aiglx only works with 9629 drivers and above so you need to upgrade by adding this line below to your /etc/portage/package.keywords

  • =x11-drivers/nvidia-drivers-1.0.9629*

    and

  • emerge -uva nvidia-drivers
  • and also eselect opengl set nvidia to set opengl to nvidia

Afterwards, edit ur xorg.conf (/etc/X11/xorg.conf) and add these lines to it

  • Option      "AddARGBGLXVisuals" "true"  #to the Section "Screen" of xorg.conf
  • Option      "Composite"  "enable"  #to the Section "Extensions" of xorg.conf *create if there isn't any*
  • Option      "AllowGLXWithComposite" "true" #to the Section"Device" of xorg.conf
  • Option      "AddARGBGLXVisuals" "True" #to the Section "Screen" of xorg.conf

(To all users with supported cards)
Ok time to compile xorg. Make sure you are using 7.1 and with the aiglx use flag on xorg-server so check out the output of the command below.

  • emerge --update xorg-x11 xorg-server xf86-input-evdev xf86-input-mouse xf86-input-keyboard xf86-video-vga xf86-video-vesa -av 

If the aiglx use flag doesn't appear in the set try this one instead

  • emerge –update xorg-x11 xorg-server xf86-input-evdev xf86-input-mouse xf86-input-keyboard xf86-video-vga xf86-video-vesa –newuse -av

Modified (again) ur xorg.conf in /etc/X11/xorg.conf and add in these lines into the sections that they belong to

Section "DRI"
Group 0
Mode 0666
EndSection

Section "ServerLayout"
Option         "AIGLX" "true"
EndSection

Section "Extensions"
Option        "Composite"   "Enable"
EndSection
Section "Device"
Option     "XAANoOffscreenPixmaps" "true"
Option      "DRI"    "true"
EndSection


Congrads Aiglx is now installed if everything went well Cool

Read on for Beryl….

Continue reading AIGLX & Beryl for Gentoo Updated!

Getting AIGLX+Beryl to Work on Gentoo

First off you need Xorg 7.1 so need to update your xorg if haven’t done so.

So these lines to add to /etc/portage/package.keywords

#Modular X 7.1
Then it's a good idea to update your portage by emerge --sync
afterwards just use emerge --update xorg-x11 xorg-server xf86-input-evdev xf86-input-mouse xf86-input-keyboard xf86-video-vga xf86-video-vesa
to update xorg.  You might want to try adding aiglx to your use flags in /etc/make.conf
Afterwards edit your /etc/X11/xorg.conf and add these lines
Section "DRI"
Group 0
Mode 0666
EndSection

Section "ServerLayout"
Option         "AIGLX" "true"
EndSection

Section "Extensions"
Option         "Composite"   "Enable"
EndSection

Section "Device"
Option      "XAANoOffscreenPixmaps" "true"
Option      "DRI"     "true"
EndSection
And that ends the aiglx part off this tutorial
Read on for Beryl
 Continue reading Getting AIGLX+Beryl to Work on Gentoo