posts - 35,  comments - 8,  trackbacks - 0
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.
Code:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
First step is getting your drivers set up. To do this use the Restricted Driver Manager.
Code:
System >> Administration >> Restricted Drivers 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.
Code:
Section "Extensions"
Option "Composite" "0"
EndSection
Now we need to install XGL.
Code:
sudo apt-get install xserver-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.
Code:
sudo gedit /usr/local/bin/startxgl.sh
put this in your startxgl.sh file
Code:
#!/bin/sh
Xgl :1 -fullscreen -ac -accel xv:pbuffer -accel glx:pbuffer &
DISPLAY=:1
exec dbus-launch --exit-with-session gnome-session
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
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
now save and make the script executable
Code:
sudo chmod a+x /usr/local/bin/startxgl.sh
Now we need to create a way to login and launch that
Code:
sudo gedit /usr/share/xsessions/xgl.desktop
put this test into that file
Code:
[Desktop Entry]
Encoding=UTF-8
Name=GNOME with XGL
Comment=
Exec=/usr/local/bin/startxgl.sh
Icon=
Type=Application
now make that script executable
Code:
sudo chmod a+x /usr/share/xsessions/xgl.desktop
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.
Code:
System >> Administration >> Software sources
now disable the universe repo and reload.
Now we need to add the beryl repo.
Code:
wget http://ubuntu.beryl-project.org/root@lupine.me.uk.gpg -O- | sudo apt-key add -
Now add this source to your Software sources via the Third party tab
Code:
deb http://ubuntu.beryl-project.org/ feisty main
reload sources and it's time to install!
Code:
sudo apt-get install beryl emerald-themes
Once that's finished installing you can launch beryl with
Code:
beryl-manager
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.

posted on 2007-05-30 14:09 J2EE 阅读(247) 评论(0)  编辑  收藏

只有注册用户登录后才能发表评论。


网站导航:
 

<2007年5月>
293012345
6789101112
13141516171819
20212223242526
272829303112
3456789

常用链接

留言簿(2)

随笔档案

文章档案

搜索

  •  

最新评论

阅读排行榜

评论排行榜