[PATCH] glamor: Make glamor_name_from_pixmap work without DRI3

Mark Kettenis mark.kettenis at xs4all.nl
Tue Nov 17 12:59:55 PST 2015


> From: =?UTF-8?Q?Michel_D=c3=a4nzer?= <michel at daenzer.net>
> Date: Tue, 17 Nov 2015 12:12:46 +0900
> 
> On 16.11.2015 22:43, Mark Kettenis wrote:
> >
> > There is one issue though.  The colors are wrong!  As far as I can
> > tell red and blue are reversed in the output for anything that uses 3D
> > acceleration (everything produced by the "2D" codepaths seems to be
> > fine).  I've been hunting this down yesterday, but so far not been
> > able to track this down.  Happens with both xserver 17.4 and 18.99.x,
> > and with both Mesa 10.2.9 and 11.0.3.  The galmor-enabled
> > xf86-video-ati driver on the AMD hardware doesn't have this issue.
> > Feels a bit like an endianness issue, but this is all on bog-standard
> > little-endian x86 hardware.
> > 
> > Any clues in tracking this down would be appreciated.
> 
> Please provide the log files and the output of glxinfo for the bad case
> with modesetting and for the good case with radeon (preferably both on
> the same hardware).

Xorg.0.log.radeon and glxinfo.radeon are the "good case"; glxgears
-info says it is using "VisualID 772, 0x304".

Xorg.0.log.modesetting and glxinfo.modesetting are the "bad case";
here glxgears -info says it is using "VisualID 222, 0xde".

Thanks,

Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Xorg.0.log.radeon
Type: application/octet-stream
Size: 29216 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20151117/3e50698f/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: glxinfo.radeon
Type: application/octet-stream
Size: 94986 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20151117/3e50698f/attachment-0005.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Xorg.0.log.modesetting
Type: application/octet-stream
Size: 16352 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20151117/3e50698f/attachment-0006.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: glxinfo.modesetting
Type: application/octet-stream
Size: 19419 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20151117/3e50698f/attachment-0007.obj>


More information about the xorg-devel mailing list