XGL-Ubuntu

From cchtml.com

Jump to: navigation, search

[edit] Xgl/Beryl on Ubuntu/Gnome - the Kombatant Way [updated 6/10/2006]

So here we are, rewriting the whole guide, just because I found out a more bullet-proof way to do it. I've updated it too, and now instead of Compiz it uses Beryl, which imo is much better and has much more potential.

Before we start, I want to make clear that these instructions are targeted for those people using the ATI Proprietary Driver ("fglrx") and having WORKING 3D ACCELERATION. This is configured in your xorg.conf. To make sure you are "accelerated", running with the new driver, try typing fglrxinfo in a terminal and see what you get. If it talks about ATI then awesome... if it talks about Mesa, you still don't have your driver setup properly (xorg.conf). We have an excellent how-to here in the wiki (here: Ubuntu), which works - try it out!

   #Beryl Repositories for Dapper Drake (Ubuntu 6.06)
   deb http://ubuntu.beryl-project.org/ dapper main

or

   #Beryl Repositories for Edgy Eft (Ubuntu 6.10)
   deb http://ubuntu.beryl-project.org/ edgy main
   # Treviño's Beryl-SVN Ubuntu Repository
   # GPG key: 81836EBF
   deb http://3v1n0.tuxfamily.org dapper beryl-svn

or

   # Treviño's Beryl-SVN Ubuntu Edgy Eft Repository
   # GPG key: 81836EBF
   deb http://3v1n0.tuxfamily.org edgy beryl-svn


   wget http://ubuntu.beryl-project.org/root@lupine.me.uk.gpg -O- | sudo apt-key add -
   sudo apt-get update
   sudo apt-get install xserver-xgl libgl1-mesa xserver-xorg libglitz-glx1 beryl emerald-themes
   sudo dpkg-divert --package xserver-xorg-core --divert /usr/share/man/man1/Xserver.1x.gz.xgl --rename /usr/share/man/man1/Xserver.1x.gz
   sudo apt-get -f install
   sudo gedit /usr/bin/startxgl.sh

and add these as contents:

   Xgl -fullscreen :1 -ac -accel glx:pbuffer -accel xv:pbuffer & 
   sleep 2 && DISPLAY=:1 exec gnome-session

Save it, and then issue the command:

   sudo chmod 755 /usr/bin/startxgl.sh
   sudo gedit /usr/share/xsessions/xgl.desktop

and add this as its contents:

   [Desktop Entry]
   Encoding=UTF-8
   Name=XGL
   Exec=/usr/bin/startxgl.sh
   Icon=
   Type=Application
   xmodmap /usr/share/xmodmap/xmodmap.us
   gnome-settings-daemon
   beryl-manager
   

Of course, if you are using a different locale, you can substitute xmodmap.us with your appropriate file.

Hopefully somebody will find all these useful - I will also update this with more suggested information and tips, to cover more potential problems/configurations. Any additional suggestions will be more than welcome.


[edit] Has anyone got this working on feisty herd 4 ?

yes

yes: after first reboot no: since then. and yes: again then. you need to activate desktop effects in ubuntu. this does the job.

[edit] Feedback (7.04)

Newbie: The Part about the Session Manager is unclear and I think my error (the No above) is related to it.

Newbie: How can you prove if the installation has been done right to a certain extend? My Problem is, after the first reboot it worked. Then while starting over again it did not.

Newbie: How can I remove a compelte Sesssion so I am able to start over again?

Personal tools
Namespaces
Variants
Actions
Navigation
resources
Toolbox
Google