Chromium: Difference between revisions
→Installation: use manual template, make it NixOS specific |
→Enable GPU accelerated video decoding (VA-API): Copy edit, add working configuration |
||
Line 3: | Line 3: | ||
Add {{nixos:package|chromium}} to {{NixOS Manual|name=systemPackages|anchor=#sec-package-management}}. | Add {{nixos:package|chromium}} to {{NixOS Manual|name=systemPackages|anchor=#sec-package-management}}. | ||
== | == Accelerated video playback == | ||
Make sure [[Accelerated Video Playback]] is setup on the system properly. Check {{ic|chrome://gpu}} to see if Chromium has enabled hardware acceleration. | |||
If accelerated video playback is not working, check relevant flags at {{ic|chrome://flags}}, or enable them using the cli: | |||
{{file|/etc/nixos/configuration.nix|nix|<nowiki> | |||
{ | |||
environment.systemPackages = with pkgs; [ | |||
(chromium.override { | |||
commandLineArgs = [ | |||
"--enable-features=VaapiVideoDecodeLinuxGL" | |||
"--ignore-gpu-blocklist" | |||
"--enable-zero-copy" | |||
]; | |||
}) | |||
]; | |||
} | |||
</nowiki>}} | |||
== Gnome Shell extensions == | == Gnome Shell extensions == |