Bug 32946 - piglit glx-make-current gives X error BadMatch
Summary: piglit glx-make-current gives X error BadMatch
Status: RESOLVED MOVED
Alias: None
Product: Mesa
Classification: Unclassified
Component: GLX (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-09 15:02 UTC by Tormod Volden
Modified: 2019-09-18 17:33 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Tormod Volden 2011-01-09 15:02:28 UTC
It is a M26 (RV410) card using gallium.

$ bin/glx-make-current 
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  155 (GLX)
  Minor opcode of failed request:  11 (X_GLXSwapBuffers)
  Serial number of failed request:  44
  Current serial number in output stream:  45

This is with xserver 1.9.0.902 and mesa 7.9 (Ubuntu natty). Same with latest mesa git and xserver git on 1.9 branch 2010-11-29 (Ubuntu 10.10 + xorg-edgers). When using latest mesa git but older xserver 1.7.6, the xserver itself segfaults in libglx.so.

There have been similar, fixed bugs like bug 30234 on intel and swrast, and maybe bug 20291 on intel. The piglit test was written for bug 30457.
Comment 1 Marek Olšák 2011-02-22 08:12:41 UTC
I have no idea about this one really. Reassigning to GLX.
Comment 2 Rahul 2016-08-25 18:47:51 UTC
Is there any update over this ?
I am also facing the same issue.
Comment 3 Marek Olšák 2016-08-26 09:20:32 UTC
It looks like this is indirect rendering. Generally, you shouldn't use indirect rendering, because it's slow and limited in everything, and it breaks from time to time.
Comment 4 Rahul 2016-08-26 09:23:35 UTC
Hi Marek,

But i am seeing this issue with same piglit test.
Is it expected.. ?
is there any suggestion what is causing it ?

Thanks,
Rahul
Comment 5 Marek Olšák 2016-08-26 09:26:33 UTC
No idea. I only know indirect rendering doesn't work on my machine and the piglit test fails too. Direct rendering has always worked.
Comment 6 Rahul 2016-08-26 09:31:04 UTC
Thanks Marek,
But i believe if we can debug it .. and fix it.
I am still learning driver and will try to understand it.

Rahul
Comment 7 GitLab Migration User 2019-09-18 17:33:09 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/70.


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.