Hi there,
I usually append some flags to use Chromium-based browsers with Intel Vaapi and eventually put the flags in a specific files in order to automatically launch the browser with them.
How can I do this with Flatpaks?
Hi there,
I usually append some flags to use Chromium-based browsers with Intel Vaapi and eventually put the flags in a specific files in order to automatically launch the browser with them.
How can I do this with Flatpaks?
You can put them in (for example for Google chrome) ~/.var/app/com.google.Chrome/config/
for example i have my flags in ~/.var/app/com.google.Chrome/config/chrome-flags.conf
Flags for vaapi aren’t working, I can’t see acceleration being enabled
But probably it’s just the flags being updated/modified or wrong name for flags.conf or wrong flatpak runtime installed
Not sure about chromium but the file i guess should be chromium-flags.conf
I only have amd hardware so dont know if intel needs different flags. I can check my amd flags for my chrome little later if you want
So here are the flags that I use for my AMD machine to get hw accel to work in the chrome flatpak
--ignore-gpu-blocklist
--enable-zero-copy
--enable-features=MiddleClickAutoscroll
--use-gl=angle
--use-angle=vulkan
--enable-features=Vulkan,DefaultANGLEVulkan,VulkanFromANGLE,VaapiVideoDecodeLinuxGL,VaapiIgnoreDriverChecks,VaapiVideoEncoder,VaapiVideoDecoder
Brave, Intel+Nvidia hybrid laptop, AcceleratedVideoDecodeLinuxGL
is enough for me to get HW decoding.
@inffy I don’t know about all the flags as I don’t use them, but that VaapiVideoDecodeLinuxGL
flag was renamed to AcceleratedVideoDecodeLinuxGL
.
Thank you peeps.
For some strange reasons, this is the flag that works with Intel+Nvidia on my laptop:
--enable-features=AcceleratedVideoDecodeLinuxZeroCopyGL,AcceleratedVideoDecodeLinuxGL,AcceleratedVideoEncoder
I can double check with sudo intel_gpu_top and see that video acceleration is used.
chromium-flags.conf works for chromium
edge-flags.conf for edge
brave-flags.conf for brave