Compiz showing corruption because not refusing to run when rez > max texture size

Bug #556631 reported by mikelietz
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
xserver-xorg-driver-ati
Invalid
Medium
compiz (Ubuntu)
Fix Released
High
Travis Watkins
Lucid
Won't Fix
High
Travis Watkins

Bug Description

Binary package hint: xserver-xorg-video-ati

I have a Sapphire X550 Radeon. I installed Lucid Beta 1.

The left monitor is 1680x1050. The right monitor is 1280x1024.

The rightmost portion of the right monitor is unusable - in the picture below it's the black and white stripe. Only the mouse cursor shows up on it.

http://www.ubuntu-pics.de/bild/50764/desk_1_002_6L0A6g.png

The middle portion between the (default) wallpaper and the aforementioned stripe shows a trail of whatever I drag through it.

If I move the monitors from side to side instead to top and bottom I get a smaller unusable area at the bottom of the second screen.

ProblemType: Bug
Architecture: i386
Date: Tue Apr 6 11:51:05 2010
DistroRelease: Ubuntu 10.04
DkmsStatus: Error: [Errno 2] No such file or directory
GdmLog1: Error: command ['gksu', '-D', 'Apport', '--', 'cat', '/var/log/gdm/:0.log.1'] failed with exit code 1: cat: /var/log/gdm/:0.log.1: No such file or directory
GdmLog2: Error: command ['gksu', '-D', 'Apport', '--', 'cat', '/var/log/gdm/:0.log.2'] failed with exit code 1: cat: /var/log/gdm/:0.log.2: No such file or directory
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta i386 (20100318)
MachineType: Hewlett-Packard HP Compaq dc7600 Convertible Minitower
Package: xserver-xorg-video-radeon 1:6.12.191-1ubuntu2
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-16-generic root=UUID=ead67149-8e87-4949-9b21-6c9af313f872 ro quiet splash
ProcEnviron:
 LANGUAGE=
 LANG=en_US.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-16.25-generic
SourcePackage: xserver-xorg-video-ati
Uname: Linux 2.6.32-16-generic i686
dmi.bios.date: 05/18/2005
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: 786D1 v01.03
dmi.board.name: 09F0h
dmi.board.vendor: Hewlett-Packard
dmi.chassis.asset.tag: 2UA621114Z
dmi.chassis.type: 6
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-Packard:bvr786D1v01.03:bd05/18/2005:svnHewlett-Packard:pnHPCompaqdc7600ConvertibleMinitower:pvr:rvnHewlett-Packard:rn09F0h:rvr:cvnHewlett-Packard:ct6:cvr:
dmi.product.name: HP Compaq dc7600 Convertible Minitower
dmi.sys.vendor: Hewlett-Packard
glxinfo: Error: [Errno 2] No such file or directory
system:
 distro: Ubuntu
 codename: lucid
 architecture: i686
 kernel: 2.6.32-16-generic
---
Architecture: i386
CompizPlugins: [core,ccp,move,resize,place,decoration,dbus,mousepoll,gnomecompat,png,svg,imgjpeg,text,commands,neg,wall,snap,animation,scale,scaleaddon,expo,staticswitcher,regex,resizeinfo,workarounds,ezoom,vpswitch,fade,session]
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta i386 (20100318)
MachineType: Hewlett-Packard HP Compaq dc7600 Convertible Minitower
Package: compiz 1:0.8.4-0ubuntu13
PackageArchitecture: all
PciDisplay: 01:00.0 VGA compatible controller [0300]: ATI Technologies Inc RV370 [Sapphire X550 Silent] [1002:5b63]
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-19-generic root=UUID=ead67149-8e87-4949-9b21-6c9af313f872 ro quiet splash
ProcEnviron:
 LANGUAGE=
 LANG=en_US.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-19.28-generic 2.6.32.10+drm33.1
