Carter Li
265c334399
GPU (FreeBSD): moves DRM detection to global space for OpenBSD use
2026-06-13 12:29:51 +08:00
Carter Li
fc303c58db
GPU: adds unified ffGPUFillVendorByDeviceName
2026-06-13 12:29:51 +08:00
Carter Li
69c86c95b7
GPU: hard codes QEMU virtual GPU
2026-04-20 22:30:51 +08:00
李通洲
abc6c0593c
Chore: IndentPPDirectives: BeforeHash [ci skip]
2026-04-15 16:17:08 +08:00
李通洲
6b95eb2c74
GPU: fixes the vendor name of Parallels
2026-04-09 09:35:48 +08:00
李通洲
e0eba8ce21
Chore: run clang-format
...
```bash
find . -type f \( -name "*.c" -o -name "*.h" -o -name "*.cpp" -o -name "*.hpp" \) ! -path "src/3rdparty/*" -print0 | xargs -0 clang-format -i
```
2026-03-29 10:03:32 +08:00
李通洲
2738f20eea
GPU (Linux): detect driver specific info for zhaoxin
2025-11-28 03:06:23 +00:00
李通洲
578ca23e75
GPU (Hurd): adds support (requires libpciaccess)
2025-11-01 09:57:52 +00:00
Carter Li
25e84decff
GPU: unifies non-pci GPU device ID formatting across platforms
2025-10-30 11:01:06 +08:00
Carter Li
7d665b203f
GPU: unifies GPU PCI device ID calculation logic across different platforms
2025-10-30 10:26:35 +08:00
李通洲
61f2823903
Global: fixes -ffast-math compatibility
...
Unifies unset double handling using `-DBL_MAX` sentinel
Fixes #1894
2025-08-14 10:01:34 +08:00
李通洲
75d2c668d0
Modules: refactor module option handling for static allocation
...
Moves module option structs out of global config and removes dynamic allocation, using static buffers and size assertions for safer, simpler management.
Refactors module initialization and destruction to work with isolated option structs, eliminating the need for the previous modules container and related code.
Unifies module option header usage and updates detection logic to leverage statically-sized option buffers, improving encapsulation and maintainability.
Simplifies module function signatures and reduces coupling between modules and config.
Enhances future extensibility and reliability by enforcing max size constraints and removing unnecessary indirections.
2025-08-04 14:46:01 +08:00
Carter Li
5c0ad030cc
GPU (Linux): support advanced detection for nouveau driver
2025-07-19 16:47:42 +08:00
李通洲
7b2243496b
GPU (Windows): fix build
2025-06-18 18:53:29 +08:00
Carter Li
6917f9479e
GPU (Linux / FreeBSD): add DRM detection support for old radeon driver
...
Ref: #1810
2025-06-18 16:41:02 +08:00
Carter Li
8559cc45eb
GPU (Linux / FreeBSD): unifies DRM related code and code clean up
2025-06-18 10:01:32 +08:00
李通洲
cc246ea239
GPU: prepare for memory type & shared memory usage detection
2025-03-24 15:21:14 +08:00
李通洲
b8e25bdc4e
GPU: support embedding amdgpu.ids into fastfetch
2025-02-13 05:57:41 +00:00
李通洲
1fc0f75776
GPU (Haiku): add support
2025-02-11 16:23:05 +08:00
李通洲
aa63c4f5f2
Revert "GPU: support detection by EGLext"
...
Works only for NVIDIA GPUs
This reverts commits 9ef8580d93 and 9342d74c93 .
2024-12-31 13:57:06 +08:00
Carter Li
ddce9b2357
GPU: rename ffGetGPUVendorString to ffGPUGetVendorString
2024-12-28 15:26:17 +08:00
Carter Li
9342d74c93
GPU: support detection by EGLext
...
Support multi-gpus
2024-12-28 15:25:22 +08:00
Carter Li
cb403be8e5
GPU: use pciaccess to enumerate PCI devices
2024-10-31 23:51:58 +08:00
李通洲
96d885e93a
GPU: embed pci.ids into fastfetch
2024-09-25 20:27:03 +08:00
李通洲
ae6817e106
GPU: simplify logic of pci.ids file loading
2024-09-25 16:42:15 +08:00
Carter Li
a3c0617f22
GPU: simplify integrated GPU detection
2024-09-23 20:40:36 +08:00
Carter Li
b3b6e5fec1
GPU (Linux): refactor; add amdgpu DRM connector
2024-09-23 16:42:34 +08:00
李通洲
0bcbae90e9
GPU: clean up GPU index detection code
2024-09-19 15:38:43 +08:00
michela feng
9332f42889
GPU: detect GPU index ( #1267 )
2024-09-19 15:22:09 +08:00
李通洲
87d964c7ca
GPU (Linux): fix uninited struct fields
2024-08-10 21:08:35 +08:00
李通洲
bdb0a9262c
GPU (Linux): fix intel GPU type detection
...
Ref: #1177
2024-08-10 21:03:56 +08:00
R0CKSTAR
d96d794d1f
GPU (Linux): Support Moore Threads GPU ( #1142 )
...
* feat: Support Moore Threads GPU
Signed-off-by: Xiaodong Ye <yeahdongcn@gmail.com >
* Fix spell check
Signed-off-by: Xiaodong Ye <yeahdongcn@gmail.com >
* Fix frequency and add back util
Signed-off-by: Xiaodong Ye <yeahdongcn@gmail.com >
* Add name field
Signed-off-by: Xiaodong Ye <yeahdongcn@gmail.com >
---------
Signed-off-by: Xiaodong Ye <yeahdongcn@gmail.com >
2024-08-02 16:00:54 +08:00
李通洲
c549a5cab8
GPU (macOS): report core usage
2024-08-01 13:54:03 +08:00
李通洲
408a2d731a
GPU: support printing frequency in MHz
2024-07-17 15:49:12 +08:00
Carter Li
4d1c62947b
GPU (Linux): don't detect frequency for AMD cards
...
It's current frequency and may hang for some reason
2024-07-08 08:54:51 +08:00
Carter Li
d05b6a25c3
SunOS: support GPU detection
2024-06-17 14:47:47 +08:00
李通洲
42b756e703
GPU (Linux): revert show sub-device if available
2024-02-24 12:52:22 +08:00
李通洲
330eb9fa21
GPU: show sub-device if available
...
Try fixing #713
2024-02-11 23:01:14 +08:00
Carter Li
cf6f3dbe0c
CI (Windows): fix build
2024-01-31 13:35:57 +08:00
Carter Li
b01d2bdd8c
GPU (Linux): rewrite; drop libpci dependency
2024-01-31 10:20:49 +08:00
李通洲
c1f511c8f2
GPU: detect supported platform graphic API version
2023-12-29 23:13:44 +08:00
李通洲
adc506d2b3
GPU: fix clock frequency detection and overall tidy
2023-12-20 19:13:00 +08:00
李通洲
4a1bbb6a03
GPU: huge improvement of driver specific detection code
2023-12-20 14:45:27 +08:00
李通洲
f9597eba39
Global: remove #ifndef FF_INCLUDED_* guards
2023-11-09 13:46:45 +08:00
李通洲
9ac50fc42f
GPU: add more vendors
2023-10-31 15:11:22 +08:00
李通洲
3f4d4c8eea
GPU: add more vendors
2023-10-21 17:36:13 +08:00
李通洲
d0f093c567
Global: make FFinstance instance a global variable
...
As discussed in https://github.com/fastfetch-cli/fastfetch/discussions/473
2023-06-24 17:28:05 +08:00
李通洲
c33eb8c265
GPU: support module options
2023-06-12 14:57:59 +08:00
李通洲
2359b7e2f4
GPU: support JSON config
2023-06-10 09:15:15 +08:00
李通洲
424ca923fc
Vulkan: try fixing #456
2023-05-16 20:53:45 +08:00