feat(chrome): NVIDIA Wayland GPU acceleration for Chrome 148
Replace obsolete WebGPU flags with state-of-the-art NVIDIA VA-API hardware decode config for Chrome 148 on Wayland/Hyprland. - Disable seccomp sandbox to fix NVIDIA GBM "Permission denied" error - Disable VulkanFromANGLE/DefaultANGLEVulkan (incompatible with Wayland) - Force ANGLE->OpenGL backend to avoid Vulkan/Wayland conflicts - Enable modern VA-API flags: VaapiOnNvidiaGPUs, AcceleratedVideoDecodeLinux* - Add gnome-libsecret password store for gnome-keyring integration - Install libva-utils and libva-nvidia-driver packages - Update driver version to 580.159.03 in hardware inventory WebGPU remains hardware accelerated via ANGLE+OpenGL. Chrome verified working with full video decode acceleration (H.264, VP9, HEVC) via NVDEC.
This commit is contained in:
@@ -64,6 +64,9 @@
|
||||
- f3d
|
||||
# Terminal
|
||||
- kitty
|
||||
# NVIDIA VA-API video decode for Chrome on Wayland
|
||||
- libva-utils
|
||||
- libva-nvidia-driver
|
||||
state: present
|
||||
|
||||
- name: Ensure Node.js global CLI tools are installed
|
||||
@@ -116,18 +119,20 @@
|
||||
- code-marketplace
|
||||
state: absent
|
||||
|
||||
- name: Configure Chrome flags for WebGPU
|
||||
- name: Configure Chrome flags for NVIDIA Wayland acceleration
|
||||
copy:
|
||||
dest: "/home/{{ system_user }}/.config/chrome-flags.conf"
|
||||
content: |
|
||||
--enable-unsafe-webgpu
|
||||
--enable-vulkan
|
||||
--enable-features=Vulkan
|
||||
--ignore-gpu-blocklist
|
||||
--ozone-platform=wayland
|
||||
--disable-seccomp-filter-sandbox
|
||||
--disable-features=Vulkan,VulkanFromANGLE,DefaultANGLEVulkan
|
||||
--use-angle=gl
|
||||
--enable-features=VaapiOnNvidiaGPUs,VaapiIgnoreDriverChecks,AcceleratedVideoDecodeLinuxZeroCopyGL,AcceleratedVideoDecodeLinuxGL
|
||||
--password-store=gnome-libsecret
|
||||
owner: "{{ system_user }}"
|
||||
group: "{{ system_user }}"
|
||||
mode: '0644'
|
||||
tags: [chrome, webgpu]
|
||||
tags: [chrome, nvidia, wayland]
|
||||
|
||||
- name: Fix kitty cursor keys by removing TERM override in .bashrc
|
||||
ansible.builtin.lineinfile:
|
||||
|
||||
Reference in New Issue
Block a user