RelatedPackageVersions:
 xserver-xorg 1:7.5+3ubuntu1
 libgl1-mesa-glx 7.9.0~git20100405.50074ecd-0ubuntu0sarvatt
 libdrm2 2.4.20+git20100404.c7650003-0ubuntu0sarvatt
 xserver-xorg-video-intel 2:2.11.0+git20100330.440b4d20-0ubuntu0sarvatt
 xserver-xorg-video-ati 1:6.12.192+git20100401.6baa96c4-0ubuntu0sarvatt
Tags: lucid lucid
Uname: Linux 2.6.32-19-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
XorgConf: Error: [Errno 2] No such file or directory: '/etc/X11/xorg.conf'
dmi.bios.date: 05/18/2005
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: 786D1 v01.03
dmi.board.name: 09F0h
dmi.board.vendor: Hewlett-Packard
dmi.chassis.asset.tag: 2UA621114Z
dmi.chassis.type: 6
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-Packard:bvr786D1v01.03:bd05/18/2005:svnHewlett-Packard:pnHPCompaqdc7600ConvertibleMinitower:pvr:rvnHewlett-Packard:rn09F0h:rvr:cvnHewlett-Packard:ct6:cvr:
dmi.product.name: HP Compaq dc7600 Convertible Minitower
dmi.sys.vendor: Hewlett-Packard
glxinfo: Error: [Errno 2] No such file or directory
system: distro = Ubuntu, architecture = i686, kernel = 2.6.32-19-generic

Revision history for this message
mikelietz (codger) wrote :
Revision history for this message
Bryce Harrington (bryce) wrote :

Hmm, weird. Well this looks suitable to go upstream to bugs.freedesktop.org.

