Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple OpenGL issues on a new screen #2425

Closed
totaam opened this issue Sep 26, 2019 · 14 comments
Closed

Multiple OpenGL issues on a new screen #2425

totaam opened this issue Sep 26, 2019 · 14 comments
Labels

Comments

@totaam
Copy link
Collaborator

totaam commented Sep 26, 2019

Issue migrated from trac ticket # 2425

component: client | priority: minor | resolution: invalid

2019-09-26 13:25:50: stdedos created the issue


I am not aware of their severity. A quick search reveals that they haven't been reported.

I tried to truncate the 1+ occurences to minimize the text spam

Xpra-Python3-x86_64_3.0-[r23770](../commit/344cbaf6c6a879b5ec93e9a918f05268a98fc791)\xpra_cmd" start ssh://user@ip/2  --start-new-commands=yes --microphone=off --speaker=off --webcam=no --pulseaudio=no --start=gnome-terminal

2019-09-25 12:38:41,651 Xpra GTK3 client version 3.0-[r23770](../commit/344cbaf6c6a879b5ec93e9a918f05268a98fc791) 64-bit
2019-09-25 12:38:41,654  running on Microsoft Windows 10
2019-09-25 12:38:42,511 GStreamer version 1.16.0 for Python 3.7.4 64-bit
2019-09-25 12:38:42,846 OpenGL_accelerate module loaded
2019-09-25 12:38:42,881 Using accelerated ArrayDatatype
2019-09-25 12:38:43,475 Warning: vendor 'Intel' is greylisted,
2019-09-25 12:38:43,476  you may want to turn off OpenGL if you encounter bugs
2019-09-25 12:38:44,005 OpenGL enabled with Intel(R) HD Graphics 4000
2019-09-25 12:38:44,141  keyboard settings: layout=us
2019-09-25 12:38:44,144  desktop size is 1600x900 with 1 screen:
2019-09-25 12:38:44,144   Default (423x238 mm - DPI: 96x96) workarea: 1600x860
2019-09-25 12:38:44,144     (Standard monitor types) Generic PnP Monitor (309x174 mm - DPI: 131x131)
2019-09-25 12:38:57,390 enabled remote logging
2019-09-25 12:38:57,391 Xpra GTK3 X11 server version 3.0-[r23788](../commit/b0d066f2c3391604759459bb9fe2f83a0b5463bd) 64-bit
2019-09-25 12:38:57,392  running on Linux Ubuntu 16.04 xenial

(Xpra_cmd.exe:964): Pango-WARNING **: 12:38:57.648: couldn't load font "Bitstream Vera Sans Not-Rotated 14.662109375", falling back to "Sans Not-Rotated 14.662109375", expect ugly output.
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/mixins/window_manager.py", line 1047, in _process_window_move_resize
  File "E:\Xpra\trunk\src/xpra/client/gtk_base/gtk_client_window_base.py", line 1925, in move_resize
  File "E:\Xpra\trunk\src/xpra/client/gtk_base/gtk_client_window_base.py", line 1862, in resize
  File "E:\Xpra\trunk\src/xpra/client/gtk_base/gtk_client_window_base.py", line 1842, in _set_backing_size
  File "E:\Xpra\trunk\src/xpra/client/gl/gl_window_backing_base.py", line 336, in init
  File "E:\Xpra\trunk\src/xpra/client/gl/gl_window_backing_base.py", line 363, in resize_fbo
  File "E:\Xpra\trunk\src/xpra/client/gl/gl_window_backing_base.py", line 532, in init_fbo
  File "src/errorchecker.pyx", line 53, in OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError
OpenGL.error.GLError: GLError(
        err = 1286,
        baseOperation = glClear,
        cArguments = (GL_COLOR_BUFFER_BIT,)
)
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gl/gtk3/gl_client_window.py", line 23, in do_configure_event
  File "E:\Xpra\trunk\src/xpra/client/gtk_base/gtk_client_window_base.py", line 1779, in do_configure_event
  File "E:\Xpra\trunk\src/xpra/client/gtk_base/gtk_client_window_base.py", line 1799, in process_configure_event
  File "E:\Xpra\trunk\src/xpra/client/gtk_base/gtk_client_window_base.py", line 1842, in _set_backing_size
  File "E:\Xpra\trunk\src/xpra/client/gl/gl_window_backing_base.py", line 336, in init
  File "E:\Xpra\trunk\src/xpra/client/gl/gl_window_backing_base.py", line 355, in resize_fbo
  File "E:\Xpra\trunk\src/xpra/client/gl/gl_window_backing_base.py", line 497, in gl_init
  File "E:\Xpra\trunk\src/xpra/client/gl/gl_window_backing_base.py", line 532, in init_fbo
  File "src/errorchecker.pyx", line 53, in OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError
