Skip to content

Vulkan disabled in chromium: Couldn't open libvulkan.so.1 #150398

Description

@robert-elles

Describe the bug

Even when vulkan is installed and working, opening chromium and going to chrome://gpu shows vulkan is disabled. Also chromium logs the following warning:
Warning: Couldn't open libvulkan.so.1 Info: Couldn't load Vulkan at LoadVulkan (../../third_party/dawn/src/dawn_native/vulkan/BackendVk.cpp:135) at Initialize (../../third_party/dawn/src/dawn_native/vulkan/BackendVk.cpp:139)
Running vulkaninfo confirms that vulkan is installed properly and working.

Steps To Reproduce

  1. confirm vulkan is installed and working with running vulkaninfo
  2. open chromium and go to chrome://gpu check if vulkan is enabled or disabled.

Expected behavior

vulakn is enabled in chrome://gpu

Notify maintainers

@ncfavier
@tnias
@davidak

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.81, NixOS, 21.11 (Porcupine)
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.3.16
  • channels(robert): ""
  • channels(root): "nixos-21.11.334139.1bd4bbd49be"
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Maintainer information:

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions