Commit Graph

171 Commits (0e396186a683f372580e1703fc1aeb99e679cc81)

Author SHA1 Message Date
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 5057a47b05
Potential buffer overflow, use snprintf instead 4 years ago
jackun 159305bbc7
Use `display_time` instead of recalculating 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
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 927fee0f59 No need to add version for nvidia twice 4 years ago
jackun 40255b62f9
Fix get_device_name, don't substr if no '[' in gpu name 4 years ago
jackun 2622270e5c
Init remote control params even if blacklisted 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
FlightlessMango 31b01aab9f Uncommented most of prop.driverVersion code 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
FlightlessMango 3f4949f593 Added top-center overlay position 4 years ago
FlightlessMango 9cf6c502d2 Missing brackets for versions in render_imgui 4 years ago
FlightlessMango e170e64f9c [Params] Version option 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 1e1dcd3a98 Fix vulkan driver version shown for Nvidia and Intel on Windows 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
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 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
jackun 88188ee1da
[dbus] Generalize a bit more but still give Spotify special treatment, keep track of 'org.mpris.MediaPlayer2' service providers
Keeps and draws spotify's and other player's metadata separately.
Keep track of 'org.mpris.MediaPlayer2' service providers so when
a player that was the last metadata sender quits, we can stop
showing its metadata on overlay.
4 years ago
jackun b40fb95a04
[OpenGL] Better version parsing and fix gl version checks for vertex arrays 4 years ago
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