!hzgkCxLtCOTmFXGauj:nixos.org

NixOS Gaming

612 Members
Gaming things, my hands are typing words.165 Servers

Load older messages


SenderMessageTime
17 Jun 2026
@atemu12:matrix.orgAtemuOh, and, apparently, it's already known: https://gitlab.freedesktop.org/mesa/mesa/-/work_items/1502523:32:05
18 Jun 2026
@c2fc2f:sagbot.comc2fc2f joined the room.13:42:27
19 Jun 2026
@marie:marie.cologneMarie https://github.com/containers/bubblewrap/issues/653
Does this fix the steamvr capability thing? If we add --not-a-security-boundary to steams fhsenv, once released?
08:31:34
@magic_rb:matrix.redalder.orgmagic_rbHoly shit fucking finally08:50:56
@magic_rb:matrix.redalder.orgmagic_rbIt should fix also the chromium in steamos thing iirc08:51:13
@atemu12:matrix.orgAtemuUnfortunately not because you need CAP_SYS_NICE in the root namespace15:03:16
@k900:0upti.meK900
In reply to @marie:marie.cologne
https://github.com/containers/bubblewrap/issues/653
Does this fix the steamvr capability thing? If we add --not-a-security-boundary to steams fhsenv, once released?
No, you can't gain capabilities inside a userns
15:11:43
@magic_rb:matrix.redalder.orgmagic_rbWe can do that with run0 no technically. Launch steam with cap_sys_nice, bwrap would then neatly pass it through15:13:29
@k900:0upti.meK900 As in the kernel won't let you 15:12:02
@magic_rb:matrix.redalder.orgmagic_rb * 15:14:07
@k900:0upti.meK900
In reply to @magic_rb:matrix.redalder.org
It should fix also the chromium in steamos thing iirc
I don't think it will either
15:12:54
@k900:0upti.meK900The real problem is that user namespaces are inherently no_new_privs15:13:11
@k900:0upti.meK900 Well you can do it to the entire Steam process tree yeah 15:13:50
@k900:0upti.meK900 Actually I'm not sure if you can even inherit capabilities into a userns 15:14:35
@k900:0upti.meK900 But maybe? 15:14:38
@atemu12:matrix.orgAtemuYou might in general but this one specifically, you can't15:16:35
@elvishjerricco:matrix.orgElvishJerricco 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? 15:16:41
@magic_rb:matrix.redalder.orgmagic_rbYeah thats what i thought. If the creator has nice, then anything in the ns should be able to15:17:51
@atemu12:matrix.orgAtemuYou'd think but no15:18:06
@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

Show newer messages


Back to Room ListRoom Version: 10