As of this post, Slack runs on XWayland by default. This poses an issue on HiDPI displays, where there are noticeable slowdowns.
Running on Wayland is a solution, but there are a couple of things that need addressing:
- The
wayland
socket needs to be passed--socket=wayland
- To run on Wayland,
--enable-features=UseOzonePlatform
and--ozone-platform=wayland
are required - Screen sharing is broken unless
WebRTCPipeWireCapturer
is added to--enable-features
(comma-separated) - According to https://www.reddit.com/r/swaywm/comments/nmssyq/comment/gzr3u5c/?utm_source=reddit&utm_medium=web2x&context=3,
--disable-gpu-memory-buffer-video-frames
is required to prevent crashes on start
This should make it boot.
Known issues:
- On Gnome Shell, the app window won't have a titlebar and it won't have borders; you can use the window management shortcuts (Meta + Up, Down, Left, Right) to maximize or tile it.
- If you receive a call on a direct message, the call prompt won't show. You will either need to start the call yourself or click the corresponding button on the chat window
The following command line arguments are optional:
--disable-smooth-scrolling
because I have a touchpad that works well, and I can't stand in-app "smooth" scrolling, especially when it can't run at 60fps--enable-gpu --ignore-gpu-blacklist --enable-gpu-rasterization --enable-native-gpu-memory-buffers
to force-enable the GPU (your mileage may vary, especially regarding stability)