Closed danboid closed 1 year ago
@chewitt Sorry was away from this project for a while.
After building the folowing: linux from https://github.com/chewitt/linux/commits/amlogic-5.18.y commit a3ec4a99978d ffmpeg from https://github.com/jc-kynesim/rpi-ffmpeg/commits/dev/4.4/rpi_import_1 commit 766f042678 mpv with commit 349e437466 and some hacks to fix a segfault
drmprime works:
[vo/gpu] reconfig to 720x480 [186:157] drm_prime[nv12] bt.601/bt.601-525/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
However trying to seek causes:
[ffmpeg/video] h264_v4l2m2m: V4L2 capture poll unexpected timeout: events=0x145
[ffmpeg/video] h264_v4l2m2m: Poll thinks src Q has space; none found
[ffmpeg/video] h264_v4l2m2m: V4L2 capture poll unexpected timeout: events=0x145
[ffmpeg/video] h264_v4l2m2m: Poll thinks src Q has space; none found
Any clues on where I might start debugging this?
When you say "good seeking" which player app are you using to test?
Important Information
Provide following Information:
X96 Air Q1000 Amlogic S905X3 based TV box.
0.33.1-dirty
Manjaro ARM unstable branch, kernel 5.12.1-1-MANJARO-ARM
manjaro arm unstable repo
KDE plasma wayland, which works better than GNOME wayland for mpv. Attempting to play this video with mpv under wayland GNOME crashed mpv.
mesa 21.1.1-1
https://youtu.be/r4lWJO35o00
Reproduction steps
I am trying to play this video:
https://drive.google.com/file/d/14z1Gd8zXbJ2XWvULvmWXeqLVRcgUHo2p/view?usp=sharing
Under Manjaro ARM unstable KDE wayland (what a mouthful!)
My
mpv.conf
looks like this:Expected behavior
Smooth hw accelerated fullscreen video playback using the meson vpu.
Actual behavior
Very jerky video playback, less than 1 fps with 100's of dropped frames. I have tried experimenting with the plasma compositor settings but they don't seem to make any notable difference to mpv.
Log file
Sample files
https://drive.google.com/file/d/14z1Gd8zXbJ2XWvULvmWXeqLVRcgUHo2p/view?usp=sharing