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