李通洲
7562e05123
Chore: fix a lot code smell
2025-03-25 22:08:50 +08:00
Techflash
7b5dc58140
CPU (Linux): fix CPU detection on some PPC platforms ( #1640 )
...
On some PowerPC devices (notably the Nintendo Wii and Nintendo Wii U),
fastfetch detects the CPU incorrectly. It goes down the code path
of 'detectSocName()', and actually matches the model of the device
itself... as the CPU model name. This is obviously incorrect, and
leads to reporting such as 'CPU: wii'. Disable this code path
alltogether on PPC to prevent this, and just let it pull from cpuinfo.
This lets it have correct CPU reporting, such as on the Wii, giving
'CPU: 750CL @ 0.73GHz'.
2025-03-25 03:05:23 -05:00
Carter Li
36a452c852
CPU (NetBSD): support non-intel CPUs
...
Fix #1573
2025-02-19 08:59:10 +08:00
François Revol
c64854804d
Haiku: 32bit fixes
...
For historical reasons int32 and int32_t are not compatible types.
2025-02-15 12:08:27 +08:00
李通洲
cbc8b1f11d
CPU (Haiku): add support
2025-02-12 00:42:55 +08:00
Carter Li
1eef6f837b
CPU: remove useless w/ Radeon 780M Graphics
2025-02-10 09:26:08 +08:00
Carter Li
99e8d1f2bb
CPU (Linux): loosely detect cpu name of unknown platform
2025-02-08 10:38:13 +08:00
Carter Li
263d2902dd
CPU (Linux): add cpu name detection for s390x
2025-02-08 10:31:06 +08:00
Carter Li
1d21d02878
CPU (Linux): support physical core count and package count detection on loongarch
2025-02-07 10:07:00 +08:00
李通洲
356501270a
CPU (Linux): detect for model name on unknown platform
2025-02-05 16:10:01 +08:00
李通洲
76710c8159
Temps (macOS): support M4x
2025-02-05 11:01:09 +08:00
李通洲
4d842ac6b6
CPU (Linux): fix build on PPC
2025-01-27 21:53:39 +08:00
李通洲
1279bbcf28
CPU (Linux): rework cpuinfo parsing
2025-01-27 13:20:51 +08:00
李通洲
f601d2d9f5
CPU (Linux): add comments
2025-01-26 09:47:31 +08:00
Carter Li
026489c934
CPU (Android): add QS8E for Galaxy
2025-01-24 10:05:24 +08:00
Carter Li
1f5e56c69e
CPU (Android): detect new QS8E
2025-01-23 19:33:42 +08:00
Carter Li
35d431dd3f
CPU (Linux): detect SOC name on RISCV
...
Fix #1519
2025-01-22 22:19:23 +08:00
Carter Li
8ceda02bbb
CPU (Linux): query SOC name in cpuinfo for aarch64
...
Fix #1510
2025-01-14 13:54:27 +08:00
Carter Li
373b4353bb
CPU (BSD): improve base freq detection
2025-01-13 15:06:18 +08:00
Carter Li
b340d4e149
CI: fix build
2025-01-12 12:10:10 +08:00
李通洲
17e3853f38
CPU (FreeBSD): bind process to the first 2 cores
2025-01-10 21:14:51 +08:00
李通洲
c4ee606955
CPU (Android): check for MTK D9X00 SOCs
2025-01-08 08:39:09 +08:00
Carter Li
3ea0406b69
CPU (Linux): fix var content was unexpectedly modified
2025-01-06 10:57:29 +08:00
Carter Li
f28f5e2874
CPU (Linux): detect TZ temp if CPU temp is not available
2025-01-05 17:28:01 +08:00
李通洲
851f271ed5
CPU (NetBSD): fix typo
2024-12-22 14:20:32 +08:00
李通洲
b99f54b9f4
CPU (NetBSD): trim CPU vendor
2024-12-21 23:54:30 +08:00
李通洲
5a8dda27ff
CPU (NetBSD): support temp and frequency detection
2024-12-21 23:54:30 +08:00
Carter Li
ab1a11c9fa
CPU (ARM): add more apple cores
2024-12-13 15:29:24 +08:00
Carter Li
68746275f8
CPU (Linux): detect Virtualized Apple Silicon
2024-12-13 15:28:59 +08:00
李通洲
90bbefe11a
CPU (Windows): code cleanup
2024-11-26 22:02:57 +08:00
Carter Li
69a7e64e48
CPU (Linux): support up to 128-socket boards
2024-11-26 21:49:28 +08:00
Carter Li
ee564de461
CPU: change cpuCount to packages; support custom format
...
Fix #1413
2024-11-26 21:37:15 +08:00
Carter Li
9955e9da02
CPU: remove duplicate whitespaces in CPU name
...
Eg. `Intel(R) Xeon(R) CPU E5620 @ 2.40GHz`
2024-11-26 21:27:36 +08:00
Carter Li
8b41cbd508
CPU (Linux): refactor; fix cpu count detection
2024-11-26 16:05:01 +08:00
AzimovParviz
7535ce8a18
Support for dual CPU systems ( #1417 )
...
* [macOS] Added support for dual CPUs on Mac computers
Signed-off-by: Koneko <azimovp17@gmail.com >
* Change how number of cores is displayed when the system is dual CPU
* Support for dual CPU on Windows
* Dual CPU detection on Linux basic implementation
---------
Signed-off-by: Koneko <azimovp17@gmail.com >
2024-11-26 08:53:01 +08:00
Carter Li
e821a99873
CPU (Linux): add more Apple SOC code names
2024-11-13 16:44:24 +08:00
李通洲
c70c37c50c
GPU (macOS): apply the same logic as CPU just in case
2024-11-12 22:58:22 +08:00
李通洲
644458bc74
CPU (macOS): try fixing CPU freq detection on Apple M4
...
Fix #1394
2024-11-12 22:34:57 +08:00
Carter Li
08a92a4324
CPU (OpenBSD): support CPU temp detection
2024-11-10 13:28:48 +08:00
李通洲
d4c7b53ded
CPU (Android): add QS8E
2024-10-31 09:33:23 +08:00
Carter Li
229d5f899c
CPU (NetBSD): add support
2024-10-30 23:29:05 +08:00
李通洲
4665fdd145
Global: make it compile on NetBSD
...
Doesn't work yet.
2024-10-27 11:43:36 +08:00
李通洲
b257134d74
Chore: introduce macro ARRAY_SIZE
2024-10-18 16:44:41 +08:00
apocelipes
84cc9e3b15
Chore: fix some unused paramater/function warnings ( #1324 )
2024-10-06 23:01:49 +08:00
Carter Li
a32d9d788c
OpenBSD: init platform support
2024-10-04 17:49:18 +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
d77f0fe3d9
CPU (Linux): detect SOC name if available
2024-09-30 15:09:06 +08:00
Carter Li
a424839d2f
CPU (Linux): remove bios_limit detection
2024-09-28 17:10:22 +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