Skip to content

Commit

Permalink
Update flags
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnRTitor committed Mar 5, 2024
1 parent f19946a commit f8470f5
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,20 @@

# firefox, chrome from unstable are incompatible with stable
(google-chrome.override {
# enable video encoding and vulkan
commandLineArgs = "--enable-features=VaapiVideoEncoder";
# enable video encoding and vulkan, along with several
# suitable for my configuration
# change it if you have any issues
commandLineArgs = "--enable-accelerated-video-decode"
+ "--enable-accelerated-mjpeg-decode"
+ "--enable-features=CanvasOopRasterization,VaapiVideoEncoder"
+ "--enable-gpu-compositing"
+ "--enable-gpu-rasterization"
+ "--enable-native-gpu-memory-buffers"
+ "--enable-oop-rasterization"
+ "--canvas-oop-rasterization"
+ "--enable-raw-draw"
+ "--use-vulkan"
+ "--enable-zero-copy";
})
firefox-wayland

Expand Down

0 comments on commit f8470f5

Please sign in to comment.