FlightlessMango
45be485a13
mangohud control
2021-11-04 02:08:26 +01:00
FlightlessMango
da573e8eba
mangoapp: fix not respecting nvctrl option
2021-10-23 02:35:09 +02:00
FlightlessMango
cd215854ce
Mangoapp: meson option
2021-10-18 17:50:58 +02:00
FlightlessMango
4e3a40c6ef
mangoapp + gamescope shm
2021-10-18 17:50:58 +02:00
jackun
822e325d11
Add get_basename, fix win32 build
...
std::string::substr likes to throw
2021-08-12 16:07:42 +03:00
jackun
2f807a4c0d
Add spdlog
wrap and logging
2021-07-16 04:06:09 +03:00
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
2021-07-13 19:54:24 +03:00
Alessandro Toia
5656001639
Add forkawesome from compressed Base85 TTF
2021-05-27 15:40:33 -07:00
Alessandro Toia
5adb4500c7
Install forkawesome font file
2021-05-27 15:40:33 -07:00
FlightlessMango
a90c897feb
Check battery info
2021-05-27 15:40:33 -07:00
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
2021-04-18 23:03:24 +03:00
jackun
54d6a8e889
Unset LD_LIBRARY_PATH if using absolute paths in LD_PRELOAD
...
$LIB in LD_LIBRARY_PATH makes `ldconfig` unhappy.
2021-03-24 19:55:32 +02:00
jackun
6a5cd38127
Meson option to have absolute paths in LD_PRELOAD
2020-11-27 17:44:22 +02:00
FlightlessMango
378cc1e089
Push params to HudElements options
2020-11-09 19:26:46 +01:00
FlightlessMango
ac821df7fa
Win32 basic d3d11 present hook
2020-09-07 07:49:14 +02:00
FlightlessMango
2f55f52011
Allow blacklist for unix too
2020-09-07 06:37:27 +02:00
FlightlessMango
ab90abe4d4
De-linuxify vulkan
2020-09-07 06:36:35 +02:00
FlightlessMango
bf9132bba1
Win32 nvapi gpu usage
2020-09-07 04:38:55 +02:00
FlightlessMango
7dd6792772
Win32 nvapi gpu usage
2020-09-07 04:38:35 +02:00
FlightlessMango
2ebb381166
Win32 d3d_shared
2020-09-06 13:55:02 +02:00
FlightlessMango
cbd87585b4
Win32 cpu usage
2020-09-06 13:52:18 +02:00
FlightlessMango
ff5d85a4a5
Win32 overlay_params
2020-09-06 13:44:19 +02:00
FlightlessMango
ed466d3c9d
Fix some more linux vs win compatability
2020-09-06 11:41:31 +02:00
FlightlessMango
785b37534d
win32 file_utils
2020-09-06 10:56:24 +02:00
FlightlessMango
c3fc0f10b0
Start separating vulkan, keybinds, overlay and font
2020-09-06 10:30:57 +02:00
FlightlessMango
1263b8d954
Build with windows_deps
2020-09-06 07:50:31 +02:00
FlightlessMango
9391822da5
Basic d3d12 present hook
2020-09-05 11:16:20 +02:00
FlightlessMango
8d3e8b5205
Add kiero to win
2020-09-05 08:09:42 +02:00
FlightlessMango
3ffa1bed7a
Windows attach dll
2020-09-05 07:51:36 +02:00
FlightlessMango
b7aa6a997b
Separate unix and windows in meson
2020-09-05 07:42:39 +02:00
jackun
a173989b1c
Make build.sh compatible with \$LIB
2020-08-04 19:51:00 +03:00
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>
2020-08-04 18:36:16 +03:00
Stephan Lachnit
acf2d88fbc
Import Dear ImGui files as subproject
...
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2020-07-09 00:55:10 +03:00
jackun
5fe5ac5f3d
Build script and fixes for Steam Runtime SDK
2020-06-29 17:30:45 +03:00
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 >
2020-06-21 22:55:13 +03:00
jackun
2da02ee553
Try to limit exported symbols with --version-script
2020-06-19 23:42:30 +03:00
FlightlessMango
99cefe96a5
Created logging.cpp
2020-06-19 16:28:55 +02:00
FlightlessMango
916ef02eb2
Revert "Add readlink.c to meson"
...
This reverts commit 56933049d0
.
2020-06-19 14:48:38 +02:00
FlightlessMango
56933049d0
Add readlink.c to meson
2020-06-19 14:23:43 +02:00
Stephan Lachnit
d956f60f86
remove old system nvml build option
...
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2020-06-12 13:37:12 +03:00
jackun
953c8d0e0f
Add meson option with_nvml
2020-06-09 13:44:41 +03:00
FlightlessMango
4bdd252393
Load 32bit libs if they exist with 64bit bin
2020-06-03 22:00:48 +02:00
jackun
768297b430
[editorconfig] Apply whitespace rules
2020-05-10 15:18:59 +03:00
FlightlessMango
ed62155310
Parse pci.ids
...
Co-authored-by: jackun <jack.un@gmail.com>
2020-05-10 01:40:56 +02:00
FlightlessMango
03c9d1cd90
We don't need two vk_enum_to_str in shared_library
2020-05-02 23:24:54 +02:00
FlightlessMango
70d7ea4948
Add mangohud_version to shared_library
2020-05-02 23:18:25 +02:00
FlightlessMango
5ee573730a
Removed obsolete license from meson.build files
2020-05-02 17:13:04 +02:00
jackun
934dc31e44
Add utility lib with dlsym hooking
2020-04-21 17:05:37 +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
jackun
efed107af6
[meson] check void* size once and better-ish xnvctrl checks
2020-04-15 19:45:59 +03:00
jackun
f35e49defa
[OpenGL] Merge "shared" files back to imgui_hud.cpp
2020-04-12 16:25:46 +03: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
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
jackun
780ea7c89b
[OpenGL] Use GLAD instead on gl3w and hook EGL
2020-04-09 21:24:37 +03:00
jackun
a6bfa712e3
Do a sanity check for XNVCtrl and GLX headers
2020-04-05 16:11:29 +03: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
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>
2020-04-04 17:49:02 +03:00
jackun
8cd3172335
[OpenGL] Separate GLX out from shareable code so wayland sessions can just use EGL, hopefully
2020-04-02 03:09:49 +03:00
jackun
2f034c6d1e
Use X11 loader functions instead of linking to X11 libs
2020-04-02 03:09:49 +03:00
jackun
b2e6727b25
[OpenGL] Rename loader_gl.* to loader_glx.*
2020-04-01 15:16:44 +03:00
jackun
2e7d92e068
Move real_dlsym
files out from gl
subdir
2020-04-01 14:39:51 +03:00
jackun
e750173b51
[OpenGL] Check if X11 is enabled
2020-04-01 11:46:08 +03:00
Danilo Spinella
0373383581
Add x11/wayland feature switches, rename 'use_xnvctrl' to 'with_xnvctrl'
2020-04-01 11:39:57 +03:00
jackun
59113b3ae2
[OpenGL] Move ImGui functions to separate file
2020-04-01 11:28:16 +03:00
jackun
ebe23d3431
[OpenGL] Rename inject.cpp to inject_glx.cpp in preparation for separating X11 related functions
2020-04-01 11:27:04 +03:00
jackun
049e960589
Add 'use_xnvctrl' feature to allow building without libXNVCtrl support
2020-03-30 22:48:56 +03:00
FlightlessMango
f81af99ee5
NVCtrl meson build
2020-03-20 12:54:20 +01:00
FlightlessMango
8ee0ec2c3f
NVCtrl loader
2020-03-20 12:53:43 +01:00
jackun
bb3aba9080
[OpenGL] Use elfhacks to load real OpenGL functions
2020-03-16 22:37:42 +02:00
FlightlessMango
c5dad16612
Listen for modify on config file
2020-03-16 16:48:12 +01:00
FlightlessMango
71b602751d
[meson] option to include_doc
2020-03-15 16:01:08 +01:00
jackun
fa41e6f882
Always configure vulkan json
2020-03-14 13:22:17 +02:00
jackun
ad64bf345d
Update build scripts, again
...
Install to $prefix$libdir/mangohud by default.
2020-03-14 12:59:43 +02:00
FlightlessMango
501d7d74d2
install example config with meson
2020-03-13 12:41:22 +01:00
FlightlessMango
8133048e9c
Add blank configuration for project_name and layer_suffix with build.sh
2020-03-12 09:20:22 +01:00
FlightlessMango
8153e29eb3
forgot to add '/' to end of path
2020-03-12 08:31:33 +01:00
FlightlessMango
8599484032
configure .json files with meson
2020-03-12 08:24:37 +01:00
jackun
f99129f9de
Libdirs: once more, with feeling
2020-03-11 18:11:35 +02:00
FlightlessMango
a1eafc3403
Install .so into subdirectory in libdir
2020-03-11 05:19:48 +01:00
jackun
a64b6cada2
Build/install scripts: verbose tar output and set files' owner/group to root
2020-03-10 23:41:55 +02:00
FlightlessMango
8558d038d7
refactored the install process
2020-03-10 13:39:52 +01:00
FlightlessMango
a2735693ba
Merge opengl into develop
2020-03-10 06:19:18 +01:00
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).
2020-03-07 02:07:24 +01:00
jackun
70d0e81c36
Clone vulkan headers if needed
2020-02-13 23:53:56 +02:00
Danilo Spinella
18edd4eb50
meson: Add option to use system vulkan headers
2020-02-13 21:47:50 +02:00
FlightlessMango
ebc49ae8c5
Basic parse config
2020-02-10 09:37:19 +01:00
FlightlessMango
d578d612d4
Renamed overlay_param.c to .cpp
2020-02-09 14:02:40 +01:00
FlightlessMango
36eba167d8
use nvml for nvidia gpu memory instead of nvctrl
2020-02-05 14:16:16 +02:00
FlightlessMango
6affdb8c51
fetch nvidia vram used from nvctrl
2020-02-05 14:16:16 +02:00
FlightlessMango
8ab7cd0f20
Basic memory fetching
2020-02-05 14:16:06 +02:00
jackun
b5bfd437a6
Add file and string utility functions
2020-02-04 23:23:01 +02:00
FlightlessMango
dcb0dcd441
Merge branch 'dynamic_nvml'
2020-02-02 02:57:48 +01:00
FlightlessMango
1a60999243
New cpu implementation
2020-02-02 00:55:24 +01:00
FlightlessMango
8cdd9f19cf
Dynamically load nvml library
2020-02-01 02:28:31 +01:00
FlightlessMango
a045ae3b64
Don't build with nvml for non-nvidia
2020-01-30 21:23:47 +02:00
FlightlessMango
ef0b3d429e
Basic nvml implementation
2020-01-30 21:23:40 +02:00
telans
678207f052
remove unused mesa-overlay-control.py
2020-01-29 23:25:16 +13:00