http://bugs.freedesktop.org/show_bug.cgi?id=22536
Summary: glxgears_pixmap shows black screen and seeing error message from X Product: Mesa Version: unspecified Platform: x86 (IA32) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component: Demos AssignedTo: mesa3d-dev@lists.sourceforge.net ReportedBy: yu....@intel.com Created an attachment (id=27224) --> (http://bugs.freedesktop.org/attachment.cgi?id=27224) patch for glxgears_pixmap black window issue by using consistent XID drawable in DRI2 interface We found glxgears_pixmap does not work on DRI2, gallium-mesa-7.4 and xserver 1.6.2. We are seeing error message from X: ---------------------------------------------------------------------------- X Error of failed request: BadDrawable (invalid Pixmap or Window parameter) Major opcode of failed request: 135 (DRI2) Minor opcode of failed request: 6 (DRI2CopyRegion) Resource id in failed request: 0x2a00005 Serial number of failed request: 38 Current serial number in output stream: 38 Program exited with code 01. ---------------------------------------------------------------------------- We noticed that there are some inconsistency about drawable id to use in DRI2 interfaces. For example, in dri2CreateDrawable, XID xDrawable is used to send request to X to create drawable. However, in dri2DestroyDrawable, GLXDrawable drawable is used to tell X to destroy it. And, we believe that the wrong id used in dri2CopySubBuffer causes error message above. Because XID xDrawable is the one used to create a X drawable, we are pretty sure anywhere else in DRI2 interfaces should use this id. Attachment is a patch for this, which resolve this issue. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev