| 2 Dec 2025 |
niklaskorz |
Apps running through Xwayland are strictly limited to sRGB too, even if they have the ability to work with ICC profiles, as they have the same problem as Wayland native apps: Outside of manual overrides with application settings there’s now way to tell them to use a specific ICC profile or colorspace, and there’s also no way for KWin to know which profile or colorspace the application is using. Even if you set an ICC profile with an application setting, KWin still doesn’t know about that, so the colors will be wrong.1
It would be possible to introduce an “API” using X11 atoms to make at least the basic arbitrary primaries + sRGB EOTF case work though, so if any developers of apps that are still stuck with X11 for the foreseeable future would be interested in that, please contact me about it!
| 11:40:26 |
niklaskorz |
While I already mentioned that Xwayland apps are restricted to sRGB, gamescope uses a Vulkan layer together with a custom Wayland protocol to bypass Xwayland almost entirely.
| 11:41:30 |
K900 | Oh wait no I'm wrong actually | 11:42:39 |
K900 | Kwin doesn't ship the cursed WSI | 11:42:42 |
K900 | So yes you either need nested gamescope <- gamescope WSI <- xwayland game | 11:43:16 |
K900 | Or wine-wayland which just does normal Wayland things | 11:43:35 |
niklaskorz | yup | 11:43:40 |
niklaskorz | and realistically speaking I don't see a need to change that, Proton Wayland worked well enough for the past few months that I'm sure it'll be ready for wider use in 2026 | 11:44:22 |
Sandro 🐧 | I had some issues with gamescope before. Depending on how you use it, it uses LD_PRELOAD which sometimes causes issues | 14:49:11 |
K900 | It doesn't anymore | 14:50:02 |
K900 | It used to leak it from steamrt sometimes but now it doesn't | 14:50:10 |
Sandro 🐧 | Mixing up gamescope with gamemode | 14:51:28 |
K900 | Oh, don't use gamemode, it's garbage | 14:51:49 |
niklaskorz | scx_bpfland combined with PROTON_CPU_TOPOLOGY (for 3D-cache reasons) has completely removed my need for gamemode | 14:58:55 |
Sandro 🐧 | any other recommendations to nice the game? | 15:13:30 |
K900 | Don't | 15:13:49 |
K900 | Mostly | 15:13:50 |
K900 | The kernel is generally perfectly capable of figuring out what a game is | 15:13:59 |
Sandro 🐧 | well, for anything audio it isn't. If you don't have polkit it is miserable. | 15:15:39 |
Sandro 🐧 | also I'd rather have Twitch lag than my game | 15:15:47 |
K900 | Do you mean rtkit | 15:16:38 |
K900 | And is your user in the pipewire group | 15:16:44 |
niklaskorz | I'd say try out scx_lavd or scx_bpfland if you haven't yet | 15:22:40 |
niklaskorz | afaik the Steam Deck also defaults to scx_lavd | 15:23:23 |
Marie | is that also the case for letting a game run only on the cores with bigger cache on X3D cpus? | 15:28:52 |
Marie | thats basically the only reason why i use gamemode | 15:29:09 |
K900 | ish | 15:29:55 |
K900 | The kernel will just generally prefer the big cache cores | 15:30:03 |
K900 | Unless configured to do the opposite | 15:30:07 |
K900 | It doesn't technically differentiate workloads but it also doesn't really need to | 15:30:40 |