李通洲
83ea189d81
GPU: simplify code
2023-01-13 15:46:29 +08:00
Linus Dierheimer
670cf6fe90
GPU selection options
...
#379
2023-01-12 11:41:07 +01:00
李通洲
ff6e982050
Global: remove caching except image caching
2022-12-17 12:41:11 +08:00
李通洲
70847857f7
GPU: remove special handling for WSL
...
WSL2 is VM, which can only provide virtual GPUs, like other VMs do. We should honor it.
As of WSL 1.0, it prints `Microsoft Corporation Basic Render Driver`
2022-11-17 22:36:49 +08:00
李通洲
0d3d881c24
GPU: add support for Windows
2022-10-06 23:03:19 +08:00
李通洲
51c70bc44a
Temps: support macOS
2022-09-26 15:29:11 +08:00
李通洲
09f3bd5a79
GPU: correct detection of Apple M1 GPU
...
Don't cheat
2022-09-16 23:43:08 +08:00
Linus Dierheimer
54cb74c999
Separate gpu detection and printing logic
2022-09-05 17:42:42 +02:00
Linus Dierheimer
d387800bda
Separate host detection and printing logic
2022-09-04 12:43:30 +02:00
Linus Dierheimer
542ad5eab6
Small fixes to gpu code
2022-09-03 10:53:30 +02:00
Linus Dierheimer
99f42d0953
Fix build with old libpci versions
2022-09-01 17:22:35 +02:00
Linus Dierheimer
3b316bdd3f
Refactor pci code
2022-09-01 17:14:50 +02:00
Linus Dierheimer
28270541e6
use pci_read_byte to support older libpci versions
2022-08-28 16:01:34 +02:00
Linus Dierheimer
8197eddea8
Much better AMD gpu names
2022-08-28 15:51:28 +02:00
Linus Dierheimer
c7bf471e29
Refactor: move vulkan detection to own header
2022-07-26 18:18:14 +02:00
Linus Dierheimer
676485ef74
Refactor: move temps detection to own header
2022-07-26 18:13:12 +02:00
Linus Dierheimer
c41a29a5c1
Refactor: move parsing functions to own header
2022-07-25 13:59:19 +02:00
Linus Dierheimer
cea48474a1
Refactor: move caching functions to own header
2022-07-25 13:36:58 +02:00
Linus Dierheimer
536f914f3e
Refactor: move printing functions to own header
2022-07-25 13:15:01 +02:00
Linus Dierheimer
f18ffe3239
Refactor: move library functions and macros to own header
2022-07-25 11:20:38 +02:00
Linus Dierheimer
e570cacbc9
Fix typos
...
#201
2022-07-20 20:44:16 +02:00
Linus Dierheimer
9d395f7235
don't print GPU in WSL
2022-07-17 16:11:08 +02:00
Linus Dierheimer
fe71291769
Clean up includes
2022-06-18 14:25:31 +02:00
Linus Dierheimer
5d853f3b17
GPU temp detection
2022-06-17 23:38:33 +02:00
Linus Dierheimer
6e3e717224
--<module>-error options
2022-06-17 18:15:36 +02:00
Linus Dierheimer
0dffd8debf
Vulkan module
2022-06-01 00:04:58 +02:00
Linus Dierheimer
8831c07d2b
Look for multiple versions of a library
2022-04-11 17:41:21 +02:00
Linus Dierheimer
451848f6fd
Small improvements to code quality
2022-02-12 22:30:57 +01:00
Linus Dierheimer
23b71cc907
Fixed some rare compilation warnings from old compilers
2022-01-22 23:01:09 +01:00
Linus Dierheimer
accaaa7de5
Expose GPU driver to gpu format string
2022-01-12 18:57:35 +01:00
Linus Dierheimer
53f31f2401
Look for different versions of the same library
2022-01-05 16:14:27 +01:00
Linus Dierheimer
a011b55692
Custom logo colors support
2021-12-19 22:39:22 +01:00
Linus Dierheimer
1a7f04fe0c
Suppress the output of drivers more efficently
2021-12-15 19:12:07 +01:00
Linus Dierheimer
7638d0b8b6
Disable stdout during vulkan operations
2021-12-15 15:42:33 +01:00
Linus Dierheimer
9db9a2c195
Added -Wconversion to compiler options
2021-11-17 18:38:57 +01:00
Linus Dierheimer
9e6b0b03ea
Tell vulkan the right project version
2021-11-13 18:43:33 +01:00
Linus Dierheimer
dff3ca58ae
GPU: vulkan fallback
2021-11-13 18:25:35 +01:00
Linus Dierheimer
fd447ab439
Common macros for loading shared libs
2021-11-13 14:10:30 +01:00
Linus Dierheimer
349e5b24fa
better support for building without features
2021-10-19 18:44:59 +02:00
Linus Dierheimer
5f71ef71da
small syntactic changes
2021-05-16 15:10:15 +02:00
Linus Dierheimer
7afc27e52f
small syntactic changes
2021-05-12 20:13:56 +02:00
Linus Dierheimer
62f1c5d059
dont show gpu index on single gpu systems
2021-05-08 17:18:59 +02:00
Linus Dierheimer
eea74b085b
prettier GPU output
2021-05-07 17:10:22 +02:00
Linus Dierheimer
9bc1f2a116
much more efficient caching
2021-04-15 18:59:26 +02:00
Linus Dierheimer
53c781aa21
project structure refactoring
2021-04-09 14:07:05 +02:00
Linus Dierheimer
c543bcc29f
optional gtk detection via dconf
2021-04-05 23:42:07 +02:00
Linus Dierheimer
e01d03f98d
dont use format string if an error occures
2021-04-03 21:51:50 +02:00
Linus Dierheimer
67465d266e
more efficient memory usage
2021-04-03 12:14:25 +02:00
Linus Dierheimer
08066a76f0
all keys can now be set!
2021-04-03 11:39:59 +02:00
Linus Dierheimer
a1e90ba35c
editorconfig
2021-03-27 18:14:19 +01:00