You are not logged in.
Hi all, i got a laptop with an Iris Xe (13th gen) and an NVidia 5050. I got the hw acceleration working with mpv but it has this strange behaviour:
mpv --hwdec=auto -> uses nvdec, works
mpv --hwdec=vaapi-copy -> uses vaapi-copy, works
mpv --hwdec=vaapi -> error (log here https://pastebin.com/by6rtQHb )
While I use firefox and watching a 4k video the CPU usage is high (30 to 70% on an i9 13 gen cpu) BUT checking with intel gpu top the GPU usage for video is 2 to 5 %. (I'm not sure it's working properly tbh)
In chrome if I check with chrome/gpu it shows hw acceleration is working BUT while playing a video it is not working (checking from devtools->media)
I'm using nvidia-open drivers as the GPU is supported only by them.
Drivers installed: (sorry if i added something unrelated, I asked AI to filter em from installed packages)
intel-gpu-tools, intel-media-driver, intel-ucode, lib32-vulkan-intel, libva-utils, mesa-utils, nvidia-open, nvidia-prime, nvidia-settings, nvidia-utils, vpl-gpu-rt, vulkan-intel, vulkan-tools, xf86-video-vesa
vainfo output: https://pastebin.com/FGnCwRAe
Last edited by thatisjigen (2025-09-29 11:26:36)
Offline
For mpv two options:
mpv --hwdec=vaapi --gpu-api=opengl
VK_DRIVER_FILES=/usr/share/vulkan/icd.d/intel_icd.x86_64.json:/usr/share/vulkan/icd.d/intel_icd.i686.json mpv --hwdec=vaapiFor chromium: create ~/.config/chromium-flags.conf and put
--enable-features=AcceleratedVideoDecodeLinuxGLthere
In firefox HW acceleration should work out-of-the-box
Offline
For mpv two options:
mpv --hwdec=vaapi --gpu-api=opengl VK_DRIVER_FILES=/usr/share/vulkan/icd.d/intel_icd.x86_64.json:/usr/share/vulkan/icd.d/intel_icd.i686.json mpv --hwdec=vaapiFor chromium: create ~/.config/chromium-flags.conf and put
--enable-features=AcceleratedVideoDecodeLinuxGLthere
In firefox HW acceleration should work out-of-the-box
thanks, I was searching for flags but everyone I found wasn't working, maybe they've been replaced.
Offline