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
d1e90b5bec
[OpenGL] Add blacklist functionality
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
efed107af6
[meson] check void* size once and better-ish xnvctrl checks
5 years ago
jackun
cf5eb9e9a5
ifdef-guard dbus_info.h include
5 years ago
flightlessmango
1955be8810
Merge pull request #123 from Newbytee/add-doas-support
...
Add doas support
5 years ago
FlightlessMango
b9725ef82b
[Readme] Added goverlay
5 years ago
jackun
ad0f010951
Don't print that nvmlDeviceGetHandleByPciBusId failed if it wasn't even called
5 years ago
jackun
723c6bedeb
Fix `init_x11` return value and X11/XNVCtrl logic checks
5 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.
5 years ago
jackun
7e5afe96bb
Add dbus_message_get_sender to dbus loader
5 years ago
jackun
bb4b78ada0
[OpenGL] Spam terminal a little less with version strings
5 years ago
jackun
f35e49defa
[OpenGL] Merge "shared" files back to imgui_hud.cpp
5 years ago
jackun
b40fb95a04
[OpenGL] Better version parsing and fix gl version checks for vertex arrays
5 years ago
Newbyte
06e0fdd248
Remove $ that shouldn't have been there
5 years ago
Newbyte
9f83e15750
Implement doas support in build and setup scripts
5 years ago
FlightlessMango
d6314da8b2
Merge branch 'master' into develop
5 years ago
jackun
2383ba26fc
Tell GCC to stop exporting static library functions
...
Should fix crashes where games using Dear ImGui link to ours.
5 years ago
flightlessmango
0f695d76c7
Merge pull request #119 from andrealmeid/log_to_mem
...
Write log in a memory buffer and periodically write it in disk
5 years ago
jackun
6576a0a09c
Print NVML return code as string
5 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"
5 years ago
jackun
e5a256bfc0
Move DBus init to overlay_params so it can be enabled/disabled on the fly from a single place
5 years ago
jackun
d81dc7936a
[OpenGL] Use glXQueryDrawable if XGetGeometry fails
5 years ago
jackun
ff3c58c9c5
[OpenGL] Change glXMakeCurrent return type to int just in case and convert missed #ifdefs
5 years ago
jackun
27cf8230d9
Merge pull request #122 from stephanlachnit/patch/nvml-dfsg
...
Make used NVML optional
5 years ago
Stephan Lachnit
dc39dc7650
Create script to release DFSG compliant source
...
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
5 years ago
Stephan Lachnit
f860418e7e
Allow system NVML to be used
...
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
5 years ago
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.
5 years ago
André Almeida
0a942512e9
logging: don't sleep if time is over
5 years ago
André Almeida
0303f8de28
logging: write log to a memory buffer
...
Instead of writing every line of the log to the file (and, consequently,
to the disk), write to a memory buffer first and after the log finishes
flush from memory to disk. This improve the performance of the tool, since
it avoids making the program blocked by disk IO.
5 years ago
jackun
f3f04f3f78
Print dlerror() in lib loaders
5 years ago
jackun
780ea7c89b
[OpenGL] Use GLAD instead on gl3w and hook EGL
5 years ago
medusalix
4906140a49
Fix Debian os-release name
5 years ago
medusalix
f9b5e233ed
Improve os-release parsing
5 years ago
jackun
772ab6aa5b
[OpenGL] Don't exit if function is not found, it probably isn't catastrophic
5 years ago
André Almeida
4830268a11
logging: fix indentation
5 years ago
jackun
b4163b744b
[build.sh] openSuse: add python3-pip and ninja to deps
5 years ago
jackun
a6bfa712e3
Do a sanity check for XNVCtrl and GLX headers
5 years ago
jackun
08859b83c1
[build.sh] openSuse: pip install meson>=0.54, add dbus-1, warn about libXNVCtrl-devel needing extra repo
5 years ago
jackun
08d8ece7be
[build.sh] Ubuntu: add dbus and force pip to install meson>=0.54
5 years ago
FlightlessMango
0cb3bbef50
[Build script] Corrected name for Manjaro Linux
5 years ago
FlightlessMango
fea9980d06
[Build script] *Buntu no longer needs libx11-dev 32bit
5 years ago
FlightlessMango
d454ff43a2
Hide all hud elements on no_display
5 years ago
jackun
e95a96d9f0
If used for other things than just reading sysfs files, xfs/jfs need stat() for inode type
5 years ago
jackun
0db804aa01
Don't free DBusError if it was never inited because dbus_error_free() is nullptr too
5 years ago
jackun
421146b822
Don't reinit dbus manager
5 years ago
jackun
125cda222f
Add media_player param to readme/conf
5 years ago
jackun
0a27e0a447
Clear all metadata strings in case other mpris-compatible media players don't have them all
5 years ago
jackun
8024736253
Add DBus loader, combined ticker for Spotify metadata
5 years ago