Skip to content

Fix nvidia vulkan steam - #161576

Merged
jonringer merged 2 commits into
NixOS:masterfrom
jonringer:fix-nvidia-vulkan-steam
Feb 24, 2022
Merged

jonringer merged 2 commits into
NixOS:masterfrom
jonringer:fix-nvidia-vulkan-steam

Conversation

@jonringer

@jonringer jonringer commented Feb 23, 2022 •

Copy link
Copy Markdown
Contributor
Motivation for this change

fix nvidia icd. This is a much less opinionated version of #157907

fixes regressions from: #158276

Tests:

  • Launched Dota 2 using native vulkan pipeline.

To test:

# close existing steam session
NIXPKGS_ALLOW_UNFREE=1 nix run github:jonringer/nixpkgs/fix-nvidia-vulkan-steam#steam
Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 22.05 Release Notes (or backporting 21.11 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
    • (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes
  • Fits CONTRIBUTING.md.

@github-actions github-actions Bot added the 6.topic: steam Steam game store/launcher (store.steampowered.com) label Feb 23, 2022
@ofborg ofborg Bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 101-500 This PR causes between 101 and 500 packages to rebuild on Linux. labels Feb 23, 2022
@jonringer

jonringer commented Feb 23, 2022 •

Copy link
Copy Markdown
Contributor Author

Most of the rebuilds are from the nvidia driver changes. But hydra wont build it anyway, so people wont be aware until they upgrade

@jonringer

Copy link
Copy Markdown
Contributor Author

@tejing1 can you test for any AMD regressions. Otherwise this seems to be an improvement for nvidia users.

@tejing1

tejing1 commented Feb 23, 2022

Copy link
Copy Markdown
Contributor

@tejing1 can you test for any AMD regressions. Otherwise this seems to be an improvement for nvidia users.

I'm on nvidia, not amd. Probably got me confused with someone else.

@jonringer

jonringer commented Feb 23, 2022 •

Copy link
Copy Markdown
Contributor Author

@tejing1 can you test for any AMD regressions. Otherwise this seems to be an improvement for nvidia users.

I'm on nvidia, not amd. Probably got me confused with someone else.

Yea, probably. Sorry

@Artturin

Copy link
Copy Markdown
Member

I have a amd vega64, I'll test when I'm home

@Artturin Artturin left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i don't think i have any vulkan games installed so i just tried launching enter the gungeon and it worked

EDIT currently downloading superliminal which is a vulkan game

EDIT: superliminal launches

@jansol jansol left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Talos Principle (native Linux, Vulkan) works on AMD. DotA 2 segfaults in libtier0.so which seems unrelated to this change.

@Flakebi

Flakebi commented Feb 28, 2022

Copy link
Copy Markdown
Member

Nice! I like that this does not set VK_ICD_FILENAMES anymore (and thus allows to overwrite it when starting steam) :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: steam Steam game store/launcher (store.steampowered.com) 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 101-500 This PR causes between 101 and 500 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants