You are not logged in.
Pages: 1
Topic closed
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
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
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
I noticed this message when I use celluloid.
It depends how it's implemented. Maybe their code is more efficient if they do dlopen regardless when the option is specified. In my opinion, the message should be info for non nvidia hardware and warning for nvidia hardware.
https://mpv.io/manual/stable/ says that vaapi option is less than ideal.
Offline
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Pages: 1
Topic closed