FlightlessMango
99c72d30cf
check for mangoapp_layer option for manifest
1 year ago
FlightlessMango
abb5359cdd
Blacklist: add gamescope
...
Co-authored-by: Valters <valters.tomsons@protonmail.com>
1 year ago
Alessandro Toia
f7c3ec2072
Add redlauncher(CDPR) to blacklist
1 year ago
Alessandro Toia
edac405d57
Fix reporting temp of AMD zen4 CPUs, zen4 doesn't use Tdie, use Tctl instead
1 year ago
Bitwolf
a67ba60773
Blacklist GOG Galaxy 2.0
...
FPS counter appears in the client, it probably shouldn't.
1 year ago
FlightlessMango
d4aa74c149
Create static and shared libs separately
1 year ago
FlightlessMango
6f23cdeaf1
mangoapp: meson option to install lib32
1 year ago
FlightlessMango
03d64e5afb
params: exec_name
1 year ago
Alessandro Toia
b2bcd889f0
Skip OpenGL impl if vulkan is loaded togther with zink or wined3d.
1 year ago
FlightlessMango
e3995ffcbf
mangoapp: compile using static mangohud_library
2 years ago
Alessandro Toia
7b248efef7
Check if libvulkan is loaded when opengl is also loaded and skip opengl rendering
...
Fixes #866 #852 issues with zink and multiple games using DXVK that load OpenGL for some reason
2 years ago
Alessandro Toia
b61f83f522
Add lib_loaded function to check for current loaded libraries
2 years ago
Kurt Kartaltepe
1a3fa6e4ff
overlay: Fixup device detection on intel GPUs
...
This resolves missing GPU names due to deviceID only being computed for
AMD gpus. It also filters out display adapters so there is less noise in
the logs when scanning cards.
2 years ago
FlightlessMango
7dee12a75a
params: toggle_hud_position
2 years ago
FlightlessMango
61596104ce
params: hud_compact default off
2 years ago
Alessandro Toia
5bf4091cdf
Add window padding if hud_compact = 0
2 years ago
FlightlessMango
ddbb4f5be1
intel: use json for parsing intel_gpu_top output
2 years ago
FlightlessMango
f8ca49f627
allow for compact hud layout
2 years ago
FlightlessMango
e38413b2d8
use intel_gpu_top for gpu stats
2 years ago
Zebediah Figura
2f01d15690
Bind a zero pixel unpack buffer if necessary when uploading fonts texture
2 years ago
FlightlessMango
e6c5ff4a4b
overlay.cpp: fixed renamed check metrics function
2 years ago
FlightlessMango
cb7d2a2447
amdgpu tests
2 years ago
Gustavo Parreira
96f72e2352
fix: Look for NAVI in device name for AMD GPUs
2 years ago
Vir Chaudhury
c670203a5b
add logging for when the OpenGL context fails to initialize
2 years ago
Stephan Lachnit
b8b6d61b25
Build mangoapp and mangohudctl for any CPU architecture
...
On 32-bit-only machines, building these for the 32-bit architecture makes sense.
Signed-off-by: Simon McVittie <smcv@debian.org>
2 years ago
Deis Dupeyron
b46908bdbc
src/battery.cpp: fix getTimeRemaining for energy_now
2 years ago
FlightlessMango
ebb0f969de
params: don't enable hud_no_margin and log_versioning with full
2 years ago
FlightlessMango
a76e8a26f5
hud elements: battery: adjust remaining time for normal and horizontal view
2 years ago
FlightlessMango
57c4e4e6c2
increase width based on table_columns
2 years ago
FlightlessMango
bc89947df0
hud_elements: battery: don't show plug or watt in horizontal
2 years ago
FlightlessMango
4f49ffea7b
frame_timing: minor adjustments for horizontal and mangoapp
2 years ago
FlightlessMango
3949c6c87f
amdgpu: change cpu/gpu temps from max to avg
2 years ago
MasterDevX
99f0e4139c
Add support for it8603 sensor
2 years ago
FlightlessMango
d0a1c4ea07
horizontal view and hud_no_margin
2 years ago
jackun
dcabe6b33f
Explicitly include array
2 years ago
jackun
021df9b932
`env -u` doesn't affect "piped" commands, use `unset` instead
2 years ago
jackun
a05dd84bf5
Don't use unsetenv in `exec`
...
Hopefully fixes #809
2 years ago
Alessandro Toia
08431a0221
Fix reporting amdgpu clock speed
2 years ago
FlightlessMango
5f43fcd121
logger: control: use hudelements
2 years ago
FlightlessMango
e9a7865a90
logger: reinit on config reload
2 years ago
tisim
732439b8e6
changing Logger class from struct pointer to 3 variables
...
removing commented line of code
2 years ago
jackun
85007fe0bd
Use separate font atlas for vulkan
...
vkCreateSwapchainKHR and vkQueuePresentKHR may share the same ImGui context accidentally and
vkCreateSwapchainKHR might (re)create font image and destroy old font atlas while vkQueuePresentKHR is still rendering :(
2 years ago
FlightlessMango
14dcd153ae
control: send msg when log stops
2 years ago
FlightlessMango
ef4ace2e2a
logging: versioning
2 years ago
Alessandro Toia
52c24afae9
Don't check for conf file if blacklisted
2 years ago
jackun
05133ae3cd
When `pci_dev` is set, don't skip AMD gpu if device id doesn't match
2 years ago
jackun
e132bb9268
Lower api minor version
...
Apparently too new of a version implicit layer might also not get loaded
2 years ago
jackun
e5d52c202e
Add meson install_tags, bump meson to 0.60
2 years ago
jackun
50720d2215
Install data files only if `include_doc` option is set
2 years ago
Stephan Lachnit
5709832576
Install MangoApp layer into libdir_mangohud
...
This makes the installation path adapt correctly to the value of
the append_libdir_mangohud option, which defaults to putting it in a
subdirectory ${libdir}/mangohud. Without this, the path in the JSON
manifest (which does respect append_libdir_mangohud) is inconsistent
with the actual location of the library.
Resolves: https://github.com/flightlessmango/MangoHud/issues/795
Co-authored-by: Simon McVittie <smcv@collabora.com>
2 years ago
jackun
c6bc257e11
Remove unnecessary row/column changes in HudElements::gpu_stats
...
Somehow missed these. Fixes f78107e6
2 years ago
jackun
032abbb031
Fix mangoapp frame time alignment
2 years ago
jackun
61716494c1
Check if data logger is valid
2 years ago
jackun
acfc62a434
Check if ImGui::BeginTable actually begun
2 years ago
FlightlessMango
421ca3b57b
mangoapp: don't resize window if fps_only
2 years ago
Trigg
dfad000928
- Unsaved change from XA_ATOM to XA_CARDINAL
2 years ago
trigg
661cb205e4
Add and remove XAtom in gamescope mode
2 years ago
FlightlessMango
17f3ebb7bd
mangoapp: unused previous_pid variable
2 years ago
FlightlessMango
4eb6c83d81
mangoapp: disable checking vulkan layer for now
2 years ago
Alessandro Toia
32cd485568
Remove uppercase MANGOHUD_LOG_LEVEL strings
2 years ago
Alessandro Toia
f0c3d123f5
Simplify MANGOHUD_LOG_LEVEL TO SPDLOG_LEVEL
2 years ago
Alessandro Toia
6e2e1d3967
Add check for valid log_level when using MANGOHUD_LOG_LEVEL
2 years ago
Alessandro Toia
c27de42465
use MANGOHUD_LOG_LEVEL env var to control SPDLOG_LEVEL
2 years ago
Alessandro Toia
5b44ef7d07
Convert printf to spdlog
2 years ago
Alessandro Toia
bab3529c74
If fps_only is enabled then disable legacy_layout
2 years ago
Alessandro Toia
ce53794d5f
Blacklist: add StarCitizen_Launcher.exe and InsurgencyEAC.exe
2 years ago
jackun
0916dadea6
Convert some "printfs" to spdlog
2 years ago
Alessandro Toia
22abf62b76
Disable fcat when full is present in conf file
2 years ago
Alessandro Toia
3f15f2322f
Disable fcat when using MANGOHUD_CONFIG=full
2 years ago
jackun
27c9863119
Set initial client socket handle to "invalid" value
2 years ago
Alessandro Toia
b699b16d2a
gamepad: disable gamepad_battery_icon by default
2 years ago
jackun
a8a0a245e6
Bump layer api version
2 years ago
jackun
c19d37ab76
Temporary perma fix for vkQueueSubmit blocking on "used" semaphore when multiple swapchains are sent to vkQueuePresentKHR
2 years ago
jackun
f680c28f1f
Generalize control over socket so it works with OpenGL too
2 years ago
PMunkes
6a010d8eab
Introduce FCAT overlay support
...
This introduces support to overlay FCAT markers on top of other HUD elements.
For more information about nVidia's FCAT tool see: https://nvidia.com/en-us/geforce/technologies/fcat/technology
This patch includes support for the existing parameter infrastructure and it is fully dynamic.
Squashed commit:
Refactor FCAT to use existing parameter handling infrastructure
With this patch the FCAT overlay should be hooked up into the normal
parameter handling infrastructure. This includes support for
configuration file options, which are also part of this commit.
2 years ago
FlightlessMango
f81369bd68
amdgpu: average gfx and cpu power as float
2 years ago
FlightlessMango
3184a44b96
Remove update_hw_info thread from log keybind
2 years ago
Alessandro Toia
a18cabb152
Move gamepad_update to update_hw_info
2 years ago
jackun
39ba57daa1
s/is/are/g
2 years ago
jackun
8a628e6a77
Rename GL files to avoid some confusion with upstream Dear ImGui files
2 years ago
jackun
3e6b35560c
Use overlay_new/end_frame with mangoapp
2 years ago
FlightlessMango
1447778fd4
amdgpu: improve polling perf by reading with c
...
Co-authored-by: Martin Roukala <martin.roukala@mupuf.org>
2 years ago
FlightlessMango
10e17b3153
Use Hudelements params in logging
2 years ago
jackun
b404fb948e
Set width by `table_columns` if not specified. Set "text" values to next column with `no_small_text`
2 years ago
jackun
753dd96325
Use overlay_new/end_frame to push/pop custom ImGui styles
2 years ago
jackun
f78107e662
Wrap columns to new row depending on `table_columns` param
2 years ago
jackun
85db56b36b
[dbus] Skip rendering MPRIS info if locking fails
...
D-Bus code gets randomly stuck for some reason.
2 years ago
jackun
f4cbb8b14b
When available (i.e. using vulkan), check vendor/device id and skip device if no match
2 years ago
jackun
ac7c898ba7
Use uint32_t for device id etc
2 years ago
jackun
d73932ad17
Clean up getAmdGpuInfo_actual
2 years ago
Alessandro Toia
9eb8447e14
Check if param gamepad_battery is enabled
2 years ago
FlightlessMango
3e57824f00
Fix zink detection from opengl path
2 years ago
FlightlessMango
5167e72649
gpu_metrics: send v1_0 to sysfs instead
2 years ago
jackun
bd2f7b24b8
Snapshot some paths so moving stuff around doesn't randomly break things
2 years ago
FlightlessMango
17d4c1dd4a
amdgpu: use gtt_used for APUs
2 years ago
FlightlessMango
19fbd9bf9b
Nvidia: only do throttling checks if enabled
2 years ago
FlightlessMango
5d6ebe2f38
Logging: use same data for benchmark and summary
2 years ago
FlightlessMango
6119fa80d1
mangoapp: layer: remove unused get_device_chain_info func
2 years ago
FlightlessMango
b30302c889
amdgpu: prefer hwmon over gpu_metrics for gpu temp
...
Co-authored-by: Martin Roukala <martin.roukala@mupuf.org>
2 years ago
FlightlessMango
bcf16a0def
amdgpu: fixed incorrect gpu load for centipercent
...
Co-authored-by: Martin Roukala <martin.roukala@mupuf.org>
2 years ago