Repository navigation
Conversation
This was causing different behavior between steam-run and steam.
|
Result of 57 packages skipped due to time constraints:
7 packages built successfully:
|
|
Oh cool, this looks like it might be a cleaner solution than my PR. I'll try and test this later. Also, would the 32 bit files (under /run/opengl-driver-32) need to be mounted this way as well? |
Currently no, The unfortunate reality is that the file is named the same |
|
Field report: with this patch applied (in particular 98014f0), Satisfactory doesn't start any more. It pops up an error Dialog: That's with |
Are you running an AMD, NVIDIA, or Intel GPU? |
Nvidia legacy 470: https://github.com/bendlas/nixos-config/blob/6f6d1c7e0ab1cf6f242d3be2afd5165b96c98803/nitox.nix#L108 |
|
I’m not familiar with the steam sandboxes, but does Vulkan work on your host system? I.e. |
Correct |
|
seems this is already the case: |
For reference, in case this change gets resurrected as a result of ValveSoftware/Dota-2#2018, there are basically three ways to do multilib/multiarch Vulkan drivers:
I agree that the way Mesa does it (option 1) is likely to be easiest for an OS distributor. Option 2a might not be an option on NixOS in general, but for the FHS-like container that is used to run Steam, it could probably be made to work. Option 2b might not work on NixOS, it depends how you configure glibc. It would only work if |
|
As a follow up, our Edit: Related PR #164206 |
Motivation for this change
Another alternative solution to #130984, just mount the system ICDs (if they exist) at the default location. If there aren't any, then it will revert to the existing Mesa drivers brought in by steamfhs
This should inherit the behavior of the system, and avoid trying to load ICDs which may or may not exist.
overlaps with: #126435
may solve: #126428
closes: #134556
Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"./result/bin/)