Commit Graph

1434 Commits

Author SHA1 Message Date
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
flightlessman
fb0b559d04 inject_glx: fix unititalized warning 2024-04-08 03:07:20 +02:00
flightlessmango
7f439879e0 blacklist: add steamwebhelper and EpicWebHelper 2024-04-07 03:45:41 +02:00
flightlessmango
a41e8e0d1f meson: can't build mangoapp without x11 2024-04-07 02:58:40 +02:00
flightlessmango
01b81d068b meson: compile opengl files regardless of x11/wayland 2024-04-07 02:58:30 +02:00
flightlessmango
6e5581ba79 params: exec: make it right aligned 2024-04-07 02:44:32 +02:00
flightlessmango
bcaccc8bd4 fix more ifdef typos 2024-04-05 22:06:24 +02:00
flightlessmango
94449aa324 fix ifdef typo 2024-04-05 01:42:49 +02:00
flightlessmango
325498d1d6 shell: fix mingw build 2024-04-05 01:39:09 +02:00
flightlessmango
3c743a9e92 param: exec: rewrite exec
This rewrites the exec function to have a persistent
shell. This should reduce or even fix frame time spikes
when updating outputs
2024-04-05 01:17:25 +02:00
flightlessmango
bdd2a02a10 param: exec: right align text 2024-04-05 01:17:00 +02:00
flightlessmango
3f0ecf769d Fix minecraft-launcher issue
GlxMakeCurrent fails for some reason in minecraft-launcher.
Bypassing it by blacklisting is not sufficient as it still
runs GlxMakeCurrent, so we bypass using that function for
minecraft-launcher completely
2024-04-04 21:58:55 +02:00
flightlessmango
8732ada5a6 graphs: fix incorrect padding 2024-04-04 20:05:16 +02:00
flightlessmango
6edb590b9a wayland: keybinds: make sure we have wl_display_ptr
Co-authored-by: Etaash Mathamsetty <etaash.mathamsetty@gmail.com>
2024-04-02 12:47:19 +02:00
flightlessmango
1baecfc493 network: fix mingw build 2024-03-31 10:25:37 +02:00
flightlessmango
a4862f5461 param: network
This param shows the throughput in kb/s for each interface or for
user specified interfaces
2024-03-31 09:36:05 +02:00
flightlessmango
66d5ce43d2 mangoapp: add GAMESCOPE_NO_FOCUS property 2024-03-30 07:04:03 +01:00
Joshua Ashton
baa06da2ad main: Check for error in msgrcv 2024-03-27 22:04:32 +01:00
Joshua Ashton
7c7cb9a1dc Revert "main: Don't resize the window if we aren't horizontal"
Seems to regress on some systems, I need to look into why at some point :/

This reverts commit 7349a1cf29.
2024-03-27 22:04:32 +01:00
Alessandro Toia
83af57a9b3 wayland_hook: make sure wl_handle is not null and lib is loaded 2024-03-04 18:03:32 -08:00
Alex Maese
2aa604278e Add support for 'preset' option in MANGOHUD_CONFIG 2024-03-04 06:07:03 +01:00
Joshua Ashton
7349a1cf29 main: Don't resize the window if we aren't horizontal
Fixes weird janking when using this in Gamescope and the window gets resized
2024-03-02 23:44:18 +01:00
flightlessmango
2e0197718b nvctrl: change some errors to debug 2024-03-01 05:41:09 +01:00
Alessandro Toia
d1d44f94c9 blacklist: add Paradox Launcher 2024-02-28 21:01:22 -08:00
Etaash Mathamsetty
732629e5a0 Implement Wayland hotkeys 2024-02-28 21:10:58 +01:00
FlightlessMango
98e442ba7f gpu: fan: set fan_rpm true for amdgpu metrics 2024-02-21 10:25:33 +01:00
FlightlessMango
c80c2093cc gpu_fan: fixed typo from refractoring 2024-02-19 12:02:23 +01:00
FlightlessMango
3dfd772363 winesync: Fix dangling pointer issue in filename handling 2024-02-18 10:41:54 +01:00
FlightlessMango
45671161c4 gpu_fan: rewrite rpm/% indication 2024-02-16 11:05:17 +01:00
FlightlessMango
ab3b22ec12 exec: refractor std::unique_ptr deleter 2024-02-16 08:56:40 +01:00
FlightlessMango
46b6fa7fed config: override preset options with config options
Any options in the config will override anything in a preset.
This allows users to make small changes to a preset
2024-02-16 08:49:26 +01:00
FlightlessMango
d2b9458a46 present_mode: set to FIFO is not available
When a present mode is not available for some reason, then vulkan fallsback
to FIFO. So we just say it's FIFO and call it day.
2024-02-15 07:14:07 +01:00
FlightlessMango
95141de657 reset_fps_metrics: check that metrics is inited first 2024-02-14 01:08:59 +01:00
PedroHLC ☭
cba217ffaf meson: add dep_vulkan to mangoapp and test_amdgpu 2024-02-12 23:15:03 +01:00
FlightlessMango
e64e4788ef param: time_no_label 2024-02-10 18:24:32 +01:00
FlightlessMango
bd37645dfd frametime: color: wasn't being inherited from colors 2024-02-10 18:11:17 +01:00
FlightlessMango
48d84262cd fps_metrics: ignore fps values below 0.001 2024-02-06 21:05:37 +01:00
FlightlessMango
0ab4c25343 present_mode: account for app requested mode 2024-02-05 22:47:29 +01:00
FlightlessMango
2bc323b2ed param: present_mode
This parameter displays the current present mode being used in vulkan or
the vsync status in opengl
2024-02-05 22:17:00 +01:00
flightlessmango
fc54f48257 cpu temp: don't use nct if no TSI0_TEMP
If nct doesn't have TSI0_TEMP then it won't have any cpu temp readings.
In that case we want to make sure we don't use nct module.
This happens on intel platforms and as such we should be using coretemp
instead
2024-02-02 11:11:30 +01:00
FlightlessMango
62fee600d1 fps_metrics: remove debug 2024-02-01 13:13:03 +01:00
FlightlessMango
4969eed348 param: reset_fps_metrics 2024-01-31 14:21:28 +01:00