Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Operating Systems > Linux, Unix

Reply
 
LinkBack Thread Tools
Old 09-15-07   #1 (permalink)
Linux Lobbyist
 
talntid's Avatar
 
intel nvidia

Join Date: Jun 2007
Location: Spokane, WA
Posts: 684

Rep: 106 talntid is acknowledged by manytalntid is acknowledged by many
Unique Rep: 80
Folding Team Rank: 1172
Trader Rating: 8
Default [FAQ] Compiz Fusion on Ubuntu with nVidia Drivers. Eyecandy!

This will help you get Compiz Fusion working under Ubuntu. To see what it is:


I am writing this for the latest version of Ubuntu at the time of press - Feisty Fawn 7.04

First, if you have already tried to install this and failed, we need to clear everything out first.

Start the Synaptic Package Manager:

System Administration Synaptic Package Manager

Search for Compiz. Remove anything that is installed that has to do with Compiz. mark them for Complete removal. If they are installed, they will have a green checkbox.

Search for Beryl. Remove anything that is installed that has to do with Beryl. mark them for Complete removal. If they are installed, they will have a green checkbox.

Search for Emerald. Remove anything that is installed that has to do with the Emerald Theme Manager. mark them for Complete removal. If they are installed, they will have a green checkbox.

Click Apply

Also if you added any repositories to your sources.list for compiz/beryl, remove them!

Ok, now in the Synaptic Package Manager, click Settings, then Repositories. go to the Third Party Software tab and click Add
A box will pop up prompting you to add something:
Code:
deb http://ppa.launchpad.net/amaranth/ubuntu feisty main
After we added the repository and closed the window, we need to reload the package informations in Synaptic, click Reload in the top left of the Synaptic Package Manager to do so.

Now we do a search for compiz again.
This will list all the packages that are ready to install.

Find compiz. Click the check box beside it and check "Mark for Installation"

Find compizconfig-settings-manager. Click the check box beside it and check "Mark for Installation"

Find emerald. Click the check box beside it and check "Mark for Installation"

Click Apply
-----------------------------------------------------------------------------------------------------

