12 Jan 2025 |
Atemu | Was this always the case? | 16:27:42 |
K900 | I think I managed to get rid of gamescope-wsi which is the big reentrancy hazard | 16:29:05 |
K900 | At some point | 16:29:08 |
K900 | But honestly | 16:29:10 |
K900 | The more I think about it | 16:29:12 |
K900 | The more I am tempted to just nuke $out/usr/share/vulkan | 16:29:22 |
Atemu | $out/usr/share or just share? | 16:30:35 |
Atemu | Which packages are this? | 16:30:42 |
K900 | $out/usr/share at fhsenv build time | 16:30:57 |
Atemu | Ah | 16:31:07 |
Atemu | Can steamrt cope with layers not being in the fhs location? | 16:31:31 |
Atemu | What about other apps with a loader built in? | 16:31:48 |
K900 | There are none | 16:31:53 |
K900 | And yes it can | 16:32:01 |
K900 | It copes by not caring | 16:32:07 |
Atemu | Well it must let that location through into the sandbox | 16:32:36 |
Atemu | Isn't the loader typically built into the individual apps? (i.e. games) | 16:33:09 |
K900 | In reply to@atemu12:matrix.org Isn't the loader typically built into the individual apps? (i.e. games) Hell no | 16:33:31 |
K900 | Nothing ships its own vulkan-loader | 16:33:36 |
K900 | https://github.com/NixOS/nixpkgs/pull/373231 | 16:33:48 |
Atemu | If you don't think this could break anything, this lgtm | 16:45:09 |
Atemu | But it sounds like it'd break non-NixOS, so perhaps it should be an override option | 16:46:08 |
K900 | fhsenvs on non-nixos are already very broken | 16:47:35 |
Atemu | Are they? Never had that case I think | 16:48:01 |
K900 | Well no fhsenvs except Steam even have drivers in them | 16:49:39 |
Atemu | Hm good point | 16:50:27 |
K900 | Also I think this might actually be a red herring | 16:51:47 |
K900 | Kinda | 16:51:48 |
K900 | Because I can now crash the gamescope layer WITHOUT loading it twice | 16:52:00 |
Atemu | Igh | 17:00:55 |