!hzgkCxLtCOTmFXGauj:nixos.org

NixOS Gaming

436 Members
Gaming things, my hands are typing words.123 Servers

Load older messages


SenderMessageTime
2 Dec 2025
@niklaskorz:matrix.orgniklaskorz

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:matrix.orgniklaskorz

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:0upti.meK900 Oh wait no I'm wrong actually 11:42:39
@k900:0upti.meK900 Kwin doesn't ship the cursed WSI 11:42:42
@k900:0upti.meK900 So yes you either need nested gamescope <- gamescope WSI <- xwayland game 11:43:16
@k900:0upti.meK900 Or wine-wayland which just does normal Wayland things 11:43:35
@niklaskorz:matrix.orgniklaskorzyup11:43:40
@niklaskorz:matrix.orgniklaskorzand 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 202611:44:22
@sandro:supersandro.deSandro 🐧I had some issues with gamescope before. Depending on how you use it, it uses LD_PRELOAD which sometimes causes issues14:49:11
@k900:0upti.meK900 It doesn't anymore 14:50:02
@k900:0upti.meK900 It used to leak it from steamrt sometimes but now it doesn't 14:50:10
@sandro:supersandro.deSandro 🐧Mixing up gamescope with gamemode14:51:28
@k900:0upti.meK900 Oh, don't use gamemode, it's garbage 14:51:49
@niklaskorz:matrix.orgniklaskorz scx_bpfland combined with PROTON_CPU_TOPOLOGY (for 3D-cache reasons) has completely removed my need for gamemode 14:58:55
@sandro:supersandro.deSandro 🐧any other recommendations to nice the game?15:13:30
@k900:0upti.meK900Don't15:13:49
@k900:0upti.meK900Mostly15:13:50
@k900:0upti.meK900The kernel is generally perfectly capable of figuring out what a game is15:13:59
@sandro:supersandro.deSandro 🐧well, for anything audio it isn't. If you don't have polkit it is miserable. 15:15:39
@sandro:supersandro.deSandro 🐧also I'd rather have Twitch lag than my game15:15:47
@k900:0upti.meK900Do you mean rtkit15:16:38
@k900:0upti.meK900And is your user in the pipewire group15:16:44
@niklaskorz:matrix.orgniklaskorzI'd say try out scx_lavd or scx_bpfland if you haven't yet15:22:40
@niklaskorz:matrix.orgniklaskorzafaik the Steam Deck also defaults to scx_lavd15:23:23
@marie:marie.cologneMarie is that also the case for letting a game run only on the cores with bigger cache on X3D cpus? 15:28:52
@marie:marie.cologneMariethats basically the only reason why i use gamemode15:29:09
@k900:0upti.meK900 ish 15:29:55
@k900:0upti.meK900The kernel will just generally prefer the big cache cores15:30:03
@k900:0upti.meK900Unless configured to do the opposite15:30:07
@k900:0upti.meK900 It doesn't technically differentiate workloads but it also doesn't really need to 15:30:40

Show newer messages


Back to Room ListRoom Version: 10