FlightlessMango
f3422af562
Param gpu_name
2020-05-10 02:21:39 +02:00
FlightlessMango
1ddcc531ff
Get device name from pci.ids and display it
2020-05-10 01:43:08 +02:00
FlightlessMango
ed62155310
Parse pci.ids
...
Co-authored-by: jackun <jack.un@gmail.com>
2020-05-10 01:40:56 +02:00
FlightlessMango
a2cc14f738
Get deviceID
2020-05-10 01:36:09 +02:00
FlightlessMango
3f4949f593
Added top-center overlay position
2020-05-04 06:54:25 +02:00
FlightlessMango
9cf6c502d2
Missing brackets for versions in render_imgui
2020-05-02 20:20:10 +02:00
FlightlessMango
e170e64f9c
[Params] Version option
2020-05-02 18:39:39 +02:00
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.
2020-05-02 17:40:05 +03:00
FlightlessMango
bff9958284
Changed pthreads to std::thread
2020-05-01 23:55:21 +02:00
Sporif
1e1dcd3a98
Fix vulkan driver version shown for Nvidia and Intel on Windows
2020-04-30 14:38:22 +01:00
jackun
29e5c4e460
Show device's name and vulkan driver version
2020-04-28 18:06:39 +03:00
jackun
8b855e3251
Fix mul/div order when normalizing io stats to sample per second as fps_sampling_period
is also an integer.
2020-04-28 17:25:34 +03:00
Sporif
61ef9244e9
Disable dlsym hooking by default and fix LD_PRELOAD propagation to new processes
...
This allows `mangohud steam` to work
2020-04-18 17:53:41 +01:00
Sporif
c4a00704cf
Separate out blacklist implementation
2020-04-18 17:53:41 +01:00
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 >
2020-04-18 18:37:27 +03:00
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.
2020-04-13 03:02:52 +03:00
jackun
b40fb95a04
[OpenGL] Better version parsing and fix gl version checks for vertex arrays
2020-04-12 16:25:35 +03:00
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"
2020-04-11 00:34:33 +03:00
jackun
e5a256bfc0
Move DBus init to overlay_params so it can be enabled/disabled on the fly from a single place
2020-04-10 22:39:43 +03:00
FlightlessMango
d454ff43a2
Hide all hud elements on no_display
2020-04-05 13:20:15 +02:00
jackun
8024736253
Add DBus loader, combined ticker for Spotify metadata
2020-04-04 23:50:57 +03:00
FlightlessMango
d975278396
Dbus with spotify
2020-04-04 20:51:53 +03:00
jackun
2f034c6d1e
Use X11 loader functions instead of linking to X11 libs
2020-04-02 03:09:49 +03:00
jackun
049e960589
Add 'use_xnvctrl' feature to allow building without libXNVCtrl support
2020-03-30 22:48:56 +03:00
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 >
2020-03-27 02:24:54 +02:00
jackun
32ae051434
Add Bethesda launcher to blacklist
2020-03-25 22:51:21 +02:00
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>
2020-03-25 17:11:33 +02:00
jackun
cf17f70dab
Remove unused statistics related code
2020-03-24 21:38:08 +02:00
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
2020-03-24 00:02:42 +02:00
jackun
2ab386d70a
Fix double definition
2020-03-23 21:19:03 +02:00
FlightlessMango
a84f5ef178
Show mangohud arch in hud
2020-03-23 20:12:11 +01:00
FlightlessMango
c9558eec50
Merge branch 'xnvctrl' into develop
2020-03-23 18:05:13 +01:00
jackun
ae3a155e22
Keep engine name per vulkan instance
2020-03-23 18:59:39 +02:00
jackun
f92a2a07db
GiB not GB
2020-03-21 21:47:50 +02:00
jackun
fbae1dfcc0
More checks for XNVCtrl support. Favor NVML but fallback to XNVCtrl if supported.
2020-03-20 16:36:00 +02:00
jackun
1915352c86
Draw versions after table so they don't get clipped
2020-03-18 18:55:51 +02:00
jackun
6ad6bffade
Use ImGui's DisplaySize so display size for layer positioning etc can be set the same way for vulkan and OpenGL
2020-03-17 15:00:20 +02:00
jackun
3d46ccafe1
Show OpenGL version below engine name too to avoid it getting clipped
2020-03-17 14:58:27 +02:00
jackun
8aa0783b4a
Show vulkan/opengl version
...
OpenGL glGetIntegerv(GL_[MAJOR|MINOR]_VERSION) don't work on versions < 3.0 though
2020-03-17 00:24:04 +02:00
FlightlessMango
8fb13e23e4
Resize window when reloading config
2020-03-16 18:41:48 +01:00
jackun
a0f5cb56a2
[config] Guard overlay_params from the thread with mutex
2020-03-16 18:52:03 +02:00
jackun
34184abf2e
[config] loop in the notifier thread and reload configuration file if it is changed
2020-03-16 18:35:01 +02:00
FlightlessMango
c5dad16612
Listen for modify on config file
2020-03-16 16:48:12 +01:00
FlightlessMango
b0e1fe9321
[params] set targetFrameTime in params.cpp
2020-03-15 17:09:03 +01:00
jackun
abef561573
Disable CPU stat(s) if it failed to initialize
2020-03-14 23:15:03 +02:00
FlightlessMango
b3286cbe48
check if opengl/vulkan with is_vulkan bool
2020-03-14 18:29:43 +01:00
jackun
13e57578c3
Fix update_hud_info indentation
2020-03-14 19:11:34 +02:00
jackun
154380e056
Don't update time if not enabled
2020-03-14 19:10:38 +02:00
jackun
9a7a4d99e0
Don't update CPU freq/temp if not enabled
2020-03-14 18:48:04 +02:00
jackun
6bbc89a9cc
Don't update CPU stats if not enabled
2020-03-14 18:41:50 +02:00