This repository has been archived by the owner on Jun 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 170
Stuttering/slow HW-accelerated video on Ubuntu 21.10 #1067
Comments
This is the output of PMP:
And this is the output of mpv directly:
Interesting |
Hypfer
changed the title
Stuttering HW-accelerated video on Ubuntu 21.10
Stuttering/slow HW-accelerated video on Ubuntu 21.10
Jan 29, 2022
Using an X session instead of Wayland + setting the env variable The same thing happens with a fresh install of the latest debian testing. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Unfortunately, I'm having trouble with HW-accelerated video decoding on the most recent version of Ubuntu.
It does decode video in hardware (verified with
intel_gpu_top
), however the video playback is slower than real-time.Audio on the other hand is not affected and plays in the correct speed.
Interestingly, playing the same files directly on the machine via the installed mpv with HW acceleration works just fine.
The behaviour is also identical both in an X and a Wayland session.
Test environment
PMS Version: 1.25.2.5319
PMP Version: 2.58.0.dev-ae73e074
Platform (Windows/macOS/Embedded RPi/Embedded Intel): Ubuntu 21.10, Intel Celeron J4005 with Intel UHD 600
Steps to reproduce
build-essential qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools libqt5webchannel5-dev libqt5webengine5 qtwebengine5-dev libqt5x11extras5-dev libmpv-dev build-essential qml-module-qtquick-controls qml-module-qtwebengine qml-module-qtwebchannel
cmake -DCMAKE_BUILD_TYPE=Debug -DQTROOT=/usr/ -DCMAKE_INSTALL_PREFIX=/usr/local/ ..
Further remarks
I did try building mpv from source like its mentioned in the readme as well but that just led to a segfaulting pmp binary so I didn't investigate that further.
Logs
I wasn't sure how much of it is actually relevant to this issue so I've probably included more than necessary.
PMP does seem to be aware that something is off:
cplayer: Audio/Video desynchronisation detected!
Here are the logs (click me)
The text was updated successfully, but these errors were encountered: