Closed EarBiteR closed 1 year ago
fastfetch -s gpu --gpu-format {3}
See fastfetch --help gpu-format
for all available params
Driver version detection on Linux has been added in https://github.com/fastfetch-cli/fastfetch/commit/9d664e2b61ffada4c96aa7ecc2419c2e52f63541
I cloned your github and ran run.sh and it failed. I then followed the cmake build instructions and succeeded. Running fastfetch now shows:
GPU: NVIDIA GeForce GTX 750 Ti (2.24 GiB) [Discrete]
So not actually showing nvidia driver version as expected.
ron@Ryzen7-3700X:~/Temp/fastfetch/build$ nvidia-smi
Mon Oct 30 07:31:46 2023
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.113.01 Driver Version: 535.113.01 CUDA Version: 12.2 |
|-----------------------------------------+----------------------+----------------------+
Try ./fastfetch -s gpu --gpu-format {3}
Yes, that works - thank you. Is there a way for it to show it next to the GPU type? Like:
GPU: NVIDIA GeForce GTX 750 Ti (2.24 GiB) 535.113.01
Do I need to modify a preset and recompile?
See ./fastfetch --help gpu-format
I gen-config and set the options so now works exactly as expected. Sorry to bother you! Thanks for your time.
GPU: NVIDIA GeForce GTX 750 Ti 535.113.01
Current state: Shows GPU type
Wanted state: Next to GPU type please show the Version of video driver in use for Nvidia users, possibly others
Why the change is sensible: It would save time having to load the Nvidia X server settings apps to find this detail