makehumancommunity / makehuman

This is the main repository for the MakeHuman application as such.
http://www.makehumancommunity.org
Other
1.18k stars 244 forks source link

Viewport empty/not working in Wayland #213

Open andersmmg opened 1 year ago

andersmmg commented 1 year ago

When using Wayland, the viewport does not seem to render. I've already tried turning on the no shaders and sample buffers, but it has no effect. It seems to work using X11 when I install that, but not Wayland. It just shows my desktop or whatever is behind the window, while flickering a lot. image

Celti commented 1 year ago

Just out of curiosity, does it still fail if you launch it with PYOPENGL_PLATFORM=osmesa? I'm investigating running makehuman on wayland myself and have run into three different scenarios:

Launching it with PYOPENGL_PLATFORM=glx seems to be ignored and continues to load EGL because it detects wayland. Okay I went and did some searching before submitting this comment, it looks like the appropriate invocation is in fact PYOPENGL_PLATFORM=x11!

Launching through Wayland/EGL still fails and should be explored in the relevant ticket, but forcing XWayland/GLX works fine with: QT_QPA_PLATFORM=xcb PYOPENGL_PLATFORM=x11 makehuman.

andersmmg commented 1 year ago

Adding those variables does make it display at least, I added them to my .desktop file and it's useable