Closed attilaolah closed 6 months ago
Seems nix doesn't use standard unix paths, so that fastfetch failed to find some important files. What do find / -name pci.ids
and find / -name amdgpu.ids
print?
You may use fastfetch --gpu-force-vulkan
as a workaround for now.
./nix/store/3c8nq431csyqkyj0gwhb5iqr4caljlv3-system-path/share/pci.ids
./nix/store/50c3kvhrjzr57j4fs1ilnj0zj070zbbx-hwdata-0.376/share/hwdata/pci.ids
./nix/store/qbi10b9c4idvydmbvp6yhdv512j8dqbs-pciutils-3.10.0/share/pci.ids
find: ‘./nix/.rw-store/work’: Permission denied
./nix/.ro-store/3c8nq431csyqkyj0gwhb5iqr4caljlv3-system-path/share/pci.ids
./nix/.ro-store/50c3kvhrjzr57j4fs1ilnj0zj070zbbx-hwdata-0.376/share/hwdata/pci.ids
./nix/.ro-store/qbi10b9c4idvydmbvp6yhdv512j8dqbs-pciutils-3.10.0/share/pci.ids
The paths are so weird that I really don't know how to handle them. I need some explainations from a nix expert.
Closing in favor of https://github.com/NixOS/nixpkgs/issues/308849
I also noticed my discrete gpu (nvidia) is not detected lately. This workaround also works for me.
Hey, sorry for not tending back to this issue. Indeed, on NixOS all those files are expected to be in the Nix store, not in a well known location. The solution should indeed be to point to the right location when building for Nix, thanks for linking to the relevant NixOS bug.
I should also confirm that with the latest package update on NixOS, the AMD GPU is detected properly.
:tada:
General description of bug:
fastfetch 2.10.2 (x86_64)
Often helpful information:
GPU reported by:
screenfetch
(probably the most correct)neofetch
(still right but less useful)fastfetch
2.10.2fastfetch
from git headOutput of
fastfetch -c ci.jsonc --format json
:threads vulkan wayland xcb-randr xcb xrandr x11 gio dconf dbus imagemagick7 chafa zlib xfconf sqlite3 egl glx opencl libpulse libnm libddcutil videodev2 Proprietary GPU driver API System yyjson