FlightlessMango
bff9958284
Changed pthreads to std::thread
2020-05-01 23:55:21 +02:00
Sporif
c61d25da04
Simplify 'is_blacklisted' function
2020-04-30 16:49:40 +03:00
jackun
99e5d13b8f
Merge pull request #140 from Sporif/driver_version
...
Fix vulkan driver version shown for Nvidia and Intel on Windows
2020-04-30 16:47:14 +03:00
Sporif
1e1dcd3a98
Fix vulkan driver version shown for Nvidia and Intel on Windows
2020-04-30 14:38:22 +01:00
jackun
8b13f8db7c
Blacklist Final Fantasy XIV launchers
2020-04-28 23:27:52 +03: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
jackun
d8264c485f
[OpenGL] Fixed version check mistakenly testing for GL 4.0+ instead of 3.2+ to enable ImGuiBackendFlags_RendererHasVtxOffset, leaving 3.2 contexts without it. (ocornut#3119, ocornut#2866, ocornut#2852)
2020-04-25 21:17:58 +03:00
jackun
a35c1dd5d7
Update ImGui
2020-04-25 21:01:56 +03:00
jackun
22ee56def5
[OpenGL] Use 32bit font texture until someone figures out why 8-bit looks worse
2020-04-25 13:13:05 +03:00
jackun
0271aa6368
[OpenGL] Track threads with context, but might as well ignore glXMakeCurrent(NULL, NULL) calls probably
2020-04-21 20:57:13 +03:00
jackun
12a528b894
Merge pull request #120 from medusalix/os-release
...
Improve os-release parsing
2020-04-21 17:34:28 +03:00
jackun
79e4c5223a
In C-only apps, std::cerr and friends can be uninitialized
2020-04-21 17:19:12 +03:00
jackun
934dc31e44
Add utility lib with dlsym hooking
2020-04-21 17:05:37 +03:00
jackun
ebdaa901b9
Merge pull request #131 from Sporif/blacklist_v2
...
Blacklist: Add OpenGL and fix `mangohud steam`
2020-04-21 16:58:46 +03:00
Danilo Spinella
b6340c832a
Add include for dlopen flags, fix build on musl
...
RTLD_DEEPBIND is not defined on musl based systems, add a check
before using it.
2020-04-21 15:51:12 +03:00
Danilo Spinella
fb64b2ae0e
Add __ELF_NATIVE_CLASS to musl systems
2020-04-21 15:50:19 +03:00
Danilo Spinella
728fc9fe56
dbus: Add missing include
2020-04-21 15:47:21 +03:00
jackun
86f8ebed30
Trying to find XNVCtrl's display by iterating through 16 displays.
2020-04-20 22:51:55 +03:00
jackun
6caa4a5173
Try load XNVCtrl as "libXNVCtrl.so.0"
...
Seems not all distro symlink also to libXNVCtrl.so
2020-04-18 20:34:06 +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
d1e90b5bec
[OpenGL] Add blacklist functionality
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
efed107af6
[meson] check void* size once and better-ish xnvctrl checks
2020-04-15 19:45:59 +03:00
jackun
cf5eb9e9a5
ifdef-guard dbus_info.h include
2020-04-15 19:12:56 +03:00
flightlessmango
1955be8810
Merge pull request #123 from Newbytee/add-doas-support
...
Add doas support
2020-04-15 07:51:52 +02:00
FlightlessMango
b9725ef82b
[Readme] Added goverlay
2020-04-15 07:24:57 +02:00
jackun
ad0f010951
Don't print that nvmlDeviceGetHandleByPciBusId failed if it wasn't even called
2020-04-14 00:54:44 +03:00
jackun
723c6bedeb
Fix init_x11
return value and X11/XNVCtrl logic checks
2020-04-14 00:26:23 +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
7e5afe96bb
Add dbus_message_get_sender to dbus loader
2020-04-13 02:52:36 +03:00
jackun
bb4b78ada0
[OpenGL] Spam terminal a little less with version strings
2020-04-12 16:38:28 +03:00
jackun
f35e49defa
[OpenGL] Merge "shared" files back to imgui_hud.cpp
2020-04-12 16:25:46 +03:00
jackun
b40fb95a04
[OpenGL] Better version parsing and fix gl version checks for vertex arrays
2020-04-12 16:25:35 +03:00
Newbyte
06e0fdd248
Remove $ that shouldn't have been there
2020-04-12 12:12:28 +02:00
Newbyte
9f83e15750
Implement doas support in build and setup scripts
2020-04-12 11:51:14 +02:00
FlightlessMango
d6314da8b2
Merge branch 'master' into develop
2020-04-11 22:49:50 +02:00
jackun
2383ba26fc
Tell GCC to stop exporting static library functions
...
Should fix crashes where games using Dear ImGui link to ours.
2020-04-11 13:05:53 +03:00
flightlessmango
0f695d76c7
Merge pull request #119 from andrealmeid/log_to_mem
...
Write log in a memory buffer and periodically write it in disk
2020-04-11 01:49:22 +02:00
jackun
6576a0a09c
Print NVML return code as string
2020-04-11 01:08:20 +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
jackun
d81dc7936a
[OpenGL] Use glXQueryDrawable if XGetGeometry fails
2020-04-10 22:39:43 +03:00
jackun
ff3c58c9c5
[OpenGL] Change glXMakeCurrent return type to int just in case and convert missed #ifdefs
2020-04-10 22:35:07 +03:00
jackun
27cf8230d9
Merge pull request #122 from stephanlachnit/patch/nvml-dfsg
...
Make used NVML optional
2020-04-10 15:53:25 +03:00
Stephan Lachnit
dc39dc7650
Create script to release DFSG compliant source
...
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2020-04-10 11:34:45 +02:00
Stephan Lachnit
f860418e7e
Allow system NVML to be used
...
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2020-04-10 11:33:58 +02:00
André Almeida
f07aea54b6
logging: check if duration is enabled before checking if it has expired
...
If we check if log_duration is enabled before checking if it has expired
we can save some math and comparison instructions on every log write.
2020-04-09 15:58:05 -03:00
André Almeida
0a942512e9
logging: don't sleep if time is over
2020-04-09 15:50:39 -03:00