compiz slows to a crawl on resize of a window

Bug #140816 reported by Johnnie Walker
6
Affects Status Importance Assigned to Milestone
xserver-xgl (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

Binary package hint: compiz-core

Every time I try to resize a window while compiz is installed, i get the blue overlay and then compiz slows to a crawl. everything runs very slowly forcing a restart of the window manager via compiz-fusion-icon.

The bug is reproducible, so what logs should i add?

Compiz-core version 1:0.5.2+git20070917-0ubuntu1

Revision history for this message
Johnnie Walker (uzusan) wrote :

Forgot to mention that this only applies to manually resizing windows, not minimize / maximize as these still work correctly with the associated animations.

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

What video card to you use? Please include the output of lspci, the video driver you use and the output of ~/.xsession-errors

thanks,
 Michael

Changed in compiz:
status: New → Incomplete
Revision history for this message
Johnnie Walker (uzusan) wrote :

The graphics card i have is a ATI Radeon Xpress 1250M, using the fglrx drivers installed via the restricted drivers manager.

Output of lspci:
00:00.0 Host bridge: ATI Technologies Inc Unknown device 7930
00:01.0 PCI bridge: ATI Technologies Inc Unknown device 7932
00:05.0 PCI bridge: ATI Technologies Inc Unknown device 7935
00:06.0 PCI bridge: ATI Technologies Inc Unknown device 7936
00:12.0 SATA controller: ATI Technologies Inc SB600 Non-Raid-5 SATA
00:13.0 USB Controller: ATI Technologies Inc SB600 USB (OHCI0)
00:13.1 USB Controller: ATI Technologies Inc SB600 USB (OHCI1)
00:13.2 USB Controller: ATI Technologies Inc SB600 USB (OHCI2)
00:13.3 USB Controller: ATI Technologies Inc SB600 USB (OHCI3)
00:13.4 USB Controller: ATI Technologies Inc SB600 USB (OHCI4)
00:13.5 USB Controller: ATI Technologies Inc SB600 USB Controller (EHCI)
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 14)
00:14.1 IDE interface: ATI Technologies Inc SB600 IDE
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia
00:14.3 ISA bridge: ATI Technologies Inc SB600 PCI to LPC Bridge
00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge
01:05.0 VGA compatible controller: ATI Technologies Inc Unknown device 7942
05:00.0 Ethernet controller: Atheros Communications, Inc. AR5006EG 802.11 b/g Wireless PCI Express Adapter (rev 01)
08:05.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)

Im pretty sure that the graphics card was identified before i upgraded, though i cant be sure.

Revision history for this message
Sascha Grossenbacher (berdir) wrote :

I can confirm this error, using a ATI X800XL with fglrx, output from lspci:

00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
00:01.0 PCI bridge: Intel Corporation 82865G/PE/P PCI to AGP Controller (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
01:00.0 VGA compatible controller: ATI Technologies Inc R430 [Radeon X800 XL] (PCIe)
01:00.1 Display controller: ATI Technologies Inc R430 [Radeon X800 XL] (PCIe) (Secondary)
02:05.0 Ethernet controller: 3Com Corporation 3c940 10/100/1000Base-T [Marvell] (rev 12)

I am not sure, where PCIe does come from, as it is an AGP based card...
The same thing (extreme slowing down) happens from time to time, without doing a resize.. perhabs there is something else, which triggers this issue.

Attached is a image, which shows the blue overlay.

Revision history for this message
Johnnie Walker (uzusan) wrote :

Added .xsession_errors file and output from lspci.

Changed in compiz:
status: Incomplete → New
Revision history for this message
Sascha Grossenbacher (berdir) wrote :

Ok, I found the plugin which causes this problem. I does not make any sense to me, but this problem occurs only when the image loading plugin for PNG is enabled.

I reinstalled everything, from fgrlx over xgl to compiz... and the problem was gone. After that, I played around with the options, enabled and configured some things. After a restart, the resize-problem was back again.. after disabling all the plugins one for one, i found out that the PNG-Plugin causes this issues.

I hope this information helps to solve this problem.

Revision history for this message
Johnnie Walker (uzusan) wrote :

Just checked on my install and disabled the png plugin and it now works as usual.

Revision history for this message
CombatWombat (combatwombat) wrote :

I too have this problem, and adjusting the PNG Plugin in Compiz makes no difference. Reproducible every time. (I do a lot of stretching terminal windows). As Berdir found, it happens occasionally by itself.
HP Pavilion zd8000 laptop 17"
lspci:
00:00.0 Host bridge: Intel Corporation 82915G/P/GV/GL/PL/910GL Memory Controller Hub (rev 0e)
00:01.0 PCI bridge: Intel Corporation 82915G/P/GV/GL/PL/910GL PCI Express Root Port (rev 0e)
00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03)
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d3)
00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)
00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller (rev 03)
00:1f.0 ISA bridge: Intel Corporation 82801FB/FR (ICH6/ICH6R) LPC Interface Bridge (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03)
01:00.0 VGA compatible controller: ATI Technologies Inc M24 1P [Radeon Mobility X600]
0b:00.0 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller
0b:00.2 FireWire (IEEE 1394): Texas Instruments OHCI Compliant IEEE 1394 Host Controller
0b:00.3 Mass storage controller: Texas Instruments PCIxx21 Integrated FlashMedia Controller
0b:00.4 Generic system peripheral [0805]: Texas Instruments PCI6411/6421/6611/6621/7411/7421/7611/7621 Secure Digital Controller
0b:02.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
0b:03.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)

Again, it's the ATI Mobility on fglrx. Could this be the culprit?

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

Perhaps compiz (or XGL) is bumping the driver into software rendering. Still a driver problem in that case but maybe something we can work around (for hardy).

Revision history for this message
Sebastian Wiesinger (sebastianw) wrote :

I'm also affected by this bug, I'm using Gutsy on my Thinkpad T60 with an ATI Radeon Mobility X1400. My workaround was to change the "Default Resize Mode" in the Resize Window plugin from Rectangle to Normal.

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

Ok, since everyone is using fglrx with Xgl I'm going to reassign to Xgl. Although it's really a bug in the driver that seems to make it switch to software rendering perhaps something can be done in Xgl to prevent this.

Revision history for this message
CombatWombat (combatwombat) wrote :

Simple workaround for the moment...

create file in home directory called compstart,
put in it:

#!/bin/bash
compiz &

then save it, and do:
chmod a+x compstart

then add it to your panel as a Custom Application.
Whenever this bugs pops up, click the icon, and it restarts compiz, allowing you to carry on.

Revision history for this message
greubeuld (greubeuld) wrote :

I can also confirm this bug and reproduce it.

I'm using Ati mobility X700 with the fglrx driver (Gutsy stock driver) and XGL. Compiz is also Gutsy stock version.

I could also work around the bug by disabling the PNG plugin in the Compiz setting manager.

No output is generated in the console when compiz.real is launched from the command line.

Revision history for this message
CombatWombat (combatwombat) wrote :

Major work around:
see my post http://ubuntuforums.org/showthread.php?p=3675643#post3675643

I have it working on new binary driver, without XGL. no problemo.

Revision history for this message
Milan (foetalmush) wrote :

Yeah, switching from Rectangle to Normal in Resize Window plugin did great. Thanks.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

xserver-xgl has been deprecated upstream, and removed from Intrepid. Closing the bug as won't fix.

Changed in xserver-xgl:
status: New → Won't Fix
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.