Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Tutorials & Tips
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Tutorials & Tips
The place to find Ubuntu related Tips & Tricks.

 
Thread Tools Display Modes
Old August 27th, 2006   #1
chokes
A Carafe of Ubuntu
 
chokes's Avatar
 
Join Date: Mar 2006
Location: Sherbrooke Québec (Canada
Beans: 84
Send a message via MSN to chokes Send a message via Skype™ to chokes
ATI XGL/Compiz Beta tester needed

First section
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 Compiz wont work!

If you own an X series Radeon card , scroll down to the end of this HowTo!

This First metod is starting Xgl in root not over X....
  • Update your system:
Code:
  sudo aptitude update && sudo aptitude dist-upgrade
  • Prepare and update repositories:
Code:
sudo gedit /etc/apt/sources.list
  • Add quinstorms' and reggaemanus' repositories to /etc/apt/sources.list:
Code:
deb http://www.beerorkid.com/compiz dapper main aiglx 
deb http://media.blutkind.org/xgl/ dapper main aiglx 
deb http://ubuntu.compiz.net/ dapper main aiglx
  • Download and import the gpg key for quinnstorms repository:
Code:
wget http://www.beerorkid.com/compiz/quinn.key.asc -O - | sudo apt-key add - 
wget http://media.blutkind.org/xgl/quinn.key.asc -O - | sudo apt-key add - 
wget http://ubuntu.compiz.net/quinn.key.asc -O - | sudo apt-key add -
  • update your sources:
Code:
  sudo aptitude update
  • Install needed packages:
Code:
  sudo aptitude install xserver-xgl compiz compiz-core compiz-plugins compiz-gnome gnome-compiz-manager cgwd cgwd-themes
  • Modify /etc/gdm/gdm.conf-custom:
Code:
  sudo gedit /etc/gdm/gdm.conf-custom
  • Look for [servers] and paste this:
[
Code:
servers] # Override display 1 to use Xgl (DISPLAY 1 IMPORTANT FOR ATI FGLRX).
1=Xgl 

[server-Xgl]  name=Xgl server  command=/usr/bin/Xgl :1 -fullscreen -ac -accel glx:pbuffer -accel xv:pbuffer 
flexible=true
  • Modify /etc/gdm/gdm.conf :
Code:
  sudo gedit /etc/gdm/gdm.conf
  • And change:
Code:
  0=Standard 
#1=Standard
to

Code:
  #0=Standard 
1=Standard
  • Go to line 198 and change GdmXserverTimeout=10 to (this one is very crucial):
Code:
 GdmXserverTimeout=50
  • Do another dist-upgrade so you are sure you have all the newest packages:
Code:
  sudo aptitude update && sudo aptitude dist-upgrade
  • Reboot , Login and have fun!
To start compiz you have to right click on the red icin in notification aera and clik on : GL Desktop





Second Section
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 Compiz wont work!

Tih method is starting Xgl in cover of X its more stable but use more memory. And you will not be able to shut down or restart the computer.

Update your system:
Code:
  sudo aptitude update && sudo aptitude dist-upgrade
  • Prepare and update repositories:
Code:
  sudo gedit /etc/apt/sources.list
Add quinstorms repositories
Code:
deb http://www.beerorkid.com/compiz dapper main aiglx 
deb http://media.blutkind.org/xgl/ dapper main aiglx 
deb http://ubuntu.compiz.net/ dapper main aiglx
  • Download and import the gpg key for quinnstorms repository:
Code:
wget http://www.beerorkid.com/compiz/quinn.key.asc -O - | sudo apt-key add - 
wget http://media.blutkind.org/xgl/quinn.key.asc -O - | sudo apt-key add - 
wget http://ubuntu.compiz.net/quinn.key.asc -O - | sudo apt-key add -
  • update your sources:
Code:
  sudo aptitude update
  • Install needed packages:
Code:
  sudo aptitude install xserver-xgl compiz compiz-core compiz-plugins compiz-gnome gnome-compiz-manager cgwd cgwd-themes
  • Make a startup script for XGL:
Code:
sudo gedit /usr/bin/startxgl.sh
  • Paste:
Code:
Xgl -fullscreen :1 -ac -accel glx:pbuffer -accel xv:pbuffer & sleep 2 && DISPLAY=:1 
# Start GNOME 
exec gnome-session
  • Make the script executable:
Code:
  sudo chmod 755 /usr/bin/startxgl.sh
  • Make a XGL session for the login manager:
Code:
  sudo gedit /usr/share/xsessions/xgl.desktop
  • Paste:
Code:
[Desktop Entry] 
Encoding=UTF-8 
Name=XGl 
Exec=/usr/bin/startxgl.sh 
Icon= 
Type=Application
  • Do another dist-upgrade so you are sure you have all the newest packages:
Code:
  sudo aptitude update && sudo aptitude dist-upgrade
  • 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.


To start compiz you have to right click on the red icon in notification aera and clik on : GL Desktop

Additional Notes:
If you own an X series Radeon and have problems with lockups, do this:
Code:
  sudo gedit /etc/X11/xorg.conf
Find the Driver section for your video card and add this as the option:
Code:
  Option       "KernelModuleParm" "agplock=0"
Note for all cards: glxinfo will show that direct rendering is not working , don't worry that's normal when you are running XGL.

Please Let me know if someting wrong with this How to and tell me what do you think

Here A link to the wiki page for configuring Compiz in Gconf-editor
https://help.ubuntu.com/community/Co...ngCompiz#xprop

Removal for the first method -


----------------------

Prepare and update repositories:
Code:
sudo gedit /etc/apt/sources.list


Remove or comment out (#) quinstorms' and reggaemanus' repositories to /etc/apt/sources.list:
Code:
#deb http://www.beerorkid.com/compiz dapper main aiglx 
#deb http://media.blutkind.org/xgl/ dapper main aiglx 
#deb http://ubuntu.compiz.net/ dapper main aiglx


Remove instaled packages:

Code:
sudo aptitude remove xserver-xgl compiz compiz-core compiz-plugins compiz-gnome gnome-compiz-manager cgwd cgwd-themes
Modify /etc/gdm/gdm.conf-custom:
Code:
  sudo gedit /etc/gdm/gdm.conf-custom


Look for [servers] section and delete this:

Code:
1=Xgl [server-Xgl] name=Xgl server command=/usr/bin/Xgl :1 -fullscreen -ac -accel glx:pbuffer -accel xv:pbuffer flexible=true
Modify /etc/gdm/gdm.conf :

Code:
sudo gedit /etc/gdm/gdm.conf
* And change:

Code:
#0=Standard 
1=Standard


to
Code:
0=Standard 
#1=Standard

reboot

Second section removal:

update repositories:

Code:
  sudo gedit /etc/apt/sources.list


Comment (#) out the following or delete:

Code:
#deb http://www.beerorkid.com/compiz dapper main aiglx 
#deb http://media.blutkind.org/xgl/ dapper main aiglx 
#deb http://ubuntu.compiz.net/ dapper main aiglx
remove packages

Code:
sudo aptitude remove xserver-xgl compiz compiz-core compiz-plugins compiz-gnome gnome-compiz-manager cgwd cgwd-themes
Remove start up script and XGL session for login manager

Delete:

Code:
sudo rm /usr/bin/startxgl.sh
sudo rm /usr/share/xsessions/xgl.desktop


reboot

Last edited by chokes; August 31st, 2006 at 02:27 PM.. Reason: Added more info about First and second section
chokes is offline   Reply With Quote
Old August 28th, 2006   #2
kosmic
Quad Shot of Ubuntu
 
kosmic's Avatar
 
Join Date: Jan 2005
Location: Portugal
Beans: 499
Hardy Heron (Ubuntu Development)
Re: ATI XGL/Compiz Beta tester needed

I've tried the 2º section and it works.

My card is an ATI RADEON 9600 PRO.
__________________
"Linux guys are motivated by their hate for Microsoft, while BSD developers are motivated by their love of UNIX..."
"Há nos confins da Ibéria um povo que nem se governa nem se deixa governar" - Gaius Julius Caesar (100-44 AC)
kosmic is offline   Reply With Quote
Old August 28th, 2006   #3
chokes
A Carafe of Ubuntu
 
chokes's Avatar
 
Join Date: Mar 2006
Location: Sherbrooke Québec (Canada
Beans: 84
Send a message via MSN to chokes Send a message via Skype™ to chokes
Re: ATI XGL/Compiz Beta tester needed

you can start and stop compiz with the Compiz icon?

Last edited by chokes; August 28th, 2006 at 12:32 AM..
chokes is offline   Reply With Quote
Old August 28th, 2006   #4
alexandermimix
Just Give Me the Beans!
 
alexandermimix's Avatar
 
Join Date: Jul 2006
Beans: 47
Ubuntu 7.10 Gutsy Gibbon
Re: ATI XGL/Compiz Beta tester needed

before I try this, whats the likely hood it is going to work on a 64 bit system ?

Im really looking forward to getting this eye candy cranking!
alexandermimix is offline   Reply With Quote
Old August 28th, 2006   #5
The Soundophiliac
A Carafe of Ubuntu
 
The Soundophiliac's Avatar
 
Join Date: Feb 2006
Location: Finland
Beans: 42
Ubuntu 7.04 Feisty Fawn
Re: ATI XGL/Compiz Beta tester needed

No. 2 works for me and I can start/stop compiz using the Compiz icon in the notification area.

I've been using the compiz-start.py script to start and manage compiz. Just tried gnome-compiz-manager. It's alright and I realize that gnome-compiz-preferences are newbie-friendlier but I do prefer gset-compiz for editing the preferences. It has features like choosing the cube top and bottom images and more comprehensive shortcut editing capabilities, for example. I guess I could use gconf-editor for that.

Also, compiz-start.py has the option to restart compiz and to switch to metacity, which I like. Also IMHO it's good that in compiz-start.py you can go directly to the cgwd themer.

Last edited by The Soundophiliac; August 28th, 2006 at 06:06 AM..
The Soundophiliac is offline   Reply With Quote
Old August 28th, 2006   #6
tribaal
Extra Foam Sugar Free Ubuntu
 
tribaal's Avatar
 
Join Date: Feb 2006
Location: Geneva, Switzerland
Beans: 797
Ubuntu Jaunty Jackalope (testing)
Send a message via ICQ to tribaal Send a message via MSN to tribaal
Re: ATI XGL/Compiz Beta tester needed

I installed both ways, both work for me.

Good job

- trib'
__________________
[Why does Linux take up so much of my RAM?] [Get GNU/Linux!]
"Software is like sex; it's better when it's free" - Linus Torvalds
tribaal is offline   Reply With Quote
Old August 28th, 2006   #7
S1NGH
A Carafe of Ubuntu
 
S1NGH's Avatar
 
Join Date: Aug 2006
Location: Realm of Truth
My beans are hidden!
Ubuntu 6.10 Edgy
Send a message via MSN to S1NGH Send a message via Skype™ to S1NGH
Re: ATI XGL/Compiz Beta tester needed

alexandermimix: you will need amd64 packages, you can see this guide: http://www.ubuntuforums.org/showthread.php?t=133427
me and chokes will update the guide, we will have both nVidia and ATi setup, since we are getting good feedback, we will post the guide with chokes nVidia guide and my ATi one, which is this.
chokes helped me with a few modifications.

So far all seems well, are you guys experiencing slow downs or any problems or its all good?
__________________
Linux user#425903 Ubuntu user#7402
.:Linux For Clinics:.
.:Linux Mod-Free Forums:.
S1NGH is offline   Reply With Quote
Old August 28th, 2006   #8
tribaal
Extra Foam Sugar Free Ubuntu
 
tribaal's Avatar
 
Join Date: Feb 2006
Location: Geneva, Switzerland
Beans: 797
Ubuntu Jaunty Jackalope (testing)
Send a message via ICQ to tribaal Send a message via MSN to tribaal
Re: ATI XGL/Compiz Beta tester needed

It's all good so far.
I'd say it's even faster than the other tutorials (beerorkid's repos seem to be more up-to-date).

I still have some XGL related questions, but it has nothing to do with the installation method, so I'll post them somewhere else

Cheers

- trib'
__________________
[Why does Linux take up so much of my RAM?] [Get GNU/Linux!]
"Software is like sex; it's better when it's free" - Linus Torvalds
tribaal is offline   Reply With Quote
Old August 28th, 2006   #9
S1NGH
A Carafe of Ubuntu
 
S1NGH's Avatar
 
Join Date: Aug 2006
Location: Realm of Truth
My beans are hidden!
Ubuntu 6.10 Edgy
Send a message via MSN to S1NGH Send a message via Skype™ to S1NGH
Re: ATI XGL/Compiz Beta tester needed

Thanks a lot tribaal and everyone else for the great feedback! appreciated your time and effort
__________________
Linux user#425903 Ubuntu user#7402
.:Linux For Clinics:.
.:Linux Mod-Free Forums:.

Last edited by S1NGH; August 28th, 2006 at 06:21 AM..
S1NGH is offline   Reply With Quote
Old August 28th, 2006   #10
kosmic
Quad Shot of Ubuntu
 
kosmic's Avatar
 
Join Date: Jan 2005
Location: Portugal
Beans: 499
Hardy Heron (Ubuntu Development)
Re: ATI XGL/Compiz Beta tester needed

Quote:
Originally Posted by chokes View Post
you can start and stop compiz with the Compiz icon?
Yes I can no problems there
__________________
"Linux guys are motivated by their hate for Microsoft, while BSD developers are motivated by their love of UNIX..."
"Há nos confins da Ibéria um povo que nem se governa nem se deixa governar" - Gaius Julius Caesar (100-44 AC)
kosmic is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:45 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry