Closed thingsiplay closed 1 year ago
Please paste the pci information (get them with lspci -vnn
) of your graphic cards.
For example:
00:02.0 VGA compatible controller: Intel Corporation Alder Lake-P Integrated Graphics Controller (rev 0c) (prog-if 00 [VGA controller])
DeviceName: Onboard - Video
Subsystem: Micro-Star International Co., Ltd. [MSI] Device 1324
Flags: bus master, fast devsel, latency 0, IRQ 154, IOMMU group 0
Memory at 622c000000 (64-bit, non-prefetchable) [size=16M]
Memory at 4000000000 (64-bit, prefetchable) [size=256M]
I/O ports at 6000 [size=64]
Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: i915
Kernel modules: i915
01:00.0 VGA compatible controller: NVIDIA Corporation GA104 [Geforce RTX 3070 Ti Laptop GPU] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Micro-Star International Co., Ltd. [MSI] Device 1324
Flags: bus master, fast devsel, latency 0, IRQ 191, IOMMU group 16
Memory at 83000000 (32-bit, non-prefetchable) [size=16M]
Memory at 6000000000 (64-bit, prefetchable) [size=8G]
Memory at 6200000000 (64-bit, prefetchable) [size=32M]
I/O ports at 5000 [size=128]
Expansion ROM at 84000000 [virtual] [disabled] [size=512K]
Capabilities: <access denied>
Kernel driver in use: nvidia
Kernel modules: nouveau, nvidia_drm, nvidia
And lspci --version
My CPU does not even have an integrated graphics unit. I have a discrete GPU only and therefore only 1 VGA entry.
$ lspci --version
lspci version 3.10.0
$ lspci -vnn
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP104 [GeForce GTX 1070] [10de:1b81] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Micro-Star International Co., Ltd. [MSI] GP104 [GeForce GTX 1070] [1462:3302]
Flags: bus master, fast devsel, latency 0, IRQ 46
Memory at ee000000 (32-bit, non-prefetchable) [size=16M]
Memory at d0000000 (64-bit, prefetchable) [size=256M]
Memory at e0000000 (64-bit, prefetchable) [size=32M]
I/O ports at e000 [size=128]
Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: nvidia
Kernel modules: nouveau, nvidia_drm, nvidia
Memory at ee000000 (32-bit, non-prefetchable) [size=16M] Memory at d0000000 (64-bit, prefetchable) [size=256M] Memory at e0000000 (64-bit, prefetchable) [size=32M]
This was unexpected. So using lspci is completely unreliable.
Can you test fastfetch -s gpu --gpu-force-vulkan
?
Yes, but without icon, so copying is easier:
# Custom build newest Git version.
$ ./fastfetch -s gpu --gpu-force-vulkan -l none
GPU: NVIDIA GeForce GTX 1070 (8.24 GiB) [Discrete]
# Native installed by package manager.
$ fastfetch -s gpu --gpu-force-vulkan -l none
GPU: NVIDIA GeForce GTX 1070 (8.24 GiB)
Please test if the latest build fixes the DE related stuff
Ok, so on a fresh download/build. First the steps I do to build:
mkdir fastfetch
cd fastfetch
$ git clone 'https://github.com/fastfetch-cli/fastfetch'
mkdir build
cd build
cmake ..
$ cmake --build . --target fastfetch --target flashfetch
$ ./fastfetch --version
fastfetch 1.12.2-307 (x86_64)
$ ./fastfetch -l none
tuncay@DOOM
-----------
OS: EndeavourOS x86_64
Kernel: 6.1.38-1-lts
Uptime: 2 days, 3 hours, 12 mins
Packages: 1131 (pacman), 29 (flatpak)
Shell: bash 5.1.16
Display (DP-0): 2560x1440 @ 120Hz
DE: Gnome
WM: Qtile 0.22.1 (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: 3.31 GiB / 15.57 GiB (21%)
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
Nothing has changed, same output and problems before newest source changes. Is it possible that the manual building process misses some dependencies and therefore can't detect everything correctly?
EDIT: I need to go out for one or a few hours. So if something needs to be tested, I'll do it later.
git pull -r?
$ git pull -r
Already up to date.
Strange. git log?
$ git log
commit 9c9ba2f1a17792938f1a83eabebc441908888a5e (HEAD -> dev, origin/dev, origin/HEAD)
Author: 李通洲 <zhangsongcui3371@sina.com>
Date: Mon Jul 10 18:10:59 2023 +0800
CI (Linux): fix build on musl
commit c1b2ebc66e978bed218c48a19cff9f21002ada7c
Author: 李通洲 <zhangsongcui3371@sina.com>
Date: Mon Jul 10 18:04:21 2023 +0800
CI: fix compiling errors
commit 301e6153e1748c8b5e3e03cb19ea9e0052dcd26c
Author: 李通洲 <zhangsongcui3371@sina.com>
Date: Mon Jul 10 18:02:40 2023 +0800
WM/DE (Linux): revert 2486e68fe32a932f2ff83653ff292759733e9f0a because it seems to cause too many issues
Ref: #495 #489 #481#480
commit 7bd0780f1a1fbe4c75c9360bea272a20ab1d2d65
Author: 李通洲 <zhangsongcui3371@sina.com>
Date: Mon Jul 10 17:30:08 2023 +0800
Fastfetch: make `--size-max-prefix` accept enum values.
...
I have no idea what went wrong.
Please try git checkout 2486e68fe32a932f2ff83653ff292759733e9f0a^
and see if it works for you
Finally, this version basically matches what I have installed on my system.
$ git checkout 2486e68fe32a932f2ff83653ff292759733e9f0a^
Note: switching to '2486e68fe32a932f2ff83653ff292759733e9f0a^'.
...
$ ./fastfetch --version
fastfetch 1.11.3-143 (x86_64)
[+][tuncay@DOOM build]$ ./fastfetch -l none
tuncay@DOOM
-----------
OS: EndeavourOS x86_64
Kernel: 6.1.38-1-lts
Uptime: 2 days, 5 hours, 4 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: 3.25 GiB / 15.57 GiB (20%)
Disk (/): 122 GiB / 227 GiB (53%) - ext4
Disk (/media/Backup): 176 GiB / 917 GiB (19%) - ext4
Disk (/media/Emulation): 5 TiB / 5 TiB (84%) - ext4
Disk (/media/My): 1 TiB / 4 TiB (33%) - ext4
Disk (/media/System): 432 GiB / 916 GiB (47%) - ext4
Locale: en_US.UTF-8
fastfetch 1.12.2 (x86_64)
fastfetch 1.12.2-301 (x86_64)
fastfetch 1.12.2-307 (x86_64)
fastfetch 1.11.3-143 (x86_64)
Then git checkout 2486e68fe32a932f2ff83653ff292759733e9f0a
and try again please
$ git checkout 2486e68fe32a932f2ff83653ff292759733e9f0a
Note: switching to '2486e68fe32a932f2ff83653ff292759733e9f0a'
...
$ ./fastfetch --version
fastfetch 1.11.3-144 (x86_64)
$ ./fastfetch -l none
...
Same procedure with this checkout. Everything seems to be fine (meaning matches correct output that I have from installed version). Just a note, I can test as many versions you want. If you want me to test a whole bunch of versions, just make a list, I create a script to automatically build all. Even if its 100 different versions. Just saying, in case it's needed. :-)
So it was not 2486e68fe32a932f2ff83653ff292759733e9f0a that caused the issue.
Can you try git bisect
and which version is the root cause?
Was expecting a list of commit ids to automate with Bash. :D I am not familiar with those tools, only the most basic and simple stuff. Therefore I need some time to study and learn how it works, sorry. It is git-bisect, right? The link points to git-bisect, but the link name is git bitset. I will try to get into.
My typo.
Any updates?
I'm sorry for the delay. I took a break last 2 days. It was so hot here. So, there is no progress at the moment, but today I will dive into how the tool works and report when I have results.
All issues should be fixed in the dev branch, please test it
My bad for taking so long. But at least I can happily confirm the newest version works correctly for me. Guess I should close it then.
$ ./fastfetch --version
fastfetch 1.12.2-318 (x86_64)
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 justfastfetch
. 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:
1.12.2 (x86_64)
git clone
andcmake
)git clone
to download current build.Often helpful information:
Output of
fastfetch --version
:fastfetch 1.12.2-301 (x86_64)
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 only288.00 MiB
. Below the old version has correct output.Output of
fastfetch --version
:fastfetch 1.12.2 (x86_64)
The content of the configuration file you use (if any)
No config
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
:Output of
env NO_CONFIG=1 ./fastfetch --load-config all --show-errors --stat --multithreading false --disable-linewrap false --hide-cursor false
:Output of
./fastfetch --list-features
:Nothing crashed.