Created attachment 139886 [details]
Qt Application renders correctly using MESA software rendering
With intel integrated graphics, the Qt Surface example, that uses
QOpenGLWidget, on Fedora 28 under an wayland session and then run under
xwayland by starting the Qt application using the command:
./surface -platform xcb
results in the Qt application being displayed correctly, but the 3D data
visualization is shown incorrectly as blank panel (see attached).
The same Qt application in a Wayland session with MESA software rendering also
under xwayland as follows:
LIBGL_ALWAYS_SOFTWARE=1 ./surface -platform xcb
results in the application and 3D data visualization being displayed correctly
(see attached).
The same Qt application in a XOrg session results in the application and 3D
data visualization being displayed correctly.
The same Qt application in a Wayland session run under wayland results in the
application and 3D data visualization being displayed correctly.
This issue is logged as a Qt defect here:
https://bugreports.qt.io/browse/QTBUG-68263
A similar issue is described for GNU Octave here:
https://savannah.gnu.org/bugs/?51442