Compiz crashes when I rotate screen.

Bug #102323 reported by GoHabsGo
20
Affects Status Importance Assigned to Milestone
Compiz
Invalid
Unknown
Mesa
Fix Released
Medium
compiz (Ubuntu)
Invalid
Medium
compiz packagers
mesa (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: compiz

I'm using Ubuntu 7.04 Beta, and compiz (0.3.6) just crashed when I screen rotated my screen on my tablet PC.

Here are my tablet PC specs.
HP TC 4400
Core 2 duo
1.5 GB RAM
Intel 945 GM chipset

Here is the code I used in a script to rotate my screen:
xrandr -o right

xsetwacom set "stylus" Rotate 1

xsetwacom set "cursor" Rotate 1

xsetwacom set "eraser" Rotate 1

Thanx in advance.

ProblemType: Crash
Architecture: i386
Date: Tue Apr 3 07:24:11 2007
DistroRelease: Ubuntu 7.04
ExecutablePath: /usr/bin/compiz.real
Package: compiz-core 1:0.3.6-1ubuntu12
PackageArchitecture: i386
ProcCmdline: /usr/bin/compiz.real --no-fbo --ignore-desktop-hints --sm-client-id default0 gconf gconf
ProcCwd: /home/danny
ProcEnviron:
 PATH=/home/danny/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
Signal: 11
SourcePackage: compiz
Stacktrace:
 #0 0x0805330d in ?? ()
 #1 0x080750c0 in ?? ()
 #2 0x00000004 in ?? ()
 #3 0x000000c5 in ?? ()
 #4 0x00000000 in ?? ()
StacktraceTop:
 ?? ()
 ?? ()
 ?? ()
 ?? ()
 ?? ()
Uname: Linux danny-laptop 2.6.20-13-generic #2 SMP Sun Mar 25 00:21:25 UTC 2007 i686 GNU/Linux
UserGroups: adm admin audio cdrom dialout dip floppy lpadmin netdev plugdev powerdev scanner video

Tags: compiz-crash
Revision history for this message
GoHabsGo (ferrin-danny-deactivatedaccount) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:doPoll (timeout=<value optimized out>) at ../../src/display.c:2323
eventLoop () at ../../src/display.c:2732
main (argc=7, argv=0xbff61b34) at ../../src/main.c:254

Revision history for this message
Apport retracing service (apport) wrote : Symbolic threaded stack trace
Revision history for this message
GoHabsGo (ferrin-danny-deactivatedaccount) wrote :

Update. Compiz is also not compatible with the screen rotate from System Preferences and Screen Resolution Preferences.

Any developpements on this ?

Revision history for this message
jgordon510 (jeffreygordonchachacha) wrote :

I can confirm this on a Thinkpad X41T with an intel graphics chipset.

Revision history for this message
attrezzo (attrezzopox) wrote :

confirmed on a toshiba portege m400... seems to be intel related

Changed in compiz:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
irongrunty (wtfmanthatsnotcool) wrote :

confirmed on thinkpad x61 tablet

also, ugly artifacts when rotating and using metacity

Revision history for this message
PeterKnaggs (peter-knaggs) wrote :

Confirmed on Ubuntu Gutsy 7.10 with Intel i810 driver on a HP/Compaq dc7600 desktop (using "xrandr -o left").
On the other hand, rotating works OK with compiz in Gutsy 7.10 using the nVidia restricted drivers with
an nVidia 5200 card (http://www.penlug.org/twiki/bin/view/Main/LinuxHardwareInfoNvidia5200).

Changed in compiz:
status: Unknown → In Progress
Changed in compiz:
assignee: nobody → compiz
status: Confirmed → Triaged
Revision history for this message
J.C. Steele (jcsteele-deactivatedaccount) wrote :

Confirmed on toshiba satellite a105-s4134 with intel graphics chipset when using hardy 8.04 alpha 6 when using the included screen resolution tool...rotates properly, but will not respond after things are rotated.

Revision history for this message
In , Dennis Kasprzyk (xonestonex) wrote :

Created an attachment (id=16790)
CopySubBuffer damage fix.

Compiz uses MesaCopySubBuffer to do partial screen updates. The damage that is created by this function to update the right screen region during randr rotation is wrong. The attached patch converts the y coordinate from gl coordinates to xserver coordinates to fix this problem.

Changed in compiz:
status: In Progress → Invalid
Revision history for this message
In , Michel-tungstengraphics (michel-tungstengraphics) wrote :

commit 377016d728ace47c9eeb3ac2f01191608ab060f6
Author: Dennis Kasprzyk <email address hidden>
Date: Thu May 29 11:24:16 2008 +0200

    Report correct damage rectangle in CopySubBuffer.

Revision history for this message
Steve Long (extremeconservative) wrote :

confirmed on a lenovo x61 tablet running intrepid...is there any hope of this getting fixed?
rotates fine if compiz is off, and compiz runs fine otherwise...

tags: added: compiz-crash
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

This is actually a bug in the mesa OpenGL implementation, the fix for which should be included in Ubuntu 8.10 and above.

Changed in mesa (Ubuntu):
status: New → Fix Released
Changed in compiz (Ubuntu):
status: Triaged → Invalid
Changed in mesa:
status: Unknown → Fix Released
Changed in mesa:
importance: Unknown → Medium
Changed in mesa:
importance: Medium → Unknown
Changed in mesa:
importance: Unknown → Medium
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.