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
- Put this line into your /etc/portage/package.use
-
x11-base/xorg-server aiglx
or…
-
- 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
Read on for Beryl….