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

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Desktop Effects & Customization
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
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.

Desktop Effects & Customization
This section is for all your compositing needs. This includes Beryl, Compiz, xcompmgr, and other fancy apps which take advantage of compositing managers such as kiba-dock and avant window decorator

 
Thread Tools Display Modes
Old October 22nd, 2007   #1
ahood
Way Too Much Ubuntu
 
ahood's Avatar
 
Join Date: Oct 2004
Location: NH, USA
Beans: 251
Ubuntu 9.04 Jaunty Jackalope
SOLVED - Gutsy Compiz and strange XGL message

My problem is mentioned in many other posts, but no solution has been found. My system has an Nvidia GeForce 7800 GS video card, AMD Athlon XP 2200+ CPU, and 1 Gb RAM.

Background
I upgraded from Feisty Fawn to Gutsy Gibbon over the weekend. To prepare for the upgrade, I uninstalled all applications that were not obtained from the official Ubuntu repositories, which included beryl, miro, and cinelerra. I also removed all third-party repositories. I made sure that Desktop Effects was turned off. During the upgrade, I was notified that Desktop Effects was no longer supported and it was going to be removed. I was okay with that and proceeded.

The Problem
After rebooting, I noticed that the Desktop Effects icon was still in the Menu (System --> Preferences). I clicked on System --> Preferences --> Appearance --> Visual Effects and turned on the 3D compositing.

After turning on the 3D compositing, I noticed that the application title bar was greyed and I could not move the application window.

I was forced to turn off 3D compositing.

Attempted Fixes
A. Uninstalled/reinstalled compiz/compiz-fusion plugins.
Quote:
compiz 1:0.6.0
compizconfig-settings-manager 0.5.2
compiz-core 1:0.6.0
compiz-fusion-plugins-extra 0.5.2
compiz-fusion-plugins-main 0.5.2
compiz-gnome 1:0.6.0
compiz-plugins 1:0.6.0
gnome-compiz-manager 0.10.3
libcompizconfig0 0.5.2
libcompizconfig-backend-gconf 0.5.2
libgnome-compiz-manager0 0.10.3
python-compizconfig 0.5.2
The problem still persists.

It is not clear to me why all the above packages are needed. I have no clue as to which ones should be removed.

I checked to make sure that I have only gutsy repositories enabled and I do (see below)...

Quote:
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://us.archive.ubuntu.com/ubuntu/ gutsy main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ gutsy-updates restricted main multiverse universe
deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://us.archive.ubuntu.com/ubuntu/ gutsy universe
deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ gutsy multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://us.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu gutsy-security main restricted
deb-src http://security.ubuntu.com/ubuntu gutsy-security main restricted
deb http://security.ubuntu.com/ubuntu gutsy-security universe
deb-src http://security.ubuntu.com/ubuntu gutsy-security universe
deb http://security.ubuntu.com/ubuntu gutsy-security multiverse
deb-src http://security.ubuntu.com/ubuntu gutsy-security multiverse
B. Tried running this command
Quote:
sudo nvidia-xconfig --add-argb-glx-visuals -d 24
No change. The problem persists.

Clue to the Problem?
I then decided to turn on compiz at

Quote:
alan@alan-desktop:~$ compiz
Checking for Xgl: not present.
Detected PCI ID for VGA: 03:00.0 0300: 10de:00f5 (rev a2) (prog-if 00 [VGA])
Checking for texture_from_pixmap: present.
Checking for non power of two support: present.
Checking for Composite extension: present.
Comparing resolution (1280x1024) to maximum 3D texture size (4096): Passed.
Checking for nVidia: present.
Checking for FBConfig: present.
Checking for Xgl: not present.
Starting gtk-window-decorator
Hmmm....This message is stating that compiz is looking for XGL, which is strange because my video card is an nvidia GeForce 7600. The video card driver I am using is the nvidia-glx-new 100.14.19+2.6.22.4-14.9 and should be using the AIGLX driver.

Questions
Should I be installing XGL?

