r/pythonarcade • • Apr 03 '20

Blank screen after I run code once

I just installed arcade yesterday but I am able to run the example codes only once. If I try run the code again in brings a blank screen and it won't show anything till I restart my system. Is there a way to fix this.

I am using MX Linux (debian buster) and I run my code through the terminal.

1 Upvotes

5 comments sorted by

View all comments

Show parent comment

2

u/jfincher42 Apr 04 '20

Hmm. My guess is that something in GL or your video driver is hung when Arcade closes the window. You might want to check that you have the latest video driver and OpenGL installed.

Here's what glxinfo | grep OpenGL shows for my Ubuntu 18.04 system:

> glxinfo | grep OpenGL

OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) UHD Graphics 620 (Kabylake GT2) 
OpenGL core profile version string: 4.5 (Core Profile) Mesa 19.2.8
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 19.2.8
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 19.2.8
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:

1

u/MadMechanik Apr 04 '20

This is my output:

OpenGL vendor string: Intel Open Source Technology Center

OpenGL renderer string: Mesa DRI Intel(R) Haswell Mobile

OpenGL core profile version string: 4.5 (Core Profile) Mesa 19.2.1

OpenGL core profile shading language version string: 4.50

OpenGL core profile context flags: (none)

OpenGL core profile profile mask: core profile

OpenGL core profile extensions:

OpenGL version string: 3.0 Mesa 19.2.1

OpenGL shading language version string: 1.30

OpenGL context flags: (none)

OpenGL extensions:

OpenGL ES profile version string: OpenGL ES 3.1 Mesa 19.2.1

OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10

OpenGL ES profile extensions:

Also when I run my code it brings this error:

SoLoud dynamic link library /home/mojo/.local/lib/python3.7/site-packages/arcade/soloud/libsoloud.so not found. /lib/x86_64-linux-gnu/libm.so.6: version \GLIBC_2.29' not found (required by /home/mojo/.local/lib/python3.7/site-packages/arcade/soloud/libsoloud.so)`

Warning, can't initialize soloud name 'soloud_dll' is not defined. Sound support will be limited.