xpra icon
Bug tracker and wiki

Opened 4 years ago

Closed 4 years ago

#1019 closed defect (invalid)

ImportError: No module named OpenGL.platform

Reported by: adarrab Owned by: adarrab
Priority: minor Milestone: 0.16
Component: client Version: 0.15.x
Keywords: OpenGL Cc:

Description (last modified by Antoine Martin)

Windows7, 64bit machine:

D:\Xpra\0.15.7>Xpra_cmd.exe attach ssh:USER@SERVER04:123  --speaker=disabled --microphone=disabled  -d opengl
2015-11-02 09:50:08,953 xpra gtk2 client version 0.15.7 (r10824)
2015-11-02 09:50:08,967 init_opengl(None)
xpra main error:
Traceback (most recent call last):
  File "xpra\scripts\main.pyc", line 130, in main
  File "xpra\scripts\main.pyc", line 873, in run_mode
  File "xpra\scripts\main.pyc", line 1269, in run_client
  File "xpra\client\ui_client_base.pyc", line 305, in init_ui
  File "xpra\client\gtk_base\gtk_client_base.pyc", line 429, in init_opengl
  File "xpra\platform\win32\gui.pyc", line 87, in gl_check
ImportError: No module named OpenGL.platform

Note that running with --opengl=no works fine from the commandline, but Xpra-Launcher.exe does crash.

Thanks,

Change History (4)

comment:1 Changed 4 years ago by Antoine Martin

Description: modified (diff)
Owner: changed from Antoine Martin to adarrab

@adarrab: which opengl drivers are you using? (Intel maybe?)
It probably will crash the same way, but can you try running the OpenGL_check.exe application in the Xpra folder?

You're the first one to report this so there must be something unusual in this setup.

comment:2 Changed 4 years ago by adarrab

Nvidia NVS 310
Driver version 320.86

OpenGL_check.exe doesn't do anything "Press Enter to close"

comment:3 Changed 4 years ago by Antoine Martin

I have also uploaded a new windows beta build with changeset r11113 which should help narrow down the specific opengl test which is causing the crash (it crashes trying to figure out if opengl should be enabled at all..)

Here's the sort of output you get from OpenGL_check.exe (which we need for reliable blacklisting):

C:\Program Files\Xpra>OpenGL_check.exe
2015-11-02 12:09:03,023 Warning: vendor 'Humper' is blacklisted!
2015-11-02 12:09:03,023 OpenGL glEnablei is not available, disabling transparency
2015-11-02 12:09:03,023 ERROR: some required OpenGL functions are not available: glGenFramebuffers, glBindFramebuffer, g
lFramebufferTexture2D
2015-11-02 12:09:03,104 OpenGL_accelerate module loaded
2015-11-02 12:09:03,104 Using accelerated ArrayDatatype
2015-11-02 12:09:03,104
2015-11-02 12:09:03,104 OpenGL errors:
2015-11-02 12:09:03,104   some required OpenGL functions are not available: glGenFramebuffers, glBindFramebuffer, glFram
ebufferTexture2D
2015-11-02 12:09:03,104
2015-11-02 12:09:03,114 OpenGL properties:
2015-11-02 12:09:03,114 * GLU extensions           :
2015-11-02 12:09:03,114 * GLU version              : 1.2.2.0 Microsoft Corporation
2015-11-02 12:09:03,114 * display_mode             : DOUBLE
2015-11-02 12:09:03,114 * gdkgl.version            : 5.1
2015-11-02 12:09:03,114 * gdkglext.version         : 1.2.0
2015-11-02 12:09:03,114 * gtkglext.version         : 1.2.0
2015-11-02 12:09:03,114 * has_alpha                : True
2015-11-02 12:09:03,114 * opengl                   : 2.1
2015-11-02 12:09:03,114 * pygdkglext.version       : 1.0.0
2015-11-02 12:09:03,114 * pyopengl                 : 3.1.0
2015-11-02 12:09:03,114 * renderer                 : Chromium
2015-11-02 12:09:03,114 * rgba                     : True
2015-11-02 12:09:03,114 * safe                     : False
2015-11-02 12:09:03,114 * shading language version : 4.50 NVIDIA
2015-11-02 12:09:03,114 * texture-size-limit       : 16384
2015-11-02 12:09:03,114 * vendor                   : Humper
2015-11-02 12:09:03,114 * zerocopy                 : True

comment:4 Changed 4 years ago by adarrab

Resolution: invalid
Status: newclosed

Nevermind antoine, the problem was in my installation, somehow the OpenGL folder was missing many *pyc filles, reinstalling it fixed the problem.

You can mark it as closed
Thanks,

Note: See TracTickets for help on using tickets.