PINE64
Very bad video playback - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: Linux on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=114)
+--- Thread: Very bad video playback (/showthread.php?tid=12283)



Very bad video playback - ksinar - 11-23-2020

Hi, I switched to manjaro i3 from manjaro XFCE, and I am having really bad video playback everywhere. It is stuttering a lot on 720p, and it is a lot worse than it was on XFCE, basicakky unusable. I tried opening a video with mpv to see if there are any errors and I am getting this:
Code:
(+) Video --vid=1 (*) (vp9 3840x1920 29.970fps)
(+) Audio --aid=1 --alang=eng (*) (opus 2ch 48000Hz)
libEGL warning: DRI2: failed to authenticate
[vo/gpu/opengl] Suspected software renderer or indirect context.
[vo/gpu/opengl] Suspected software renderer or indirect context.
[vo/gpu/vulkan/libplacebo] Failed creating instance: VK_ERROR_EXTENSION_NOT_PRESENT
[vo/gpu/vulkan/libplacebo] Failed initializing vulkan instance
[vo/gpu/vulkan/libplacebo] vkEnumeratePhysicalDevices(params->instance, &num, NULL): VK_ERROR_INITIALIZATION_FAILED
[vo/gpu/vulkan/libplacebo] Found no suitable device, giving up.
[vo/gpu/vulkan/libplacebo] Failed initializing vulkan device
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
[vo/vdpau] Error when calling vdp_device_create_x11: 1
[vo/xv] No Xvideo support found.
[vaapi] libva: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[vaapi] Failed to initialize VAAPI: unknown libva error
[vo/x11] Warning: this legacy VO has bad performance. Consider fixing your graphics drivers, or not forcing the x11 VO.
AO: [pulse] 48000Hz stereo 2ch float
VO: [x11] 3840x1920 yuv420p
AV: 00:00:02 / 00:10:56 (0%) A-V:  0.460 Dropped: 49

Audio/Video desynchronisation detected! Possible reasons include too slow
hardware, temporary CPU spikes, broken drivers, and broken files. Audio
position will not match to the video (see A-V status field).

AV: 00:00:02 / 00:10:56 (0%) A-V:  0.457 Dropped: 55



RE: Very bad video playback - xyzzy - 11-23-2020

You haven't got opengl working.  It should be using the gpu video output.  That plain x11 output driver will be really slow.

Check that the kernel panfrost driver worked:  dmesg | grep panfrost

Then check for opengl support:  glinfo

You should see lines about panfrost that end with initialized panfrost for the kernel. glinfo should have Mesa, Mali, and Panfrost as the first few items it returns.