QtMultimedia - UI Freezes after 6.4.0 update.
-
Which platform are you on ?
-
Do you have the same issue if you play the video with gstreamer directly ?
-
No, only in my code.
-
Then it's something you should report.
-
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.
-
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.
-
@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.