[LAU] Re: mpv video frontend woes with i915 on Debian

"Peter P." <peterparker-97jfqw80gc5Wk0Htik3J/[email protected]>
Newsgroups gmane.linux.audio.users
Message-ID <i3b4bhhfk4fozmktfq6o4t4ujff5l4p75iuugeyqhkqkoaofvh@lnc4m3gotj67>
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 <[email protected]> [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-cunTk1MwBs/[email protected]
> To unsubscribe send an email to linux-audio-user-leave-cunTk1MwBs/[email protected]
_______________________________________________
Linux-audio-user mailing list -- linux-audio-user-cunTk1MwBs/[email protected]
To unsubscribe send an email to linux-audio-user-leave-cunTk1MwBs/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.