Viewport empty/not working in Wayland
andersmmg opened this issue · comments
Just out of curiosity, does it still fail if you launch it with I'm investigating running makehuman on wayland myself and have run into three different scenarios:PYOPENGL_PLATFORM=osmesa
?
- Launching in Wayland (
QT_QPA_PLATFORM=wayland
)- Fails due to not properly configuring the xdg_surface (see #224)
- Launching in XWayland (
QT_QPA_PLATFORM=xcb
)- Fails as described in this issue, due to running in XWayland but attempting to load EGL.
- Launching in XWayland using the OSMesa software renderer (
QT_QPA_PLATFORM=xcb PYOPENGL_PLATFORM=osmesa
- Works just fine, but on the software renderer and thus entirely unaccelerated.
Launching it with Okay I went and did some searching before submitting this comment, it looks like the appropriate invocation is in fact PYOPENGL_PLATFORM=glx
seems to be ignored and continues to load EGL because it detects wayland.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
.
Adding those variables does make it display at least, I added them to my .desktop file and it's useable