| 19 Jan 2026 |
Sean | * but I'll report back if it doesn't (or if it does) | 15:35:44 |
magic_rb | hell yeah i need that | 15:42:23 |
magic_rb | idk if its what i was getting in bg3 yesterday, because normally that only happeens inside gamescope, but yesterday i was playing without | 15:42:50 |
Sean | if you want to fix the overlay lag for sure just use LD_PRELOAD="" | 15:55:54 |
Sean | that'll disable the overlay though | 15:56:04 |
Sean | this doesn't work | 15:59:11 |
| 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 |