Description
OS: Arch Linux
Qt version: 5.13
sway version: 1.1.1-3
wlroots version: 0.6.0-1
GPU & OpenGL drivers: AMD Raven Ridge APU & mesa 19.2-devel (also tested AMD Carrizo APU with same drivers)
Example: OpenGL Window Example
When you run the example, the window freezes at startup. It doesn't react to input in any way either, and can't be closed through Sway shortcuts.
With some trial-and-error, I have figured out that changing
requestUpdate();
in renderLater function to a manual post event like
QCoreApplication::postEvent(this, new QEvent(QEvent::UpdateRequest));
seems to fix the problem somehow.
I couldn't reproduce this issue on Weston.
I have a similar problem with the 3D engine I'm writing, so it would be really helpful if this bug were to be fixed somehow. This test example makes for simpler reproduction, which is why I'm referencing it and not my engine in this report.
Activity