Bug 7622 - BadLength X error when destroying Pbuffer
Summary: BadLength X error when destroying Pbuffer
Status: RESOLVED WORKSFORME
Alias: None
Product: Mesa
Classification: Unclassified
Component: GLX (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: high critical
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-24 22:12 UTC by Clinton Stimpson
Modified: 2010-05-12 12:11 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
test.cxx (1.76 KB, text/plain)
2006-07-24 22:14 UTC, Clinton Stimpson
Details

Description Clinton Stimpson 2006-07-24 22:12:53 UTC
I have two builds of Mesa to compare
make linux
make linux-dri  (the equivalent of the mesa GL libs that come with my x86_64 FC5
system -- which also demonstrate the problem).

I build my app as 
g++ test.cxx -lGL -lX11 -Wl,-rpath=/path/to/whichever/libGL.so/lib
with the different libGL.so's I have.  

Building mesa with "make linux" provides a libGL.so that doesn't have the
problem.  Building mesa with "make linux-dri" provides a libGL.so that does have
the problem.  Using NVidia's libGL.so doesn't have the problem.

I'm using NVidia glx X server extension with either a GeForce 7, or Quadro FX.
Even displaying remotely on another machine (NVidia glx again) has problems when
using Mesa w/ dri.

When I call glXDestroyPbuffer, I get the following error and the program aborts:
X Error of failed request:  BadLength (poly request too large or internal Xlib
length error)
  Major opcode of failed request:  145 (GLX)
  Minor opcode of failed request:  28 ()
  Serial number of failed request:  32
  Current serial number in output stream:  33
Comment 1 Clinton Stimpson 2006-07-24 22:14:34 UTC
Created attachment 6333 [details]
test.cxx

Attaching the test.cxx source file to demonstrate the problem.
Comment 2 Adam Jackson 2009-08-24 12:24:02 UTC
Mass version move, cvs -> git
Comment 3 Kristian Høgsberg 2010-05-12 12:11:43 UTC
I can't reproduce this here and it should work.  If it's still a problem, please reopen.


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.