Commit Graph

286 Commits (e5a256bfc04d5aaeed0c24ff9af45de5a99e7edf)

Author SHA1 Message Date
FlightlessMango a84f5ef178 Show mangohud arch in hud 5 years ago
FlightlessMango 23adda92b7 Added param 'arch' 5 years ago
FlightlessMango c9558eec50 Merge branch 'xnvctrl' into develop 5 years ago
jackun ae3a155e22
Keep engine name per vulkan instance 5 years ago
jackun 053a07d83c
[OpenGL] Don't set display size to scissor box if its size is just 1 by 1 5 years ago
jackun f92a2a07db
GiB not GB 5 years ago
jackun fbae1dfcc0
More checks for XNVCtrl support. Favor NVML but fallback to XNVCtrl if supported. 5 years ago
jackun b059fa26bc
xnvctrl: parse tokenized attributes 5 years ago
jackun c16f4b4275
try_stoi: spam in debug build only 5 years ago
FlightlessMango 79add746b5 Removed debugging messages 5 years ago
FlightlessMango f2b770abac Use XNVCTRLQueryTargetAttribute64 instead 5 years ago
FlightlessMango 2c979e52e6 Set nvmlSuccess to false if NVML gpu load is unsupported 5 years ago
FlightlessMango e7b5a18d87 If NVML fails fallback to NVctrl 5 years ago
FlightlessMango f81af99ee5 NVCtrl meson build 5 years ago
FlightlessMango aaaf30b807 NVctrl fetching 5 years ago
FlightlessMango 8ee0ec2c3f NVCtrl loader 5 years ago
jackun 1915352c86
Draw versions after table so they don't get clipped 5 years ago
jackun c7bee1a99d
[OpenGL] Compare if viewport or scissor box size changed with window resizing and use that for display size 5 years ago
jackun 6ad6bffade
Use ImGui's DisplaySize so display size for layer positioning etc can be set the same way for vulkan and OpenGL 5 years ago
jackun 3d46ccafe1
Show OpenGL version below engine name too to avoid it getting clipped 5 years ago
jackun 8aa0783b4a
Show vulkan/opengl version
OpenGL glGetIntegerv(GL_[MAJOR|MINOR]_VERSION) don't work on versions < 3.0 though
5 years ago
jackun bb3aba9080
[OpenGL] Use elfhacks to load real OpenGL functions 5 years ago
jackun 85801bcc17
[OpenGL] Add elfhacks
https://github.com/ienorand/elfhacks
5 years ago
FlightlessMango 8fb13e23e4 Resize window when reloading config 5 years ago
jackun 5bdfcd493d
[config] Add config file change notifier to OpenGL 5 years ago
jackun a0f5cb56a2
[config] Guard overlay_params from the thread with mutex 5 years ago
jackun 34184abf2e
[config] loop in the notifier thread and reload configuration file if it is changed 5 years ago
jackun 341aa21b87
[config] Move options map and config_file_path to overlay_params 5 years ago
FlightlessMango c5dad16612 Listen for modify on config file 5 years ago
jackun b0f36fad31
Expand paths only 5 years ago
FlightlessMango b0e1fe9321 [params] set targetFrameTime in params.cpp 5 years ago
FlightlessMango 71b602751d [meson] option to include_doc 5 years ago
jackun 6e40f9bdd5
Expand tilde to home dir if string param start with `~` 5 years ago
jackun f7a7256374
Clear options map so reloading config files actually has an effect 5 years ago
jackun 6b4103eae9
[config] Parse Wine application name without absolute path 5 years ago
jackun abef561573
Disable CPU stat(s) if it failed to initialize 5 years ago
jackun 712590befe
Check if CPU sensor file handle is valid 5 years ago
FlightlessMango 64a42df047 forgot to include functional 5 years ago
FlightlessMango cbb58ab79c make sure Xdisplay is closed on shutdown 5 years ago
FlightlessMango b3286cbe48 check if opengl/vulkan with is_vulkan bool 5 years ago
jackun 13e57578c3
Fix update_hud_info indentation 5 years ago
jackun 154380e056
Don't update time if not enabled 5 years ago
jackun 9a7a4d99e0
Don't update CPU freq/temp if not enabled 5 years ago
jackun 6bbc89a9cc
Don't update CPU stats if not enabled 5 years ago
jackun 16552b25e3 Don't update RAM/IO stats if not enabled 5 years ago
jackun c850507314
[OpenGL] Initialize MangoHud from glXSwapBuffers even if glXMakeCurrent is skipped for some reason 5 years ago
jackun fa41e6f882
Always configure vulkan json 5 years ago
jackun ad64bf345d
Update build scripts, again
Install to $prefix$libdir/mangohud by default.
5 years ago
jackun 50cef9621b
Remove ~/.local/share/MangoHud/MangoHud.conf support 5 years ago
jackun 57f3b3470d
Remove param_unit() 5 years ago
jackun 2e3f8077cb
Remove parse_output_file 5 years ago
jackun da9120f971
Add parse_signed() for gl_sync 5 years ago
jackun 125dbc1403
[OpenGL] Allow swap interval of -1 for adaptive sync, if supported 5 years ago
FlightlessMango e24f5dfc8b added log_duration param and updated readme 5 years ago
FlightlessMango b4cd837328 [OpenGL] custom font file 5 years ago
FlightlessMango 8641392ca7 added MANGOHUD_FONT to params as font_file 5 years ago
FlightlessMango d1bdf71580 added MANGOHUD_OUTPUT to params as output_file 5 years ago
jackun 4adb6ed25f
Convert tabs to spaces in cpu.cpp/cpu.h 5 years ago
jackun 72d7f6ef71
Print also a reason for skipping a config file 5 years ago
jackun 31a651133c
[OpenGL] Cleanup stderr output a little 5 years ago
jackun bbfad2e073
[OpenGL] Parse and initialize configuration just once 5 years ago
jackun a52dce875f
[OpenGL] Keep glClipControl local to imgui_impl_opengl3.cpp 5 years ago
jackun 05d61ee77e
Init CPUStats just once 5 years ago
FlightlessMango e68dd48f3f forgot one refresh_config 5 years ago
FlightlessMango fe69ec2955 changed refresh_config to reload_cfg 5 years ago
FlightlessMango 501d7d74d2 install example config with meson 5 years ago
jackun 5caeb10882
[OpenGL] Apply swap interval from glXMakeCurrent 5 years ago
jackun 297b44bfe6
[OpenGL] Force-load libGL.so.1 with dlopen() if dlsym fails to find functions 5 years ago
jackun e0ce0493f7
[OpenGL] Set swap interval (vsync) with `gl_vsync` param 5 years ago
FlightlessMango 8133048e9c Add blank configuration for project_name and layer_suffix with build.sh 5 years ago
FlightlessMango 8153e29eb3 forgot to add '/' to end of path 5 years ago
FlightlessMango 8599484032 configure .json files with meson 5 years ago
jackun 37e34335ae
Sprinkle NDEBUG over gl debug prints 5 years ago
jackun ad598f7ec4
[OpenGL] Fix double-free with ImGui context 5 years ago
jackun f99129f9de
Libdirs: once more, with feeling 5 years ago
jackun 4761078133
Fix small font for gl 5 years ago
jackun c88b930a37
Match gl PushPopStyle count with vulkan's 5 years ago
jackun bc7db582bd
Single ImGui context for OpenGL
Seems only VAO is not shareable between OpenGL context
but that gets recreated every render anyway.
5 years ago
jackun 373bba5fcf
Keep time outside the table or it gets clipped if using too fancy a format 5 years ago
FlightlessMango 8bf8723ad5 added param text_color 5 years ago
FlightlessMango 77b3033cc7 Removed frametime_alpha and replace it with an overall alpha for text and frametime 5 years ago
FlightlessMango a1eafc3403 Install .so into subdirectory in libdir 5 years ago
jackun a64b6cada2
Build/install scripts: verbose tar output and set files' owner/group to root 5 years ago
FlightlessMango 8558d038d7 refactored the install process 5 years ago
FlightlessMango ccf870e630 changed offset_x/y to int so it can be negative 5 years ago
FlightlessMango 88ad5de2ab Fix so preloading doesn't break vulkan layer 5 years ago
FlightlessMango 163c76bea7 added param background_color 5 years ago
FlightlessMango 28e765a6a3 added param frametime_alpha 5 years ago
FlightlessMango 906a8cde23 added param frametime_color 5 years ago
FlightlessMango a2735693ba Merge opengl into develop 5 years ago
FlightlessMango 755558ecb9 added param io_color 5 years ago
FlightlessMango d8b3c3c81f params for changing color of cpu, gpu, vram, ram and engine text 5 years ago
jackun 5e4bd7b8c8
Keep time outside the table or it gets clipped if using too fancy a format 5 years ago
jackun b4f1402461 Right align value texts 5 years ago
jackun e881a1538a Pre-convert crosshair's color to ImGui's format 5 years ago
jackun 1a8b98e09d Divide memory sizes by 1024 byte chunks 5 years ago
FlightlessMango 857dcf7fb8 use hmwon freq1/2 instead for amdgpu core/mem clocks 5 years ago
FlightlessMango 274b3e67ca don't extend hud width if gpu_stats is disabled 5 years ago
FlightlessMango 4d5f62386b added gpu mem and core clocks to hud 5 years ago
jackun f8398c3e7a Add I/O stats
Using /proc/self/io 'read_bytes' and 'write_bytes' fields which count only
reads/writes that hit the storage (i.e no cached reads).
5 years ago