Package Details: mangohud-git 0.6.8.r66.g8450291-1

Git Clone URL: (read-only, click to copy)
Package Base: mangohud-git
Description: A Vulkan overlay layer for monitoring FPS, temperatures, CPU/GPU load and more.
Upstream URL:
Keywords: benchmark hud opengl overlay performance vulkan
Licenses: MIT
Conflicts: mangohud, mangohud-common, mangohud-common-git
Provides: mangohud, mangohud-common
Replaces: mangohud-common-git
Submitter: dnmodder
Maintainer: dnmodder (jackun)
Last Packager: dnmodder
Votes: 15
Popularity: 0.41
First Submitted: 2020-02-06 22:40 (UTC)
Last Updated: 2023-01-25 03:24 (UTC)

Required by (15)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

PedroHLC commented on 2021-01-05 16:03 (UTC) (edited on 2021-01-05 16:08 (UTC) by PedroHLC)

What about migrating to the author's PKGBUILD?:

EDIT: Sorry, it's broken too.

iwonbigbro commented on 2021-01-03 20:13 (UTC)

Here's a patch to workaround the problem...

Apply it by running...

$ cd mangohud-git
$ patch -p1 <<PATCH
diff --git a/PKGBUILD b/PKGBUILD
index a074961..03cd2b4 100644
@@ -3,7 +3,7 @@
 pkgname=('mangohud-git' 'lib32-mangohud-git' 'mangohud-common-git')
@@ -15,6 +15,10 @@ replaces=('vulkan-mesa-layer-mango' 'lib32-vulkan-mesa-layer-mango')

+arch-meson() {
+    /usr/bin/arch-meson --wrap-mode default "$@"
 pkgver() {
     cd "$_pkgbase"
     git describe --tags | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'

iwonbigbro commented on 2021-01-03 19:59 (UTC)

imgui is purely sourcecode. There are no build artefacts, so no need to create an AUR package.

According to meson docs...

Since 0.49.0 if source_filename or patch_filename is found in the project's subprojects/packagecache directory, it will be used instead of downloading the file, even if --wrap-mode option is set to nodownload. The file's hash will be checked.

So it's likely that anyone who has previously fetched the repo and built into AUR package, has a cached version of the imgui subproject. This will be used regardless of the wrap-mode, so you won't get this error. Pretty sure if you delete your clone and reclone the repo, you'll get this error.

iwonbigbro commented on 2021-01-03 18:24 (UTC)

Okay, so this error is defined by arch-meson hard coding the wrap mode.

$ grep nodownload /usr/bin/arch-meson
  --wrap-mode     nodownload \

The workaround is to install imgui, but there's no AUR PKGBUILD defined for this yet. Let me see if I can create one...

iwonbigbro commented on 2021-01-03 18:12 (UTC)

I get the same error...

Compiler for C supports arguments -Woverride-init: YES 
Compiler for C supports arguments -Winitializer-overrides: NO 
Checking for function "dlopen" : NO 
Library dl found: YES
Checking for function "clock_gettime" : YES 
Checking for size of "void*" : 8

mangohud/ ERROR: Automatic wrap-based subproject downloading is disabled

A full log can be found at /tmp/tmp.CmpQHDlAUD/aur/mangohud-git/src/build64/meson-logs/meson-log.txt
==> ERROR: A failure occurred in build().

Pretty sure it's a missing dependency, but this error is awful and meson provides no stack trace. Anyway, the error originates from this line...

Which defines a non-downloadable subproject of dearimgui

Broken by blame diff...

If you want this to work, then you need to remove the nodownload wrap-mode and allow subproject downloading.

BujuArena commented on 2021-01-01 21:54 (UTC)

I said I did that in my previous comment. For now, I've removed mangohud-git and installed mangohud, which is working.

yochananmarqos commented on 2021-01-01 21:27 (UTC)

@BujuArena: I can't reproduce that, make sure you do a clean build.

BujuArena commented on 2021-01-01 21:22 (UTC)

I'm getting this error, and no matter what I do, including removing the package completely and clean-building it, I see the same error:

mangohud/ ERROR: Automatic wrap-based subproject downloading is disabled

Therefore, I can't update this package any more.

yochananmarqos commented on 2020-08-10 03:58 (UTC) (edited on 2021-01-03 19:47 (UTC) by yochananmarqos)

@dnmodder: The submodule is no longer needed, it was imported as a subproject.

PedroHLC commented on 2020-08-09 15:54 (UTC)

@dnmodder, now there are more:

/usr/bin/mangohud exists in both 'lib32-mangohud-git' and 'mangohud-git'
/usr/share/vulkan/implicit_layer.d/MangoHud.json exists in both 'lib32-mangohud-git' and 'mangohud-git'