Skip to content

Qt OpenGL Window Example mysterious freeze #4339

Open
@VadikLeshy

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    client-compatCompatibility issues with a particular application

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions