FlightlessMango
4d76ad5161
Fix some uglyness in meson build
3 years ago
FlightlessMango
67a4918439
Only check for glfw dep if mangoapp
3 years ago
FlightlessMango
e0fe8b6930
Fix issue with imgui options
3 years ago
FlightlessMango
d99d6c8bd4
Bump version to 0.6.6
3 years ago
FlightlessMango
cd215854ce
Mangoapp: meson option
3 years ago
FlightlessMango
4e3a40c6ef
mangoapp + gamescope shm
3 years ago
jackun
67e5d790d1
Build and link to spdlog as static lib
...
Speeds up compiling a bit
3 years ago
jackun
6dee0948a5
Require meson >=0.54 for `default_library` option.
3 years ago
jackun
a82e27d978
Use spdlog macros so logging can be completely disabled during compile-time
3 years ago
jackun
2f807a4c0d
Add `spdlog` wrap and logging
3 years ago
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
FlightlessMango
e42002c57b
Bump version to 0.6.5
3 years ago
FlightlessMango
7bddec9397
bump to v0.6.4
3 years ago
jackun
5f54a9cfe6
Bump to v0.6.3
3 years ago
Kira Bruneau
d8a1ddf253
meson: Add vulkan_datadir option ( #522 )
...
This option enables using system Vulkan headers when it doesn't share
the same datadir as MangoHud. This is specifically an issue in NixOS
where packages are built into their own isolated directories in
/nix/store.
For example:
/nix/store/9g28nz6zh484144mzw670bx82y1ka49a-vulkan-headers-1.2.162.0/share/vulkan/registry/vk.xml
This is currently worked around in the Nix package, by symlinking the
vulkan-headers into MangoHud's install directory:
5debc57760/pkgs/tools/graphics/mangohud/default.nix (L66-L70)
Although, this hack causes the vulkan-headers to be included as a
runtime dependency when they're only needed at build time.
I tried to figure out a way to resolve the datadir automatically, but
found that just adding a new option is probably the best solution for
the following reasons:
- The vulkan.pc file used to resolve dep_vulkan doesn't contain any
information about the datadir.
- The share directory could be resolved relative to the vulkan include
directory and that would solve the specific issue for Nix, but the
datadir could be installed anywhere and that wouldn't be a general
solution.
- I couldn't find a way to resolve the data dir using the XDG Base
Directory Specification because meson doesn't provide a way to access
the necessary environment variables.
https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
3 years ago
flightlessmango
af57e0cb2d
Merge pull request #445 from stephanlachnit/p/build-source-rework
...
imgui wrap from WrapDB and build-source.sh rework
3 years ago
flightlessmango
206c55ef2e
Bump version to v0.6.2
3 years ago
Stephan Lachnit
b0ee2f749c
imgui wrap from Wrap DB and build-source.sh rework
...
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
3 years ago
jackun
53cca5e723
Merge remote-tracking branch 'origin/master' into develop
3 years ago
Aidan Harris
0a29c7369a
Explicitly test for the mako python module
...
Some distros (Gentoo) support multiple versions of python3 and mako may
not be built for all of the implementations. Testing for the module
early will make sure meson bails out if the module cannot be
found.
3 years ago
FlightlessMango
90ce1c5778
ImGui wrap
3 years ago
jackun
7b59095a79
Bump to v0.6.1
4 years ago
FlightlessMango
1c9e533a51
Bump meson build to 0.6.0
4 years ago
FlightlessMango
1263b8d954
Build with windows_deps
4 years ago
FlightlessMango
9391822da5
Basic d3d12 present hook
4 years ago
FlightlessMango
b7aa6a997b
Separate unix and windows in meson
4 years ago
FlightlessMango
6da5622002
Add minhook dep in meson
4 years ago
jackun
c630588d22
Update version in meson.build
4 years ago
Stephan Lachnit
1f41652061
add a man page for mangohud
...
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
Stephan Lachnit
d956f60f86
remove old system nvml build option
...
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
4 years ago
Stephan Lachnit
ae8d387998
Use vulkan-headers 1.2.142 from Warp DB
...
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
4 years ago
FlightlessMango
91ba6fa824
Bump version to 0.4.0
4 years ago
FlightlessMango
f48c09e607
Bump version to 0.3.5
4 years ago
FlightlessMango
e170e64f9c
[Params] Version option
4 years ago
FlightlessMango
5ee573730a
Removed obsolete license from meson.build files
4 years ago
jackun
efed107af6
[meson] check void* size once and better-ish xnvctrl checks
4 years ago
FlightlessMango
d6314da8b2
Merge branch 'master' into develop
4 years ago
Stephan Lachnit
f860418e7e
Allow system NVML to be used
...
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
4 years ago
jackun
8024736253
Add DBus loader, combined ticker for Spotify metadata
4 years ago
FlightlessMango
d975278396
Dbus with spotify
4 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>
4 years ago
jackun
2f034c6d1e
Use X11 loader functions instead of linking to X11 libs
4 years ago
Danilo Spinella
0373383581
Add x11/wayland feature switches, rename 'use_xnvctrl' to 'with_xnvctrl'
4 years ago
jackun
82243bf115
Use more general sizeof to get arch "bitness"
4 years ago
jackun
2ab386d70a
Fix double definition
4 years ago
FlightlessMango
43d5bac40d
Set MANGOHUD_ARCH in meson
4 years ago
jackun
ab9c9ea7ea
Meson recommends using 'threads' dependency instead of 'pthread'
4 years ago
jackun
65f5ae773d
Bump to v0.3.1
4 years ago
jackun
c2fb89ace5
Bump to v0.3.0
4 years ago
jackun
ad64bf345d
Update build scripts, again
...
Install to $prefix$libdir/mangohud by default.
4 years ago
FlightlessMango
62a3759d07
only add ld.so.conf file for build.sh
4 years ago
FlightlessMango
8599484032
configure .json files with meson
4 years ago
jackun
f99129f9de
Libdirs: once more, with feeling
4 years ago
jackun
b91be85ff9
Use std::unordered_map and std::mutex instead for object mapping and related cleanups
4 years ago
jackun
70d0e81c36
Clone vulkan headers if needed
4 years ago
Danilo Spinella
18edd4eb50
meson: Add option to use system vulkan headers
4 years ago
Danilo Spinella
2c6f9d0d44
meson: Remove generation of unneeded includes
...
vk_dispatch_table_helper.h and vk_layer_dispatch_table.h headers
are not used anymore by mesa layer, remove their generation.
Remove git modules required only for the generation of above headers.
4 years ago
jackun
6400ab3cdc
meson: option to add _GLIBCXX_ASSERTIONS define
4 years ago
telans
dacfe111cc
Merge branch 'nvml_headers'
4 years ago
jackun
bf63aaf772
Add Vulkan-Headers submodule
4 years ago
jackun
d71dbdddbf
Keep null_dep global
4 years ago
jackun
4e787c72d9
Use single vk_api_xml for scripts
4 years ago
telans
d2cd2c5743
revert part of "ignore compiler warnings"; fixed on master
4 years ago
telans
da971ec1c6
ignore compiler warnings
4 years ago
telans
0287920776
remove unused git_sha1.h
4 years ago
jackun
53a58d9903
Cleanup dependencies
...
Re-add later if needed for WSI extensions
4 years ago
FlightlessMango
dd78c02ed8
MangoHud Standalone
...
Co-authored-by: jackun <jack.un@gmail.com>
Co-authored-by: telans <telans@protonmail.com>
4 years ago