QtMultimedia - UI Freezes after 6.4.0 update.
-
Which platform are you on ?
-
wrote on 13 Oct 2022, 14:24 last edited by
@SGaist
Linux OpenSuse 15.4 kernel 5.14.21
KDE: 5.90 / Plasma: 5.24.4 -
Do you have the same issue if you play the video with gstreamer directly ?
-
wrote on 14 Oct 2022, 16:36 last edited by
No, only in my code.
-
wrote on 14 Oct 2022, 17:37 last edited by Lucas Simoes
@SGaist I Forgot to mention... the entire UI freezes but the video still running normally.
-
Then it's something you should report.
-
wrote on 18 Oct 2022, 10:43 last edited by Sam Aaron
Just to add that I have noticed similar behaviour with Sonic Pi (https://github.com/sonic-pi-net/sonic-pi).
After upgrading Qt to 6.4, the app freezes at some point. It appears non-deterministic - sometimes after minutes, another time after an hour or so.
Downgrading to Qt 6.3.2 didn't fix the issue either - my guess is that whatever is causing the issue is new to 6.3.2 and 6.4.
Downgrading to Qt 6.2.4 does appear to have fixed the issue. I've had the GUI running overnight and all morning and no freezing so far.
I should also note that I've been working on Sonic Pi from the very first Qt 5.x releases for 10 years now and this has been the first time I've seen such freezing.
-
wrote on 18 Oct 2022, 14:41 last edited by
Update:
Unfortunately, I couldn't fix the freeze by using Qt 6.4, but that workaround worked with Qt 6.3.2 and 2.4.0.
About the rewind problem, I was finally able to run without crashes. So, the final solution for me:
Fedora 36 (KDE Plasma 5.25.5) - kernel 5.19.15
Gstreamer backend 1.20.3
Qt 6.3.2 (plus qtmultimedia workaround)And I forgot to mention, the freeze also appears in Qt 6.3.2 if using Wayland as window manager.
-
So I insist: open a bug report :-) Both of you have solid evidence that something is amiss so don't hesitate.
-
Just to add that I have noticed similar behaviour with Sonic Pi (https://github.com/sonic-pi-net/sonic-pi).
After upgrading Qt to 6.4, the app freezes at some point. It appears non-deterministic - sometimes after minutes, another time after an hour or so.
Downgrading to Qt 6.3.2 didn't fix the issue either - my guess is that whatever is causing the issue is new to 6.3.2 and 6.4.
Downgrading to Qt 6.2.4 does appear to have fixed the issue. I've had the GUI running overnight and all morning and no freezing so far.
I should also note that I've been working on Sonic Pi from the very first Qt 5.x releases for 10 years now and this has been the first time I've seen such freezing.
wrote on 18 Oct 2022, 21:04 last edited by@Sam-Aaron said in QtMultimedia - UI Freezes after 6.4.0 update.:
Downgrading to Qt 6.2.4 does appear to have fixed the issue. I've had the GUI running overnight and all morning and no freezing so far.
Unfortunately (for me) this assertion was wrong and I got a freeze with a Qt 6.2.4 build. Apologies for the red herring - my issue is likely unrelated.
18/18