Problem with git xorg-server/mesa and dri + damage

Eric Anholt eric at anholt.net
Thu Feb 1 12:10:06 PST 2007


On Fri, 2007-01-19 at 04:32 +0100, Hanno Böck wrote:
> When using latest mesa and xorg-server from git, I get this error:
> 
> hanno at laverne ~ $ glxgears
> libGL warning: 3D driver claims to not support visual 0x4b
> X Error of failed request:  BadRequest (invalid request code or no such 
> operation)
>   Major opcode of failed request:  158 (DAMAGE)
>   Minor opcode of failed request:  4 ()
>   Serial number of failed request:  37
>   Current serial number in output stream:  38
> 
> 
> radeon 9600 M10, free dri/r300-driver, Gentoo Linux.
> 
> As it notes that it may be cause of the damage extension, I tried disabling 
> that and then it works.

The issue is that the X Server is using the headers from damageproto to
define the version it advertises.  This is wrong -- the server should
advertise whatever version it implements, and no higher.  The solution
for distros for now is to not ship new damageproto with old X Servers.

-- 
Eric Anholt                             anholt at FreeBSD.org
eric at anholt.net                         eric.anholt at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg/attachments/20070201/c2bc55ab/attachment.pgp>


More information about the xorg mailing list