Howto: ATI Xpress 200M+ XGL + Beryl in Feisty
Howto: ATI Xpress 200M+ XGL + Beryl in Feisty
This is very simple actually. It worked perfectly for me.
After installing Feisty, make sure your system is completely updated.
First step is getting your drivers set up. To do this use the Restricted Driver Manager.
and enable your ATI driver.
Reboot the computer and make sure fglrx loaded correctly. There should be an icon in the notification area telling you that you have restricted modules loaded. You may also need to add this to your xorg.conf file, I don't remember adding it by hand, I'm pretty sure the restricted modules manager did it for me but I'll put it here just in case.
Now we need to install XGL.
the package in the Ubuntu repo works.
XGL won't load on its own so we need to write a few scripts to have it start.
put this in your startxgl.sh file
if you experience a bug where you have no restart/shutdown button in the shutdown menu then you need to edit startxgl.sh to this
now save and make the script executable
Now we need to create a way to login and launch that
put this test into that file
now make that script executable
Now test your login. Logout, click sessions and chose GNOME with XGL. If you get to the desktop you're now very close. If you have the universe repository enabled we need to disable it. The beryl that is in the universe does not work with xgl.
now disable the universe repo and reload.
Now we need to add the beryl repo.
Now add this source to your Software sources via the Third party tab
reload sources and it's time to install!
Once that's finished installing you can launch beryl with
That's it! Now if you want to enable the universe repo be careful not to update any beryl packages. They will break beryl as they do not have XGL support unfortunately, hopefully by release date this will be fixed. I don't think I left anything out but if I did please let me know! I'll do my best to answer any questions I can, as you can see it went very smoothly for me and i wish all of you the best of luck.
After installing Feisty, make sure your system is completely updated.
Code:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
Code:
System >> Administration >> Restricted Drivers Manager
Reboot the computer and make sure fglrx loaded correctly. There should be an icon in the notification area telling you that you have restricted modules loaded. You may also need to add this to your xorg.conf file, I don't remember adding it by hand, I'm pretty sure the restricted modules manager did it for me but I'll put it here just in case.
Code:
Section "Extensions"
Option "Composite" "0"
EndSection
Code:
sudo apt-get install xserver-xgl
XGL won't load on its own so we need to write a few scripts to have it start.
Code:
sudo gedit /usr/local/bin/startxgl.sh
Code:
#!/bin/sh
Xgl :1 -fullscreen -ac -accel xv:pbuffer -accel glx:pbuffer &
DISPLAY=:1
exec dbus-launch --exit-with-session gnome-session
Code:
#!/bin/sh
Xgl :1 -fullscreen -ac -accel xv:pbuffer -accel glx:pbuffer &
DISPLAY=:1
cookie="$(xauth -i nextract - :0 | cut -d ' ' -f 9)"
xauth -i add :1 . "$cookie"
exec dbus-launch --exit-with-session gnome-session
Code:
sudo chmod a+x /usr/local/bin/startxgl.sh
Code:
sudo gedit /usr/share/xsessions/xgl.desktop
Code:
[Desktop Entry]
Encoding=UTF-8
Name=GNOME with XGL
Comment=
Exec=/usr/local/bin/startxgl.sh
Icon=
Type=Application
Code:
sudo chmod a+x /usr/share/xsessions/xgl.desktop
Code:
System >> Administration >> Software sources
Now we need to add the beryl repo.
Code:
wget http://ubuntu.beryl-project.org/[email protected] -O- | sudo apt-key add -
Code:
deb http://ubuntu.beryl-project.org/ feisty main
Code:
sudo apt-get install beryl emerald-themes
Code:
beryl-manager