Skip to contentSkip to conversation

Qt's QOpenGLWidget renders a blank screen under XWayland

Bug 106757 [email protected] 1 participant 4 messages May 31, 2018 – Nov 12, 2018

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=106757

Bug ID: 106757
Summary: Qt's QOpenGLWidget renders a blank screen under
XWayland
Product: Mesa
Version: 18.0
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/i915
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

Created attachment 139886
--> https://bugs.freedesktop.org/attachment.cgi?id=139886&action=edit
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

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=106757

--- Comment #1 from Michael Arnold <[email protected]> --- Created attachment 139887
--> https://bugs.freedesktop.org/attachment.cgi?id=139887&action=edit
Qt Application renders incorrectly under XWayland

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=106757

--- Comment #2 from Michael Arnold <[email protected]> --- Created attachment 139888
--> https://bugs.freedesktop.org/attachment.cgi?id=139888&action=edit
Qt Application renders correctly under Wayland

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=106757

Michael Arnold <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Michael Arnold <[email protected]> --- Under Fedora 29 (Mesa 18.2.4) and Qt 5.12 Beta 4 this issue is no longer present.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel