"Extra" visual effects are reverted to "none" at random or when going into compiz settings manager

Bug #663788 reported by Mauro
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
compiz (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: compiz

Under lucid lynx I could use the "vanilla" extra visual effects with no problem watsoever (whobbly windows and transparent gnome-terminal with underlying open windows).
After upgrading to maverick meerkat I get weird behaviour; I enabled skewer and burn up effect on open/close and minimize/maximize, but even disabling advanced animation and leaving only wobbly windows and proper transparency, the extra effects get disabled behind my back during normal use, at random, or when I do something somehow "stressful" for the effect, such as opening the compiz settings manager from system>preferences

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: xorg 1:7.5+6ubuntu3
ProcVersionSignature: Ubuntu 2.6.35-22.35-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic x86_64
Architecture: amd64
DRM.card0.LVDS.1:
 status: connected
 enabled: enabled
 dpms: On
 modes: 1440x900
 edid-base64: AP///////wBMo0c4AAAAAAAQAQOAJRd4Cof1lFdPjCcnUFQAAAABAQEBAQEBAQEBAQEBAQEBnyWgQFGEDDBAIDMAb+YQAAAZAAAADwAAAAAAAAAAAHjmAiMAAAAA/gBTQU1TVU5HCiAgICAgAAAA/gBMVE4xNzBYMi1MMDIKAPE=
DRM.card0.VGA.1:
 status: disconnected
 enabled: disabled
 dpms: On
 modes:
 edid-base64:
Date: Wed Oct 20 12:23:32 2010
DkmsStatus: vboxhost, 3.2.10, 2.6.35-22-generic, x86_64: installed (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!)
MachineType: TOSHIBA Satellite P200
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.35-22-generic root=/dev/mapper/lvm-root ro splash quiet splash
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: xorg
Symptom: display
dmi.bios.date: 01/09/2008
dmi.bios.vendor: TOSHIBA
dmi.bios.version: V2.20
dmi.board.name: ISRAA
dmi.board.vendor: TOSHIBA
dmi.board.version: 1.00
dmi.chassis.asset.tag: *
dmi.chassis.type: 10
dmi.chassis.vendor: TOSHIBA
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnTOSHIBA:bvrV2.20:bd01/09/2008:svnTOSHIBA:pnSatelliteP200:pvrPSPB3E-01Y00PIT:rvnTOSHIBA:rnISRAA:rvr1.00:cvnTOSHIBA:ct10:cvrN/A:
dmi.product.name: Satellite P200
dmi.product.version: PSPB3E-01Y00PIT
dmi.sys.vendor: TOSHIBA
system:
 distro: Ubuntu
 codename: maverick
 architecture: x86_64
 kernel: 2.6.35-22-generic

Revision history for this message
Mauro (ephestione) wrote :
Revision history for this message
triksteerx (triksterx) wrote :

I can confirm this bug. I performed a version upgrade through package manager and everything worked fine after the upgrade until I finished my post-upgrade updates. Now I cannot enable compiz or the extra effects settings. In addition, when I try to access the settings for any of the compiz effects through CCSM, the option screens all come up blank. I have attampted to remove and reinstall all compiz and intel video driver related packages, with no success. When I attempt to select the extra settings in the appearance menu, a "searching for drivers" dialog appears for a few seconds, then the screen flickers and a box with the message "cannot enable desktop effects" appears. When I attempt to check the "openGL" box in CCSM, I am told I need to enable compositing.

triksteerx (triksterx)
Changed in compiz (Ubuntu):
status: New → Confirmed
Revision history for this message
triksteerx (triksterx) wrote :

When I press the "enable compositing" button nothing happens. Also, the CCSM window will close occasionally when I select a checkbox, or attempt to access an options menu. When I type "compiz --replace" in a terminal, I lose my window borders and all windows become unresponsive when I change window focus or open a new window.

I am using an aspire one AOA150 with an integrated i945 GME graphics controller.

I apologize for the split post, I was interrupted in the middle of the first post with something that required I turn off my computer.

Revision history for this message
yoyong (yoyongsuarez) wrote :

It happened to me also. After I installed a fresh ubuntu 10.10 from 10.04, I cannot activate the extras in the compiz. As I click the extra button in the preferences - - > appearance -- > visual effects window, my desktop turns blank and suddenly a box saying "Desktop effects could not be enabled". If someone can help me please. tnx.

Revision history for this message
Mauro (ephestione) wrote :

To add yet an other detail:
compiz --version gives 0.8.6

When the extra visual effects get disabled to "none", I can, without touching anything else, shut down the system and reboot, and the effects are back up once again; otherwise if I want to enable them again, I need to first go into preferences>appearance>visual effects, enable extra, wait for "searching drivers" progression bar, then accept new settings, then go to preferences>compiz settings manager>effects, and enable again Animation Add-ons.

I have noticed a weird behaviour, which I have no idea if is related, that sometimes pressing shut-down item from the shutdown dialogue deals no effect (same goes for log out), I either need to do sudo shutdown -h now from CLI, or go to the switch user screen (since logout doesn't work) and press shutdown button from there. If on the other side I try the normal shutdown right away it works as it's supposed to.

Something that appears to trigger the problem at least with visual effect, is the presence of an intel 945 graphics chipset.

Revision history for this message
TheBlueSage (thebluesage) wrote :
Download full text (18.6 KiB)

I am having similar behavior :

I had it working perfectly. Compiz 0.8(.unknown) (default for Ubuntu lucid), running with Cairo dock and emerald, and a small gnome-panel.
I performed an apt-get dist-upgrade to Maverick. All okay. Everything still worked.
Then two days ago I did a 'general package update'. I noticed that some of the compiz package versions moved up to 0.9.2.1, but not all of them. I have no PPA references in my sources.list.
Everything was fine after the upgrade until I shut down my laptop. The next day I booted up and all went bad.
All my window borders were gone. I was able to use fusion-icon to reset my window decorator to gtk-window-decorator, but nothing I can do brings back my Emerald theme
The gone panel I had that was in 'hide until mouse over' mode on the top of my screen is now frozen in place. I cannot make it appear in any way shape or form. This means I also have no access to my Applications/Places/System menu.
I was able to fire up the compiz-settings-manager, but clicking on anything that has a check box next to it causes the settings manager to disappear. None of my previous settings are checked (cube, reflections, no of desktops etc)

System details :

HP HDX18T laptop, Intel Quadcore, 6Gig RAM, Nvidia GeForce GT 130M, NVIDIA driver version 260.19.06
compiz --version : Compiz 0.9.2.1
Emerald --version : emerald version 0.7.2

ps aux |grep compiz :
1003 2480 1.6 0.5 248644 34424 ? S 08:55 2:14 compiz --sm-client-id 10e8862c5a1a77e2c5128948330453472800000068990000 --ignore-desktop-hints ccp

I ran an strace on emerald --replace (only posting snippets coz it was 1000s of lines long ...) but there were loads and laods of lines that say thing like :

access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libm.so.6", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360>\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=534832, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9e556b1000
mmap(NULL, 2629864, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9e53bb8000
mprotect(0x7f9e53c3a000, 2093056, PROT_NONE) = 0
mmap(0x7f9e53e39000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x81000) = 0x7f9e53e39000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/local/zend/lib/libpng12.so.0", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220G\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=595898, ...}) = 0
mmap(NULL, 1251432, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9e5557f000
mprotect(0x7f9e555b0000, 1048576, PROT_NONE) = 0
mmap(0x7f9e556b0000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x31000) = 0x7f9e556b0000
mprotect(0x7fffaf2db000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC|PROT_GROWSDOWN) = 0
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or...

Revision history for this message
Mauro (ephestione) wrote :

I am replying as the "bug opener".
I can't obviously make anything out of your logs, but I am reporting here what MAY be the permanent solution (or was for me).
I was waiting to publish it here or on a thread over at ubuntu forums because I'd like to go a little more days to see if it sticks in place.

Anyway, purging *compiz* from synaptic, removing compiz ppa (in your case, you don't seem to have one, but install ubuntu-tweak and go into the purge section, you never know) then reinstalling, appeared to solve temporarily, but I always got the effects being disabled.
I also had x-updates ppa active, but I had already disabled it, and tried the ppa-purge package off the official repositories, which told me he didn't find any reference whatsoever to packages from x-updates; in the meantime I kept having the probems.

Anyway, that's when I discovered ubuntu.tweak had its own ppa purge function, at which point I purged the system for x-updates, and it actually downloaded the "vanilla" X packaged and installed them over the x-updates ones. After which my comèpiz has been working smooth ever since (couple of workdays, maybe too soon to say for sure).

I occasionally had the "window maximize/minimize/close buttons disappeared" issue, that happened a few times... but it only took a logout/login to get it solved (?).

Bottomline, I have vanilla compiz and vanilla X drivers packages now.

Revision history for this message
Mauro (ephestione) wrote :

Completely disregard my previous report.
The problem is back in all its glory, the past two days have been probably just a coincidence.
It's been less then 30 minutes since I turned on this laptop, and visual effects are disabled already.

Revision history for this message
Simon Bridge (simonbridge) wrote :

Confirmed for me too - old intel card machines seem to be affected.
There is speculation that this may be related to changes which disable DRI for older intel cards, sacrificing 3D accel in favor of reliable KMS. It would be helpful to have this verified: has Ubuntu 10.10 been set up so that 3D accel is disabled for some intel cards?

I have a discussion going at:
http://www.linuxquestions.org/questions/ubuntu-63/desktop-effects-gone-after-upgrade-to-maverick-845421/

more detailed info. for my setup.

$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)

Used to have desktop effects (10.04), now I don't (10.10) - upgraded, via update manager, yesterday (see date).

Checked - chipset is not on compiz blacklist. Is using i915 driver...

$ lsmod | grep video
video 18712 1 i915
output 1883 1 video

$ lsmod | grep i915
i915 291004 2
drm_kms_helper 30200 1 i915
drm 168054 2 i915,drm_kms_helper
intel_agp 26360 2 i915
i2c_algo_bit 5168 1 i915
video 18712 1 i915

$ dmesg | grep drm
[ 24.373104] [drm] Initialized drm 1.1.0 20060810
[ 24.627127] [drm] set up 7M of stolen space
[ 25.100789] [drm] initialized overlay support
[ 26.545217] fb0: inteldrmfb frame buffer device
[ 26.545219] drm: registered panic notifier
[ 26.545500] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0

$ grep -i "Direct rendering" /var/log/Xorg.0.log
-- does not return anything

$ grep -i DRI /var/log/Xorg.0.log

[ 28.314] (II) FBDEV(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 28.620] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
...... lots and lots of this - followed by:
[ 28.626] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 28.626] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[ 28.653] (II) AIGLX: Screen 0 is not DRI2 capable
[ 28.653] (II) AIGLX: Screen 0 is not DRI capable

Clean install to identical HW also has same results: ergo - not an upgrade issue. It looks like Ubuntu is now set up to do this - reinforcing speculation about recent changes.

Revision history for this message
Simon Bridge (simonbridge) wrote :

oops - note: may not be exactly the same: rather than intermittent disable, I have permanent disable.

Revision history for this message
Mauro (ephestione) wrote :

My lspci | grep VGA returns
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)

So I have a slightly more recent chip; even if in my case it's intermitted as I said, it behaves randomly, really, more prone to permanent disable; for example I just booted and it got disabled right away; if I was to go into preferences, I could re-enable it, probably to see it get disabled again ina matter of seconds or minutes.
Last time though, I could use desktiop effects in a stabel manner during all the session since boot.

What doesn't look to be related, even if I am only having these problems just on maverick, is that I cannot even shut down from the main menu, I gotta do a sudo shutdown -h now from the prompt, as clicking on "shutdown" (or logout for what matters) deals no results at all most of the time.

Revision history for this message
Simon Bridge (simonbridge) wrote :

You know that i965 graphics is known to be unstable in compiz right?
http://wiki.compiz.org/Hardware/Blacklist

You have to change gstreamer-preferences so video uses the noXv option. But the only way to skip the checks is to recompile compiz (or go back to 10.04). I have an i965 box that I will not be upgrading because of this. Goodness knows what will happen at the next LTS release.

Revision history for this message
Mauro (ephestione) wrote : Re: [Bug 663788] Re: "Extra" visual effects are reverted to "none" at random or when going into compiz settings manager

@Simon
Hey there, thanks for your notice.
I get contrasting conclusions from your news... should be the 965
"unsupported", the visual effects shouldn't kick in at all because of
these checks (Which I didn't alter in any way...), while right after
boot, and at least for several seconds (!!) the full extra desktop
effects are in place. There are also occurences like last time I used my
laptop, where I was able to use the desktop effects for the whole
session, doing the same things I normally do when they are instead
disabled "on the fly".
Also, from my understanding, even considering the limitations of my
graphic chipset (who wouldn't consider them :( ), since desktop effects
worked fully in Lucid, no matter the low end limited card, them not
working under maverick should indicate a "weakness" in the compiz software.
Anyway you just shortened my hopes of somehow solving the problem with
reinstalling from scratch. I know I will probably do that with 11.04 though.

Revision history for this message
jhfhlkjlj (fdsuufijjejejejej-deactivatedaccount) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. We are sorry that we do not always have the capacity to look at all reported bugs in a timely manner. There have been many changes in Ubuntu since that time you reported the bug and your problem may have been fixed with some of the updates. It would help us a lot if you could test it on a currently supported Ubuntu version. When you test it and it is still an issue, kindly upload the updated logs by running apport-collect <bug #> and any other logs that are relevant for this particular issue.

Changed in compiz (Ubuntu):
status: Confirmed → Invalid
status: Invalid → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for compiz (Ubuntu) because there has been no activity for 60 days.]

Changed in compiz (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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