Witold Baryluk
6a1028b17e
Fix some MESA inherited references in overlay params
...
MANGOHUD_CONFIG as used.
MANGOHUD printf prefix.
4 years ago
FlightlessMango
d54409b6b5
Don't need vulkan hooking in kiero
4 years ago
FlightlessMango
af0658e137
Change win config location to mangohud folder
4 years ago
FlightlessMango
1a86d3b241
Set dx_version var
4 years ago
FlightlessMango
3bc0f32a3b
Init all related renderTypes
4 years ago
FlightlessMango
079f700241
Make sure logger gets inited in win
4 years ago
Alessandro Toia
a061ca060f
__gnu_linux__ shouldn't be caps
4 years ago
Alessandro Toia
8e873fe547
Remove more "not" and "and" in if statments
...
Rename dbus_helpers.hpp to dbus_helpers.h
4 years ago
FlightlessMango
6ed47879e7
__gnu_linux__ shouldn't be caps
4 years ago
FlightlessMango
f375d94188
libgen.h not needed on win32
4 years ago
FlightlessMango
45c7ea0841
Include intrin.h for _ReturnAddress win32
4 years ago
flightlessmango
cfc0b74d1a
Merge pull request #418 from baryluk/patch-3
...
Perform updates of gpuInfo struct in more atomic way
4 years ago
FlightlessMango
ce7de641cf
Don't use "and" and "not" in if statements
4 years ago
FlightlessMango
d1af7c97ac
Removed lingering pthread.h
4 years ago
FlightlessMango
eef6d8974a
Only use popen/close on linux
4 years ago
FlightlessMango
c20b06c851
Remove more ram related things for windows
4 years ago
Alessandro Toia
06f2c7dc1b
Do not show fps_limit if unlimited
4 years ago
Witold Baryluk
e712a26eff
Perform updates of gpuInfo struct in more atomic way
...
The issue is that value might be set to 0, or original miliC (i.e. 35000),
while the other thread is reading it from the memory.
Instead using single writes to the target location,
only with intended end value.
This is a not a full proper fix (like using mutex between overlay and the thread
doing hw info update), but should alleviate issue of logging sometimes
having value 0, or original value of miliC for temperature.
4 years ago
Alessandro Toia
4ada6d1036
Add show_fps_limit param
4 years ago
FlightlessMango
c8d68be476
Add resolution param
4 years ago
Alessandro Toia
ed0c7a344d
Add new param 'core_load_change' to change colors of cpu core load depending on load %
4 years ago
Witold Baryluk
558b8eb093
Properly initialize file pointers to null
...
If in `init_cpu_power_data_k10temp` we fail to initialize all paths,
and fail initialization, then in the destructor, we will most likely
pass invalid value to the `fclose`.
4 years ago
Witold Baryluk
26262e24ff
Improve initialization logic for cpu.cpp
...
Use smart pointers.
Get rid of gotos and labels.
4 years ago
Alessandro Toia
03bd71d145
Add missing add_blacklist for OpenGl apps
4 years ago
jackun
e0f79d9435
Escape spaces in file names for `wordexp` v2 but just append to stringstream
4 years ago
FlightlessMango
a4a5950ddf
Make sure graphs have data without enabling elems
4 years ago
jackun
0309b6bbb9
Escape spaces in file names for `wordexp`
4 years ago
jackun
fda43f5727
Use str_tokenize for multiple delimiters
4 years ago
FlightlessMango
27fee4f151
Prettying up hudelements::graphs
4 years ago
jackun
6a5cd38127
Meson option to have absolute paths in LD_PRELOAD
4 years ago
FlightlessMango
9af4ac546f
No need to convert cpu_load
4 years ago
FlightlessMango
4505bba6bd
Check if logger is active before autostarting
4 years ago
FlightlessMango
3827fe96d4
Add autostart_log param
4 years ago
jackun
ee2933bff5
Resize fonts
4 years ago
Alessandro Toia
8cad40cfac
Change order of cpu/gpu load colors and data
4 years ago
FlightlessMango
f3987ec65c
Move frame_timings ms text to above
4 years ago
FlightlessMango
9124f0f26a
Let graphs take up full content region
4 years ago
Alessandro Toia
d855dc6691
Also change delimiter for media_player_order to +
4 years ago
Alessandro Toia
6ee6663fb6
Change delimiter for cpu and gpu load change and color to +
4 years ago
Alessandro Toia
e4fe24a051
Use "+" as a delimiter for param blacklist
4 years ago
Alessandro Toia
221c355f15
Check if item exits before adding to blacklist
4 years ago
Alessandro Toia
ef05ab2f20
Parse blacklist with parse_str_tokenize
4 years ago
Alessandro Toia
7c80dc53ef
Allow users to add a new item to the blacklist from config file
4 years ago
jackun
0474c93800
Change `change_on_load_temp`'s `current` param to unsigned
4 years ago
jackun
1e8487c991
Move color conversion to HudElements; move some overlay related functions back to overlay.cpp
4 years ago
FlightlessMango
44d5546ba5
Add param table_columns
4 years ago
flightlessmango
ce6a87823b
Merge pull request #388 from flgx16/cpu_power
...
Add cpu_power
4 years ago
flightlessmango
f91e4f9a33
Merge pull request #395 from gort818/no_ms
...
Add param to enable/disable fps milliseconds text
4 years ago
FlightlessMango
7e93453a77
Changed fps_limit's delimiter to +
4 years ago
Alessandro Toia
92146c5833
Add frametime param to enable/disable frametime data next to fps
4 years ago
jackun
7a2a2eafc9
Clear already parsed HUD elements when using legacy layout
4 years ago
FlightlessMango
e5015283a8
cellpadding_y param
4 years ago
jackun
60ffab4350
Add `no_small_font` option for unified font size
4 years ago
Lukáš Horáček
02a34ba890
Fix cpu_mhz when core_load is disabled
4 years ago
Lukáš Horáček
3726c90c7a
Add cpu_power
4 years ago
FlightlessMango
00c9841ff6
Histogram option for all graphs
4 years ago
FlightlessMango
553bf50e6a
Added cpu_mhz param
4 years ago
jackun
3c75cc6c60
rm -fr whitespace around __gnu_linux__
4 years ago
FlightlessMango
366de9a9dd
Legacy elements
4 years ago
FlightlessMango
0c57171497
Make sure gpu_temp is being logged
4 years ago
FlightlessMango
8ebc56d4f7
CPU/GPU Temp graphs
4 years ago
FlightlessMango
cc38924997
Added graphs
4 years ago
FlightlessMango
6e7747c73c
Add sorting for env var
4 years ago
jackun
dbfbd05ecf
Add `media_player` to HudElements
4 years ago
FlightlessMango
ee7f7058c2
No need to use HudElements object in sort_elements
4 years ago
FlightlessMango
aebd3353ab
Move most hud elements into HudElement functions
4 years ago
FlightlessMango
378cc1e089
Push params to HudElements options
4 years ago
jackun
7471d42cac
Fix dbus for GCC 5
4 years ago
flightlessmango
46a239855b
Merge pull request #380 from gort818/gradual_colors
...
Gradual colors for gpu & cpu load
4 years ago
flightlessmango
65b85e86b2
Merge pull request #376 from flgx16/fps-limit-fix
...
Fix for FPS limit breaking
4 years ago
FlightlessMango
fde20cac81
Collect total vram for Nvidia
4 years ago
Lukáš Horáček
06f8641363
Fix for FPS limit breaking
...
Fixes #127
4 years ago
Alessandro Toia
466fc1a008
If load is high set the defined high color
4 years ago
Alessandro Toia
2496ab3541
After parsing load colors make sure it has a size of 3
4 years ago
FlightlessMango
0a12632679
Gradual color change
4 years ago
Alessandro Toia
b75f2944a1
Add struct for gpu color change data
4 years ago
FlightlessMango
b9b20d1117
Remove render_mango as it's no longer needed
4 years ago
flightlessmango
e3354433ce
Merge pull request #358 from gort818/load_color
...
Change color depending on load
4 years ago
Alessandro Toia
ec322b556e
Formatting fixes, remove commented code
4 years ago
Alessandro Toia
76c2129ae2
Remove more unused variables
4 years ago
Alessandro Toia
3e446f7c11
Remove unused variables
4 years ago
Alessandro Toia
c53939587a
Consolidate gpu/cpu load value config
4 years ago
Alessandro Toia
daa23d49db
Consolidate cpu load color config
4 years ago
Alessandro Toia
e1269a18ff
Consolidate gpu load color config
4 years ago
Alessandro Toia
5e486df67f
Fix spacing
4 years ago
Alessandro Toia
17ae055161
Disable cpu/gpu load change from full param output
4 years ago
Alessandro Toia
dc0b3a9955
Set param defaults for load color change
4 years ago
Alessandro Toia
6b71c9c6e3
Remove duplicate code
4 years ago
Alessandro Toia
1c0a5af001
Implement cpu load color change
4 years ago
Alessandro Toia
11d9c3aa97
remove param gpu_load_low as it is not needed
4 years ago
jackun
891a3944f3
[OpenGL] Default and limit GLSL version to 1.20 if OpenGL < 3.0. Not using anything fancy for now anyway.
4 years ago
Alessandro Toia
e7db65d4cd
add function to return high/low/med, add switch for gpu load change
4 years ago
Alessandro Toia
8605d2a7dd
Add spaces
4 years ago
Alessandro Toia
d7f04deb56
Implement gpu load color change
4 years ago
Alessandro Toia
144e9a5917
Add color option to right_aligned_text
4 years ago
FlightlessMango
cb8d992bfe
Use real_font_size for padding
4 years ago
FlightlessMango
8b4df2a9a3
Put time and version inside imgui table
4 years ago
jackun
6dbb1c2aa8
Rename `last_f3_press` to more generic `toggle_fps_limit_press`
4 years ago
jackun
0bc9949af9
Default toggle FPS limit to Shift_L+F1, update README and config file
4 years ago
ZakMcKrack3n
73e6e31301
toggle fps limiter via hotkey, fps_limit may be set to multiple values
...
(e.g. 0,30,60).
fps toggle toggles between entries where zero means unlimited
4 years ago
FlightlessMango
d86a05d3a0
Don't log twice if interval is 0
4 years ago
FlightlessMango
e25ffbafe0
Scale cellpadding based on font_size
4 years ago
jackun
c15133b82f
Add `checkNvidia` for nvml/xnvctrl/nvapi checks, for header cleanup
4 years ago
jackun
a6dc259ea4
Remove unused sysinfo header
4 years ago
jackun
3ef4cf5453
win32: load correct NVAPI dll by checking _WIN64
4 years ago
FlightlessMango
84e64c80b5
Win32 d3d11 make sure we don't update hud unnecessarily
4 years ago
FlightlessMango
ac821df7fa
Win32 basic d3d11 present hook
4 years ago
FlightlessMango
86703ee364
Win32 keybinds
4 years ago
FlightlessMango
dd741cdda3
Assume MangoHud.conf in C:\ root on win32
4 years ago
FlightlessMango
2f55f52011
Allow blacklist for unix too
4 years ago
FlightlessMango
ab90abe4d4
De-linuxify vulkan
4 years ago
FlightlessMango
ab469dee78
Win32 dxgi cleaning up debugging
4 years ago
FlightlessMango
bf9132bba1
Win32 nvapi gpu usage
4 years ago
FlightlessMango
7dd6792772
Win32 nvapi gpu usage
4 years ago
FlightlessMango
2ebb381166
Win32 d3d_shared
4 years ago
FlightlessMango
cbd87585b4
Win32 cpu usage
4 years ago
FlightlessMango
ff5d85a4a5
Win32 overlay_params
4 years ago
FlightlessMango
ed466d3c9d
Fix some more linux vs win compatability
4 years ago
FlightlessMango
21e8d8c402
Move calc benchmark into overlay
4 years ago
FlightlessMango
785b37534d
win32 file_utils
4 years ago
FlightlessMango
c3fc0f10b0
Start separating vulkan, keybinds, overlay and font
4 years ago
FlightlessMango
1c5baef992
Move try_log into update_hud() and fix formatting
4 years ago
FlightlessMango
968f3ab20c
Cleaning up d3d12 hook
4 years ago
FlightlessMango
896a6117a2
Actually use minhook for kiero
4 years ago
FlightlessMango
1263b8d954
Build with windows_deps
4 years ago
FlightlessMango
9391822da5
Basic d3d12 present hook
4 years ago
FlightlessMango
8d3e8b5205
Add kiero to win
4 years ago
FlightlessMango
3ffa1bed7a
Windows attach dll
4 years ago
FlightlessMango
b7aa6a997b
Separate unix and windows in meson
4 years ago
FlightlessMango
c337fddc58
Move try_log() into render_imgui
4 years ago
FlightlessMango
c4a7d3002b
Moved try_log() outside of no_display
4 years ago
FlightlessMango
d0c9176d6d
Log frametime as nanoseconds
4 years ago
FlightlessMango
9ddd075b18
Get actual frametime for logs
4 years ago
jackun
cec98369ae
Include array, explicitly
4 years ago
FlightlessMango
3dc3c82522
Add frametime to log
4 years ago
FlightlessMango
c1a255260f
Add recording circle to render_mango
4 years ago
jackun
60940e5a02
[OpenGL] Just "refcount" by glXCreate/DestroyContext calls; recreate "lost" objects
4 years ago
FlightlessMango
0230efee8b
Small adjustments to render_mango
4 years ago
jackun
ba6346110c
[OpenGL] Enable color mask
...
Maybe previous state needs to be restored afterwards?
4 years ago
jackun
e56b7ded15
Use `setenv`instead as `putenv` makes Lutris' wine crash for some reason (threading?)
4 years ago
FlightlessMango
4f64e1403a
Deprecation message for output_file
4 years ago
FlightlessMango
500fba7f6c
Fix for memory leak in source 1 games
4 years ago
Alessandro Toia
632f1e7000
Add wine and wine colors to overlay
4 years ago
FlightlessMango
a8b874cd2d
[NVML] Only get pci info once
4 years ago
FlightlessMango
ac85815d82
Changed output_file to output_folder
4 years ago
FlightlessMango
8a39043a13
Merge branch 'master' into develop
4 years ago
jackun
443271f0b5
Convert hud color params to linear for sRGB image formats
4 years ago
jackun
6f176a3f3b
Fix cpu usage formatting (float parsed as int)
4 years ago
jackun
c75232389b
A little more "atomic" cpu temp update for hud renderer; whitespace
4 years ago
FlightlessMango
759c4aeed1
No need to 0 cpu temp every tick
4 years ago
FlightlessMango
ce80203ee6
Minimal hud for recording
4 years ago
jackun
fcefc07966
Load libnvidia-ml and libXNVCtrl on demand
4 years ago
jackun
a173989b1c
Make build.sh compatible with \$LIB
4 years ago
Stephan Lachnit
d712d35aaf
simplify cross arch preloading
...
This commit does a couple of things. In the mangohud launch script, the library will be found using $LIB with ld, so the correct path is selected depending on the cpu arch. The same is done for mangohud.json (vulkan layer). In addition some now unused files have been deleted.
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
4 years ago
jackun
6ee225ed66
Clear cpu temp hwmon path if no supported sensor is found
4 years ago
FlightlessMango
a06e01c7ef
Merge branch 'develop'
4 years ago
FlightlessMango
4fd1c5f3e7
Fixed some basic errors
4 years ago
FlightlessMango
9445ab4acc
Warning that permit_upload = 0
4 years ago
FlightlessMango
6a443f35ac
Upload multiple logs
4 years ago
jackun
b07db5d3ef
[dbus] Don't clear metadata when reloading config file
4 years ago
jackun
fc62624b7b
Recalculate right alignment offset if font scale changes
4 years ago
flightlessmango
c046c250d8
Merge branch 'develop' into benchmark-percentages
4 years ago
jackun
5ce6bcb79c
Set target frametime only if fps_limit > 0
4 years ago
jackun
55430d7571
Initialized fps limiter or wait for 300 years
4 years ago
jackun
bb50e6a637
[dbus] Use "xesam:url" to force metadata update
...
If file has no other metadata, clear old metadata by using
"xesam:url" to detect new file being played.
4 years ago
jackun
f74b4bccd9
[dbus] always update metadata if no forced player
...
Otherwise it stays in "paused" state if resuming play.
4 years ago
jackun
d581a9ce2b
Merge pull request #264 from larskraemer/media_player_autodetect
...
Media Player autodetect
4 years ago
Stephan Lachnit
acf2d88fbc
Import Dear ImGui files as subproject
...
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
4 years ago
Lars Krämer
a393c05829
Fix auto-switching bug
...
Debug output under ifdef NDEBUG
4 years ago
Lars Krämer
6dd08c89bc
Use fallback only if no player was requested;
...
Request no player by default
4 years ago
Lars Krämer
9a34b55498
Move interactions with main_metadata into separate functions
...
More tidying up of the helper classes
4 years ago
Lars Krämer
7cc76142f1
Tidy up DBus helper classes
...
make sure metadata is up-tp-date when switching players (WIP)
4 years ago
Lars Krämer
72b86b4371
Fix some weird behaviour with non-spotify media players
...
Add DBusMessage_wrap to wrap/hide some dbus_message_* calls
4 years ago
Lars Krämer
6484e09f01
Implement wrapper class for DBusMessageIter
...
Implement for_each-style helpers for common constructions
Reimplement most of the DBus message parsing in terms of these
4 years ago
Lars Krämer
4bf7a3f2f0
Make DBus signal handling more event-based
4 years ago
Lars Krämer
5850643db4
Change the media player functionality to allow changing active media
...
player
4 years ago
larskraemer
a28931ef6b
General cleanup ( #272 )
...
* Cleanup unused struct fields, use uniform include guards
4 years ago
flightlessmango
eafa62356b
Merge branch 'develop' into benchmark-percentages
4 years ago
jackun
8eba5e2ed2
[OpenGL] Use GL_R8 for font textures
...
Randomly getting squares with GL_ALPHA for some reason
4 years ago
Lars Krämer
0b29a7ea06
Remove conflict in render_imgui
4 years ago
Lars Krämer
329725c134
Move Log uploading; Cleanup
4 years ago
Lars Krämer
4101237fdd
Move logging functionality into a class
4 years ago
jackun
5fe5ac5f3d
Build script and fixes for Steam Runtime SDK
4 years ago
jackun
c63037efb5
Use 1-channel font textures; glyph ranges support; vulkan image descriptors and "helper" functions
...
* To save some memory, use just 1-channel alpha-only textures
* Add some sort of wider glyph ranges support
* Chop single-ish vulkan font image uploading function into separate reusable helper functions
* Use descriptor set for ImTextureID but probably use texture array and push constants for "fast-path" if need arises
4 years ago
jackun
e0832c7e02
Re-add config file watch in case of IN_DELETE_SELF
4 years ago
jackun
068157f3d8
Fix cpu fallback temp sensor logic
...
Break the for loop either way so `path` still points to sensor module's hwmon folder.
4 years ago
jackun
62efa4acc4
[OpenGL] Simplify if check
4 years ago
jackun
d0999ab01b
[OpenGL] Workaround: Merge version and shader strings for Feral games
...
FIXME: GLAD loads Feral's version of glShaderSource,
4 years ago
jackun
2db83f4e18
[OpenGL] Check if font texture is valid and regenerate if not
4 years ago
Lars Krämer
20221217d4
Frame-timing using chrono
4 years ago
Lars Krämer
22026cbc60
Create MesaClock class, use chrono classes for time points/durations
4 years ago
Kingsley McDonald
0e1fe708c8
make use of new float parsing function
...
i've also moved the input validation checks to the config parser, so that
warnings aren't displayed in the terminal output every time a benchmark is
run with an invalid percentile entry.
4 years ago
Kingsley McDonald
979c4d32ca
oops! i didn't save changes from the merge conflict >.<
4 years ago
Kingsley McDonald
aa77a351de
implement configurable benchmark percentiles.
4 years ago
jackun
0d03b5a150
meson: use gnu_symbol_visibility argument
...
This uses a meson builtin to handle -fvisibility=hidden.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4740 >
4 years ago
FlightlessMango
118a105aa4
Check often if logUpdate has occured
4 years ago
FlightlessMango
e957358786
Force a hw values update on log start
4 years ago
jackun
44060c2b80
Force blacklist re-check at certain points
...
Wine preloader that executed a non-blacklisted app may execute a blacklisted app,
or vice versa, and previous check applies to new app too.
4 years ago
FlightlessMango
fbd60a102f
Forgotten debugging in logging
4 years ago
FlightlessMango
a9463ae06c
Start logging after first update
4 years ago
FlightlessMango
0f171dbd9c
Added labels to log csv file
4 years ago
jackun
03ec318d00
Make find_*_ptr function pointers static
4 years ago
jackun
2da02ee553
Try to limit exported symbols with --version-script
4 years ago
Alan Witkowski
61a443bd50
add .csv extension to log file and rename function that generates the log filename suffix
4 years ago
jackun
612d3b761d
Merge pull request #237 from larskraemer/float_parser
...
First implementation of custom float parsing
4 years ago
larskraemer
ecd84c8cc0
Logging options ( #234 )
...
* Added config options for logging
* Documentation
* Log everything
* Add RAM/VRAM usage to the log
* add loggingOn-check for memory usage
* Always init GPU stats
* Move functions from logging.h to logging.cpp, remove params from writeFile
4 years ago
FlightlessMango
99cefe96a5
Created logging.cpp
4 years ago
jackun
66ddada43c
Fix `readlink` overloading for fortified musl
...
Issue #231
4 years ago
jackun
6887abbea8
Just <limits.h>
4 years ago
jackun
edf9f95517
Use std::locale::classic with confiog file ifstream, just in case
4 years ago
FlightlessMango
916ef02eb2
Revert "Add readlink.c to meson"
...
This reverts commit 56933049d0
.
4 years ago
FlightlessMango
b614734ab6
Revert "Trying to fix issue #231 musl"
...
This reverts commit 01233e5f1f
.
4 years ago
FlightlessMango
56933049d0
Add readlink.c to meson
4 years ago
FlightlessMango
01233e5f1f
Trying to fix issue #231 musl
4 years ago
FlightlessMango
8f22ebae44
Also check for pci.ids in /usr/share/misc/
4 years ago
FlightlessMango
e2ec80d84e
Upload log keybind setup
4 years ago
FlightlessMango
8d6ff5bd25
upload log functions
4 years ago
FlightlessMango
6a28a8f7f1
Track log files for current session
4 years ago
FlightlessMango
064c285f31
permit_upload and upload_log params
4 years ago
FlightlessMango
f14c9a7587
Moved exec function in to logging.h
4 years ago
Lars Krämer
3421ad269a
Use locale::classic
4 years ago
jackun
441f1d3f3f
Use std::locale::classic() in parse_float()
4 years ago
jackun
d9a09670d8
Replace std::stoi with something that doesn't throw
4 years ago
jackun
e1fb2fbf88
Parse floats in C locale, hopefully
4 years ago
Lars Krämer
4d22927776
Use a stringstream
4 years ago
Lars Krämer
01df8149ab
sign bug
4 years ago
Lars Krämer
b8571c27e2
First implementation of custom float parsing
4 years ago
FlightlessMango
8e34e752e5
Merge branch 'master' into develop
4 years ago
Kingsley McDonald
6178c5859c
adjust benchHeight for 0.1% and fix percentages.
4 years ago
Kingsley McDonald
053a1d8a44
add 0.1% lows to the brief benchmark overlay
4 years ago
jackun
5ec6519832
Add `media_player_order` to set media player metadata order
4 years ago
Stephan Lachnit
d956f60f86
remove old system nvml build option
...
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
4 years ago
FlightlessMango
b9c00fc510
Check pci.ids without gpu_stats
4 years ago
FlightlessMango
38a78fa01e
Fix logging window if bg alpha is 0
4 years ago
Rémi Verschelde
f915d890f2
Fix -Wformat-security warning with GCC 10.1
4 years ago
FlightlessMango
71cbd66afb
Fixing cpu temp for core 2 duo CPUs
4 years ago
FlightlessMango
d41909321a
More width fixing
4 years ago
FlightlessMango
0728d49a1d
Fix width with no params
4 years ago
FlightlessMango
df631a2343
Reduced width with io rw
4 years ago
FlightlessMango
e9b1b70ebc
Fixed nextRow for gpu_power
4 years ago
FlightlessMango
135f3a5009
Fixing compiler warnings and removing control
4 years ago
FlightlessMango
59268a34b3
Always do nextRow() with core_clock
4 years ago
FlightlessMango
bc5d41f921
Changed IO rd/wr to rw
4 years ago
FlightlessMango
4a5e05c979
Trim gpuName from pci.ids
4 years ago
FlightlessMango
572ba69e3e
More width fixing
4 years ago
FlightlessMango
816d6ca515
Fixing hud width issues
4 years ago
jackun
b68f78028d
Fix "IO RD/RW" typo
...
Also micro-micro-micro optimization, probably: move READ/WRITE if statement before WRITE
as you'd probably find it more useful than just WRITE.
4 years ago
FlightlessMango
6d1ed9751d
Changed default keybinds
4 years ago
Valters
40017bc1e6
Change blacklist type ( #204 )
...
* Set blacklist to std::vector<std::string>
Fix some strange crashes.
Co-authored-by: jackun <jack.un@gmail.com>
4 years ago
jackun
1495b1e88f
ifdef guard nvml header
4 years ago
jackun
953c8d0e0f
Add meson option `with_nvml`
4 years ago
jackun
a236af66ee
Lock metadata mutexes in case they are cleared by inotify thread
4 years ago
jackun
467c53d22f
Keep track of notifier thread to make sure it exits before `notify_thread` struct is freed
4 years ago
jackun
31f9cce720
[COMMENTED] Make inotify monitor new per-app config file or if delete, the main config file again
...
Needs to be triggered by main config file change.
FIXME what if there's no config file?
4 years ago
jackun
2220cb9d74
Decouple `engine_version` from `fps`
4 years ago
jackun
16b05dfc5e
Show gpu core clock or power usage in 4th column or both on next row if both are enabled
4 years ago
jackun
91ccde4969
[blacklist] Add SocialClubHelper.exe
...
No much difference but at least doesn't spam log as much
4 years ago
FlightlessMango
3d503c9f29
Don't enable histogram with full param
4 years ago
jackun
b837ce930e
[whitespace] fix indentation from `gpu_name` to `arch`
4 years ago
jackun
1f81889d1b
Show bitness in library loaders
4 years ago
FlightlessMango
db151bb236
Add log_interval check to per frame log write
4 years ago
FlightlessMango
52989a727e
Cleaning up for after change to log_interval
4 years ago
FlightlessMango
d8727110b0
Replaced log_period env with log_interval param
4 years ago
FlightlessMango
128fbd4b88
Per frame logging use output_file and date
4 years ago
FlightlessMango
4bdd252393
Load 32bit libs if they exist with 64bit bin
4 years ago
Valters
6cebbba732
Always print blacklist info to STREAM
4 years ago
Valters
4721281952
Add LeagueClient{,UxRender} to blacklist
4 years ago
FlightlessMango
33a5ad6571
Format gpu_text and cpu_text in textColored
4 years ago
FlightlessMango
dd1667bf3e
Fixed typo
4 years ago
FlightlessMango
2d0ba9a076
Params to override cpu/gpu text
4 years ago
FlightlessMango
0e3508dcf0
Check if pci.ids was found
4 years ago
jackun
699de56fa1
[dbus] clear non-main players' metadata on dbus deinit
4 years ago
jackun
72602fab89
[dbus] remove missed exceptions; set dbus call timeout to 2 seconds
4 years ago
jackun
c04658456a
Wider glyph ranges for custom font; media player text scaling with `font_scale_media_player` param
4 years ago
FlightlessMango
c254347688
Use histogram in benchmark too
4 years ago
FlightlessMango
ac926bbfd5
Added histogram param
4 years ago
jackun
15ed8df404
Fix keybinds init when building without X11
4 years ago
jackun
5ad67fe446
Remove unused vars
4 years ago
FlightlessMango
078617f999
Added param for engine version
4 years ago
FlightlessMango
0e396186a6
[OpenGL] Always use QueryDrawable
4 years ago
jackun
ff48525313
Consolidated amdgpu file handles to a struct and add `gpu_power` param to show power usage for amdgpu/nvml
4 years ago
jackun
5c3c8a5ac9
Add nvmlDeviceGetPowerUsage import
4 years ago
jackun
9b595cef1a
[dbus] clear metadata on re-init; don't use exceptions
4 years ago
jackun
5057a47b05
Potential buffer overflow, use snprintf instead
4 years ago
jackun
159305bbc7
Use `display_time` instead of recalculating
4 years ago
FlightlessMango
357a819d67
Removed some debugging in logging
4 years ago
FlightlessMango
096fb626a3
Fixed logging date
4 years ago
FlightlessMango
1d375fd155
Removed crosshair
4 years ago
FlightlessMango
434aa04356
Fixed bench position even more
4 years ago
FlightlessMango
7f9bb2e6b8
Fixed mistake in bench positioning
4 years ago
FlightlessMango
54f83ee3d6
Corrected position and sizing for quick bench
4 years ago
jackun
613fa68491
Use `+` as keybind delimiter
4 years ago
FlightlessMango
22c25b6247
Fixo typo in quick benchmark
4 years ago
jackun
c5bb35c10d
Merge branch '159' into develop
4 years ago
FlightlessMango
92b86ad8bf
Added plot graph to quick benchmark
4 years ago
Valters
1afea91dab
Add multi hotkey
4 years ago
FlightlessMango
75f9128ce5
Redesigned logging, adding quick benchmark
4 years ago
FlightlessMango
0964f517b7
Change LogData previous to uint64_t
4 years ago
jackun
d93a21589e
Find cpu temp sensor input by label or fallback to first `tempN_input`
4 years ago
FlightlessMango
927fee0f59
No need to add version for nvidia twice
4 years ago
FlightlessMango
2e1861ea09
Changed elapsedlog to int64_t
4 years ago
jackun
40255b62f9
Fix get_device_name, don't substr if no '[' in gpu name
4 years ago
jackun
c25082b1dd
Fix blacklist array entries count
4 years ago
jackun
2622270e5c
Init remote control params even if blacklisted
4 years ago
jackun
a8f01a75e6
Use std::array for blacklist
...
More annoying to add entries but maybe more streamlined
4 years ago
jackun
a27ee0dc39
Generalize initial metadata error message
4 years ago
jackun
d694a61d21
Add `media_player_name` and `media_player_color` params
...
Allows to set "main" media player and text color
4 years ago
jackun
6c2b00ffb7
Append driver version
4 years ago
jackun
768297b430
[editorconfig] Apply whitespace rules
4 years ago
FlightlessMango
bc0a0aa53e
No need to save deviceName for later
4 years ago
jackun
2308a4228a
Fix vulkan device name
4 years ago
jackun
bb9721fe87
[OpenGL] Check if SRGB is enabled and Render ImGui in linear colorspace
4 years ago
FlightlessMango
31b01aab9f
Uncommented most of prop.driverVersion code
4 years ago
FlightlessMango
1750c43716
No need to convert deviceID twice
4 years ago
FlightlessMango
848b296477
Display vulkan driver
...
Co-authored-by: Georg Lehmann <dadschoorse@gmail.com>
4 years ago
FlightlessMango
f3422af562
Param gpu_name
4 years ago
FlightlessMango
1ddcc531ff
Get device name from pci.ids and display it
4 years ago
FlightlessMango
ed62155310
Parse pci.ids
...
Co-authored-by: jackun <jack.un@gmail.com>
4 years ago
FlightlessMango
a2cc14f738
Get deviceID
4 years ago
jackun
beee2b08c7
[OpenGL] Add glXSwapBuffersMscOML and disable XGetGeometry
4 years ago
jackun
9d1b548f69
Merge branch 'master' into develop
4 years ago
FlightlessMango
3f4949f593
Added top-center overlay position
4 years ago
FlightlessMango
03c9d1cd90
We don't need two vk_enum_to_str in shared_library
4 years ago
FlightlessMango
70d7ea4948
Add mangohud_version to shared_library
4 years ago
FlightlessMango
9cf6c502d2
Missing brackets for versions in render_imgui
4 years ago
FlightlessMango
e170e64f9c
[Params] Version option
4 years ago
FlightlessMango
0eaba7bb6c
Removed obsolete license from params
4 years ago
FlightlessMango
5ee573730a
Removed obsolete license from meson.build files
4 years ago
jackun
0ab53a1c06
Move MANGOHUD_PCI_DEV to config file param 'pci_dev'
...
Relax format requirements as long as it loosely resembles 'domain🚌 slot.func' format.
4 years ago
FlightlessMango
bff9958284
Changed pthreads to std::thread
4 years ago
Sporif
c61d25da04
Simplify 'is_blacklisted' function
4 years ago
Sporif
1e1dcd3a98
Fix vulkan driver version shown for Nvidia and Intel on Windows
4 years ago
jackun
8b13f8db7c
Blacklist Final Fantasy XIV launchers
4 years ago
jackun
29e5c4e460
Show device's name and vulkan driver version
4 years ago
jackun
8b855e3251
Fix mul/div order when normalizing io stats to sample per second as `fps_sampling_period` is also an integer.
4 years ago
jackun
d8264c485f
[OpenGL] Fixed version check mistakenly testing for GL 4.0+ instead of 3.2+ to enable ImGuiBackendFlags_RendererHasVtxOffset, leaving 3.2 contexts without it. (ocornut#3119, ocornut#2866, ocornut#2852)
4 years ago
jackun
22ee56def5
[OpenGL] Use 32bit font texture until someone figures out why 8-bit looks worse
4 years ago
jackun
0271aa6368
[OpenGL] Track threads with context, but might as well ignore glXMakeCurrent(NULL, NULL) calls probably
4 years ago
jackun
79e4c5223a
In C-only apps, std::cerr and friends can be uninitialized
4 years ago
jackun
934dc31e44
Add utility lib with dlsym hooking
4 years ago
jackun
ebdaa901b9
Merge pull request #131 from Sporif/blacklist_v2
...
Blacklist: Add OpenGL and fix `mangohud steam`
4 years ago
Danilo Spinella
b6340c832a
Add include for dlopen flags, fix build on musl
...
RTLD_DEEPBIND is not defined on musl based systems, add a check
before using it.
4 years ago
Danilo Spinella
fb64b2ae0e
Add __ELF_NATIVE_CLASS to musl systems
4 years ago
Danilo Spinella
728fc9fe56
dbus: Add missing include
4 years ago
jackun
86f8ebed30
Trying to find XNVCtrl's display by iterating through 16 displays.
4 years ago
jackun
6caa4a5173
Try load XNVCtrl as "libXNVCtrl.so.0"
...
Seems not all distro symlink also to libXNVCtrl.so
4 years ago
Sporif
61ef9244e9
Disable dlsym hooking by default and fix LD_PRELOAD propagation to new processes
...
This allows `mangohud steam` to work
4 years ago
Sporif
d1e90b5bec
[OpenGL] Add blacklist functionality
4 years ago
Sporif
c4a00704cf
Separate out blacklist implementation
4 years ago
Georg Lehmann
1eca184157
Vulkan Overlay: Don't try to change the image layout to present twice
...
The render pass already does the transition.
The pipeline barrier is still needed to transfer the queue family ownership.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3740 >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3740 >
4 years ago