starfive-tech / VisionFive2

438 stars 78 forks source link

segfault when trying to play a 4K hevc on a 4K display with mpv #63

Open danboid opened 1 year ago

danboid commented 1 year ago

mpv already does a pretty good job of decoding and playing 4K hevc/h265 videos when connected to a 1080p display but when I attach my VF2 1.3b running starfive-jh7110-202306-nvme-minimal-desktop.img to a 4K display and try to play a 60 fps 4K hevc file mpv crashes and prints the error:

[vo/gpu/wayland] GNOME's wayland compositor lacks support for the idle inhibit protocol. This means the stream can blank during playback.

Strange that this error only occurs when using a 4K display. You would've thought that if it was a compositor issue it wouldn't play the video (scaled down) at 1080p either.

danboid commented 1 year ago

Here's the error when I tried to play a 30 fps 4K hevc video on a 4K display with mpv on my VF2. Looks like it can't allocate enough memory:

mpv-error