Bug 10501 - Screen is corrupted running compiz
Summary: Screen is corrupted running compiz
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/R100 (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-01 15:29 UTC by Paolo Ciarrocchi
Modified: 2008-04-29 10:08 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
screenshot of the screen (386.77 KB, image/png)
2007-04-01 15:30 UTC, Paolo Ciarrocchi
Details
Xorg log (56.26 KB, text/plain)
2007-10-17 13:20 UTC, Robert de Rooy
Details
Mesa patch (1017 bytes, patch)
2008-04-29 00:31 UTC, Michel Dänzer
Details | Splinter Review

Description Paolo Ciarrocchi 2007-04-01 15:29:47 UTC
Hi all,
I just installed compiz on an ATI 7200 following the instruction I've got from compiz site, if I enable it via the GL desktop preference my screen is corrupted.
Comment 1 Paolo Ciarrocchi 2007-04-01 15:30:30 UTC
Created attachment 9415 [details]
screenshot of the screen
Comment 2 Robert de Rooy 2007-10-17 13:18:48 UTC
I am seeing the exact same thing on both Fedora7 and 8/Rawhide on a ThinkPad T41 with ATI Mobility Radeon (R250) on the internal LCD when enabling compiz. Other OpenGL based games (ppracer) work fine.

bash-3.2$ rpm -qa|grep xorg-x11
xorg-x11-fonts-truetype-7.2-3.fc8
xorg-x11-drv-evdev-1.1.2-5.fc8
xorg-x11-drv-ark-0.6.0-6.fc8
xorg-x11-drv-fpit-1.1.0-4.fc8
xorg-x11-drv-sisusb-0.8.1-9.fc8
xorg-x11-drv-cirrus-1.1.0-5.fc8
xorg-x11-drv-calcomp-1.1.0-4.fc8
xorg-x11-drv-nouveau-2.1.5-2.fc8
xorg-x11-drv-nv-2.1.5-2.fc8
xorg-x11-drv-microtouch-1.1.0-2.fc7
xorg-x11-font-utils-7.2-2.fc8
xorg-x11-drv-v4l-0.1.1-8.fc8
xorg-x11-drv-spaceorb-1.1.0-4.fc8
xorg-x11-drv-aiptek-1.0.1-5.fc8
xorg-x11-xauth-1.0.2-3.fc8
xorg-x11-drv-summa-1.1.0-4.fc8
xorg-x11-drv-tek4957-1.1.0-4.fc8
xorg-x11-fonts-ISO8859-1-100dpi-7.2-3.fc8
xorg-x11-xkb-utils-7.2-3.fc8
xorg-x11-xfs-1.0.5-1.fc8
xorg-x11-server-Xorg-1.3.0.0-30.fc8
xorg-x11-xinit-1.0.7-2.fc8
xorg-x11-filesystem-7.1-2.fc6
xorg-x11-drv-citron-2.2.0-2.fc7
xorg-x11-drv-i740-1.1.0-5.fc8
xorg-x11-drv-vesa-1.3.0-10.fc8
xorg-x11-drv-via-0.2.2-4.fc8
xorg-x11-drv-glint-1.1.1-7.fc8
xorg-x11-drv-acecad-1.1.0-5.fc8
xorg-x11-drv-magellan-1.1.0-4.fc8
xorg-x11-drv-digitaledge-1.1.0-4.fc8
xorg-x11-server-utils-7.3-1.fc8
xorg-x11-apps-7.3-1.fc8
xorg-x11-drv-void-1.1.1-6.fc8
xorg-x11-drv-voodoo-1.1.1-1.fc8
xorg-x11-drv-vmmouse-12.4.3-1.fc8
xorg-x11-drivers-7.2-9.fc8
xorg-x11-drv-magictouch-1.0.0.5-5.fc8
xorg-x11-drv-tdfx-1.3.0-6.fc8
xorg-x11-drv-s3-0.5.0-5.fc8
xorg-x11-drv-siliconmotion-1.5.1-3.fc8
xorg-x11-drv-elographics-1.1.0-4.fc8
xorg-x11-drv-sis-0.9.3-4.fc8
xorg-x11-twm-1.0.3-1.fc8
xorg-x11-drv-keyboard-1.2.2-2.fc8
xorg-x11-drv-dmc-1.1.0-3.fc7
xorg-x11-drv-mouse-1.2.2-1.fc8
xorg-x11-proto-devel-7.3-3.fc8
xorg-x11-drv-vmware-10.15.2-1.fc8
xorg-x11-drv-i810-2.1.1-5.fc8
xorg-x11-drv-ati-6.7.195-3.fc8
xorg-x11-drv-fbdev-0.3.1-4.fc8
xorg-x11-drv-s3virge-1.9.1-5.fc8
xorg-x11-drv-cyrix-1.1.0-5.fc8
xorg-x11-drv-apm-1.1.1-7.fc8
xorg-x11-drv-jamstudio-1.1.0-4.fc8
xorg-x11-drv-trident-1.2.3-6.fc8
xorg-x11-drv-savage-2.1.3-1.fc8
xorg-x11-drv-palmax-1.1.0-4.fc8
xorg-x11-drv-mga-1.4.6.1-6.fc8
xorg-x11-fonts-misc-7.2-3.fc8
xorg-x11-fonts-75dpi-7.2-3.fc8
xorg-x11-fonts-ISO8859-1-75dpi-7.2-3.fc8
xorg-x11-drv-penmount-1.1.0-3.fc7
xorg-x11-drv-amd-0.0-22.20070625.fc8
xorg-x11-drv-neomagic-1.1.1-4.fc8
xorg-x11-drv-ur98-1.1.0-4.fc8
xorg-x11-drv-dummy-0.2.0-5.fc8
xorg-x11-drv-chips-1.1.1-5.fc8
xorg-x11-drv-ast-0.81.0-6.fc8
xorg-x11-fonts-100dpi-7.2-3.fc8
xorg-x11-drv-avivo-0.0.1-6.fc8
xorg-x11-drv-dynapro-1.1.0-3.fc7
xorg-x11-drv-rendition-4.1.3-5.fc8
xorg-x11-drv-tseng-1.1.0-7.fc8
xorg-x11-drv-hyperpen-1.1.0-5.fc8
xorg-x11-drv-mutouch-1.1.0-5.fc8
xorg-x11-drv-nsc-2.8.1-4.fc8
xorg-x11-drv-i128-1.2.1-1.fc8
xorg-x11-fonts-Type1-7.2-3.fc8
Comment 3 Robert de Rooy 2007-10-17 13:20:36 UTC
Created attachment 12091 [details]
Xorg log
Comment 4 Robert de Rooy 2007-10-17 13:26:49 UTC
updated to reflect this is an issue with the Radeon driver, and it is still current as of X.org 7.3
Comment 5 Michel Dänzer 2007-10-18 01:06:17 UTC
What does

LIBGL_ALWAYS_INDIRECT=1 glxinfo -l|grep MAX_TEXTURE_SIZE

say?

Does putting something like

<driconf>
    <device screen="0" driver="r200"> # driver="radeon" for Paolo
        <application name="Default">
            <option name="allow_large_textures" value="2" />
        </application>
    </device>
</driconf>

in /etc/drirc and restarting the X server help?
Comment 6 Robert de Rooy 2007-10-18 02:47:33 UTC
bash-3.2$ LIBGL_ALWAYS_INDIRECT=1 glxinfo -l|grep MAX_TEXTURE_SIZE
    GL_MAX_TEXTURE_SIZE = 1024

creating the /etc/drirc file as indicated resolves the problem
Comment 7 Robert de Rooy 2008-02-21 02:06:25 UTC
any plans to integrate the fix into the driver, so that it works out of the box without a custom drirc?

I just tried removing /etc/drirc and the problem still exists with the latest x.org from Rawhide

xorg-x11-drv-ati-6.7.197-3.fc9.i386
mesa-libGLU-7.1-0.10.fc9.i386
mesa-libGL-devel-7.1-0.10.fc9.i386
mesa-libOSMesa-7.1-0.10.fc9.i386
mesa-libGL-7.1-0.10.fc9.i386
mesa-libGLU-devel-7.1-0.10.fc9.i386
Comment 8 Robert de Rooy 2008-02-21 03:04:43 UTC
obviously just after making the last post the 6.8.0 ATI driver package became available on rawhide. xorg-x11-drv-ati-6.8.0-1.fc9.i386

In any case it makes no difference, and the drirc file is still required
Comment 9 Thomas Champagne 2008-04-28 13:10:11 UTC
Hi

I have a similar problem in Ubuntu Hardy described here : https://bugs.launchpad.net/fedora/+source/compiz/+bug/89741. When I maximize a window, the borders become white. 

I have an Ibook with an ATI Mobility Radeon 9200 card. I use the radeon driver (r200).  

The Michel Dänzer's solution works. When I put the allow_large_textures property to the value 2, the problem is corriged. 

Is it possible to fix it in the driver ?
Regards 
Thomas
Comment 10 Michel Dänzer 2008-04-29 00:31:35 UTC
Created attachment 16230 [details] [review]
Mesa patch

Does this patch remove the need for drirc?
Comment 11 Thomas Champagne 2008-04-29 04:45:46 UTC
> 
> Does this patch remove the need for drirc?
> 

Ok Michel, I try to test this patch. But I don't know if I will succeed it.
Comment 12 Thomas Champagne 2008-04-29 08:22:03 UTC
I'v just tested the Michel's patch and it works for the r200 driver.

Thanks for this patch

Thomas 
Comment 13 Michel Dänzer 2008-04-29 10:08:51 UTC
Patch pushed to the Mesa Git master and 7.0 branches.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.