Do I need to uninstall one of the compiz packages listed above?

Do I need to change video drivers?

Note: I know that the nvidia driver is enabled as I see the nvidia splash screen on shut down and bootup. I also can run 3D games like Nexuiz and Tremulous just fine.


Any help or suggestion will be greatly appreciated.

Last edited by ahood; October 26th, 2007 at 09:18 AM.. Reason: SOLVED
ahood is offline   Reply With Quote
Old October 22nd, 2007   #2
Abetorius
Spilled the Beans
 
Abetorius's Avatar
 
Join Date: Mar 2007
Beans: 13
Ubuntu 8.04 Hardy Heron
Re: Gutsy Compiz and strange XGL message

I've had similar problems. I've:
1. removed driver completly using synaptic,
2. rebooted,
3. downloaded and instaled driver again,
4. Enabled it in properitary drivers manager
5. rebooted

and Compiz started to work fine.
Abetorius is offline   Reply With Quote
Old October 22nd, 2007   #3
ahood
Way Too Much Ubuntu
 
ahood's Avatar
 
Join Date: Oct 2004
Location: NH, USA
Beans: 251
Ubuntu 9.04 Jaunty Jackalope
Re: Gutsy Compiz and strange XGL message

Quote:
Originally Posted by Abetorius View Post
I've had similar problems. I've:
1. removed driver completly using synaptic,
2. rebooted,
3. downloaded and instaled driver again,
4. Enabled it in properitary drivers manager
5. rebooted

and Compiz started to work fine.
Thanks for replying so quickly and making a suggestion on how to fix.

I completely uninstalled the nvidia-glx-new driver and rebooted.

Unfortunately, the problem still persists, see original post above.

Still looking for a solution.

Al
ahood is offline   Reply With Quote
Old October 22nd, 2007   #4
ahood
Way Too Much Ubuntu
 
ahood's Avatar
 
Join Date: Oct 2004
Location: NH, USA
Beans: 251
Ubuntu 9.04 Jaunty Jackalope
Re: Gutsy Compiz and strange XGL message

Well..I have installed XGL from the Ubuntu repository, rebooted, verified that XGL was running, and started compiz. The problem described above still remains. I also tried downgrading to nvidia-glx instead of nvidia-glx-new, but this didn't help because nvidia-glx is not compatible with my GeForce 7800 GS video card.

The unfortunate thing is that beryl is no longer available in the repository to use instead of compiz.

This is a serious dilemma for those of us who had the 3D desktop effects working, want it working, but cannot get it to work.

Unless a suggestion can be made that gets compiz working, the only options I can think of is to wait for an update by Ubuntu developers or downgrade back to Feisty Fawn. I just might go back to Feisty as I thoroughly enjoyed the 3D effects and will miss having it. For me, the bug that is causing the failure of a working compiz is disappointing to say the least.

Mixed Emotions Here...

Al
ahood is offline   Reply With Quote
Old October 24th, 2007   #5
ahood
Way Too Much Ubuntu
 
ahood's Avatar
 
Join Date: Oct 2004
Location: NH, USA
Beans: 251
Ubuntu 9.04 Jaunty Jackalope
Re: Gutsy Compiz and strange XGL message

Update....

I have made some progress, but not all is working as it should.

I no longer have greyed out title bars when I turn on the 3D eye candy in Gutsy.

This was fixed after reading in another post to do the following:

Quote:
1. Install 'emerald' from the Ubuntu repository
2. Go to System --> Preferences --> Advanced Desktop Effects Settings
3. Filter the list by entering 'window decoration'.
4. Click on Window Decoration
5. Under the General Tabl, enter 'emerald' in the Command line.
6. Make sure the box for Enable Window Decoration is checked.
7. Click on Back button
8. Click on the Close button.
Now, when I start the 3D desktop effects, the application title bar is red.

This is the output when I run the following command...

