Xpra: Ticket #296: Redraw errors with opengl enabled on win 7 64 - nvidia gtx 670

I was re-sizing the client window when I got this anomaly and the error message beside it that kept going over and over.

Traceback (most recent call last):
  File "xpra\gl\gl_window_backing.pyc", line 171, in do_gl_paint
  File "xpra\gl\gl_window_backing.pyc", line 227, in update_texture_yuv
  File "latebind.pyx", line 32, in OpenGL_accelerate.latebind.LateBind.__call__
(src\latebind.c:768)
  File "wrapper.pyx", line 315, in OpenGL_accelerate.wrapper.Wrapper.__call__ (s
rc\wrapper.c:5933)
GLError: GLError(
        err = 1281,
        description = 'invalid value',
        baseOperation = glTexSubImage2D,
        pyArgs = (
                GL_TEXTURE_RECTANGLE_ARB,
                0,
                0,
                0,
                586,
                615,
                GL_LUMINANCE,
                GL_UNSIGNED_BYTE,
                "\x95\x95\x95\x95\x95\x95\x95\x96\x93...,
        ),
        cArgs = (
                GL_TEXTURE_RECTANGLE_ARB,
                0,
                0,
                0,
                586,
                615,
                GL_LUMINANCE,
                GL_UNSIGNED_BYTE,
                "\x95\x95\x95\x95\x95\x95\x95\x96\x93...,
        ),
        cArguments = (
                GL_TEXTURE_RECTANGLE_ARB,
                0,
                0,
                0,
                586,
                615,
                GL_LUMINANCE,
                GL_UNSIGNED_BYTE,
                "\x95\x95\x95\x95\x95\x95\x95\x96\x93...,
        )

I have attached screenshots of said anomaly.

Other behaviors noted with it.

Machine specs Intel I5-3350P 16 gig ram Nvidia GTX 670 2 monitors attached. Win 7 64 up to date with all patches.



Tue, 19 Mar 2013 20:05:10 GMT - aradtech: attachment set

Problem Image 1


Tue, 19 Mar 2013 20:06:09 GMT - aradtech: attachment set

Problem Image 2 showing version and other options


Tue, 19 Mar 2013 20:07:27 GMT - aradtech: attachment set

Problem Image 3 showing more features and videoCard used


Tue, 19 Mar 2013 20:08:23 GMT - aradtech: attachment set

Problem Image 4 showing Connection info


Tue, 19 Mar 2013 20:09:20 GMT - aradtech: attachment set

Problem Image 5 showing Statistics


Tue, 19 Mar 2013 20:10:16 GMT - aradtech: attachment set

Problem Image 6 showing graphs


Tue, 19 Mar 2013 20:11:28 GMT - aradtech: attachment set

Problem Image 7 showing fixed after I moved the frame above the blue line.


Tue, 19 Mar 2013 20:16:56 GMT - ahuillet:

Please scroll to the bottom of wiki/Debugging and get an Apitrace of the problem (if you can reproduce it). If you can't, I'm not sure what to do, I think it's likely to be a race condition.


Wed, 20 Mar 2013 04:19:56 GMT - Antoine Martin: status, description changed; owner set

fix bug formatting


Wed, 20 Mar 2013 04:20:19 GMT - Antoine Martin: owner, status changed

aradtech, please see comment:1


Wed, 20 Mar 2013 13:40:31 GMT - Antoine Martin:

Please reproduce and post the command output with this env var set

XPRA_OPENGL_DEBUG=1

Also please specify if this can be reproduced on this setup only (the machine hardware details, some of which is in the bug title) or if the setup is irrelevant (in which case edit the bug title to reflect that).


Fri, 22 Mar 2013 17:56:00 GMT - aradtech:

Unable to reproduce at all , its a random issue when using opengl. I get no issues at all like that when not using opengl.


Sat, 23 Mar 2013 02:09:50 GMT - Antoine Martin:

Please see comment:4 and edit the details


Mon, 25 Mar 2013 23:33:20 GMT - aradtech:

Unable to reproduce.


Mon, 25 Mar 2013 23:36:26 GMT - aradtech: status changed; resolution set


Sat, 23 Jan 2021 04:50:54 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/296