Bug 20112

Summary: [GM965 GEM] Colors are completely wrong using Compiz with mesa master
Product: Mesa Reporter: Ben Gamari <bgamari>
Component: Drivers/DRI/i965Assignee: Eric Anholt <eric>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium Keywords: NEEDINFO
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Screenshot of desktop while running compiz
Screenshot of desktop running metacity

Description Ben Gamari 2009-02-13 18:06:19 UTC
Colors are entirely distorted while running compiz. Black seems to be commonly interpretted as transparent while other colors are translucent. See attached images.


Xorg components as of Fri Feb 13 21:05:54 EST 2009
drm: 	1159ba10137e9945c9507c088661ea0868191201
xf86-video-intel: 	5f503049a3f588a39bd4eca0f06df7408d4238a0
mesa: 	b2e5e593513944a9279c7ac3069027c8697f2e85
xserver: 	a26c77ff432d2e85a2665fc36fca25143460c476

Linux mercury.localdomain 2.6.29-rc4work #12 SMP PREEMPT Fri Feb 13 17:13:39 EST 2009 x86_64 x86_64 x86_64 GNU/Linux
Comment 1 Ben Gamari 2009-02-13 18:12:13 UTC
Created attachment 22926 [details]
Screenshot of desktop while running compiz

Note that no transparency was set on any of these windows (although the title bars are supposed to be slightly transparent)
Comment 2 Ben Gamari 2009-02-13 18:12:48 UTC
Created attachment 22927 [details]
Screenshot of desktop running metacity

Note far vastly different colors
Comment 3 Eric Anholt 2009-03-20 11:23:59 UTC
This might be relevant to this bug:

commit 66175aac7609ad314f25fbdff0d3958af310dc24
Author: Eric Anholt <eric@anholt.net>
Date:   Wed Mar 18 12:07:09 2009 -0700

    Fix DRI2 accelerated EXT_texture_from_pixmap with GL_RGB format.

though I haven't managed to reproduce your rendering problem.  Could you retest?
Comment 4 Ben Gamari 2009-04-17 07:58:13 UTC
It seems that things are fixed now. I was unable to run compiz for quite a while last month but I would suspect that the commit you cited probably contributed. I'll reopen if there are any other issues.

(In reply to comment #3)
> This might be relevant to this bug:
> 
> commit 66175aac7609ad314f25fbdff0d3958af310dc24
> Author: Eric Anholt <eric@anholt.net>
> Date:   Wed Mar 18 12:07:09 2009 -0700
> 
>     Fix DRI2 accelerated EXT_texture_from_pixmap with GL_RGB format.
> 
> though I haven't managed to reproduce your rendering problem.  Could you
> retest?
> 

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.