Commit Graph

36 Commits

Author SHA1 Message Date
Peder Bergebakken Sundt
ad5e744714 treewide: finalAttrs.doCheck -> finalAttrs.finalPackage.doCheck
This will respect `doCheck = false;` overrides, common for cross.
2023-11-30 18:56:12 +01:00
Kira Bruneau
6c225dee3f
Merge pull request #256958 from CobaltCause/mangohud
mangohud: 0.6.9-1 -> 0.7.0
2023-09-29 09:04:11 -04:00
Tristan Ross
4f5b49c7e4
mangohud: make lowerBitnessSupport use isx86_64 instead of is64bit 2023-09-28 22:20:58 -07:00
Charles Hall
88ee77c4ec
mangohud: 0.6.9-1 -> 0.7.0 2023-09-27 07:36:54 -07:00
Charles Hall
7ca0ac0859
mangohud: remove unused rec 2023-09-23 12:04:23 -07:00
Charles Hall
7179886a42
mangohud: remove unused argument 2023-09-23 12:04:23 -07:00
Sergei Trofimovich
d97e83ff6f mangohud: backport gcc-13 fix
Without the change the build fails on `gcc-13` as:

    $ nix build --impure --expr 'with import ./. {}; mangohud.override { stdenv = gcc13Stdenv; }' -L

    mangohud> In file included from ../tests/../src/amdgpu.h:8,
    mangohud>                  from ../tests/test_amdgpu.cpp:9:
    mangohud> ../tests/../src/overlay_params.h:229:21: error: 'uint32_t' is not a member of 'std'; did you mean 'wint_t'?
    mangohud>   229 |    std::vector<std::uint32_t> fps_limit;
    mangohud>       |                     ^~~~~~~~
    mangohud>       |                     wint_t
2023-08-12 22:21:58 +01:00
Atemu
7eacc7f549 mangohud: make lower bitness support configurable
This allows the user to disable 32-bit support for closure size reasons or in
order to mitigate loader issues like
https://github.com/NixOS/nixpkgs/issues/230978.

The name is weird because it can't start with a digit :/
2023-05-14 18:35:51 +02:00
Atemu
272154f260 mangohud: add bitness suffix to layer name
The VK loader finds the 32-bit layer first and does not attempt to load the
64-bit layer afterwards; likely because it shares the same name. Simply giving
them different names fixes the issue; both layers are tried and the correct one
succeeds.

A similar patter is employed by obs-vkcapture which continued working after
https://github.com/NixOS/nixpkgs/pull/228870.

Fixes https://github.com/NixOS/nixpkgs/issues/230978
2023-05-14 18:25:15 +02:00
Kira Bruneau
d5355161f5 mangohud: enable tests 2023-04-23 13:14:00 -04:00
R. Ryantm
0eef8b8a34 mangohud: 0.6.9 -> 0.6.9-1 2023-04-20 14:38:43 +00:00
Kira Bruneau
332d775c53 mangohud: 0.6.8 -> 0.6.9 2023-04-14 12:10:15 -04:00
Kira Bruneau
a98e3adeeb mangohud: add update script 2023-04-14 11:49:00 -04:00
Kira Bruneau
69ac4b600b mangohud: support 32bit mango app vulkan layer 2023-04-14 11:48:59 -04:00
Kira Bruneau
62bad427ff mangohud: suport nvidia cards when directly using vulkan layer
Before this change, NVIDIA GPUs were only supported when using the
mangohud & mangoapp binaries.

This extends support to direct use of the Vulkan layer
(enabled through `MANGOHUD=1`).
2023-04-14 11:48:58 -04:00
Kira Bruneau
d9cb109138 mangohud: move loader header deps to nativeBuildInputs 2023-04-14 11:48:57 -04:00
Kira Bruneau
eefb3eb9a4 mangohud: switch back to using system spdlog
The issue that required us to use the static subproject version has
been fixed:

https://github.com/ValveSoftware/steam-runtime/issues/511
2023-04-14 11:48:52 -04:00
Kira Bruneau
83c65fd633 mangohud: prefer finalAttrs over rec 2023-04-14 11:43:53 -04:00
K900
04be1e4a9f mangohud: use vendored vulkan-headers to fix build
This isn't great but what can you do.
2023-04-13 11:34:44 +03:00
Martin Weinelt
9e7f9a402b
python310Packages.mako: Normalize attribute, pname, dirname 2023-02-19 21:36:02 +01:00
Artturin
7e49471316 treewide: optional -> optionals where the argument is a list
the argument to optional should not be list
2022-10-10 15:40:21 +03:00
Kira Bruneau
72061fe3fe
Merge pull request #185016 from kira-bruneau/mangohud
mangohud: statically link spdlog
2022-08-15 12:54:46 -04:00
Kira Bruneau
8677058a83 mangohud: 0.6.7-1 → 0.6.8 2022-08-03 21:56:24 -04:00
Kira Bruneau
2d6481a4fd mangohud: statically link spdlog
Works around bug in pressure-vessel where it wasn't including
necessary vulkan layer dependencies defined through DT_RUNPATH in the
sandbox.

https://github.com/ValveSoftware/steam-runtime/issues/511
2022-08-03 11:36:00 -04:00
Zhaofeng Li
3705020d97 mangohud: Build mangoapp and mangohudctl for gamescope integration 2022-07-21 21:22:06 -07:00
Atemu
ad241745c3 mangohud: 0.6.5 -> 0.6.7-1
Updated patches and added new dependency on spdlog
2022-05-17 17:21:36 +02:00
Ilan Joselevich
93a66b3d52 mangohud: 0.6.4 -> 0.6.5 2021-07-09 17:27:56 +03:00
Kira Bruneau
4a9f048d89 mangohud: 0.6.3 → 0.6.4 2021-06-27 10:28:10 -04:00
Kira Bruneau
0bf03aee89 mangohud: support Nvidia cards by adding OpenGL path 2021-06-19 19:11:36 -04:00
Kira Bruneau
839b933ef4 mangohud: 0.6.1 → 0.6.3 2021-06-19 16:44:08 -04:00
Kira Bruneau
1cce751a51 mangohud: prefer wrapping with XDG_DATA_DIRS
`XDG_DATA_DIRS` is what's used by Vulkan-Loader to search for MangoHud
when installed.
2021-06-19 16:33:53 -04:00
Kira Bruneau
1c5ba73b66 mangohud: separate doc & man outputs 2021-06-19 11:03:38 -04:00
Kira Bruneau
2f2dde5315 mangohud: support wayland 2021-06-19 11:03:31 -04:00
Kira Bruneau
cd4780fab4
maintainers: rename metadark -> kira-bruneau (#124035) 2021-05-22 16:47:40 +02:00
Kira Bruneau
c3a52c2a27 mangohud: 0.4.1 → 0.6.1 2021-05-11 12:52:12 -04:00
ZerataX
5debc57760
mangohud: init at 0.4.1 2021-04-24 22:45:45 +02:00