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

Well ok its now Beryl time….

first off like before edit ur /etc/portage/package.keywords and add these

#Beryl Core
=x11-wm/beryl-0.1*
=x11-wm/beryl-core-0.1*
=x11-plugins/beryl-plugins-0.1*
=x11-plugins/beryl-dbus-0.1*
=x11-misc/beryl-manager-0.1*
=x11-misc/beryl-settings-0.1*
=x11-apps/xlsclients-1.0*
=x11-apps/xvinfo-1.0*
=x11-libs/libwnck-2.16*

#Experimental Plugins
x11-plugins/beryl-group-plugin -*
x11-plugins/beryl-threed-plugin -*
x11-plugins/beryl-vidcap -*

#Window Decorators
=x11-wm/emerald-0.1*
=x11-misc/emerald-themes-0.1*
x11-wm/aquamarine -*
x11-wm/heliodor -*
And simply just merge beryl with libwnck
  • emerge -va libwnck beryl
    

for any reason should it fail try merging mesa-progs

  • emerge -va mesa-progs #try this if compile fails for beryl

You try emerge aquamarine (kde) or heliodor (gnome) but you would need to setup a svn for it. But you can check out http://gentoo-wiki.com/HOWTO_XGL#Checking_Out_A_Portage_Overlay for help seting up the overlay for that.

but for now open up a regular user console and just type

  • beryl-manager or beryl-start

And hopefully you should be I guess bejeweled by your kde or gnome desktop

Okay that's almost it except to make beryl to start up at login try adding this to /etc/env.d/99kde-env or /etc/env.d/*kdepaths* (depending on the kde build) just add…

  • KDEWM=/usr/bin/beryl-manager

I hope you guys love your desktop as much I as I do now… Because you may find yourself tweaking and playing around your aiglx beryl setting for hours to come lol…

Leave a Reply