fastfetch icon indicating copy to clipboard operation
fastfetch copied to clipboard

[BUG] Incorrect GPU information

Open Dandandooo opened this issue 1 year ago • 3 comments

General description of bug:

Fastfetch is assuming my GPU is integrated. My CPU doesn't have integrated graphics. Neofetch gets the information correct. I have a Ryzen 9 5900X and a Radeon RX 6950 XT, not integrated graphics.

Often helpful information:

Screenshot:

❯ fastfetch
          ▗▄▄▄       ▗▄▄▄▄    ▄▄▄▖             dani@nixxie
          ▜███▙       ▜███▙  ▟███▛             -----------
           ▜███▙       ▜███▙▟███▛              OS: NixOS 24.05.20240422.1e1dc66 (Uakari) x86_64
            ▜███▙       ▜██████▛               Host: B450M DS3H
     ▟█████████████████▙ ▜████▛     ▟▙         Kernel: 6.6.28
    ▟███████████████████▙ ▜███▙    ▟██▙        Uptime: 7 hours, 30 mins
           ▄▄▄▄▖           ▜███▙  ▟███▛        Packages: 1522 (nix-system), 403 (nix-user)
          ▟███▛             ▜██▛ ▟███▛         Shell: fish 3.7.1
         ▟███▛               ▜▛ ▟███▛          Display (MSI G321CU): 3840x2160 @ 60Hz
▟███████████▛                  ▟██████████▙    Display (MSI G321CU): 3840x2160 @ 60Hz [External]
▜██████████▛                  ▟███████████▛    WM: Hyprland (Wayland)
      ▟███▛ ▟▙               ▟███▛             Terminal: .kitty-wrapped
     ▟███▛ ▟██▙             ▟███▛              CPU: AMD Ryzen 9 5900X (24) @ 4.95 GHz
    ▟███▛  ▜███▙           ▝▀▀▀▀               GPU: AMD  [Integrated]
    ▜██▛    ▜███▙ ▜██████████████████▛         Memory: 5.61 GiB / 31.28 GiB (18%)
     ▜▛     ▟████▙ ▜████████████████▛          Swap: Disabled
           ▟██████▙       ▜███▙                Disk (/): 118.47 GiB / 233.17 GiB (51%) - ext4
          ▟███▛▜███▙       ▜███▙               Local IP (enp5s0): 10.254.254.162/24 *
         ▟███▛  ▜███▙       ▜███▙              Locale: en_US.UTF-8
         ▝▀▀▀    ▀▀▀▀▘       ▀▀▀▘
                                               ████████████████████████
                                               ████████████████████████
❯ neofetch
          ▗▄▄▄       ▗▄▄▄▄    ▄▄▄▖            dani@nixxie 
          ▜███▙       ▜███▙  ▟███▛            ----------- 
           ▜███▙       ▜███▙▟███▛             OS: NixOS 24.05.20240422.1e1dc66 (Uakari) x86_64 
            ▜███▙       ▜██████▛              Host: Gigabyte Technology Co., Ltd. B450M DS3H-CF 
     ▟█████████████████▙ ▜████▛     ▟▙        Kernel: 6.6.28 
    ▟███████████████████▙ ▜███▙    ▟██▙       Uptime: 7 hours, 30 mins 
           ▄▄▄▄▖           ▜███▙  ▟███▛       Packages: 1869 (nix-system), 452 (nix-user) 
          ▟███▛             ▜██▛ ▟███▛        Shell: fish 3.7.1 
         ▟███▛               ▜▛ ▟███▛         Resolution: 3840x2160, 3840x2160 
▟███████████▛                  ▟██████████▙   DE: Hyprland (Wayland) 
▜██████████▛                  ▟███████████▛   Terminal: kitty 
      ▟███▛ ▟▙               ▟███▛            Terminal Font: CaskaydiaCove NF SemiBold 15.0 
     ▟███▛ ▟██▙             ▟███▛             CPU: AMD Ryzen 9 5900X (24) @ 3.700GHz 
    ▟███▛  ▜███▙           ▝▀▀▀▀              GPU: AMD ATI Radeon RX 6950 XT 
    ▜██▛    ▜███▙ ▜██████████████████▛        Memory: 5751MiB / 32035MiB 
     ▜▛     ▟████▙ ▜████████████████▛
           ▟██████▙       ▜███▙                                       
          ▟███▛▜███▙       ▜███▙                                      
         ▟███▛  ▜███▙       ▜███▙
         ▝▀▀▀    ▀▀▀▀▘       ▀▀▀▘

The content of the configuration file you use (if any):

I use the default (I think)

Output of fastfetch -c ci.jsonc --format json:

//It has sensitive information so I'm not putting it here

Output of fastfetch --list-features:

❯ fastfetch --list-features
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

Dandandooo avatar May 05 '24 03:05 Dandandooo

See https://github.com/NixOS/nixpkgs/issues/308849

You need to upgrade fastfetch to 2.11.3 from Nix's official repo. Downloading binaries from release page of fastfetch won't work.

CarterLi avatar May 05 '24 03:05 CarterLi

I used home-manager to install the package.

Dandandooo avatar May 05 '24 03:05 Dandandooo

How you installed the package doesn't matter, but you need to install the latest version of fastfetch that built by Nix's official package manager, due to the nonstandard file system structure of NixOS

CarterLi avatar May 05 '24 03:05 CarterLi