Commit Graph

2005 Commits

Author SHA1 Message Date
flightlessmango
63eaf1489a Revert "amdgpu: rework convertion of endian"
This reverts commit dc7ec94549.
2024-05-25 16:41:10 +02:00
flightlessmango
4cbcec30b8 intel: don't use of intel_gpu_top
It's too much of a hassle to use intel_gpu_top, let's just wait
until these values are exposed in sysfs and until then we will just
have gpu load
2024-05-22 12:41:15 +02:00
flightlessmango
dc7ec94549 amdgpu: rework convertion of endian
We convert to host endian as we fetch the values from gpu_metrics
2024-05-21 17:19:43 +02:00
flightlessmango
faa3b1c22f test: amdgpu: convert metrics to host endian 2024-05-21 11:44:59 +02:00
flightlessmango
0caded833e intel: don't disable if intel_gpu_top fails
Before we only had intel_gpu_top to rely on, but now
we can also get gpu load from fd.
2024-05-18 11:57:30 +02:00
Alex Maese
872a564889 Set current_preset to first preset when use_existing_preset is false 2024-05-17 01:22:53 +02:00
Alex Maese
5c1fe0a5e6 Fix issue where presets weren't applied when MANGOHUD_CONFIG is set
When MANGOHUD_CONFIG was set but didn't contain either read_cfg or
preset values, the preset was never applied
2024-05-17 01:22:53 +02:00
Alex Maese
6ab4624cfb Use 'debug' log level when presets.conf doesn't exist 2024-05-16 00:55:49 +02:00
Bill Li
f0407636d3 pkgbuild: update source for sdplog to 1.14.1 2024-05-14 04:16:28 +02:00
Alesh Slovak
5d744d328a add various additional stats to log summary 2024-05-14 00:33:14 +02:00
Gonçalo Negrier Duarte
4ee8a9aac4 meson: verify if system lib are present before fallback to submodules
* if meson dosen't found spdlog with use_system_spdlog enabled
  meson will print a warning and fallback to the submodule
  instead of giving an error
* System vulkan-headers can't be use since mangohud don't use latest SDK
  The code is commented out for future use
* All the other submodules will use system dependency when found

Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
2024-05-14 00:31:57 +02:00
flightlessmango
31f2ca5e30 meson: spdlog: try to sort out proper fallback 2024-05-09 19:42:52 +02:00
Alessandro Toia
57cd928c63 spdlog-wrap: update to version 1.14.1 2024-05-08 15:58:37 -07:00
Arias800
32c6cf0ebd Add nvidia shield 2017 controller 2024-05-08 15:52:12 -07:00
flightlessmango
ec1b9c017f meson: spdlog: check if system is disabled 2024-05-08 19:59:45 +02:00
flightlessmango
55712618fa presets: 4: disable gpu_fan for steamdeck 2024-05-08 19:36:35 +02:00
flightlessmango
a0a31b4f64 x11: check that DISPLAY env exists 2024-05-02 17:36:39 +02:00
Etaash Mathamsetty
4cad060334 fix locking in device_info 2024-05-02 09:40:33 +02:00
Błażej Szczygieł
121cf54d9b hud elements: clear ordered_functions when legacy_layout is disabled
fixes #1236
2024-05-01 16:45:31 -07:00
Alessandro Toia
7497b1da3f device: Use LOGI MOUSE/KB instead of device_name 2024-05-01 16:29:04 -07:00
Etaash Mathamsetty
0e92ec4790 fix device_data race condition with mutex 2024-04-30 10:22:17 +02:00
Milos Tijanic
44eb25e10e nvml: only query params that will actually be used 2024-04-26 05:58:10 +02:00
flightlessmango
046b6cecdd winesync: small font 2024-04-14 09:55:29 +02:00
flightlessmango
b6291a51e6 refresh_rate: small font 2024-04-14 09:54:45 +02:00
flightlessmango
ba220022d0 network: remove header and add arrow indicators 2024-04-14 09:53:24 +02:00
flightlessmango
8491ff5aa9 preset: 4: add network and remove present_mode 2024-04-14 09:45:17 +02:00
flightlessmango
c363c96cd5 network: color: change to #e07b85 2024-04-14 09:44:58 +02:00
flightlessmango
23a2d53a3b time_no_label: don't enable with full 2024-04-14 09:44:35 +02:00
flightlessmango
4f43b260cc gamescope frame timing: app was not displaying correctly 2024-04-14 09:28:57 +02:00
Etaash Mathamsetty
6ec1f8c80e run angle check before regular dlsym 2024-04-14 06:46:07 +02:00
Etaash Mathamsetty
d23b4cde8c promote debug statement to error 2024-04-14 06:46:07 +02:00
Sefa Eyeoglu
4d0b1e1fb8 blacklist: add monado-service
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-04-13 11:24:38 +02:00
Etaash Mathamsetty
366c1a233f use simpler method to detect angle 2024-04-12 13:54:40 +02:00
Etaash Mathamsetty
86668eeb96 HACK: check EGL load directory and only hook the first loaded libEGL 2024-04-12 13:54:40 +02:00
Etaash Mathamsetty
e99284aadd fix electron apps like minecraft-launcher 2024-04-12 13:54:40 +02:00
Etaash Mathamsetty
5912cce19f fix exception with std::stoi 2024-04-12 13:54:40 +02:00
flightlessmango
1e13c385fe build.sh: add steamos to arch 2024-04-11 09:15:49 +02:00
flightlessmango
291ffd263c shell: fix spdlog error typo for writing 2024-04-11 03:15:54 +02:00
flightlessmango
ffff9b83b2 Revert "fix exception with std::stoi"
This reverts commit 054f4cc9e3.
2024-04-11 00:27:15 +02:00
flightlessmango
14b1d87ad8 Revert "fix electron apps like minecraft-launcher"
This reverts commit a65d1d8a2b.
2024-04-11 00:27:15 +02:00
flightlessmango
f7d291bbe9 Revert "HACK: check EGL load directory and only hook the first loaded libEGL"
This reverts commit c39984da9e.
2024-04-11 00:27:15 +02:00
Etaash Mathamsetty
c39984da9e HACK: check EGL load directory and only hook the first loaded libEGL 2024-04-10 23:57:29 +02:00
Etaash Mathamsetty
a65d1d8a2b fix electron apps like minecraft-launcher 2024-04-10 23:57:29 +02:00
Etaash Mathamsetty
054f4cc9e3 fix exception with std::stoi 2024-04-10 23:57:29 +02:00
flightlessmango
66b103ac55 config: mutex: forgot brackets in render 2024-04-10 10:06:57 +02:00
flightlessmango
33b8924384 config: add a mutex for config
We want to wait to render before config has been fully loaded.
Otherwise this can sometimes cause a crash when we access config
options while they are being assigned.
2024-04-10 09:44:59 +02:00
flightlessmango
4aa92187a7 logging: fixed a crash when reloading config while logging 2024-04-10 09:44:39 +02:00
flightlessmango
976ae0f75a shell: fix more unused warnings 2024-04-09 01:48:45 +02:00
flightlessmango
77d6244cea cpu: temp: check that input gives a non-zero value 2024-04-08 10:40:54 +02:00
flightlessmango
cdd8043489 param: shell: fix unused variable warning 2024-04-08 09:44:54 +02:00