You are not logged in.

#1 2019-04-25 10:30:52

j1simon
Member
From: Denmark
Registered: 2016-01-28
Posts: 99

mpv with hwdec=vaapi. Error "Cannot load libcuda.so.1"

I have a desktop PC with Intel(R) Core(TM) i7-7700 and integrated Intel HD Graphics 630.
I have installed intel-media-driver and libva.
I have defined LIBVA_DRIVER_NAME=iHD.
But when I play a video:

$ mpv --hwdec=vaapi "/multimedia/xxxxxxx.mkv" 
Playing: /multimedia/xxxxxxx.mkv
 (+) Video --vid=1 (*) 'xxxxxxx -BSTD' (hevc 3840x1920 23.976fps)
 (+) Audio --aid=1 --alang=spa (*) 'Castellano DTS-HD MA 5.1 @ 3454 kbps' (dts 6ch 48000Hz)
     Audio --aid=2 --alang=eng 'Inglés TrueHD 7.1 @ 3223 kbps' (truehd 8ch 48000Hz)
     Audio --aid=3 --alang=eng 'Inglés DD-EX 5.1 @ 640 kbps' (ac3 6ch 48000Hz)
     Audio --aid=4 --alang=eng 'Inglés DD 2.0 @ 224 kbps' (ac3 2ch 48000Hz)
     Audio --aid=5 --alang=eng 'Inglés DD 2.0 @ 192 kbps' (ac3 2ch 48000Hz)
     Audio --aid=6 --alang=eng 'Inglés DD 2.0 @ 192 kbps' (ac3 2ch 48000Hz)
 (+) Subs  --sid=1 --slang=spa (*) (f) 'Castellano Forzados [Planos]' (subrip)
     Subs  --sid=2 --slang=eng 'Inglés Completos [Planos]' (subrip)
     Subs  --sid=3 --slang=spa 'Castellano Forzados [PGS]' (hdmv_pgs_subtitle)
     Subs  --sid=4 --slang=spa 'Castellano Completos [PGS]' (hdmv_pgs_subtitle)
     Subs  --sid=5 --slang=eng 'Inglés Completos SDH [PGS]' (hdmv_pgs_subtitle)
[vo/gpu/vaapi-egl] vaAcquireSurfaceHandle() failed (invalid VASurfaceID)
[vo/gpu/vaapi-egl] vaAcquireSurfaceHandle() failed (invalid VASurfaceID)
[vo/gpu/vaapi-egl] vaAcquireSurfaceHandle() failed (invalid VASurfaceID)
[vo/gpu/vaapi-egl] vaAcquireSurfaceHandle() failed (invalid VASurfaceID)
[vo/gpu/vaapi-egl] vaAcquireSurfaceHandle() failed (invalid VASurfaceID)
[vo/gpu/vaapi-egl] vaAcquireSurfaceHandle() failed (invalid VASurfaceID)
[vo/gpu/vaapi-egl] vaAcquireSurfaceHandle() failed (invalid VASurfaceID)
[vo/gpu/vaapi-egl] vaAcquireSurfaceHandle() failed (invalid VASurfaceID)
[vo/gpu/vaapi-egl] vaAcquireSurfaceHandle() failed (invalid VASurfaceID)
[vo/gpu/vaapi-egl] vaAcquireSurfaceHandle() failed (invalid VASurfaceID)
Cannot load libcuda.so.1
AO: [pulse] 48000Hz 5.1(side) 6ch s32
Using hardware decoding (vaapi).
VO: [gpu] 3840x1920 vaapi[p010]
AV: 00:00:40 / 01:56:50 (0%) A-V:  0.000
Saving state.
...

It plays the video with hardware acceleration but
1) why mpv tries to load "libcuda"?
2) Isn't "libcuda" a library for Nvidia drivers?
3) Should I install that library?

Last edited by j1simon (2019-04-25 10:31:18)

Offline

#2 2019-04-25 10:50:37

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 7,243

Re: mpv with hwdec=vaapi. Error "Cannot load libcuda.so.1"

1) Because it is compiled with support for it to use when you actually have nvidia hardware
2) It is.
3) Unlikely to give you any benefit

Offline

#3 2019-04-25 10:55:53

j1simon
Member
From: Denmark
Registered: 2016-01-28
Posts: 99

Re: mpv with hwdec=vaapi. Error "Cannot load libcuda.so.1"

If I specifically set "hwdec=vaapi", I think it should be clear enough for mpv not to try to load that library. IMHO, it looks like an error in the mpv code. Don't you agree?

Offline

Board footer

Powered by FluxBB