fastfetch: Newest version manually build from Git detects wrong stuff

Personal Note:

I will include output for both versions, so be careful which one you read. In general the output of the new version is wrong, run as ./fastfetch for custom build and the one with package manager as \fastfetch or just fastfetch. I also want to mention that maybe the AUR package installs all packages that is needed, while when I build my own the optional packages are not installed and therefore missing correct output, maybe?

General description of bug:

  • What happened: Output of my native installed version from AUR/Git does not match the manually compiled version. The new manual compiled version from newest Git has wrong output.
  • What should happen: The output should be correct.
  • Did it work in an older version: 1.12.2 (x86_64)
  • Where did you get the binary: 1. Installed with a package manager ( https://aur.archlinux.org/packages/fastfetch ) and 2. Built from source yourself (git clone and cmake)
  • Does this issue still occurs in the latest dev build?: I used git clone to download current build.

Often helpful information:

Output of fastfetch --version: fastfetch 1.12.2-301 (x86_64)

$ ./fastfetch -l none
tuncay@DOOM
-----------
OS: EndeavourOS x86_64
Kernel: 6.1.38-1-lts
Uptime: 2 days, 53 mins
Packages: 1131 (pacman), 29 (flatpak)
Shell: bash 5.1.16
Display (DP-0): 2560x1440 @ 120Hz
DE: Gnome
WM: Qtile (X11)
Theme: Adwaita [GTK2/3/4]
Icons: Adwaita [GTK2/3/4]
Font: Cantarell (11pt) [GTK2/3/4]
Cursor: Adwaita (24px)
Terminal: xfce4-terminal 1.0.4
Terminal Font: Cascadia Code (13pt)
CPU: Intel(R) Xeon(R) E3-1230 v3 (8) @ 3.7 GHz
GPU: NVIDIA GeForce GTX 1070 (288.00 MiB) [Integrated]
Memory: 4.14 GiB / 15.57 GiB (26%)
Disk (/): 121.87 GiB / 227.21 GiB (53%) - ext4
Disk (/media/Backup): 175.71 GiB / 916.70 GiB (19%) - ext4
Disk (/media/Emulation): 4.57 TiB / 5.41 TiB (84%) - ext4
Disk (/media/My): 1.21 TiB / 3.58 TiB (33%) - ext4
Disk (/media/System): 432.28 GiB / 915.82 GiB (47%) - ext4
Locale: en_US.UTF-8

For comparison output from package manager installed native version, how it should be. In example in the Git version above DE, Theme, Cursor and stuff is wrong, especially the graphics card is seen as [Integrated] with only 288.00 MiB. Below the old version has correct output.

Output of fastfetch --version: fastfetch 1.12.2 (x86_64)

$ \fastfetch -l none
tuncay@DOOM
-----------
OS: EndeavourOS x86_64
Kernel: 6.1.38-1-lts
Uptime: 2 days, 52 mins
Packages: 1131 (pacman), 29 (flatpak)
Shell: bash 5.1.16
Display: 2560x1440 @ 120Hz
DE: qtile
WM: Qtile 0.22.1 (X11)
Theme: Arc-Dark [GTK2/3]
Icons: Qogir-dark [GTK2/3]
Font: Cascadia Code (12pt) [GTK2/3]
Cursor: Qogir (0px)
Terminal: xfce4-terminal 1.0.4
Terminal Font: Cascadia Code (13pt)
CPU: Intel(R) Xeon(R) E3-1230 v3 (8) @ 3.7 GHz
GPU: NVIDIA GeForce GTX 1070
Memory: 4.12 GiB / 15.57 GiB (26%)
Disk (/): 122 GiB / 227 GiB (53%)
Disk (/media/Backup): 176 GiB / 917 GiB (19%)
Disk (/media/Emulation): 5 TiB / 5 TiB (84%)
Disk (/media/My): 1 TiB / 4 TiB (33%)
Disk (/media/System): 432 GiB / 916 GiB (47%)
Locale: en_US.UTF-8

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

//paste here

I will put output of both versions.

Output of env NO_CONFIG=1 fastfetch --load-config all --show-errors --stat --multithreading false --disable-linewrap false --hide-cursor false:

$ \fastfetch --version
fastfetch 1.12.2 (x86_64)
$ env NO_CONFIG=1 fastfetch --load-config all --show-errors --stat --multithreading false --disable-linewrap false --hide-cursor false
                     ./o.                   tuncay@DOOM                                                                                                                                                                                                   0ms
                   ./sssso-                 -----------                                                                                                                                                                                                   0ms
                 `:osssssss+-               OS: EndeavourOS x86_64                                                                                                                                                                                        0ms
               `:+sssssssssso/.             Host: neither product_family nor product_name is set by O.E.M.                                                                                                                                                1ms
             `-/ossssssssssssso/.           Bios: 4.6                                                                                                                                                                                                     0ms
           `-/+sssssssssssssssso+:`         Board: Z97 Extreme6                                                                                                                                                                                           0ms
         `-:/+sssssssssssssssssso+/.        Chassis: 3                                                                                                                                                                                                    0ms
       `.://osssssssssssssssssssso++-       Kernel: 6.1.38-1-lts                                                                                                                                                                                          0ms
      .://+ssssssssssssssssssssssso++:      Uptime: 2 days, 1 hour, 55 mins                                                                                                                                                                               0ms
    .:///ossssssssssssssssssssssssso++:     Processes: 1036                                                                                                                                                                                               0ms
  `:////ssssssssssssssssssssssssssso+++.    Packages: 1131 (pacman), 29 (flatpak)                                                                                                                                                                         0ms
`-////+ssssssssssssssssssssssssssso++++-    Shell: bash 5.1.16                                                                                                                                                                                           27ms
 `..-+oosssssssssssssssssssssssso+++++/`    Display: 2560x1440 @ 120Hz                                                                                                                                                                                   11ms
   ./++++++++++++++++++++++++++++++/:.      Brightness: No result is detected.                                                                                                                                                                            0ms
  `:::::::::::::::::::::::::------``        DE: qtile                                                                                                                                                                                                     0ms
                                            WM: Qtile 0.22.1 (X11)                                                                                                                                                                                        0ms
                                            WM Theme: Unknown WM: Qtile 0.22.1                                                                                                                                                                            0ms
                                            Theme: Arc-Dark [GTK2/3]                                                                                                                                                                                      0ms
                                            Icons: Qogir-dark [GTK2/3]                                                                                                                                                                                    0ms
                                            Font: Cascadia Code (12pt) [GTK2/3]                                                                                                                                                                           0ms
                                            Cursor: Qogir (0px)                                                                                                                                                                                           0ms
                                            Wallpaper: Failed to detect the current wallpaper path                                                                                                                                                        0ms
                                            Terminal: xfce4-terminal 1.0.4                                                                                                                                                                                0ms
                                            Terminal Font: Cascadia Code (13pt)                                                                                                                                                                           0ms
                                            CPU: Intel(R) Xeon(R) E3-1230 v3 (8) @ 3.7 GHz                                                                                                                                                                1ms
                                            CPU Usage: 19%                                                                                                                                                                                                0ms
                                            GPU: NVIDIA GeForce GTX 1070                                                                                                                                                                                  7ms
                                            Memory: 4.23 GiB / 15.57 GiB (27%)                                                                                                                                                                            0ms
                                            Swap: 0 B / 512.00 MiB (0%)                                                                                                                                                                                   0ms
                                            Disk (/): 122 GiB / 227 GiB (53%)
                                            Disk (/media/Backup): 176 GiB / 917 GiB (19%)
                                            Disk (/media/Emulation): 5 TiB / 5 TiB (84%)
                                            Disk (/media/My): 1 TiB / 4 TiB (33%)
                                            Disk (/media/System): 432 GiB / 916 GiB (47%)                                                                                                                                                                 0ms
                                            Battery: batteryDir doesn't contain any battery folder                                                                                                                                                        0ms
                                            Power Adapter: Not supported on this platform                                                                                                                                                                 0ms
                                            Media Player: No media found                                                                                                                                                                                  2ms
                                            Media: No media found                                                                                                                                                                                         0ms
                                            Public IP: 77.11.111.194                                                                                                                                                                                    164ms
                                            Local IP (enp0s25): 192.168.1.83                                                                                                                                                                              0ms
                                            Wifi: No Wifi interfaces found                                                                                                                                                                               14ms
                                            Date & Time: 2023-07-10 11:01:36                                                                                                                                                                              1ms
                                            Locale: en_US.UTF-8                                                                                                                                                                                           0ms
                                            Vulkan: 1.3.242 - NVIDIA [535.54.03]                                                                                                                                                                         33ms
                                            OpenGL: 4.6.0 NVIDIA 535.54.03                                                                                                                                                                               47ms
                                            OpenCL: 3.0 CUDA                                                                                                                                                                                             32ms
                                            Users: tuncay                                                                                                                                                                                                 0ms
                                            Bluetooth: Failed to call GetManagedObjects                                                                                                                                                                   1ms
                                            Sound: Xonar U7 MKII Analog Stereo (39%)                                                                                                                                                                      4ms
                                            Gamepad 1: USB,2-axis 8-button gamepad
                                            Gamepad 2: . MAYFLASH Arcade Fightstick F500                                                                                                                                                                  0ms
                                            Weather: +26°C - Partly cloudy (Luckenwalde, Germany)                                                                                                                                                       231ms
                                                                                                                                                                                                                                                          0ms
                                            ████████████████████████
                                            ████████████████████████                                  

Output of env NO_CONFIG=1 ./fastfetch --load-config all --show-errors --stat --multithreading false --disable-linewrap false --hide-cursor false:

$ ./fastfetch --version
fastfetch 1.12.2-301 (x86_64)
$ env NO_CONFIG=1 ./fastfetch --load-config all --show-errors --stat --multithreading false --disable-linewrap false --hide-cursor false
                     ./o.                   tuncay@DOOM                                                                                                                                                                                                   0ms
                   ./sssso-                 -----------                                                                                                                                                                                                   0ms
                 `:osssssss+-               OS: EndeavourOS x86_64                                                                                                                                                                                        0ms
               `:+sssssssssso/.             Host: neither product_family nor product_name is set by O.E.M.                                                                                                                                                0ms
             `-/ossssssssssssso/.           Bios: P1.70 (4.6)                                                                                                                                                                                             0ms
           `-/+sssssssssssssssso+:`         Board: Z97 Extreme6                                                                                                                                                                                           0ms
         `-:/+sssssssssssssssssso+/.        Chassis: Desktop                                                                                                                                                                                              0ms
       `.://osssssssssssssssssssso++-       Kernel: 6.1.38-1-lts                                                                                                                                                                                          0ms
      .://+ssssssssssssssssssssssso++:      Uptime: 2 days, 1 hour, 55 mins                                                                                                                                                                               0ms
    .:///ossssssssssssssssssssssssso++:     Processes: 1006                                                                                                                                                                                               0ms
  `:////ssssssssssssssssssssssssssso+++.    Packages: 1131 (pacman), 29 (flatpak)                                                                                                                                                                         1ms
`-////+ssssssssssssssssssssssssssso++++-    Shell: bash 5.1.16                                                                                                                                                                                           23ms
 `..-+oosssssssssssssssssssssssso+++++/`    Display (DP-0): 2560x1440 @ 120Hz                                                                                                                                                                            10ms
   ./++++++++++++++++++++++++++++++/:.      Brightness: No result is detected.                                                                                                                                                                           23ms
  `:::::::::::::::::::::::::------``        DE: Gnome                                                                                                                                                                                                     0ms
                                            WM: Qtile (X11)                                                                                                                                                                                               0ms
                                            WM Theme: Unknown WM: Qtile                                                                                                                                                                                   0ms
                                            Theme: Adwaita [GTK2/3/4]                                                                                                                                                                                     4ms
                                            Icons: Adwaita [GTK2/3/4]                                                                                                                                                                                     0ms
                                            Font: Cantarell (11pt) [GTK2/3/4]                                                                                                                                                                             0ms
                                            Cursor: Adwaita (24px)                                                                                                                                                                                        0ms
                                            Wallpaper: adwaita-l.webp                                                                                                                                                                                     0ms
                                            Terminal: xfce4-terminal 1.0.4                                                                                                                                                                                0ms
                                            Terminal Font: Cascadia Code (13pt)                                                                                                                                                                           0ms
                                            CPU: Intel(R) Xeon(R) E3-1230 v3 (8) @ 3.7 GHz                                                                                                                                                                0ms
                                            CPU Usage: 13%                                                                                                                                                                                                0ms
                                            GPU: NVIDIA GeForce GTX 1070 (288.00 MiB) [Integrated]                                                                                                                                                        8ms
                                            Memory: 4.23 GiB / 15.57 GiB (27%)                                                                                                                                                                            0ms
                                            Swap: 0 B / 512.00 MiB (0%)                                                                                                                                                                                   1ms
                                            Disk (/): 121.85 GiB / 227.21 GiB (53%) - ext4
                                            Disk (/media/Backup): 175.71 GiB / 916.70 GiB (19%) - ext4
                                            Disk (/media/Emulation): 4.57 TiB / 5.41 TiB (84%) - ext4
                                            Disk (/media/My): 1.21 TiB / 3.58 TiB (33%) - ext4
                                            Disk (/media/System): 432.28 GiB / 915.82 GiB (47%) - ext4                                                                                                                                                    0ms
                                            Battery: batteryDir doesn't contain any battery folder                                                                                                                                                        0ms
                                            Power Adapter: Not supported on this platform                                                                                                                                                                 0ms
                                            Media Player: No media found                                                                                                                                                                                  2ms
                                            Media: No media found                                                                                                                                                                                         0ms
                                            Public IP: 77.11.111.194                                                                                                                                                                                    159ms
                                            Local IP (enp0s25): 192.168.1.83                                                                                                                                                                              0ms
                                            Wifi: No Wifi interfaces found                                                                                                                                                                                8ms
                                            Date & Time: 2023-07-10 11:01:49                                                                                                                                                                              0ms
                                            Locale: en_US.UTF-8                                                                                                                                                                                           0ms
                                            Vulkan: 1.3.242 - NVIDIA [535.54.03]                                                                                                                                                                         24ms
                                            OpenGL: 4.6.0 NVIDIA 535.54.03                                                                                                                                                                               40ms
                                            OpenCL: Fastfetch was build without OpenCL support                                                                                                                                                            0ms
                                            Users: tuncay                                                                                                                                                                                                 0ms
                                            Bluetooth: Failed to call GetManagedObjects                                                                                                                                                                   0ms
                                            Sound: Xonar U7 MKII Analog Stereo (39%)                                                                                                                                                                      4ms
                                            Gamepad 1: USB,2-axis 8-button gamepad
                                            Gamepad 2: . MAYFLASH Arcade Fightstick F500                                                                                                                                                                  0ms
                                            Weather: +26°C - Partly cloudy (Luckenwalde, Germany)                                                                                                                                                        45ms
                                                                                                                                                                                                                                                          0ms
                                            ████████████████████████
                                            ████████████████████████                                                                                                                                                                                      0ms

Output of ./fastfetch --list-features:

# Newest build from Git.
$ ./fastfetch --list-features
threads
libpci
vulkan
wayland
xcb-randr
xcb
xrandr
x11
gio
dconf
dbus
imagemagick7
zlib
xfconf
sqlite3
egl
glx
osmesa
libpulse
libnm
# Installed by package manager.
$ \fastfetch --list-features
threads
libpci
vulkan
wayland
xcb-randr
xcb
xrandr
x11
gio
dconf
dbus
imagemagick7
chafa
zlib
xfconf
egl
glx
osmesa
opencl
libpulse
libnm

Nothing crashed.

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 23 (13 by maintainers)

Commits related to this issue

Most upvoted comments

All issues should be fixed in the dev branch, please test it