Fedora Chrome Google Meet slowness
Why?
Poor Google Meet / meeting performance when using Chrome on Fedora 36 with Wayland / Gnome. Specific hardware example Thinkpad T14s Gen2 with Gen 2 Thunderbolt dock and at least one screen at 4K. By poor - we are also implying a LOT of CPU load.
This is an amalgamation of various articles and a lot of faffing around from colleagues - so kudos to them.
Test Harness
For a little before and after with CPU load and performance testing a little Solar System rendered in GL by the nice people at NASA.
You can also check enabled settings, flags, and abillities at chrome://version and chrome://gpu repectfully.
Packages Installed
xorg-x11-drv-intel \
microcode_ctl \
libva-intel-hybrid-driver \
libva-intel-driver \
intel-mediasdk \
intel-media-driver \
intel-gmmlib \
intel-clear-sans-fonts \
mesa-dri-drivers \
mesa-vulkan-drivers
Flags within Chrome
Making settings within the application as follows - under chrome://flags
:
Override software rendering list: Enabled
GPU rasterization: Enabled
WebGL Draft Extensions: Enabled
Zero-copy rasterizer: Enabled
Vulkan: Enabled
Preferred Ozone platform: Wayland
Parallel downloading: Enabled
Hardware decode acceleration for k-SVC VP9: Enabled
Enables Display Compositor to use a new gpu thread: Enabled
Enable raw draw: Enabled
Application switches
Within the configuration the following starting flags:
Exec=/opt/google/chrome/google-chrome \
--ignore-gpu-blocklist \
--enable-oop-rasterization \
--enable-gpu-rasterization \
--enable-zero-copy \
--enable-features=VaapiVideoDecoder,VaapiVideoEncoder,CanvasOopRasterization \
--disable-features=UseChromeOSDirectVideoDecoder \
--use-gl=egl \
--ozone-platform-hint=wayland \
--disable-gpu-driver-bug-workarounds \
--enable-raw-draw \
--enable-hardware-overlays \
--use-vulkan
Which is all very well and good but where the HELL am I launching it from - amiright? Well - unless you have a local override - this this is probably your go to at /usr/share/applications/google-chrome.desktop
.
Assumptions
- Fedora 36
- Comparable Hardware
- Wayland
- One or more sreen(s) above 4K
- Thundbolt Dock in use
Issues
Backgrounds within Google Meet.
Initially, I was concerned that this had broken - stating that it was not possible. It was "not possible due to a lack of GL" functionallity. A link was provided to test the aforementioned functionality. Link showing everything was all kinds of suitably box ticked. Frustration ensued.
Fix occurred following an update to 105.0.5195.125 from chrome stable.