Compiz-fusion fails to start on ubuntu-studio because of XDG_CONFIG_DIR - /usr/bin/compiz: 376: /usr/local/bin/compiz: not found

Bug #141621 reported by qamelian
32
This bug affects 1 person
Affects Status Importance Assigned to Milestone
compiz (Ubuntu)
Fix Released
High
Michael Vogt

Bug Description

Binary package hint: compiz-core

Unable to start desktop effects. Running compiz --replace in a terminal results in the following output:

Checking for Xgl: not present.
Detected PCI ID for VGA: 01:05.0 0300: 1002:5835 (prog-if 00 [VGA])
Checking for texture_from_pixmap: not present.
Trying again with indirect rendering:
Checking for texture_from_pixmap: present.
Checking for non power of two support: present.
Checking for Composite extension: present.
Comparing resolution (1280x800) to maximum 3D texture size (2048): Passed.
Checking for nVidia: not present.
Checking for FBConfig: present.
Checking for Xgl: not present.
/usr/bin/compiz: 376: /usr/local/bin/compiz: not found

Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

Could you please attach the file /etc/xdg/compiz/compiz-manager and add version information for compiz to this report?

Thanks,
 Michael

Changed in compiz:
status: New → Incomplete
Revision history for this message
Michael Vogt (mvo) wrote :

Please also attach the file: ~/.config/compiz/compiz-manager (if available) and the output of:
$ echo "conf: $XDG_CONFIG_DIRS"
$ echo "home: $XDG_CONFIG_HOME"

Revision history for this message
lobtoc (a-kattner) wrote :

Hi!

Same problem here (I guess):

