Commit Graph

132 Commits (d6314da8b23527ad9c8d9336873051f6ffb0a29c)

Author SHA1 Message Date
jackun a9311bb578
Allow to specify gpu with pci bus id by setting env var `MANGOHUD_PCI_DEV=xxxx:xx:xx:x` where x's are "domain🚌slot.function" 4 years ago
jackun e5a256bfc0
Move DBus init to overlay_params so it can be enabled/disabled on the fly from a single place 4 years ago
FlightlessMango d454ff43a2 Hide all hud elements on no_display 4 years ago
jackun 8024736253
Add DBus loader, combined ticker for Spotify metadata 4 years ago
FlightlessMango d975278396
Dbus with spotify 4 years ago
jackun 2f034c6d1e
Use X11 loader functions instead of linking to X11 libs 4 years ago
jackun 049e960589
Add 'use_xnvctrl' feature to allow building without libXNVCtrl support 4 years ago
Lionel Landwerlin 1fc94600e9
vulkan/overlay: Add a workaround semaphore for application presenting without one
When an application calls vkQueuePresent() on a different queue than
the one we run our drawing on and it doesn't give a semaphore to wait
on, let's insert our own semaphore so that we don't race the
application's drawing.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2540
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3893>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3893>
4 years ago
jackun 32ae051434
Add Bethesda launcher to blacklist 4 years ago
Sporif c24d9015cd
Blacklist support
Initial blacklist: Battle.net.exe, EpicGamesLauncher.exe, IGOProxy.exe, IGOProxy64.exe, Origin.exe, Steam.exe

Signed-off-by: jackun <jack.un@gmail.com>
4 years ago
jackun cf17f70dab
Remove unused statistics related code 4 years ago
jackun e72a7bdd76
[config] Try to set notifier file descriptor to non-blocking mode; add start/stop_notifier functions
If setting to non-blocking fails, just closing the fd should kill it anyway
4 years ago
jackun 2ab386d70a
Fix double definition 4 years ago
FlightlessMango a84f5ef178 Show mangohud arch in hud 4 years ago
FlightlessMango c9558eec50 Merge branch 'xnvctrl' into develop 4 years ago
jackun ae3a155e22
Keep engine name per vulkan instance 4 years ago
jackun f92a2a07db
GiB not GB 4 years ago
jackun fbae1dfcc0
More checks for XNVCtrl support. Favor NVML but fallback to XNVCtrl if supported. 4 years ago
jackun 1915352c86
Draw versions after table so they don't get clipped 4 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 4 years ago
jackun 3d46ccafe1
Show OpenGL version below engine name too to avoid it getting clipped 4 years ago
jackun 8aa0783b4a
Show vulkan/opengl version
OpenGL glGetIntegerv(GL_[MAJOR|MINOR]_VERSION) don't work on versions < 3.0 though
4 years ago
FlightlessMango 8fb13e23e4 Resize window when reloading config 4 years ago
jackun a0f5cb56a2
[config] Guard overlay_params from the thread with mutex 4 years ago
jackun 34184abf2e
[config] loop in the notifier thread and reload configuration file if it is changed 4 years ago
FlightlessMango c5dad16612 Listen for modify on config file 4 years ago
FlightlessMango b0e1fe9321 [params] set targetFrameTime in params.cpp 4 years ago
jackun abef561573
Disable CPU stat(s) if it failed to initialize 4 years ago
FlightlessMango b3286cbe48 check if opengl/vulkan with is_vulkan bool 4 years ago
jackun 13e57578c3
Fix update_hud_info indentation 4 years ago
jackun 154380e056
Don't update time if not enabled 4 years ago
jackun 9a7a4d99e0
Don't update CPU freq/temp if not enabled 4 years ago
jackun 6bbc89a9cc
Don't update CPU stats if not enabled 4 years ago
jackun 16552b25e3 Don't update RAM/IO stats if not enabled 4 years ago
jackun 57f3b3470d
Remove param_unit() 4 years ago
FlightlessMango e24f5dfc8b added log_duration param and updated readme 4 years ago
FlightlessMango 8641392ca7 added MANGOHUD_FONT to params as font_file 4 years ago
FlightlessMango d1bdf71580 added MANGOHUD_OUTPUT to params as output_file 4 years ago
jackun 05d61ee77e
Init CPUStats just once 4 years ago
FlightlessMango e68dd48f3f forgot one refresh_config 4 years ago
FlightlessMango fe69ec2955 changed refresh_config to reload_cfg 4 years ago
jackun 373bba5fcf
Keep time outside the table or it gets clipped if using too fancy a format 4 years ago
FlightlessMango 8bf8723ad5 added param text_color 4 years ago
FlightlessMango 77b3033cc7 Removed frametime_alpha and replace it with an overall alpha for text and frametime 4 years ago
FlightlessMango 88ad5de2ab Fix so preloading doesn't break vulkan layer 4 years ago
FlightlessMango 163c76bea7 added param background_color 4 years ago
FlightlessMango 906a8cde23 added param frametime_color 4 years ago
FlightlessMango a2735693ba Merge opengl into develop 4 years ago
FlightlessMango 755558ecb9 added param io_color 4 years ago
FlightlessMango d8b3c3c81f params for changing color of cpu, gpu, vram, ram and engine text 4 years ago