| 19 Jan 2026 |
| Amadej Kastelic joined the room. | 18:27:07 |
| Amadej Kastelic set a profile picture. | 18:29:22 |
| Sapphire changed their profile picture. | 20:16:20 |
magic_rb | makes sense, as thats the default afaik, its why unset LD_PRELOAD works, it undoes that | 21:52:40 |
Alison Jenkins | I have found another fix that works in the last few days. Patching bubble wrap to allow caps and then enabling capSysNice for gamescope. | 22:26:07 |
Alison Jenkins | Still testing it though but so far so good, no stutter at all yet | 22:26:49 |
Atemu | That doesn't work though | 22:26:54 |
Atemu | You can't get that cap inside of a NS | 22:27:13 |
Atemu | Only in the root NS IIRC | 22:27:29 |
Atemu | IIRC it looks like you're getting it but cannot actually make use of it | 22:28:20 |
Alison Jenkins | https://github.com/alisonjenkins/nix-config/compare/main...fix/bubblewrap-steam | 22:29:09 |
Atemu | I don't remember the details but there's a (closed) issue where I figured that out | 22:29:12 |
Alison Jenkins | Have a play... Maybe I have accidentally disabled namespaces or something | 22:29:31 |
Atemu | It's an intentional kernel thing | 22:29:32 |
Alison Jenkins | Either way it is working | 22:29:37 |
Alison Jenkins | I have been playing games in a 2540x1440 borderless window on my 5440x1440 monitor like I like to so I can see discord and watch stuff at the same time with no stutter after 30m and am still able to make use of steam input unlike the LD_PRELOAD workaround | 22:32:10 |
Alison Jenkins | As I say though very much experimenting and probably has downsides and a lot of room for improvement | 22:33:07 |
Atemu | Have you ensured it actually caused the change? Stuff like stutter is super inconsistent and it's totally possible that it happened to not stutter because you started a new session where some other thing was slightly different. | 22:34:11 |
magic_rb | The issue isnt gaining caps. Its bwrap removing them | 22:34:48 |
Atemu | One easy means to verify would be to strip the cap again and see whether that actually still stutters | 22:35:12 |
magic_rb | Bwrap removes any caps it doesnt know | 22:35:16 |
magic_rb | Gamescope also tells you if it cant do realtime | 22:35:35 |
Alison Jenkins | In reply to @atemu12:matrix.org Have you ensured it actually caused the change? Stuff like stutter is super inconsistent and it's totally possible that it happened to not stutter because you started a new session where some other thing was slightly different. Still testing but I could consistently get the stutter problem if I didn't do the LD_PRELOAD="" without these patches. And enabling capSysNice on gamescope basically would break gamescope if launched from Steam. | 22:36:43 |
Atemu | Yes, that too. But the underlying issue is on the kernel level where IIRC, when inside a UserNS, you're not allowed to actually do the interesting SYS_NICE things that could DOS the root NS if misused.
I'm not clear on the details though and don't have the capacity; please read the issue.
| 22:38:57 |
Alison Jenkins | It would fail to get the capSysNice and abort meaning any game with gamescope in its launch options would fail to launch until you disabled capSysNice | 22:38:59 |
Atemu | That's just gamescope reacting to the cap query | 22:39:49 |
magic_rb | trust you 👍 guess i dont understand whats going on :P sorry | 22:39:58 |
Atemu | No, don't trust me | 22:40:10 |
magic_rb | dont tell me what to do, im about to go to sleep anyway | 22:40:29 |
Alison Jenkins | Snap just got into bed | 22:40:55 |