NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.07k stars 14.13k forks source link

Setting libglvnd as a opengl driver does not put other OpenGL drivers in /run/opengl-driver #87470

Open uzytkownik opened 4 years ago

uzytkownik commented 4 years ago

Describe the bug Ideally if libglvnd is set as opengl driver the necessary files from other drivers should be available. I haven't check in details but it seems that at least DRI is missing from /run/opengl-driver while X11 is trying to look for it there.

To Reproduce Steps to reproduce the behavior:

  1. Set libglvnd as default opengl driver
  2. Start X

Expected behavior X11 starts (assuming drivers are available)

Screenshots N/A (X11 starts but it has not HW acceleration due to lack of dri)

Notify maintainers @FRidh

error: attribute 'maintainers' in selection path 'nixpkgs.libglvnd.meta.maintainers' not found

Metadata

these paths will be fetched (0.05 MiB download, 0.28 MiB unpacked):
  /nix/store/hzrq5ccamfkwdkl9gqqsh3ryprzvs044-bash-interactive-4.4-p23-dev
copying path '/nix/store/hzrq5ccamfkwdkl9gqqsh3ryprzvs044-bash-interactive-4.4-p23-dev' from 'https://cache.nixos.org'...
 - system: `"x86_64-linux"`
 - host os: `Linux 5.4.39, NixOS, 20.03.1795.d6c1b566b77 (Markhor)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.4`
 - channels(mpiechotka): `""`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

To be filled (I rebooted to my old system)

Maintainer information:

module: libglvnd
uzytkownik commented 4 years ago

I think I misunderstood configuration. The nvidia_x11 already use libglvnd but it requires adding:

hardware.opengl.extraPackages = [ pkgs.mesa_drivers ];

to support iGPU.

stale[bot] commented 3 years ago

I marked this as stale due to inactivity. → More info