@mjevange yes, pipewire + xdg-desktop-portal is the way. I guess you could check the wiki's pages for both and check if everything is working well.
The vesktop.sh script reads the flags from ${XDG_CONFIG_HOME}/vesktop-flags.conf, but I'm pretty sure the flags from ${XDG_CONFIG_HOME}/electron-flags.conf are also used by Vesktop, that's where I'm putting my flags.
As for which flags, I think you should first check the wiki's hardware video acceleration page to be sure, and then the wiki's page for Chromium's hardware video acceleration.
I'm using these flags, but some are probably not needed, either because they apply to the browser instead or you don't have a use case for them:
--enable-features=AllowQt,CanvasOopRasterization,UseChromeOSDirectVideoDecoder,PlatformHEVCDecoderSupport,AcceleratedVideoEncoder,AcceleratedVideoDecodeLinuxGL,AcceleratedVideoDecodeLinuxZeroCopyGL,SkiaGraphite,UseVulkanForWebGL,Vulkan,DefaultANGLEVulkan,VulkanFromANGLE,VaapiVideoDecoder,VaapiIgnoreDriverChecks
--enable-blink-features=MiddleClickAutoscroll
--gtk-version=4
--enable-unsafe-webgpu
Pinned Comments
zxp19821005 commented on 2024-01-17 01:43 (UTC)
This package has renamed to vesktop-bin (https://aur.archlinux.org/packages/vesktop-bin).