!hzgkCxLtCOTmFXGauj:nixos.org

NixOS Gaming

581 Members
Gaming things, my hands are typing words.156 Servers

Load older messages


SenderMessageTime
19 Jun 2026
@atemu12:matrix.orgAtemuAnd it's intentional15:18:16
@magic_rb:matrix.redalder.orgmagic_rb:(15:18:32
@k900:0upti.meK900
In reply to @elvishjerricco:matrix.org
isn't the whole point of user namespaces that you get all capabilities, they're just scoped by the ones the creator had in the parent namespace?
I don't think so
15:18:32
@k900:0upti.meK900 Not when you're doing UID remapping 15:18:41
@k900:0upti.meK900 Which we are 15:18:44
@magic_rb:matrix.redalder.orgmagic_rbSo what is the solution to our nice problem, rtkit?15:18:55
@atemu12:matrix.orgAtemuLong story short: Your options are either to patch your graphics driver to not require the cap for high-prio queues or use Monado15:19:11
@magic_rb:matrix.redalder.orgmagic_rbCause if im to port jovian to the frame, ill need some other solution15:19:30
@elvishjerricco:matrix.orgElvishJerricco
$ unshare -Uc --keep-caps setpriv -dd | rg -o sys_nice
sys_nice
sys_nice
sys_nice
sys_nice
sys_nice

also works with -r instead of -c

15:19:37
@magic_rb:matrix.redalder.orgmagic_rbFucking if i have to patch the kernel, so be it15:19:42
@elvishjerricco:matrix.orgElvishJerricco you definitely have the cap 15:19:43
@k900:0upti.meK900
In reply to @magic_rb:matrix.redalder.org
So what is the solution to our nice problem, rtkit?
Wait for kernel to get proper DRM scheduling priorities and then rtkit
15:19:43
@elvishjerricco:matrix.orgElvishJerriccoI just dunno if that cap is usable for anything meaningful15:20:11
@k900:0upti.meK900 I'm not sure what the Frame will do but I don't think Adreno even has priority contexts 15:20:15
@atemu12:matrix.orgAtemuI used to do the former but recently found out that the latter is feasible these days as Monado has a STEAMVR_LH driver15:20:34
@magic_rb:matrix.redalder.orgmagic_rb(I hope youve time k900, ill need your help for the port, i cant do it by myself)15:20:52
@elvishjerricco:matrix.orgElvishJerricco what do you mean? I think the only way this affects it is that commands like unshare typically drop the caps, but they don't have to (--keep-caps) 15:21:02
@atemu12:matrix.orgAtemuNot for high-prio queues.15:21:03
@magic_rb:matrix.redalder.orgmagic_rbSTEAMVR_LH15:21:17
@k900:0upti.meK900
In reply to @atemu12:matrix.org
Not for high-prio queues.
Hmm, I'm starting to wonder actually
15:21:19
@k900:0upti.meK900 This may work 15:21:26
@magic_rb:matrix.redalder.orgmagic_rb * 15:21:27
@atemu12:matrix.orgAtemuThese things are nasty in theory as they can drown out MM15:21:37
@k900:0upti.meK900 Maybe with an upstreamable kernel patch 15:21:38
@atemu12:matrix.orgAtemuNah, upstream doesn't want any of that15:21:57
@k900:0upti.meK900But also I'm kinda holding out for Valve to figure something out15:22:06
@atemu12:matrix.orgAtemuThey think that even SYS_NICE is too lenient15:22:11
@k900:0upti.meK900 Because in a steamrt3 world they will have the same problem 15:22:17
@elvishjerricco:matrix.orgElvishJerriccowhat kernel patch is needed there?15:22:20
@magic_rb:matrix.redalder.orgmagic_rbWhy?15:22:32

Show newer messages


Back to Room ListRoom Version: 10