Bug 106757 - Qt's QOpenGLWidget renders a blank screen under XWayland
Summary: Qt's QOpenGLWidget renders a blank screen under XWayland
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i915 (show other bugs)
Version: 18.0
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact: Default DRI bug account
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-31 13:40 UTC by Michael Arnold
Modified: 2018-11-12 06:13 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Qt Application renders correctly using MESA software rendering (1.65 MB, image/png)
2018-05-31 13:40 UTC, Michael Arnold
Details
Qt Application renders incorrectly under XWayland (76.80 KB, image/png)
2018-05-31 13:42 UTC, Michael Arnold
Details
Qt Application renders correctly under Wayland (303.52 KB, image/png)
2018-05-31 13:42 UTC, Michael Arnold
Details

Description Michael Arnold 2018-05-31 13:40:55 UTC
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
Comment 1 Michael Arnold 2018-05-31 13:42:06 UTC
Created attachment 139887 [details]
Qt Application renders incorrectly under XWayland
Comment 2 Michael Arnold 2018-05-31 13:42:42 UTC
Created attachment 139888 [details]
Qt Application renders correctly under Wayland
Comment 3 Michael Arnold 2018-11-12 06:13:00 UTC
Under Fedora 29 (Mesa 18.2.4) and Qt 5.12 Beta 4 this issue is no longer present.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.