Thanks for your kind and helpful reply Roger! It took me a few days to
find the time to test the various options systematically.
Your helpful remark
My GPU is AMD but according to Debian wiki VA-API is
also recommended for
Intel. You may need to install a *va-driver package appropriate for your
graphics device -
https://wiki.debian.org/HardwareVideoAcceleration#Intel helped me
find out that I need the i965-va-driver or non-free
i965-va-driver-shaders-shaders packages and that I should remove
i965-va-driver if in place because it will be given preference.
Furthermore the docs for these packages
https://packages.debian.org/trixie/intel-media-va-driver-non-free
indicates that my CPU platform (sandy bridge or ivy bridge) is not
supported by i965-va-driver.
Now I can run mpv with
vo=gpu
gpu-context=x11egl
hwdec=vaapi
profile=fast
and it will use about 38% cpu when windowed. CPU usage goes to a
whooping 230% across my four cores when in fullscreen, but without
namable drop-outs.
Trying profile=gpu-hq will however make fullscreen stutter heavily.
With the above successful config mpv nevertheless prints the warning
[vo/gpu/opengl] Suspected software renderer or indirect context.
which I don't really understand or which might be due to my hardware(?),
but at least things are working.
If there is any way to lower cpu usage in fullscreen further, it would
be great to find out.
Thanks again Roger!
best, Peter
* Roger <gurusonic(a)gmail.com> [2025-10-13 16:04]:
MPV in Debian is not configured to use hardware
acceleration by default. I
have this in my ~/.config/mpv/mpv.conf file and hardware decoding seems to
work fine:
/vo=gpu
profile=gpu-hq
hwdec=vaapi
# Required for hwdec=vaapi to work when using vo=gpu
gpu-context=x11egl /
/# Resample audio to catch up if audio/video go out of sync
video-sync=display-resample#Activate interpolation
interpolation=yes
#Interpolation method
# tscale=oversample #default/
/
/
Cheers, Roger
_______________________________________________
Linux-audio-user mailing list -- linux-audio-user(a)lists.linuxaudio.org
To unsubscribe send an email to linux-audio-user-leave(a)lists.linuxaudio.org