jackun
c093f9823e
Use libdrm_amdgpu for amdgpu sensor info, if available
...
Using plain `open` as `drmOpen` needs bus id check which needs interface 1.4 ioctl which gives EPERM cause only DRM_MASTER can call it :(
https://github.com/clbr/radeontop/issues/48#issuecomment-493792404
3 years ago
Alessandro Toia
5656001639
Add forkawesome from compressed Base85 TTF
3 years ago
Alessandro Toia
5adb4500c7
Install forkawesome font file
3 years ago
FlightlessMango
a90c897feb
Check battery info
3 years ago
jackun
47865573a8
Add option to prepend libdir to library's path in vulkan manifest
...
"\$LIB" technically breaks json but on the other hand vulkan loader
currently doesn't handle "\\$LIB"
Help with issue #468
3 years ago
jackun
54d6a8e889
Unset LD_LIBRARY_PATH if using absolute paths in LD_PRELOAD
...
$LIB in LD_LIBRARY_PATH makes `ldconfig` unhappy.
4 years ago
jackun
6a5cd38127
Meson option to have absolute paths in LD_PRELOAD
4 years ago
FlightlessMango
378cc1e089
Push params to HudElements options
4 years ago
FlightlessMango
ac821df7fa
Win32 basic d3d11 present hook
4 years ago
FlightlessMango
2f55f52011
Allow blacklist for unix too
4 years ago
FlightlessMango
ab90abe4d4
De-linuxify vulkan
4 years ago
FlightlessMango
bf9132bba1
Win32 nvapi gpu usage
4 years ago
FlightlessMango
7dd6792772
Win32 nvapi gpu usage
4 years ago
FlightlessMango
2ebb381166
Win32 d3d_shared
4 years ago
FlightlessMango
cbd87585b4
Win32 cpu usage
4 years ago
FlightlessMango
ff5d85a4a5
Win32 overlay_params
4 years ago
FlightlessMango
ed466d3c9d
Fix some more linux vs win compatability
4 years ago
FlightlessMango
785b37534d
win32 file_utils
4 years ago
FlightlessMango
c3fc0f10b0
Start separating vulkan, keybinds, overlay and font
4 years ago
FlightlessMango
1263b8d954
Build with windows_deps
4 years ago
FlightlessMango
9391822da5
Basic d3d12 present hook
4 years ago
FlightlessMango
8d3e8b5205
Add kiero to win
4 years ago
FlightlessMango
3ffa1bed7a
Windows attach dll
4 years ago
FlightlessMango
b7aa6a997b
Separate unix and windows in meson
4 years ago
jackun
a173989b1c
Make build.sh compatible with \$LIB
4 years ago
Stephan Lachnit
d712d35aaf
simplify cross arch preloading
...
This commit does a couple of things. In the mangohud launch script, the library will be found using $LIB with ld, so the correct path is selected depending on the cpu arch. The same is done for mangohud.json (vulkan layer). In addition some now unused files have been deleted.
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
4 years ago
Stephan Lachnit
acf2d88fbc
Import Dear ImGui files as subproject
...
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
4 years ago
jackun
5fe5ac5f3d
Build script and fixes for Steam Runtime SDK
4 years ago
jackun
0d03b5a150
meson: use gnu_symbol_visibility argument
...
This uses a meson builtin to handle -fvisibility=hidden.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4740 >
4 years ago
jackun
2da02ee553
Try to limit exported symbols with --version-script
4 years ago
FlightlessMango
99cefe96a5
Created logging.cpp
4 years ago
FlightlessMango
916ef02eb2
Revert "Add readlink.c to meson"
...
This reverts commit 56933049d0
.
4 years ago
FlightlessMango
56933049d0
Add readlink.c to meson
4 years ago
Stephan Lachnit
d956f60f86
remove old system nvml build option
...
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
4 years ago
jackun
953c8d0e0f
Add meson option `with_nvml`
4 years ago
FlightlessMango
4bdd252393
Load 32bit libs if they exist with 64bit bin
4 years ago
jackun
768297b430
[editorconfig] Apply whitespace rules
4 years ago
FlightlessMango
ed62155310
Parse pci.ids
...
Co-authored-by: jackun <jack.un@gmail.com>
4 years ago
FlightlessMango
03c9d1cd90
We don't need two vk_enum_to_str in shared_library
4 years ago
FlightlessMango
70d7ea4948
Add mangohud_version to shared_library
4 years ago
FlightlessMango
5ee573730a
Removed obsolete license from meson.build files
4 years ago
jackun
934dc31e44
Add utility lib with dlsym hooking
5 years ago
Sporif
61ef9244e9
Disable dlsym hooking by default and fix LD_PRELOAD propagation to new processes
...
This allows `mangohud steam` to work
5 years ago
Sporif
c4a00704cf
Separate out blacklist implementation
5 years ago
jackun
efed107af6
[meson] check void* size once and better-ish xnvctrl checks
5 years ago
jackun
f35e49defa
[OpenGL] Merge "shared" files back to imgui_hud.cpp
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
Stephan Lachnit
f860418e7e
Allow system NVML to be used
...
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
5 years ago
jackun
780ea7c89b
[OpenGL] Use GLAD instead on gl3w and hook EGL
5 years ago
jackun
a6bfa712e3
Do a sanity check for XNVCtrl and GLX headers
5 years ago
jackun
8024736253
Add DBus loader, combined ticker for Spotify metadata
5 years ago
FlightlessMango
d975278396
Dbus with spotify
5 years ago
Stephan Lachnit
0998d33d72
Use Vulkan-Headers module via wrap
...
This commit replaces the git submodule for the Vulkan headers with meson subproject using wrap.
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
5 years ago
jackun
8cd3172335
[OpenGL] Separate GLX out from shareable code so wayland sessions can just use EGL, hopefully
5 years ago
jackun
2f034c6d1e
Use X11 loader functions instead of linking to X11 libs
5 years ago
jackun
b2e6727b25
[OpenGL] Rename loader_gl.* to loader_glx.*
5 years ago
jackun
2e7d92e068
Move `real_dlsym` files out from `gl` subdir
5 years ago
jackun
e750173b51
[OpenGL] Check if X11 is enabled
5 years ago
Danilo Spinella
0373383581
Add x11/wayland feature switches, rename 'use_xnvctrl' to 'with_xnvctrl'
5 years ago
jackun
59113b3ae2
[OpenGL] Move ImGui functions to separate file
5 years ago
jackun
ebe23d3431
[OpenGL] Rename inject.cpp to inject_glx.cpp in preparation for separating X11 related functions
5 years ago
jackun
049e960589
Add 'use_xnvctrl' feature to allow building without libXNVCtrl support
5 years ago
FlightlessMango
f81af99ee5
NVCtrl meson build
5 years ago
FlightlessMango
8ee0ec2c3f
NVCtrl loader
5 years ago
jackun
bb3aba9080
[OpenGL] Use elfhacks to load real OpenGL functions
5 years ago
FlightlessMango
c5dad16612
Listen for modify on config file
5 years ago
FlightlessMango
71b602751d
[meson] option to include_doc
5 years ago
jackun
fa41e6f882
Always configure vulkan json
5 years ago
jackun
ad64bf345d
Update build scripts, again
...
Install to $prefix$libdir/mangohud by default.
5 years ago
FlightlessMango
501d7d74d2
install example config with meson
5 years ago
FlightlessMango
8133048e9c
Add blank configuration for project_name and layer_suffix with build.sh
5 years ago
FlightlessMango
8153e29eb3
forgot to add '/' to end of path
5 years ago
FlightlessMango
8599484032
configure .json files with meson
5 years ago
jackun
f99129f9de
Libdirs: once more, with feeling
5 years ago
FlightlessMango
a1eafc3403
Install .so into subdirectory in libdir
5 years ago
jackun
a64b6cada2
Build/install scripts: verbose tar output and set files' owner/group to root
5 years ago
FlightlessMango
8558d038d7
refactored the install process
5 years ago
FlightlessMango
a2735693ba
Merge opengl into develop
5 years ago
jackun
f8398c3e7a
Add I/O stats
...
Using /proc/self/io 'read_bytes' and 'write_bytes' fields which count only
reads/writes that hit the storage (i.e no cached reads).
5 years ago
jackun
70d0e81c36
Clone vulkan headers if needed
5 years ago
Danilo Spinella
18edd4eb50
meson: Add option to use system vulkan headers
5 years ago
FlightlessMango
ebc49ae8c5
Basic parse config
5 years ago
FlightlessMango
d578d612d4
Renamed overlay_param.c to .cpp
5 years ago
FlightlessMango
36eba167d8
use nvml for nvidia gpu memory instead of nvctrl
5 years ago
FlightlessMango
6affdb8c51
fetch nvidia vram used from nvctrl
5 years ago
FlightlessMango
8ab7cd0f20
Basic memory fetching
5 years ago
jackun
b5bfd437a6
Add file and string utility functions
5 years ago
FlightlessMango
dcb0dcd441
Merge branch 'dynamic_nvml'
5 years ago
FlightlessMango
1a60999243
New cpu implementation
5 years ago
FlightlessMango
8cdd9f19cf
Dynamically load nvml library
5 years ago
FlightlessMango
a045ae3b64
Don't build with nvml for non-nvidia
5 years ago
FlightlessMango
ef0b3d429e
Basic nvml implementation
5 years ago
telans
678207f052
remove unused mesa-overlay-control.py
5 years ago
telans
f3bedf3bce
add build script "build.sh"
5 years ago
jackun
64fd81a471
Add Unispace as default font or load a font from file specified by envvar MANGOHUD_FONT
...
Could make built-in font configurable by including some other source file with font data instead of src/font_unispace.c
5 years ago
FlightlessMango
dd78c02ed8
MangoHud Standalone
...
Co-authored-by: jackun <jack.un@gmail.com>
Co-authored-by: telans <telans@protonmail.com>
5 years ago