Changed in xserver-xorg-video-ati (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
In , Bryce Harrington (bryce) wrote :

Forwarding this bug from Ubuntu reporter mikelietz:
http://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/556631

[Problem]
With dual-head enabled, the rightmost screen shows the right portion of the screen is corrupted.

[Original Description]
I have a Sapphire X550 Radeon. I installed Lucid Beta 1.

The left monitor is 1680x1050. The right monitor is 1280x1024.

The rightmost portion of the right monitor is unusable - in the picture below it's the black and white stripe. Only the mouse cursor shows up on it.

http://www.ubuntu-pics.de/bild/50764/desk_1_002_6L0A6g.png

The middle portion between the (default) wallpaper and the aforementioned stripe shows a trail of whatever I drag through it.

If I move the monitors from side to side instead to top and bottom I get a smaller unusable area at the bottom of the second screen.

Architecture: i386
Date: Tue Apr 6 11:51:05 2010
DistroRelease: Ubuntu 10.04
DkmsStatus: Error: [Errno 2] No such file or directory
GdmLog1: Error: command ['gksu', '-D', 'Apport', '--', 'cat', '/var/log/gdm/:0.log.1'] failed with exit code 1: cat: /var/log/gdm/:0.log.1: No such file or directory
GdmLog2: Error: command ['gksu', '-D', 'Apport', '--', 'cat', '/var/log/gdm/:0.log.2'] failed with exit code 1: cat: /var/log/gdm/:0.log.2: No such file or directory
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta i386 (20100318)
MachineType: Hewlett-Packard HP Compaq dc7600 Convertible Minitower
Package: xserver-xorg-video-radeon 1:6.12.191-1ubuntu2
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-16-generic root=UUID=ead67149-8e87-4949-9b21-6c9af313f872 ro quiet splash
ProcEnviron:
 LANGUAGE=
 LANG=en_US.utf8ProcVersionSignature: Ubuntu 2.6.32-16.25-generic
SourcePackage: xserver-xorg-video-ati
Uname: Linux 2.6.32-16-generic i686
dmi.bios.date: 05/18/2005
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: 786D1 v01.03
dmi.board.name: 09F0h
dmi.board.vendor: Hewlett-Packard
dmi.chassis.asset.tag: 2UA621114Z
dmi.chassis.type: 6
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-Packard:bvr786D1v01.03:bd05/18/2005:svnHewlett-Packard:pnHPCompaqdc7600ConvertibleMinitower:pvr:rvnHewlett-Packard:rn09F0h:rvr:cvnHewlett-Packard:ct6:cvr:
dmi.product.name: HP Compaq dc7600 Convertible Minitower
dmi.sys.vendor: Hewlett-Packard
glxinfo: Error: [Errno 2] No such file or directory
system: codename: lucid
 architecture: i686
 kernel: 2.6.32-16-generic

[lspci]
00:00.0 Host bridge [0600]: Intel Corporation 82945G/GZ/P/PL Memory Controller Hub [8086:2770] (rev 02)
 Subsystem: Hewlett-Packard Company Device [103c:3010]
01:00.0 VGA compatible controller [0300]: ATI Technologies Inc RV370 [Sapphire X550 Silent] [1002:5b63]
 Subsystem: Diamond Multimedia Systems Device [1092:3000]

Revision history for this message
In , Bryce Harrington (bryce) wrote :

Created an attachment (id=34789)
XorgLog.txt

Revision history for this message
In , Bryce Harrington (bryce) wrote :

Created an attachment (id=34790)
CurrentDmesg.txt

Revision history for this message
In , Bryce Harrington (bryce) wrote :

Created an attachment (id=34791)
BootDmesg.txt

Revision history for this message
In , agd5f (agd5f) wrote :

Disable desktop effects. The max texture size on r3xx/r4xx hardware is 2048x2048 pixels and your desktop is larger than that. Compiz should check the max texture size and refuse to load.

Revision history for this message
In , Bryce Harrington (bryce) wrote :

Thanks Alex, silly me, I should have checked that.

It appears there has been a regression in the checking algorithm in compiz or something. I've forwarded the bug to them to investigate. Seems there is also a situation where if the resolution is exactly equal to the max texture size, compiz tries to run, when it shouldn't. https://bugs.edge.launchpad.net/ubuntu/lucid/+source/compiz/+bug/428769/

Revision history for this message
Bryce Harrington (bryce) wrote : Re: Portion of second monitor unusable

mikelietz - I've forwarded this bug upstream to http://bugs.freedesktop.org/show_bug.cgi?id=27530 - please subscribe yourself to this bug, in case they need further information or wish you to test something. Thanks ahead of time!

Revision history for this message
In , agd5f (agd5f) wrote :

(In reply to comment #5)
> Thanks Alex, silly me, I should have checked that.
>
> It appears there has been a regression in the checking algorithm in compiz or
> something. I've forwarded the bug to them to investigate. Seems there is also
> a situation where if the resolution is exactly equal to the max texture size,
> compiz tries to run, when it shouldn't.
> https://bugs.edge.launchpad.net/ubuntu/lucid/+source/compiz/+bug/428769/

On r1xx/r2xx, IIRC, there is an issue with textures or render targets over 2047 pixels. R3xx+ should be fine.

Revision history for this message
Bryce Harrington (bryce) wrote : Re: Portion of second monitor unusable

Ah interesting - as per the upstream bug report, your hardware supports only up to 2048x2048 with compiz - see bug #555641 which I guess this is a dupe of.

However, compiz *should* be checking for max texture size and refusing to start up in this case. Not totally sure how it's changed in lucid, but in karmic it looks at the max texture size reported by glxinfo, and compares it with the current dimensions reported by xdpyinfo, and if the latter is larger than the former it refuses to start. Not sure why that didn't do it's thing in this case. Anyway, this is bug #428769

Bryce Harrington (bryce)
summary: - Portion of second monitor unusable
+ Compiz showing corruption because not refusing to run when rez > max
+ texture size
Revision history for this message
Bryce Harrington (bryce) wrote :

Actually rather than duping to bug #428769 I'm going to just move this to compiz and let those guys decide if it's a dupe. Your symptoms are quite a bit different, and the hardware is different, and that case is for when the resolution == 2048 whereas yours is >2048.

One other question, are you doing anything to override compiz checks? Can you run `apport-collect 556631` - which should pick up the relevant compiz logs and config files for them to review?

affects: xserver-xorg-video-ati (Ubuntu) → compiz (Ubuntu)
Changed in compiz (Ubuntu Lucid):
importance: Medium → High
assignee: nobody → Canonical Desktop Team (canonical-desktop-team)
Revision history for this message
mikelietz (codger) wrote : BootDmesg.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
mikelietz (codger) wrote : CurrentDmesg.txt

apport information

Revision history for this message
mikelietz (codger) wrote : Dependencies.txt

apport information

Revision history for this message
mikelietz (codger) wrote : GconfCompiz.txt

apport information

Revision history for this message
mikelietz (codger) wrote : Lspci.txt

apport information

Revision history for this message
mikelietz (codger) wrote : Lsusb.txt

apport information

Revision history for this message
mikelietz (codger) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
mikelietz (codger) wrote : ProcInterrupts.txt

apport information

Revision history for this message
mikelietz (codger) wrote : ProcModules.txt

apport information

Revision history for this message
mikelietz (codger) wrote : UdevDb.txt

apport information

Revision history for this message
mikelietz (codger) wrote : UdevLog.txt

apport information

Revision history for this message
mikelietz (codger) wrote : XorgLog.txt

apport information

Revision history for this message
mikelietz (codger) wrote : XorgLogOld.txt

apport information

Revision history for this message
mikelietz (codger) wrote : Xrandr.txt

apport information

Revision history for this message
mikelietz (codger) wrote : XsessionErrors.txt

apport information

Revision history for this message
mikelietz (codger) wrote : monitors.xml.txt

apport information

Revision history for this message
mikelietz (codger) wrote :

At the time I didn't think I was doing anything to override compiz checks. Again, it was a stock installation of Lucid and the display problems showed up before I'd added/changed anything at all.

I have since added the xorg-edgers PPA, and in fact I am now able to use the full width of both screens as well as enable compositing for Docky.

Revision history for this message
mikelietz (codger) wrote :

What would be the best way to downgrade for further testing?

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

Sounds likely your problem was glxinfo reporting a max texture size and the driver actually supporting something much smaller. Compiz checks the max texture size and will go back to metacity whenever it gets an error trying to setup the textures (which I thought it would if it was too large...) so I'm not sure what else we could be doing here.

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

What do you get when you run `compiz` in a terminal?

In your .xsession-errors I can see that you get "/usr/bin/compiz (core) - Warn: Exceeded max texture size" which is a message I added to compiz right before it launches metacity. I'm not sure how or why this could be failing for you.

Changed in compiz (Ubuntu Lucid):
assignee: Canonical Desktop Team (canonical-desktop-team) → Travis Watkins (amaranth)
status: Triaged → Incomplete
Changed in xserver-xorg-driver-ati:
importance: Unknown → Medium
status: Unknown → Invalid
David Barth (dbarth)
tags: added: 0.8
David Barth (dbarth)
tags: removed: 0.8
tags: added: compiz-0.8
Revision history for this message
Travis Watkins (amaranth) wrote :

As anything in xorg-edgers in Lucid would be included in a more recent release I'm going to close this bug as fixed. As I don't think we'll get a fix backported to lucid I'm also closing the lucid subbug.

Changed in compiz (Ubuntu):
status: Incomplete → Fix Released
Changed in compiz (Ubuntu Lucid):
status: Incomplete → Won't Fix
Revision history for this message
mikelietz (codger) wrote :

Actually, it's not yet included in the release - I still have the very same trouble in with the same setup in Maverick. I suppose that would be a new bug.

For the time being, rather than use xorg-edgers, I'm sticking to a single monitor.

Changed in xserver-xorg-driver-ati:
importance: Medium → Unknown
Changed in xserver-xorg-driver-ati:
importance: Unknown → Medium
To post a comment you must log in.