Bug 17820

Summary: copypixrate fails inside Xephyr
Product: Mesa Reporter: Peter Cordes <peter>
Component: DemosAssignee: mesa-dev
Status: RESOLVED WORKSFORME QA Contact:
Severity: minor    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Peter Cordes 2008-09-28 17:48:06 UTC
BTW, I was unable to mark this bug as version: 7.2, because it's not in the list yet.

The copypixrate demo inside Xephyr (no DRI: swrast dri not installed) fails with:

...
GL_RENDERER: Software Rasterizer
Draw Buffer: Front
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  73 (X_GetImage)
  Serial number of failed request:  11939
  Current serial number in output stream:  11939

 Other mesa tests do work inside Xephyr.

I'm on AMD64 Ubuntu pre-Intrepid.
X 1.5.1
Xephyr 1.5.1
libgl1-mesa-dri          7.2-1ubuntu1
no libgl1-mesa-swx11 (aka ...-swrast)

  I compiled the tests from the latest git version, but I'm using Ubuntu's packages for X and mesa.

 If this isn't reproducible, I can collect more details.
Comment 1 Julien Cristau 2008-09-29 03:40:45 UTC
On Sun, Sep 28, 2008 at 17:48:07 -0700, bugzilla-daemon@freedesktop.org wrote:

> libgl1-mesa-dri          7.2-1ubuntu1
> no libgl1-mesa-swx11 (aka ...-swrast)
> 
swrast_dri.so is in libgl1-mesa-dri...
Comment 2 Peter Cordes 2008-09-29 07:09:30 UTC
> swrast_dri.so is in libgl1-mesa-dri...

 err, yeah.  so maybe mesa was using it for software rendering inside Xephyr.

  I'm trying to track down some assert() failures with shaders, e.g. in vegastrike (g965 and software), and a crash in Spring on g965 but not with software mesa rendering in Xephyr.  I'll report these as separate bugs, of course.

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.