HaarigerHarald / geant4_pybind

Alternative Python bindings for Geant4
The Unlicense
35 stars 7 forks source link

Visualization problem #23

Closed shulga-alexey closed 9 months ago

shulga-alexey commented 9 months ago

Hello. I have issues using the visualization package. When I execute example B1 geant4_pybind python code the UI session starts but do not visualize anything. The process freezes in the state shown in the screenshot. Снимок экрана (4) If I run the Geant4 examples , the visualization works. I'm not sure what the reason is, but I hope someone can give me a hint on what might be wrong here. I'm using WSL with Ubuntu 22.04 and python 3.10 . Снимок экрана (3) P.S. Sorry for my English

HaarigerHarald commented 9 months ago

The Qt opengl visualization driver has issues on WSL, I'm not really sure what the issue exactly is but it has something to do with the available opengl features. Either use the windows version if you are on windows or if you need to use Linux a different VM, a dual boot or self compiled version with opengl-x11 visualization instead of Qt. There is not much one can do.