Start the CompizConfig Settings Manager:
SystemPreferences.
  • There we click on Preferences and in the Backend section choose "Flat-file Configuration Backend" (this is the most reliable and it won't mess with your previous settings of Compiz in gconf).
  • Then create a new profile, so that you can easily switch back to default and back. To do so, click on the [+] in the Profile section.
  • Last but not least, click Back and look for the Window DecorationCommand, type gtk-window-decorator (this will prevent the window borders to disappear in certain situations) - if you want to use Emerald as your default window decorator, see below.
Run Compiz

Press [Alt]+[F2] to start "Run Application" and type:
Code:
compiz --replace

This should start Compiz with your standard window boarder.
If you want to use Emerald instead, press [Alt]+[F2] again and type:
Code:
emerald --replace


Run Compiz on startup

In order to use Compiz as your default window manager, all you have to do is add the before mentioned command (only the compiz one) to
SystemPreferencesSessionsStartup Programs


Run Compiz with Emerald by default (optional)

Compiz uses the gtk-window-decorator by default, but if you want to start Emerald right away, there are two ways to achieve this:

Remove the package compiz-gnome (it will remove compiz too but don't worry, that's just an empty metapackage)
This will leave you without your window boarders, that you are used to from GNOME (only on Compiz, of course), so you should only do that when you are certain you solely want to use Emerald from now on!

or...

Create a startscript :

Run ApplicationsAccessoriesText Editor and type the following:

Code:
#!/bin/bash
compiz --replace &
sleep 5
emerald --replace


Save the file as start-compiz in your home folder.
Close the text editor.
Open PlacesHome Folder.
There you right-click on the file and click Properties
Navigate to PermissionsCheck Allow executing file as program

After this, you can use that file to start Compiz - it's even possible to use that file with a launcher in the panel (or on the desktop) and of course use it for the command in the startup programs

Go to SystemPreferencesCompizConfig Settings ManagerWindow DecorationCommand.

Insert the word emerald into the text box beside Command

Press Ctrl+Alt+Backspace to restart your xWindows session and it should all work! Let me know here if it doesn't.

Questions? Comments?

System: My Rig
CPU
Q6600 @ 3.651GHz
Motherboard
ASUS P5K Deluxe Wifi-AP
Memory
4gb Ballistix Tracers DDR2 1066
Graphics Card
eVGA 8800GT 512
Hard Drive
2 x Seagate 250GB 16M | 2 x WD 400GB AAKS 16M
Sound Card
X-Fi ExtremeGamer Fatal1ty
Power Supply
Antec Earthwatts 500
Case
Black Antec P180
CPU cooling
ARCTIC COOLING Freezer 7 Pro 92mm CPU Cooler
OS
Ubuntu 64, Vista
Monitor
Samsung 226BW

Last edited by talntid : 09-15-07 at 06:54 AM
talntid is offline I fold for Overclock.net   Reply With Quote
Old 09-15-07   #2 (permalink)
Why is it smoking?
 
Mr. Mojo's Avatar
 
intel ati

Join Date: Feb 2007
Location: Sweetwater, TX
Posts: 2,794

Rep: 287 Mr. Mojo is a proven memberMr. Mojo is a proven memberMr. Mojo is a proven member
Unique Rep: 227
Folding Team Rank: 551
Trader Rating: 6
Default

This is a very nice guide. I believe I did it in a similar but very roundabout way...it took me a little over a week to get it all working the way I wanted. I would definitely like to see this added to the FAQ directory!

For those of you who haven't seen compiz fusion in action, here are a few screenshots that barely scratch the surface of what it can do:







__________________
Fold for the cause, Fold for the karma, or Fold for the points, but FOLD!
Other Rigs: Even Better Juju (wife's lappy), Mojo Reborn (kids), Blast from the past (shop rig)

System: Your Head Asplode
CPU
Intel C2D e8400
Motherboard
Gigabyte P35-DS3L
Memory
G.Skill 2x2GB PQ DDR2-800
Graphics Card
Sapphire HD4870/512 Toxic
Hard Drive
WD Caviar Black 640GB
Sound Card
Audigy2 ZS
Power Supply
CM iGreen 500
Case
CM 690
CPU cooling
Xigmatek S1283 Dark Knight
GPU cooling
Toxic
OS
Vista Ultimate x64
Monitor
Acer AL2016WBbd
Mr. Mojo is offline I fold for Overclock.net Overclocked Account Mr. Mojo's Gallery   Reply With Quote
Old 09-17-07   #3 (permalink)
Why is it smoking?
 
Mr. Mojo's Avatar
 
intel ati

Join Date: Feb 2007
Location: Sweetwater, TX
Posts: 2,794

Rep: 287 Mr. Mojo is a proven memberMr. Mojo is a proven memberMr. Mojo is a proven member
Unique Rep: 227
Folding Team Rank: 551
Trader Rating: 6
Default

For some reason, the amaranth repository kept giving me MD5 sum mismatch errors last night when I reinstalled Ubuntu. I used Trevino's repository this time and it worked fine. It also didn't have the issue with constantly wanting to update compiz-core. I have had issues with Trevino's returning 404 errors though, so I guess just use whatever works for you at the time.
__________________
Fold for the cause, Fold for the karma, or Fold for the points, but FOLD!
Other Rigs: Even Better Juju (wife's lappy), Mojo Reborn (kids), Blast from the past (shop rig)

System: Your Head Asplode
CPU
Intel C2D e8400
Motherboard
Gigabyte P35-DS3L
Memory
G.Skill 2x2GB PQ DDR2-800
Graphics Card
Sapphire HD4870/512 Toxic
Hard Drive
WD Caviar Black 640GB
Sound Card
Audigy2 ZS
Power Supply
CM iGreen 500
Case
CM 690
CPU cooling
Xigmatek S1283 Dark Knight
GPU cooling
Toxic
OS
Vista Ultimate x64
Monitor
Acer AL2016WBbd
Mr. Mojo is offline I fold for Overclock.net Overclocked Account Mr. Mojo's Gallery   Reply With Quote
Old 09-17-07   #4 (permalink)
4.0ghz
 
intel nvidia

Join Date: Jul 2006
Location: Virginia Beach, VA
Posts: 5,528

Rep: 267 l V l is a proven memberl V l is a proven memberl V l is a proven member
Unique Rep: 195
FAQs Submitted: 1
Trader Rating: 2
Default

OMG I can not wait until I get home to do this! OMG!!! Haha looks so nice.
__________________
System: Vi Veri Veniversum Vivus Vici
CPU
Intel Core 2 Duo E6400
Motherboard
ASUS P5B-Deluxe
Memory
4gb [2x2] G.Skill DDR2 1000
Graphics Card
eVGA 8800GT 512mb
Hard Drive
320gb Seagate Barracuda + 160gb
Sound Card
Creative Sound Blaster Audigy SE
Power Supply
600w OCZ GameXStream
Case
Gigabyte 3D Aurora
CPU cooling
Zalman 9700 LED
OS
Windows Vista Ultimate x64
Monitor
MAG 19" Widescreen
l V l is offline Overclocked Account   Reply With Quote
Old 09-17-07   #5 (permalink)
PC Gamer
 
amd ati

Join Date: Sep 2005
Location: Easley, SC
Posts: 3,575

Rep: 189 Ch13f121 is acknowledged by manyCh13f121 is acknowledged by many
Unique Rep: 151
FAQs Submitted: 2
Hardware Reviews: 1
Trader Rating: 20
Default

I compiled mine from git with a script I found on ubuntu forums. Considering I have an 8 series, and nvidia can't seem to get good drivers out for them, it does run a lot faster than it did. I still have problems resizing windows and on certain effects, which is just outright rediculous considering the card I have (8600M GT 256mb DDR2)

System: The Black Dragon
CPU
Phenom II X4 940 BE
Motherboard
Gigabyte GA-MA790GP-UD4H
Memory
4x2gb G.Skill DDR2 800 (PQ)
Graphics Card
Sapphire 4870x2
Hard Drive
2x250gb Barracuda
Sound Card
Razer Barracuda AC-1
Power Supply
PC P&C Silencer 750w
Case
Gigabyte 3d Mars
CPU cooling
Noctua NH-U12P
GPU cooling
AC Accelero Xtreme 4870x2
OS
Windows 7 RC 64-bit
Monitor
Samsung T240HD
Ch13f121 is offline   Reply With Quote
Old 09-17-07   #6 (permalink)
Linux Lobbyist
 
talntid's Avatar
 
intel nvidia

Join Date: Jun 2007
Location: Spokane, WA
Posts: 684

Rep: 106 talntid is acknowledged by manytalntid is acknowledged by many
Unique Rep: 80
Folding Team Rank: 1172
Trader Rating: 8
Default

I used the 8600GTS, and mine seems to do pretty well. I dont think what you are experiencing is a driver issue - Compiz is beta software, and as such, is prone to bugs.

System: My Rig
CPU
Q6600 @ 3.651GHz
Motherboard
ASUS P5K Deluxe Wifi-AP
Memory
4gb Ballistix Tracers DDR2 1066
Graphics Card
eVGA 8800GT 512
Hard Drive
2 x Seagate 250GB 16M | 2 x WD 400GB AAKS 16M
Sound Card
X-Fi ExtremeGamer Fatal1ty
Power Supply
Antec Earthwatts 500
Case
Black Antec P180
CPU cooling
ARCTIC COOLING Freezer 7 Pro 92mm CPU Cooler
OS
Ubuntu 64, Vista
Monitor
Samsung 226BW
talntid is offline I fold for Overclock.net   Reply With Quote
Old 09-17-07   #7 (permalink)
PC Gamer
 
amd ati

Join Date: Sep 2005
Location: Easley, SC
Posts: 3,575

Rep: 189 Ch13f121 is acknowledged by manyCh13f121 is acknowledged by many
Unique Rep: 151
FAQs Submitted: 2
Hardware Reviews: 1
Trader Rating: 20
Default

Quote:
Originally Posted by talntid View Post
I used the 8600GTS, and mine seems to do pretty well. I dont think what you are experiencing is a driver issue - Compiz is beta software, and as such, is prone to bugs.
Well maybe it's on certain ones, all I know is with desktop zoom and or water effects on, my laptop comes to a crawl, and whenever I resize windows or minimize a maximized window, the magic lamp effect is really choppy. I might have to disable a lot of effects so they dont' bother me, but as far as the cube and the panel (where it has all 4 desktops side by side and you can drag in between them) I find those to have some sort of use.

System: The Black Dragon
CPU
Phenom II X4 940 BE
Motherboard
Gigabyte GA-MA790GP-UD4H
Memory
4x2gb G.Skill DDR2 800 (PQ)
Graphics Card
Sapphire 4870x2
Hard Drive
2x250gb Barracuda
Sound Card
Razer Barracuda AC-1
Power Supply
PC P&C Silencer 750w
Case
Gigabyte 3d Mars
CPU cooling
Noctua NH-U12P
GPU cooling
AC Accelero Xtreme 4870x2
OS
Windows 7 RC 64-bit
Monitor
Samsung T240HD
Ch13f121 is offline   Reply With Quote
Old 09-17-07   #8 (permalink)
4.0ghz
 
intel nvidia

Join Date: Jul 2006
Location: Virginia Beach, VA
Posts: 5,528

Rep: 267 l V l is a proven memberl V l is a proven memberl V l is a proven member
Unique Rep: 195
FAQs Submitted: 1
Trader Rating: 2
Default

Whenever I launch it from the text I made, or just launch it in general, the thing reboots. =/
__________________
System: Vi Veri Veniversum Vivus Vici
CPU
Intel Core 2 Duo E6400
Motherboard
ASUS P5B-Deluxe
Memory
4gb [2x2] G.Skill DDR2 1000
Graphics Card
eVGA 8800GT 512mb
Hard Drive
320gb Seagate Barracuda + 160gb
Sound Card
Creative Sound Blaster Audigy SE
Power Supply
600w OCZ GameXStream
Case
Gigabyte 3D Aurora
CPU cooling
Zalman 9700 LED
OS
Windows Vista Ultimate x64
Monitor
MAG 19" Widescreen
l V l is offline Overclocked Account   Reply With Quote
Old 09-17-07   #9 (permalink)
PC Gamer
 
amd ati

Join Date: Sep 2005
Location: Easley, SC
Posts: 3,575

Rep: 189 Ch13f121 is acknowledged by manyCh13f121 is acknowledged by many
Unique Rep: 151
FAQs Submitted: 2
Hardware Reviews: 1
Trader Rating: 20
Default

Quote:
Originally Posted by l V l View Post
Whenever I launch it from the text I made, or just launch it in general, the thing reboots. =/
Are you doing it via nvidia's steps? or ati? Because ati doesn't support AIGLX yet, you have to use XGL (which I dunno if it's even being maintained anymore.)

System: The Black Dragon
CPU
Phenom II X4 940 BE
Motherboard
Gigabyte GA-MA790GP-UD4H
Memory
4x2gb G.Skill DDR2 800 (PQ)
Graphics Card
Sapphire 4870x2
Hard Drive
2x250gb Barracuda
Sound Card
Razer Barracuda AC-1
Power Supply
PC P&C Silencer 750w
Case
Gigabyte 3d Mars
CPU cooling
Noctua NH-U12P
GPU cooling
AC Accelero Xtreme 4870x2
OS
Windows 7 RC 64-bit
Monitor
Samsung T240HD
Ch13f121 is offline   Reply With Quote
Old 09-17-07   #10 (permalink)
Why is it smoking?
 
Mr. Mojo's Avatar
 
intel ati

Join Date: Feb 2007
Location: Sweetwater, TX
Posts: 2,794

Rep: 287 Mr. Mojo is a proven memberMr. Mojo is a proven memberMr. Mojo is a proven member
Unique Rep: 227
Folding Team Rank: 551
Trader Rating: 6
Default

Quote:
Originally Posted by l V l View Post
Whenever I launch it from the text I made, or just launch it in general, the thing reboots. =/
Until ATI gets the new Linux drivers out, it will be hard to get an ATI card to run compiz. Try running "compiz --replace" from a terminal so you can see if it gives any particular error.

Try following this guide. It may help you out.
__________________
Fold for the cause, Fold for the karma, or Fold for the points, but FOLD!
Other Rigs: Even Better Juju (wife's lappy), Mojo Reborn (kids), Blast from the past (shop rig)

System: Your Head Asplode
CPU
Intel C2D e8400
Motherboard
Gigabyte P35-DS3L
Memory
G.Skill 2x2GB PQ DDR2-800
Graphics Card
Sapphire HD4870/512 Toxic
Hard Drive
WD Caviar Black 640GB
Sound Card
Audigy2 ZS
Power Supply
CM iGreen 500
Case
CM 690
CPU cooling
Xigmatek S1283 Dark Knight
GPU cooling
Toxic
OS
Vista Ultimate x64
Monitor
Acer AL2016WBbd
Mr. Mojo is offline I fold for Overclock.net Overclocked Account Mr. Mojo's Gallery   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -4. The time now is 12:42 AM.


Overclock.net is a Carbon Neutral Site Creative Commons License

Terms of Service / Forum Rules | Privacy Policy | DMCA Info | Advertising | Become an Official Vendor
Copyright © 2009 Shogun Interactive Development. Most rights reserved.
Page generated in 0.19251 seconds with 10 queries