[Nouveau] [Bug 42921] New: Program received an X Window System error.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Nov 14 05:15:08 PST 2011


https://bugs.freedesktop.org/show_bug.cgi?id=42921

             Bug #: 42921
           Summary: Program received an X Window System error.
    Classification: Unclassified
           Product: xorg
           Version: unspecified
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Driver/nouveau
        AssignedTo: nouveau at lists.freedesktop.org
        ReportedBy: fox_gwhwup at trashmail.net
         QAContact: xorg-team at lists.x.org


Created attachment 53522
  --> https://bugs.freedesktop.org/attachment.cgi?id=53522
Xorg log

I'm working on a GUI toolkit for Pygame, which can be downloaded at
https://launchpad.net/simplegc

Trying to run my example file in the project results in the following error:
s at s-Air:~/Games/Tools/sgc/trunk/sgc/example$ python test.py 
The program 'test.py' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadDrawable (invalid Pixmap or Window parameter)'.
  (Details: serial 36 error_code 9 request_code 137 minor_code 8)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

The error doesn't occur until the code hits pygame.display.flip(), which makes
it rather difficult to work out exactly which part is causing the problem. I'm
using the menu widget in the game I am working on and it works perfectly, so
it's obviously not the entire toolkit that's not working.

I'm not sure if this should be in the 3D section, as the bug is when running in
OpenGL, but I'm only drawing in 2D. It still works fine the pygame/SDL, just
not when I switch it to OpenGL.

I have checked this with the proprietary Nvidia driver and it works fine there,
it's just when running the Nouveau driver.

I'm not sure how to find out all the versions, but it's whatever an up-to-date
Ubuntu 11.10 is running.

Please tell me if you have any ideas on how to track the bug down. If you want
to try to recreate the bug on your machine download the toolkit from above, and
ensure you have python 2.x, pygame, pyopengl and pyFTGL installed. Then change
the two lines near the top of the test.py file to enable OpenGL, and finally cd
into the example folder and run 'python test.py'.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Nouveau mailing list