linux wayland crash
I tried running the Devkit Client on Ubuntu 22.04.1 LTS today and it crashes on startup while using the wayland display manager. Switching back to the x11 manager allows it to run without issues. Unfortunately even trying to run the windows version through proton was crashing. Last thing of importance that I tried was running was adding SDL_VIDEODRIVER=x11 to try and force it to run through xwayland but there was no change. Below is a copy of the terminal output:
Terminal Output
python3 devkit-gui-cp310.pyz
Force no_proxy: localhost,127.0.0.0/8
Loaded settings: '/home/rujak/.devkit-client-gui/settings.pickle'
Valve devkit client UI v0.20220406.5-19-g4b5cdc84
Python 3.10.4
Using pyimgui 2.0.0
Using imgui 1.82
Using SDL2 2.0.20
SDL_GL_CreateContext failed: b'Invalid window'
Try GL context creation with more conservative settings
Saved settings '/home/rujak/.devkit-client-gui/settings.pickle'
Starting client API server
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals)
File "/home/rujak/Documents/code/steam/steamos-devkit/devkit-gui-cp310.pyz/main.py", line 3, in
File "/home/rujak/Documents/code/steam/steamos-devkit/devkit-gui-cp310.pyz/_bootstrap/init.py", line 247, in bootstrap
File "/home/rujak/Documents/code/steam/steamos-devkit/devkit-gui-cp310.pyz/_bootstrap/init.py", line 38, in run
File "/home/rujak/.shiv/devkit-gui-cp310.pyz_b2c66ad1ae3e3a4ad3795e2f19f124ef688c5fec90941bbaf464c194a9c43cdc/site-packages/devkit_client/gui2/gui2.py", line 3130, in main viewport.main()
File "/home/rujak/.shiv/devkit-gui-cp310.pyz_b2c66ad1ae3e3a4ad3795e2f19f124ef688c5fec90941bbaf464c194a9c43cdc/site-packages/devkit_client/gui2/gui2.py", line 2803, in main
impl = imgui.integrations.sdl2.SDL2Renderer(self.sdl_window)
File "/home/rujak/.shiv/devkit-gui-cp310.pyz_b2c66ad1ae3e3a4ad3795e2f19f124ef688c5fec90941bbaf464c194a9c43cdc/site-packages/imgui/integrations/sdl2.py", line 17, in init
super(SDL2Renderer, self).__init__()
File "/home/rujak/.shiv/devkit-gui-cp310.pyz_b2c66ad1ae3e3a4ad3795e2f19f124ef688c5fec90941bbaf464c194a9c43cdc/site-packages/imgui/integrations/opengl.py", line 60, in init
super(ProgrammablePipelineRenderer, self).__init__()
File "/home/rujak/.shiv/devkit-gui-cp310.pyz_b2c66ad1ae3e3a4ad3795e2f19f124ef688c5fec90941bbaf464c194a9c43cdc/site-packages/imgui/integrations/base.py", line 17, in init
self._create_device_objects()
File "/home/rujak/.shiv/devkit-gui-cp310.pyz_b2c66ad1ae3e3a4ad3795e2f19f124ef688c5fec90941bbaf464c194a9c43cdc/site-packages/imgui/integrations/opengl.py", line 125, in _create_device_objects
gl.glVertexAttribPointer(self._attrib_location_position, 2, gl.GL_FLOAT, gl.GL_FALSE, imgui.VERTEX_SIZE, ctypes.c_void_p(imgui.VERTEX_BUFFER_POS_OFFSET))
File "/home/rujak/.shiv/devkit-gui-cp310.pyz_b2c66ad1ae3e3a4ad3795e2f19f124ef688c5fec90941bbaf464c194a9c43cdc/site-packages/OpenGL/latebind.py", line 63, in call
return self.wrapperFunction( self.baseFunction, *args, **named )
File "/home/rujak/.shiv/devkit-gui-cp310.pyz_b2c66ad1ae3e3a4ad3795e2f19f124ef688c5fec90941bbaf464c194a9c43cdc/site-packages/OpenGL/GL/VERSION/GL_2_0.py", line 469, in glVertexAttribPointer
contextdata.setValue( key, array )
File "/home/rujak/.shiv/devkit-gui-cp310.pyz_b2c66ad1ae3e3a4ad3795e2f19f124ef688c5fec90941bbaf464c194a9c43cdc/site-packages/OpenGL/contextdata.py", line 58, in setValue
context = getContext( context )
File "/home/rujak/.shiv/devkit-gui-cp310.pyz_b2c66ad1ae3e3a4ad3795e2f19f124ef688c5fec90941bbaf464c194a9c43cdc/site-packages/OpenGL/contextdata.py", line 40, in getContext
raise error.Error(
OpenGL.error.Error: Attempt to retrieve context when no valid context
Saved settings '/home/rujak/.devkit-client-gui/settings.pickle'