https://bugs.kde.org/show_bug.cgi?id=456482

--- Comment #5 from george fb <georgefb...@gmail.com> ---
When using auto mpv settles on hevc-vaapi-copy

```
[   0.226][v][libmpv_render] Loading hwdec driver 'vaapi-egl'
[   0.226][v][libmpv_render/vaapi-egl] VAAPI hwdec only works with OpenGL or
Vulkan backends.
[   0.226][v][libmpv_render] Loading failed.
[   0.226][v][libmpv_render] Loading hwdec driver 'cuda-nvdec'
[   0.227][v][libmpv_render/cuda-nvdec] Failed to load CUDA symbols
[   0.227][v][libmpv_render] Loading failed.
[   0.227][v][libmpv_render] Loading hwdec driver 'drmprime-drm'
[   0.227][v][libmpv_render/drmprime-drm] Failed to retrieve DRM fd from native
display.
[   0.227][v][libmpv_render] Loading failed.
...
[   3.979][v][vd] Looking at hwdec hevc-nvdec...
[   3.979][v][vd] Could not create device.
[   3.979][v][vd] Looking at hwdec hevc-vaapi...
[   3.979][v][vd] Could not create device.
[   3.979][v][vd] Looking at hwdec hevc-vdpau...
[   3.979][v][vd] Could not create device.
[   3.979][v][vd] Looking at hwdec hevc-nvdec-copy...
[   3.980][e][ffmpeg] AVHWDeviceContext: Cannot load libcuda.so.1
[   3.980][e][ffmpeg] AVHWDeviceContext: Could not dynamically load CUDA
[   3.980][v][vd] Could not create device.
[   3.980][v][vd] Looking at hwdec hevc-vaapi-copy...
[   3.980][d][vaapi] libva: VA-API version 1.15.0
```

But when you set `vaapi` it uses software decoding.
```
[   0.230][v][libmpv_render] Loading hwdec driver 'vaapi-egl'
[   0.230][v][libmpv_render/vaapi-egl] VAAPI hwdec only works with OpenGL or
Vulkan backends.
[   0.230][v][libmpv_render] Loading failed.
[   0.230][v][libmpv_render] Loading hwdec driver 'cuda-nvdec'
[   0.230][v][libmpv_render/cuda-nvdec] Failed to load CUDA symbols
[   0.230][v][libmpv_render] Loading failed.
[   0.230][v][libmpv_render] Loading hwdec driver 'drmprime-drm'
[   0.230][v][libmpv_render/drmprime-drm] Failed to retrieve DRM fd from native
display.
[   0.230][v][libmpv_render] Loading failed.
...
[   4.016][v][vd] Looking at hwdec hevc-vaapi...
[   4.016][v][vd] Could not create device.
[   4.016][v][vd] No hardware decoding available for this codec.
[   4.016][v][vd] Using software decoding.
```

Why it does this I don't know. The documentation says that vaapi "requires
--vo=gpu or --vo=vaapi", but if I set `vo` to anything other than `libmpv` the
video plays in in another window or it won't play.

Also there are differences between using libmpv and embedding mpv (like
smplayer), like this https://github.com/mpv-player/mpv/issues/9417

Try logging mpv and see which hwdec mpv uses for auto and vaapi.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to