李通洲
84fc5b4503
TPM (Windows): corrently report TPM device is not found
...
Fix #1314
2024-10-04 19:58:55 +08:00
Carter Li
a32d9d788c
OpenBSD: init platform support
2024-10-04 17:49:18 +08:00
李通洲
d06f9a1509
Chore (Windows): silence some warnings
2024-10-04 17:49:18 +08:00
李通洲
937b2e41ed
Terminal (Linux): remove invalid info when fail to detect terminal by process tracing
2024-10-03 21:58:37 +08:00
Carter Li
46c8bc1f99
Board (Linux): trim strings
2024-10-03 20:47:31 +08:00
kralverde
89d3924659
CPU (Linux): fix temperature detection ( #1308 )
...
Return proper NaN instead of false -> 0.0 coercion
2024-10-02 07:43:58 +08:00
Carter Li
99626149f6
Display (FreeBSD): add guards between linux specific code
2024-10-01 17:26:29 +08:00
李通洲
6dd6266a2a
GPU (Linux): fix possible buffer overflow
2024-10-01 09:30:39 +08:00
李通洲
316849e5df
Monitor: remove module
2024-09-30 23:35:34 +08:00
李通洲
d5c395fb85
Display (Windows): merge features of Monitor module
2024-09-30 23:25:08 +08:00
李通洲
46eb0e4b1c
Display (Linux): merge features of Monitor module
2024-09-30 22:43:29 +08:00
李通洲
fb0a18dc82
Display (macOS): merge monitor module features
2024-09-30 20:16:24 +08:00
李通洲
ca442b3da4
Monitor (macOS): improve performance
2024-09-30 19:53:10 +08:00
Carter Li
d77f0fe3d9
CPU (Linux): detect SOC name if available
2024-09-30 15:09:06 +08:00
Carter Li
1df129083b
GPU (Linux): add a special case for brcm
2024-09-30 15:02:49 +08:00
Carter Li
2cd6cb3ca1
Board (Linux): use /proc/device-tree/board if available
2024-09-30 15:00:55 +08:00
李通洲
d97999ddc9
GPU (Linux): trim trailing new line
...
Fix #1303
2024-09-29 23:08:41 +08:00
李通洲
1901b9308f
GPU: use adapterLuid as deviceID for non-pci devices
2024-09-29 15:42:31 +08:00
李通洲
a7c7493733
GPU (Windows): fix uninitialized variables
2024-09-29 15:34:57 +08:00
Carter Li
88097463af
Display (Linux): report displays of unknown connection state too
...
Ref: #1301
2024-09-29 10:25:46 +08:00
李通洲
5381395c54
GPU (macOS): update how integrated GPUs are detected
2024-09-29 10:24:15 +08:00
Ziyao
51796de69a
Display (Linux): detect all enabled or connected connectors ( #1301 )
...
DRM connectors have two properties, "enabled" and "status", standing for
"enabled by userspace" and "a display has been connected". Connector
status cannot be reliably detected sometimes, in this case status will
be set to unknown and it is still okay to enable it. Some drivers are
also able to enable disconnected connectors.
So it is both meaningful to detect connectors in two states,
- An enabled connector, where it must have been operating in some
configuration required by userspace
- A connected connector, where driver is sure a display has been
connected to the port, this is the obvious case.
In the original implementation, only information of connected connectors
are detected and an enabled connector without hotplug detection
capability, like a Composite video connector, will be silently ignored.
Switch to the new strategy to detect these connectors correctly.
References: https://github.com/torvalds/linux/blob/3efc57369a0ce8f76bf0804f7e673982384e4ac9/include/drm/drm_connector.h#L58-L89
Signed-off-by: Yao Zi <ziyao@disroot.org >
2024-09-29 10:23:20 +08:00
Carter Li
a424839d2f
CPU (Linux): remove bios_limit detection
2024-09-28 17:10:22 +08:00
Carter Li
38f07ade44
GPU (Linux): fix building with old kernel headers
2024-09-28 08:13:54 +08:00
Carter Li
7ae7ff8cef
GPU (Linux): detect EU count & vmem size of Intel GPUs
2024-09-27 23:36:08 +08:00
Carter Li
842ba9fd4e
GPU: use driver reported adapter name if available
2024-09-27 15:02:32 +08:00
Carter Li
5058a93428
GPU (Linux): use renderDN instead of cardN when detecting AMD cards
...
Ref: https://github.com/fastfetch-cli/fastfetch/issues/1284#issuecomment-2377437210
2024-09-27 10:47:57 +08:00
Carter Li
d6eff93c12
GPU: fix usage of bsearch
2024-09-27 09:54:22 +08:00
李通洲
03565384e6
Chore (macOS): use simplified syntax
2024-09-27 09:16:54 +08:00
李通洲
af067c7c3f
Util: rename KernelMod to Kmod
2024-09-27 08:39:21 +08:00
李通洲
8bbc985d98
CMake: fix more linking errors in dynamic mode
2024-09-27 00:20:47 +08:00
李通洲
254876b9e6
GPU (Linux): try fixing linking errors when dyamic linking is used
...
Fix #1295
2024-09-27 00:19:31 +08:00
李通洲
78fc5a2b5d
GPU: fix compiling error when -DCUSTOM_PCI_IDS_PATH is used
2024-09-27 00:00:04 +08:00
李通洲
745c041b44
GPU (Linux): fix some obvious bugs found in #1284
2024-09-26 23:53:13 +08:00
Carter Li
d095f39418
TPM (FreeBSD): fix silly bug...
2024-09-26 19:23:21 +08:00
李通洲
af63e6e98b
GPU (macOS): detect GPU driver version
2024-09-26 16:43:54 +08:00
Carter Li
fc05d728f3
Util: add function ffKernelModLoaded and use it
2024-09-26 16:05:34 +08:00
Carter Li
b37b495aee
TPM (FreeBSD): report clearer error if tpm module is not loaded
2024-09-26 14:58:26 +08:00
Carter Li
8295f66320
TPM (FreeBSD): add support
2024-09-26 11:03:54 +08:00
李通洲
87f2e69162
TPM: update description
2024-09-26 11:03:54 +08:00
李通洲
f496e6d965
TPM: add new module
2024-09-26 00:01:31 +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
582b0fa087
Monitor (Linux): prefer DRM
2024-09-25 09:36:20 +08:00
Carter Li
0414128a55
GPU (Linux): refactor code to support non-apple SOCs
2024-09-24 20:55:36 +08:00
李通洲
5dbd6b9ab8
Chore: remove temps_windows
2024-09-24 13:30:42 +08:00
李通洲
0c90941a32
Chore: remove temps_bsd
2024-09-24 11:00:49 +08:00
李通洲
29ae56e76a
TerminalFont: fix hanging when font name is long (kitty)
2024-09-24 10:42:43 +08:00
李通洲
81b0ddb2da
Chore: rename temps_apple
2024-09-24 10:37:54 +08:00
李通洲
4ea5d6f4fe
Wifi (macOS): fix protocol detection on Sequoia
2024-09-24 09:56:02 +08:00