System log
I’m trying to set up hardware acceleration for mpv by following this guide on the Arch wiki: https://wiki.archlinux.org/title/Hardware_video_acceleration
I have an AMD GPU so I installed both libva-vesa-driver and mesa-vdpau to see which works better for me. But when I get to the verification step I have issues, which I think are related to driver files or something like that. My output for vainfo:
libva error: dlopen of /usr/lib/dri/radeonsi_drv_video.so failed: libLLVM-14.so: cannot open shared object file: No such file or directory
vaInitialize failed with error code -1 (unknown libva error),exit
My output for vdpauinfo:
Failed to open VDPAU backend libvdpau_radeonsi.so: cannot open shared object file: No such file or directory
Error creating VDPAU device: 1
DEINTERLACE_TEMPORAL y
DEINTERLACE_TEMPORAL_SPATIAL -
INVERSE_TELECINE -
NOISE_REDUCTION y
SHARPNESS y
LUMA_KEY y
HIGH QUALITY SCALING - L1 y
HIGH QUALITY SCALING - L2 -
HIGH QUALITY SCALING - L3 -
HIGH QUALITY SCALING - L4 -
HIGH QUALITY SCALING - L5 -
HIGH QUALITY SCALING - L6 -
HIGH QUALITY SCALING - L7 -
HIGH QUALITY SCALING - L8 -
HIGH QUALITY SCALING - L9 -
parameter name sup min max
VIDEO_SURFACE_WIDTH y 48 4096
VIDEO_SURFACE_HEIGHT y 48 4096
CHROMA_TYPE y
LAYERS y 0 4
attribute name sup min max
BACKGROUND_COLOR y
CSC_MATRIX y
NOISE_REDUCTION_LEVEL y 0.00 1.00
SHARPNESS_LEVEL y -1.00 1.00
LUMA_KEY_MIN_LUMA y
LUMA_KEY_MAX_LUMA y
vp9
$ mpv spring-vp9-vorbis.webm
(+) Video --vid=1 () (vp9 2048x858)
(+) Audio --aid=1 () (vorbis 2ch 44100Hz)
[vo/gpu/wayland] GNOME’s wayland compositor lacks support for the idle inhibit protocol. This means the screen can blank during playback.
Cannot load libcuda.so.1
Using hardware decoding (vaapi).
AO: [pulse] 44100Hz stereo 2ch float
VO: [gpu] 2048x858 vaapi[nv12]
AV: 00:00:01 / 00:07:44 (0%) A-V: 0.012 DS: 2.861/4
Exiting… (Quit)
av1
$ mpv Chimera-AV1-8bit-480x270-552kbps.mp4
(+) Video --vid=1 (*) (av1 480x270 23.976fps)
[vo/gpu/wayland] GNOME’s wayland compositor lacks support for the idle inhibit protocol. This means the screen can blank during playback.
Cannot load libcuda.so.1
Using hardware decoding (vaapi).
VO: [gpu] 480x270 vaapi[nv12]
V: 00:00:01 / 00:06:12 (0%) DS: 2.500/4
Upon further digging I noticed that the cause of this error was my llvm being outdated, so I ran a full system update and it worked again (last time I updated was only like 3 or 4 days ago, so I’m confused how this happened). Sorry for the dumb question.