OpenGL.error.GLError: GLError(
        err = 1286,
        baseOperation = glClear,
        cArguments = (GL_COLOR_BUFFER_BIT,)
)
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk3/gtk3_client_window.py", line 160, in drawing_area_draw
  File "E:\Xpra\trunk\src/xpra/client/gl/gtk_base/gl_drawing_area.py", line 79, in cairo_draw
  File "E:\Xpra\trunk\src/xpra/client/gl/gl_window_backing_base.py", line 497, in gl_init
  File "E:\Xpra\trunk\src/xpra/client/gl/gl_window_backing_base.py", line 532, in init_fbo
  File "src/errorchecker.pyx", line 53, in OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError
OpenGL.error.GLError: GLError(
        err = 1286,
        baseOperation = glClear,
        cArguments = (GL_COLOR_BUFFER_BIT,)
)
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk3/gtk3_client_window.py", line 160, in drawing_area_draw
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/mixins/window_manager.py", line 479, in _process_cursor
  File "E:\Xpra\trunk\src/xpra/client/gtk_base/gtk_client_base.py", line 775, in set_windows_cursor
  File "E:\Xpra\trunk\src/xpra/client/gtk_base/gtk_client_window_base.py", line 633, in set_cursor_data
  File "E:\Xpra\trunk\src/xpra/client/gtk_base/gtk_client_window_base.py", line 731, in when_realized
  File "E:\Xpra\trunk\src/xpra/client/gl/gl_window_backing_base.py", line 909, in set_cursor_data
  File "E:\Xpra\trunk\src/xpra/client/gl/gl_window_backing_base.py", line 497, in gl_init
  File "E:\Xpra\trunk\src/xpra/client/gl/gl_window_backing_base.py", line 532, in init_fbo
  File "src/errorchecker.pyx", line 53, in OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError
OpenGL.error.GLError: GLError(
        err = 1286,
        baseOperation = glClear,
        cArguments = (GL_COLOR_BUFFER_BIT,)
)
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/mixins/window_manager.py", line 479, in _process_cursor
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk3/gtk3_client_window.py", line 160, in drawing_area_draw
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk3/gtk3_client_window.py", line 160, in drawing_area_draw
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk3/gtk3_client_window.py", line 160, in drawing_area_draw
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk3/gtk3_client_window.py", line 160, in drawing_area_draw
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk3/gtk3_client_window.py", line 160, in drawing_area_draw
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk3/gtk3_client_window.py", line 160, in drawing_area_draw
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk3/gtk3_client_window.py", line 160, in drawing_area_draw
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk3/gtk3_client_window.py", line 160, in drawing_area_draw
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk3/gtk3_client_window.py", line 160, in drawing_area_draw
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk3/gtk3_client_window.py", line 160, in drawing_area_draw
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk3/gtk3_client_window.py", line 160, in drawing_area_draw
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk3/gtk3_client_window.py", line 160, in drawing_area_draw
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk3/gtk3_client_window.py", line 160, in drawing_area_draw
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk3/gtk3_client_window.py", line 160, in drawing_area_draw
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk3/gtk3_client_window.py", line 160, in drawing_area_draw
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk3/gtk3_client_window.py", line 160, in drawing_area_draw
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk3/gtk3_client_window.py", line 160, in drawing_area_draw
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk3/gtk3_client_window.py", line 160, in drawing_area_draw
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk3/gtk3_client_window.py", line 160, in drawing_area_draw
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk3/gtk3_client_window.py", line 160, in drawing_area_draw
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk3/gtk3_client_window.py", line 160, in drawing_area_draw
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk3/gtk3_client_window.py", line 160, in drawing_area_draw
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk3/gtk3_client_window.py", line 160, in drawing_area_draw
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk3/gtk3_client_window.py", line 160, in drawing_area_draw
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/mixins/window_manager.py", line 479, in _process_cursor
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk3/gtk3_client_window.py", line 160, in drawing_area_draw
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/gtk3/gtk3_client_window.py", line 160, in drawing_area_draw
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/mixins/window_manager.py", line 479, in _process_cursor
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/client/mixins/window_manager.py", line 479, in _process_cursor