$ compiz --replace
Checking for Xgl: not present.
Detected PCI ID for VGA: 01:00.0 0300: 10de:00f1 (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 (1680x1050) to maximum 3D texture size (4096): Passed.
Checking for nVidia: present.
Checking for FBConfig: present.
Checking for Xgl: not present.
/usr/bin/compiz: 376: /usr/local/bin/compiz: not found

$ echo "conf: $XDG_CONFIG_DIRS"
conf: /usr/share/ubuntustudio-menu/

$ echo "home: $XDG_CONFIG_HOME"
home:

Attached /etc/xdg/compiz/compiz-manager but I found no ~/.config/compiz/compiz-manage, there's only ~/.config/compiz/compizconfig/config with:
[gnome_session]
profile =
plugin_list_autosort = true

Where does one find the compiz version info?

Thanks, lobtoc

Revision history for this message
lobtoc (a-kattner) wrote :

I just replaced my /usr/bin/compiz with the attached one I got from the Ubuntu forum user Jay_Bee ( http://ubuntuforums.org/showthread.php?t=556658&page=3 ).

I get a warning, but the "not found" error is gone and my windows wobble again :D

$ compiz --replace
Checking for Xgl: not present.
Checking for texture_from_pixmap: present.
Checking for non power of two support: present.
Checking for Composite extension: present.
Checking for nVidia: present.
Checking for Xgl: not present.
/usr/bin/compiz.real (video) - Warn: No 8 bit GLX pixmap format, disabling YV12 image format

Thanks, lobtoc

Michael Vogt (mvo)
Changed in compiz:
assignee: nobody → mvo
importance: Undecided → High
status: Incomplete → Confirmed
Revision history for this message
qamelian (carl-godfrey) wrote :

This happens with each update to Compiz since late Tuesday, September 18.

Still happening with version as reported below by apt-cache policy compiz-core:

compiz-core:
  Installed: 1:0.5.2+git20070918-0ubuntu5
  Candidate: 1:0.5.2+git20070918-0ubuntu5
  Version table:
 *** 1:0.5.2+git20070918-0ubuntu5 0
        500 http://archive.ubuntu.com gutsy/main Packages
        100 /var/lib/dpkg/status

Revision history for this message
qamelian (carl-godfrey) wrote :

echo "conf: $XDG_CONFIG_DIRS"
conf: /usr/share/ubuntustudio-menu/

echo "home: $XDG_CONFIG_HOME"
home:

There is no ~/.config/compiz/compiz-manager . The only file in ~/.config/compiz/ is config.

Revision history for this message
Michael Vogt (mvo) wrote :

Closeing the compiz-settings task, this is unreleated to the problem.

Changed in compizsettings:
status: New → Invalid
Revision history for this message
Michael Vogt (mvo) wrote :

The latest ubuntustudio-menu upload (0.5) fixes this issue by no longer exporting the XDG_CONFIG_DIRS.

Changed in compiz:
status: Confirmed → Fix Released
Revision history for this message
daburna (oliverwunder) wrote :

@Michael: Are you sure? I updated everything today and even with ubuntustudio-menu (0.5) compiz does not start. Same output as before:

$ compiz --replace
Checking for Xgl: not present.
Detected PCI ID for VGA: 03:00.0 0300: 10de:0331 (rev a1) (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.
/usr/bin/compiz: 376: /usr/local/bin/compiz: not found

Revision history for this message
irongrunty (wtfmanthatsnotcool) wrote :

I also get this bug

irongrunty@PARADISE:~$ compiz --replace
Checking for Xgl: not present.
Blacklisted PCIID '8086:2a02' found
aborting and using fallback: /usr/bin/metacity

Revision history for this message
irongrunty (wtfmanthatsnotcool) wrote :

Updated everything, still getting the same message.

compiz worked before, so i don't know why my card is blacklisted now.

Revision history for this message
irongrunty (wtfmanthatsnotcool) wrote :
Revision history for this message
lobtoc (a-kattner) wrote :

I can confirm daburna's message.
I just made a sudo apt-get dist-upgrade, there was an update to ubuntustudio-menu 0.5, but compiz fails to start:

$ compiz --replace
Checking for Xgl: not present.
Detected PCI ID for VGA: 01:00.0 0300: 10de:00f1 (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 (1680x1050) to maximum 3D texture size (4096): Passed.
Checking for nVidia: present.
Checking for FBConfig: present.
Checking for Xgl: not present.
/usr/bin/compiz: 376: /usr/local/bin/compiz: not found

Revision history for this message
daburna (oliverwunder) wrote :

Btw. my hardware Geforce FX5900 is not blacklisted.

Revision history for this message
Yura Tolstik (yltsrc) wrote :

do not work with intel 965

Revision history for this message
daburna (oliverwunder) wrote :

I reinstalled UbuntuStudio and now the fix works.

Revision history for this message
Rami Al-Rfou' (rmyeid) wrote :

Upgrading from 8.10 to 9.04 I faced this problem.

eid@eid-laptop:~$ compiz --replace &
[2] 6408
eid@eid-laptop:~$ Checking for Xgl: not present.
xset q doesn't reveal the location of the log file. Using fallback /var/log/Xorg.0.log
Detected PCI ID for VGA:
Checking for texture_from_pixmap: not present.
Trying again with indirect rendering:
Checking for texture_from_pixmap: present.
Checking for non power of two support: present.
Checking for Composite extension: present.
Checking screen 1Comparing resolution (1280x800) to maximum 3D texture size (2048): Passed.
Checking for Software Rasterizer: Not present.
Checking for nVidia: not present.
Checking for FBConfig: present.
gnome seesion, adding gnomecompat to active plugins
Checking for Xgl: not present.
/usr/bin/compiz: 438: /usr/local/bin/compiz: not found

Following smcintyre on http://ubuntuforums.org/showthread.php?t=585252 solved the problem. However, after each update I have the same problem with compiz. Here is configs files

$ cat /etc/xdg/compiz/compiz-manager
# Ubuntu specifc compiz-manager configuration file
# goes into /etc/xdg/compiz/compiz-manager
# works with git://anongit.compiz-fusion.org/fusion/misc/compiz-manager
COMPIZ_BIN_PATH="/usr/bin/"
PLUGIN_PATH="/usr/lib/compiz/"
COMPIZ_NAME="compiz.real"

$ echo "conf: $XDG_CONFIG_DIRS"
conf: /usr/share/ubuntustudio-menu/:/etc/xdg/
$ echo "home: $XDG_CONFIG_HOME"
home:

Revision history for this message
Michael Vogt (mvo) wrote :

Looks like this particular problem came back in jaunty. A fix is in bzr

Changed in compiz:
milestone: ubuntu-7.10-beta → ubuntu-9.04-beta
status: Fix Released → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package compiz - 1:0.8.2-0ubuntu1

---------------
compiz (1:0.8.2-0ubuntu1) jaunty; urgency=low

  * new upstream release 0.8.2
    - dropped 070_revert_prop_change (upstream now)
    - dropped 071_fix_window_move (upstream now)
  * debian/patches/033_compiz_manager_xdg_dirs:
    - fix compiz-wrapper when multiple compiz dirs are given
      (patch got dropped during the jaunty cycle) LP: #141621
  * re-re-add /usr/share/gnome/wm-properties/compiz.desktop to
    make the gnome-window-properties work again (LP: #269805)
  * debian/source_compiz.py, debian/rules:
    - include apport hook (LP: #338472)

 -- Michael Vogt <email address hidden> Mon, 09 Mar 2009 10:23:38 +0100

Changed in compiz:
status: Fix Committed → Fix Released
Revision history for this message
Daniele Dellafiore (ildella) wrote :
Download full text (4.8 KiB)

this morning upgrade myu compiz from 0.7.9 or something to 0.8.2-0ubuntu2 and compiz fails to start:

i try to run "compiz" in a terminal and compiz start at ha lf: AWN starts but no effects and no decorator
compiz-decorator starts decorator but no compositing (no AWN or such)

ildella@ildella-laptop:~$ compiz &
[1] 5628
Checking for Xgl: ildella@ildella-laptop:~$ not present.
xset q doesn't reveal the location of the log file. Using fallback /var/log/Xorg.0.log
Detected PCI ID for VGA:
Checking for texture_from_pixmap: present.
Checking for non power of two support: present.
Checking for Composite extension: present.
Checking screen 1Comparing resolution (1440x900) to maximum 3D texture size (8192): Passed.
Checking for Software Rasterizer: Not present.
Checking for nVidia: present.
Checking for FBConfig: present.
gnome seesion, adding gnomecompat to active plugins
Checking for Xgl: not present.
*** glibc detected *** /usr/bin/compiz.real: double free or corruption (!prev): 0x087d7ed8 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb7cd3604]
/lib/tls/i686/cmov/libc.so.6(cfree+0x96)[0xb7cd55b6]
/usr/lib/libGL.so.1[0xb7e51951]
======= Memory map: ========
08048000-0807c000 r-xp 00000000 08:06 29321 /usr/bin/compiz.real
0807c000-0807d000 r--p 00033000 08:06 29321 /usr/bin/compiz.real
0807d000-0807e000 rw-p 00034000 08:06 29321 /usr/bin/compiz.real
085c5000-088f8000 rw-p 085c5000 00:00 0 [heap]
b5867000-b5871000 r-xp 00000000 08:06 6914 /lib/tls/i686/cmov/libnss_files-2.9.so
b5871000-b5872000 r--p 00009000 08:06 6914 /lib/tls/i686/cmov/libnss_files-2.9.so
b5872000-b5873000 rw-p 0000a000 08:06 6914 /lib/tls/i686/cmov/libnss_files-2.9.so
b5873000-b587c000 r-xp 00000000 08:06 7124 /lib/tls/i686/cmov/libnss_nis-2.9.so
b587c000-b587d000 r--p 00008000 08:06 7124 /lib/tls/i686/cmov/libnss_nis-2.9.so
b587d000-b587e000 rw-p 00009000 08:06 7124 /lib/tls/i686/cmov/libnss_nis-2.9.so
b587e000-b5885000 r-xp 00000000 08:06 6649 /lib/tls/i686/cmov/libnss_compat-2.9.so
b5885000-b5886000 r--p 00006000 08:06 6649 /lib/tls/i686/cmov/libnss_compat-2.9.so
b5886000-b5887000 rw-p 00007000 08:06 6649 /lib/tls/i686/cmov/libnss_compat-2.9.so
b5a84000-b5a99000 r-xp 00000000 08:06 6441 /lib/tls/i686/cmov/libnsl-2.9.so
b5a99000-b5a9a000 r--p 00014000 08:06 6441 /lib/tls/i686/cmov/libnsl-2.9.so
b5a9a000-b5a9b000 rw-p 00015000 08:06 6441 /lib/tls/i686/cmov/libnsl-2.9.so
b5a9b000-b5a9d000 rw-p b5a9b000 00:00 0
b6600000-b6621000 rw-p b6600000 00:00 0
b6621000-b6700000 ---p b6621000 00:00 0
b671c000-b6729000 r-xp 00000000 08:06 19473 /lib/libgcc_s.so.1
b6729000-b672a000 r--p 0000c000 08:06 19473 /lib/libgcc_s.so.1
b672a000-b672b000 rw-p 0000d000 08:06 19473 /lib/libgcc_s.so.1
b672b000-b692b000 rw-s 3402f000 00:0e 8892 /dev/nvidia0
b692b000-b6a2b000 rw-s 34083000 00:0e 8892 /dev/nvidia0
b6a2b000-b6a2c000 rw-s fdc06000 00:0e 8892 /dev/nvidia0
b6a2c000-b6a6c000 rw-s 345f9000 00:0e 8892 /dev/nvidia0
b6a6c000-b6a8c000 rw-s 330f9000 00:0e 8892 /dev/nvidia0
b6ba9000-b6bdd000 rw-p b6ba9000 00:00 0
b6bdd000-b6bfe000 rw-s...

Read more...

Revision history for this message
Daniele Dellafiore (ildella) wrote :

I can add some details
I installed ubuntu JJ alpha 5 a few days ago.
This morning dist-upgrade upgraded compiz to new version.
Restarted and compiz does not start.

Revision history for this message
Marius Nestor (marius-nestor) wrote :

Same here.... this morning's update broke compiz.

Old version was 0.7.9git - new version 0.8.2.

Ubuntu 9.04 Alpha 5

Revision history for this message
Daniele Dellafiore (ildella) wrote :

I solved reinstalling. Precise steps:

remove and purge:

#sudo apt-get --purge remove compiz-core

restart system, reinstall compiz, restart. everything works again

Revision history for this message
Marius Nestor (marius-nestor) wrote :

Yep... that works! I did what della said above and Compiz is working again :)

Revision history for this message
fo0b4er (atinits7d5) wrote :

I am still experiencing this bug in Xubuntu even with the new 0.8.2 package:

/usr/bin/compiz: 455: /usr/local/bin/compiz: not found

is still appearing after running compiz --replace.
The re-installation method described by della did not fix the problem for me.

Revision history for this message
fo0b4er (atinits7d5) wrote :

Ok nevermind, I found the source of my problem. This package is perfectly fine and the bug has been fixed, it was just me. I used the compiz-check script (from http://forlong.blogage.de/entries/pages/Compiz-Check), and it turns out it made me a ~/.config/compiz/compiz-manager file without copying over what was in /etc/xdg/compiz/compiz-manager. So this is the fault of the script. Thank you for all your hard work, I will notify the author of the script.

Revision history for this message
Giacomo Alessandroni (g-alessandroni) wrote :

I have tried the solution of della [https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/141621/comments/23] but this have no effect in my system.

I have an integrated SiS 8Mb [old, I know] and only Ubuntu 9.04 in my system.

Revision history for this message
Travis Watkins (amaranth) wrote :

Compiz will never work on that chip, it is way too old.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.