missing: Cannot load libcuda.so.1

I’m running mpv and I get the following error message:


Cannot load libcuda.so.1

what am i missing?

Here’s my video inxi:


CPU: 8-Core AMD Ryzen 7 4700U with Radeon Graphics (-MCP-)
speed/min/max: 2345/1400/2000 MHz Kernel: 5.14.21-150400.24.33-default x86_64 Up: 2h 12m
Mem: 2012.6/15352.8 MiB (13.1%) Storage: 476.94 GiB (17.3% used) Procs: 226 Shell: Bash
inxi: 3.3.07

and

Graphics:  Device-1: AMD Renoir vendor: Lenovo driver: amdgpu v: kernel bus-ID: 04:00.0
           chip-ID: 1002:1636 class-ID: 0300
           Device-2: Syntek Integrated Camera type: USB driver: uvcvideo bus-ID: 1-4:4
           chip-ID: 174f:243f class-ID: 0e02 serial: 200901010001
           Display: x11 server: X.org 1.20.3 compositor: xfwm4 v: 4.16.1 driver:
           loaded: amdgpu,ati unloaded: fbdev,modesetting,vesa
           resolution: <missing: xdpyinfo>
           OpenGL:
           renderer: AMD RENOIR (DRM 3.42.0 5.14.21-150400.24.33-default LLVM 11.0.1)
           v: 4.6 Mesa 21.2.4 direct render: Yes

Thanks

Hi
Your not running nvidia hardware, see https://github.com/mpv-player/mpv/issues/9691 add the option gpu-hwdec-interop=vaapi

Thanks for the quick help. That got me going but for my hardware configuration, the option to use is:    
 mpv --vo=gpu filename.webm 
to use the hardware acceleration and while mpv is running, Ctrl-h to toggle between gpu and cpu.     Thanks

Hi
Perfect, enjoy, I have nvidia, so use hardware decoding…


mpv --hwdec=auto --hwdec-codecs=all --vo=gpu Videos/Elf.m4v


 (+) Video --vid=1 (*) (h264 720x462 23.988fps)
 (+) Audio --aid=1 --alang=eng (*) (aac 2ch 48000Hz)
File tags:
 Title: ELF
Using hardware decoding (nvdec).
AO: [pipewire] 48000Hz stereo 2ch floatp
VO: [gpu] 720x462 => 853x462 cuda[nv12]