server:

$ xpra version
xpra for python 2.7 is not installed
 retrying with python3
3.0-[r23724](../commit/c1cbe4d3961e173766c5628074b2346da40e9475)
$ lsb_release -rd
Description:  Ubuntu 16.04.6 LTS
Release:  16.04

client:

Windows 10
Xpra GTK3 client version 3.0-[r23770](../commit/344cbaf6c6a879b5ec93e9a918f05268a98fc791) 64-bit
@totaam
Copy link
Collaborator Author

totaam commented Sep 26, 2019

2019-09-26 14:02:46: antoine changed owner from antoine to stdedos

@totaam
Copy link
Collaborator Author

totaam commented Sep 26, 2019

2019-09-26 14:02:46: antoine commented


Please try r23971 or later.
There is a beta 4.0 build for mswindows: [https://xpra.org/beta/windows]

As per the command line output:

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

This looks like an Intel driver bug.

If the bug still occurs, please attach the output of OpenGL_check.exe -v.

The error from _process_cursor may or may not have been the same, so it may still be present.

@totaam
Copy link
Collaborator Author

totaam commented Sep 27, 2019

2019-09-27 11:55:19: stdedos changed owner from stdedos to Antoine Martin

@totaam
Copy link
Collaborator Author

totaam commented Sep 27, 2019

2019-09-27 11:55:19: stdedos commented


I cannot run it:

Xpra-Python3-x86_64_4.0-[r23971](../commit/7de492999b919315bc160f862623f28aaa936086)\xpra_cmd" start ssh://user@ip/2 -d state,metadata --opengl=no --start-new-commands=yes --microphone=off --speaker=off --webcam=no --pulseaudio=no --start=gnome-terminal

Traceback (most recent call last):
  File "C:/msys64/mingw64/lib/python3.7/site-packages\cx_Freeze/initscripts/__startup__.py", line 14, in run
  File "C:/msys64/mingw64/lib/python3.7/site-packages\cx_Freeze/initscripts/Console.py", line 26, in run
  File "scripts/xpra", line 5, in <module>
  File "E:\Xpra\trunk\src/xpra/platform/__init__.py", line 9, in <module>
  File "C:/msys64/mingw64/lib/python3.7/site-packages/gi/__init__.py", line 42, in <module>
ImportError: DLL load failed: The specified module could not be found.

@totaam
Copy link
Collaborator Author

totaam commented Sep 27, 2019

2019-09-27 13:30:20: antoine changed status from new to assigned

@totaam
Copy link
Collaborator Author

totaam commented Sep 27, 2019

2019-09-27 13:30:20: antoine changed owner from Antoine Martin to antoine

@totaam
Copy link
Collaborator Author

totaam commented Sep 27, 2019

2019-09-27 13:30:20: antoine commented


This bug is actually a duplicate of an old bug: #1358.
Now that we have a subprocess to probe the opengl driver (#1994, #2204), we enable opengl rendering on more chipsets, including Intel.
The problem here is that this error is fairly minor and didn't cause a crash, so we ignored it.
We should catch all errors, including minor ones, so we can deal with them and only enable opengl on a clean setup.

I found some other references to it, so we may also be able to fix the underlying cause too:

@totaam
Copy link
Collaborator Author

totaam commented Sep 27, 2019

2019-09-27 15:29:00: antoine changed status from assigned to new

@totaam
Copy link
Collaborator Author

totaam commented Sep 27, 2019

2019-09-27 15:29:00: antoine changed owner from antoine to stdedos

@totaam
Copy link
Collaborator Author

totaam commented Sep 27, 2019

2019-09-27 15:29:00: antoine commented


ImportError: DLL load failed: The specified module could not be found.
Was caused by r23803 and is fixed in r24004. Thank you for your patience!

@totaam
Copy link
Collaborator Author

totaam commented Oct 7, 2019

2019-10-07 11:03:52: stdedos changed status from new to closed

@totaam
Copy link
Collaborator Author

totaam commented Oct 7, 2019

2019-10-07 11:03:52: stdedos set resolution to invalid

@totaam
Copy link
Collaborator Author

totaam commented Oct 7, 2019

2019-10-07 11:03:52: stdedos commented


Works on r24004 +

@totaam totaam closed this as completed Oct 7, 2019
@totaam
Copy link
Collaborator Author

totaam commented Oct 22, 2019

2019-10-22 04:29:54: antoine commented


See also #2459, r24234 improves on this fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant