Bug 29198

Summary: Compiz doesn't work on ATI Radeon Xpress 200M after libgl1-mesa-dri update
Product: Mesa Reporter: Adam Maćkowiak <Admc>
Component: GLXAssignee: Kristian Høgsberg <krh>
Status: RESOLVED DUPLICATE QA Contact: mesa-dev
Severity: normal    
Priority: medium CC: ghepeu
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: xsession-errors
Xorg.0.log
glxinfo
dmesg
compiz --replace
xdpyinfo
LIBGL_ALWAYS_INDIRECT=1 glxinfo
update log

Description Adam Maćkowiak 2010-07-21 10:43:18 UTC
Created attachment 37270 [details]
xsession-errors

I'm using xorg-edgers (https://launchpad.net/~xorg-edgers) repository to get lastest xorg from git. After last update compiz stop working. My laptop is Toshiba Satellite A110-260, I have ATI Radeon Xpress 200M graphics card.
Comment 1 Adam Maćkowiak 2010-07-21 10:44:40 UTC
Created attachment 37271 [details]
Xorg.0.log
Comment 2 Adam Maćkowiak 2010-07-21 10:45:05 UTC
Created attachment 37272 [details]
glxinfo
Comment 3 Adam Maćkowiak 2010-07-21 10:45:26 UTC
Created attachment 37273 [details]
dmesg
Comment 4 Adam Maćkowiak 2010-07-21 10:45:55 UTC
Created attachment 37274 [details]
compiz --replace
Comment 5 Adam Maćkowiak 2010-07-21 10:47:43 UTC
I have lastest Ubuntu 10.04 LTS installed
Comment 6 Julien Cristau 2010-07-21 11:03:47 UTC
As far as I know compiz bugs are tracked at bugs.opencompositing.org nowadays, not here.  You might want to file your bug there.
Comment 7 Adam Maćkowiak 2010-07-21 11:24:50 UTC
Ok, I reported bug here:
http://bugs.opencompositing.org/show_bug.cgi?id=1313
Comment 8 Michel Dänzer 2010-07-22 00:21:23 UTC
The X driver isn't directly involved with GLX visuals anymore, so this cannot really be explained by an xserver-xorg-video-radeon upgrade alone. Did you also upgrade other packages, e.g. xserver-xorg-core or Mesa ones?

Can you also attach the output of xdpyinfo?
Comment 9 Adam Maćkowiak 2010-07-22 00:31:42 UTC
(In reply to comment #8)
> The X driver isn't directly involved with GLX visuals anymore, so this cannot
> really be explained by an xserver-xorg-video-radeon upgrade alone. Did you also
> upgrade other packages, e.g. xserver-xorg-core or Mesa ones?
> 
> Can you also attach the output of xdpyinfo?

Yes, I updated other xorg and mesa packages too. I attached xdpyinfo output.
Comment 10 Adam Maćkowiak 2010-07-22 00:32:11 UTC
Created attachment 37296 [details]
xdpyinfo
Comment 11 Michel Dänzer 2010-07-22 01:02:54 UTC
Thanks, can you also attach the output of

LIBGL_ALWAYS_INDIRECT=1 glxinfo
Comment 12 Adam Maćkowiak 2010-07-22 02:42:08 UTC
(In reply to comment #11)
> Thanks, can you also attach the output of
> 
> LIBGL_ALWAYS_INDIRECT=1 glxinfo

Ok
Comment 13 Adam Maćkowiak 2010-07-22 02:44:08 UTC
Created attachment 37300 [details]
LIBGL_ALWAYS_INDIRECT=1 glxinfo
Comment 14 Michel Dänzer 2010-07-22 03:13:36 UTC
So it looks like there's a problem with indirect rendering. Can you try and isolate which package upgrade introduced the problem? At this point the most likely suspects are libgl1-mesa-dri or xserver-xorg-core.
Comment 15 Adam Maćkowiak 2010-07-22 03:41:08 UTC
How I can do it?

I attached update lod from synaptic.
Comment 16 Adam Maćkowiak 2010-07-22 03:41:40 UTC
Created attachment 37303 [details]
update log
Comment 17 Michel Dänzer 2010-07-22 06:50:20 UTC
(In reply to comment #15)
> How I can do it?

Basically by down/upgrading packages individually and seeing which one makes the difference.

> I attached update lod from synaptic.

Looks like xserver-xorg-core wasn't upgraded, so it's most likely libgl1-mesa-dri. Apparently it was updated from upstream Git commit 3750ebd540510324ef5ada769537ae05309adadb to bab484a59b21fff84579a492d079d46e27d486dd. There's a bunch of GLX rework commits by Kristian in there, I suspect one of those is most likely to be the culprit.
Comment 18 Adam Maćkowiak 2010-07-22 11:52:24 UTC
I updated all packages that are in xorg-edgers PPA and compiz is still not working.
There's package list:
https://launchpad.net/~xorg-edgers/+archive/ppa

I'll try to downgrade some packages later.
Comment 19 Adam Maćkowiak 2010-07-22 13:33:28 UTC
I downgraed libgl1-mesa-dri to stable and compiz is still not working. I wanted to downgrade xserver-xorg-core but synaptic don't want do it, it says, packages are damaged.
Comment 20 Giacomo Perale 2010-07-22 15:09:09 UTC
If this is the same problem I'm having on my RV370, the GLX rework commits Michel pointed to are the cause of the issue, or at least I can confirm that after a revert of mesa to f9d11b8cee235dae42f757e21c2536391c07b3e8 compiz started working again with DRI1. DRI2 seems to be fine with current git.

I don't think I'll be able to do a full bisection before Saturday, sorry.
Comment 21 Adam Maćkowiak 2010-07-23 00:39:39 UTC
A updated xorg-edgers packages and compiz is still not working.
Comment 22 Michel Dänzer 2010-07-23 00:49:18 UTC
(In reply to comment #19)
> I downgraed libgl1-mesa-dri to stable and compiz is still not working.

Did you restart the X server after the downgrade?
Comment 23 Kristian Høgsberg 2010-07-23 05:34:55 UTC

*** This bug has been marked as a duplicate of bug 29225 ***
Comment 24 Adam Maćkowiak 2010-07-23 10:30:58 UTC
(In reply to comment #22)
> (In reply to comment #19)
> > I downgraed libgl1-mesa-dri to stable and compiz is still not working.
> 
> Did you restart the X server after the downgrade?

Yes, I restarted X server.

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.