xpra icon
Bug tracker and wiki

Opened 4 months ago

Closed 4 months ago

#2626 closed defect (needinfo)

xpra-start gnome-terminal libreoffice unknown OpenGL stacktrace

Reported by: stdedos Owned by: Antoine Martin
Priority: minor Milestone: future
Component: client Version: 3.0.x
Keywords: Cc:

Description

I have no idea when or what that was. I am guessing it happened when I saved and closed LibreOffice.

Nothing really happened (everything was operating normally, LibreOffice closed / re-opened on :0 as expected), except this very big blob of red text:

"Xpra-Python3-x86_64_4.0-r25519\xpra_cmd" attach ssh://user@ip/2 --ssh="plink -ssh -agent"

2020-03-05 21:45:33,246 Xpra GTK3 client version 4.0-r25519 64-bit
2020-03-05 21:45:33,248  running on Microsoft Windows 10
2020-03-05 21:45:33,311 Warning: failed to import opencv:
2020-03-05 21:45:33,312  No module named 'cv2'
2020-03-05 21:45:33,312  webcam forwarding is disabled
2020-03-05 21:45:34,032 GStreamer version 1.16.2 for Python 3.8.2 64-bit
2020-03-05 21:45:34,243 keyboard layout code 0x409
2020-03-05 21:45:34,244 identified as 'United States - English' : us
2020-03-05 21:45:34,355 OpenGL_accelerate module loaded
2020-03-05 21:45:34,391 Using accelerated ArrayDatatype
2020-03-05 21:45:34,907 Warning: vendor 'Intel' is greylisted,
2020-03-05 21:45:34,907  you may want to turn off OpenGL if you encounter bugs
2020-03-05 21:45:34,919 OpenGL enabled with Intel(R) HD Graphics 4000
2020-03-05 21:45:35,182  keyboard settings: layout=us
2020-03-05 21:45:35,184  desktop size is 1600x900 with 1 screen:
2020-03-05 21:45:35,185   Default (423x238 mm - DPI: 96x96) workarea: 1600x860
2020-03-05 21:45:35,186     (Standard monitor types) Generic PnP Monitor (309x174 mm - DPI: 131x131)
2020-03-05 21:45:45,871 enabled remote logging
2020-03-05 21:45:45,875 Xpra GTK3 X11 server version 3.0.6-r25174 64-bit
2020-03-05 21:45:45,877  running on Linux Ubuntu 16.04 xenial
2020-03-05 21:45:45,890 Attached to 172.16.57.121:22
2020-03-05 21:45:45,893  (press Control-C to detach)

[....]
2020-03-05 22:42:53,194 unknown string message: 0xc286 / 0x0 / 0x0
2020-03-05 22:44:35,654 unknown string message: 0xc2aa / 0x15089e / 0x2
2020-03-05 22:44:37,117 Warning: static gravity is not handled
2020-03-05 22:50:59,370 unknown string message: 0xc129 / 0x5 / 0x0
2020-03-05 22:55:02,606 Error painting planar update
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gl/gl_window_backing_base.py", line 1111, in gl_paint_planar
  File "E:\Xpra\trunk\src/xpra/client/gl/gl_window_backing_base.py", line 1210, in render_planar_update
  File "src/latebind.pyx", line 51, in OpenGL_accelerate.latebind.Curry.__call__
  File "C:\Users\user.win\Documents\xpra-clients\Xpra-Python3-x86_64_4.0-r25519\lib\library.zip\OpenGL\GL\exceptional.py", line 45, in glEnd
    return baseFunction( )
  File "src/errorchecker.pyx", line 58, in OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError
OpenGL.error.GLError: GLError(
        err = 1286,
        baseOperation = glEnd,
        cArguments = ()
)
2020-03-05 22:55:02,608  flush=0, image=AVImageWrapper-AVFrameWrapper(0x1a5c33c0)(GBRP:(0, 0, 1584, 796, 24):3_PLANES), coords=(0, 24, 1584, 796), size=1584x796
2020-03-05 22:55:02,829 Error painting planar update
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gl/gl_window_backing_base.py", line 1111, in gl_paint_planar
  File "E:\Xpra\trunk\src/xpra/client/gl/gl_window_backing_base.py", line 1210, in render_planar_update
  File "src/latebind.pyx", line 51, in OpenGL_accelerate.latebind.Curry.__call__
  File "C:\Users\user.win\Documents\xpra-clients\Xpra-Python3-x86_64_4.0-r25519\lib\library.zip\OpenGL\GL\exceptional.py", line 45, in glEnd
    return baseFunction( )
  File "src/errorchecker.pyx", line 58, in OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError
OpenGL.error.GLError: GLError(
        err = 1286,
        baseOperation = glEnd,
        cArguments = ()
)
2020-03-05 22:55:02,832  flush=0, image=ImageWrapper(YUV420P:(0, 0, 1386, 725, 24):PACKED), coords=(0, 0, 1386, 725), size=1386x725
2020-03-05 22:55:02,954 Error painting planar update
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gl/gl_window_backing_base.py", line 1111, in gl_paint_planar
  File "E:\Xpra\trunk\src/xpra/client/gl/gl_window_backing_base.py", line 1210, in render_planar_update
  File "src/latebind.pyx", line 51, in OpenGL_accelerate.latebind.Curry.__call__
  File "C:\Users\user.win\Documents\xpra-clients\Xpra-Python3-x86_64_4.0-r25519\lib\library.zip\OpenGL\GL\exceptional.py", line 45, in glEnd
    return baseFunction( )
  File "src/errorchecker.pyx", line 58, in OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError
OpenGL.error.GLError: GLError(
        err = 1286,
        baseOperation = glEnd,
        cArguments = ()
)
2020-03-05 22:55:02,956  flush=0, image=ImageWrapper(YUV420P:(0, 0, 1346, 704, 24):PACKED), coords=(0, 0, 1346, 704), size=1346x704
2020-03-05 22:55:11,159 Error: failed to set clipboard data
2020-03-05 22:55:11,169  OpenClipboard: too many failed attempts, giving up
2

Change History (3)

comment:1 Changed 4 months ago by Antoine Martin

Milestone: 4.0future
Status: newassigned

Likely to be caused by:

Warning: vendor 'Intel' is greylisted,
 you may want to turn off OpenGL if you encounter bugs

The problem with the opengl error handler is that it fires on glEnd and not on the call that had the actual error (1286 = Invalid framebuffer operation)

This won't fix the problem, but may actually fix the symptoms: we should not be using video for painting libreoffice, r25521 switches to text.

comment:2 Changed 4 months ago by stdedos

It has been working so far for me (I am not closing it, since you seem to want to fix it)

comment:3 Changed 4 months ago by Antoine Martin

Resolution: needinfo
Status: assignedclosed

Closing as 'needinfo' since I would need to reproduce it to have a chance of fixing it.
It's probably not too much of a problem, as we should retry the paint.

Note: See TracTickets for help on using tickets.