Quote:
alan@alan-desktop:~$ compiz
Checking for Xgl: present.
Checking for nVidia: not present.
Checking for Xgl: present.
Enabling Xgl with nVidia drivers...
Starting emerald
The Problem
I cannot move the application window. I can minimize and close it, but it is unmovable. Thus, I have to revert back to no desktop effects.

Al
ahood is offline   Reply With Quote
Old October 26th, 2007   #6
ahood
Way Too Much Ubuntu
 
ahood's Avatar
 
Join Date: Oct 2004
Location: NH, USA
Beans: 251
Ubuntu 9.04 Jaunty Jackalope
Re: Gutsy Compiz and strange XGL message



Okay, I have moving windows when enabling Visual Effects.

The lack of moving windows was a result of a plug-in not enabled under the System --> Preferences --> Advanced Desktop Effects Settings. Enabling the Place Windows (under Window Management) plug-in fixed the non-moving windows problem.

Al
ahood is offline   Reply With Quote
Old October 26th, 2007   #7
ahood
Way Too Much Ubuntu
 
ahood's Avatar
 
Join Date: Oct 2004
Location: NH, USA
Beans: 251
Ubuntu 9.04 Jaunty Jackalope
Re: Gutsy Compiz and strange XGL message

SUMMARY
Compiz-Fusion is working and the problems described above were a result of lack of user knowledge on setting up a working Compiz-Fusion. When I started, my expectation was that all I had to do was install Compiz-Fusion and it would work. This was not the case at all and required much more user intervention to get working. Below are what I needed to do to have a functional Compiz-Fusion with little fuss after upgrading from Feisty Fawn.

Quote:
BEFORE PROCEEDING - be sure that the appropriate 3D graphic driver is installed and operational. I have an Nvidia 7800GS and have the nvidial-glx-new driver installed from the repository. Click on System --> Administration --> Screens and Graphics and be sure that the appropriate card and driver (opensource or proprietary) are selected.

STEP 1. INSTALL PACKAGES FROM UBUNTU REPOSITORIES.

Click on System --> Administration --> Synaptic Package Manager.
Quote:
compiz-core
compiz-plugins
compiz-fusion-plugins-main
compiz-fusion-plugins-extra
compiz-config-settings-manager
libcompizconfig0
libcompizconfig-backend-gconf
python-compizconfig

emerald
libemeraldengine0

xserver-xgl
Note: If the above packages are not found, then be sure that all repositories are enabled under Settings --> Repositories --> Ubuntu Software (check all 4 boxes).


STEP 2. REBOOT THE MACHINE

Note: xserver-xgl should be running automatically.


STEP 3. ACTIVATE AND CONFIGURE PLUGINS
Click on System --> Preferences --> Advanced Desktop Effects Settings

CATEGORY: GENERAL PLUGIN: GENERAL OPTIONS
Desktop Size tab.
Quote:
Horizontal Virtual Size should match the number of workspaces.
Display Settings tab.
Quote:
In the Output box, change the 800x600+0+0 to the display resolution of your monitor. I changed mine to 1280x1024+0+0.
CATEGORY: EFFECTS PLUGIN: WINDOW DECORATION
Quote:
Configure the Window Decoration plugin by clicking on it and typing emerald into the Command box.
CATEGORY: WINDOW MANAGEMENT PLUGIN: PLACE WINDOW

CATEGORY: UNCATEGORIZED PLUGIN: RESIZE WINDOW

CATEGORY: WINDOW MANAGEMENT PLUGIN: MOVE WINDOW

CATEGORY: WINDOW MANAGEMENT PLUGIN: APPLICATION SWITCHER

CATEGORY: WINDOW MANAGEMENT PLUGIN: RING SWITCHER

CATEGORY: WINDOW MANAGEMENT PLUGIN: VIEWPORT SWITCHER

Step 4. ACTIVATE VISUAL EFFECTS
Click on System --> Preferences --> Appearance --> Visual Effects --> Custom.

ENJOY!!!

Hope this helps others....

Last edited by ahood; October 26th, 2007 at 09:19 AM.. Reason: Fix formatting
ahood 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 02:24 AM.


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