Skip to content

steam/proton: missing icd files for nvidia #134556

Closed

Description

@babbaj

Describe the bug

The vulkan icd files for nvidia are missing in steam and causes Black Ops III to not be able to launch properly

Steps To Reproduce

Steps to reproduce the behavior:

  1. run steam-run ls /usr/share/vulkan/icd.d/

on my machine I get:

[babbaj@nixos:~]$ steam-run ls /usr/share/vulkan/icd.d/
intel_icd.i686.json    lvp_icd.i686.json    radeon_icd.i686.json
intel_icd.x86_64.json  lvp_icd.x86_64.json  radeon_icd.x86_64.json

Expected behavior

nvidia_icd32.json and nvidia_icd.json should be present

Additional context

Running nvidia driver 470.57.02 on a gtx 970, running the nixos-unstable branch and I do not have an intel or amd gpu
@starcraft66 has a similar but working setup with a 1080 ti

Notify maintainers

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

 - system: `"x86_64-linux"`
 - host os: `Linux 5.10.57, NixOS, 21.11 (Porcupine)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.15`
 - channels(root): `"nixos-21.11pre309163.23485f23ff8, home-manager-21.05, master, nixos-stable-20.09, nixos-unstable-21.11pre309163.23485f23ff8"`
 - channels(babbaj): `""`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Maintainer information:

# a list of nixpkgs attributes affected by the problem
attribute:
  - steam
# a list of nixos modules affected by the problem
module:

Activity

  1. added
    0.kind: bug
    on Aug 17, 2021
  2. babbaj commented on Aug 18, 2021

    @babbaj
    ContributorAuthor

    it looks like the problem comes from mesa.drivers

  3. babbaj commented on Aug 19, 2021

    @babbaj
    ContributorAuthor

    looks like I slightly misidentified the cause but this isn't a new problem #108598 (comment)
    adding this to my config completely fixed it but I think a more general fix can be done with /run/opengl-driver/
    #108598 (comment)
    this is essentially a duplicate of #126428

  4. jonringer commented on Aug 21, 2021

    @jonringer
    Contributor

    It's not a complete duplicate, because the nvidia icd's only exist under /run/opengl-driver/share/vulkan/icd.d, so it's of no benefit that the mesa drivers are the ones that are listed

  5. jonringer commented on Apr 19, 2022

    @jonringer
    Contributor

    This was fixed in #161576

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: bug

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions