Wednesday, February 28, 2007

How to install Xgl/Beryl (ATI)

(From Beryl Forums) (Also From Ubuntu Forums)

First make sure you have 3d acceleration available in a normal gnome session. There are lots of howtos for this , Google if you need any help with that. So if glxinfo shows direct rendering: yes , then you are good to go. If not xgl and Beryl wont work!

  • Update your system
sudo aptitude update
sudo aptitude dist-upgrade
  • Prepare and update repositories
sudo gedit /etc/apt/sources.list
  • Add to /etc/apt/sources.list
deb edgy main
deb-src edgy main
deb edgy beryl-svn
deb-src edgy beryl-svn
  • Download and import the gpg key for beryl & beryl svn project repositories
wget -O- | sudo apt-key add -
wget -O- | sudo apt-key add -
  • Update your sources
sudo aptitude update
  • Install needed packages
sudo apt-get install xserver-xgl libgl1-mesa xserver-xorg libglitz-glx1 beryl \
beryl-core beryl-manager beryl-plugins beryl-plugins-data beryl-settings emerald \
  • Make a startup script for xgl
sudo gedit /usr/bin/startxgl
  • Add to /usr/bin/startxgl
Xgl :1 -fullscreen -ac -accel xv:pbuffer -accel glx:pbuffer &
exec dbus-launch --exit-with-session gnome-session
  • Make the script executable
sudo chmod +x /usr/bin/startxgl
  • Make a xgl session for the login manager
sudo gedit /usr/share/xsessions/xgl.desktop
  • Add to /usr/share/xsessions/xgl.desktop
[Desktop Entry]
Comment=Start an Xgl Session
  • System > Preferences > Sessions > Startup Programs > Add
  • Reboot
  • In the login manager you can now choose a session named Xgl
  • Answer to following question that you want to use Xgl for this session only (if something went wrong you are logged in next time using standard session)
  • If everything works fine , you can set it as the default session , remember you can always login a normal gnome session if you want.
  • If you own an x series radeon and have problems with lockups, read this post:

Note for all cards: glxinfo will show that direct rendering is not working , dont worry thats normal when you are running xgl.

No comments:

Your Ad Here