Package Details: mangohud-git 0.7.1.r20.g5598fda-1

Git Clone URL: https://aur.archlinux.org/mangohud-git.git (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: https://github.com/flightlessmango/MangoHud
Keywords: benchmark hud opengl overlay performance vulkan
Licenses: MIT
Conflicts: mangoapp, mangohud, mangohud-common-git
Provides: mangoapp, mangohud
Replaces: mangoapp
Submitter: dnmodder
Maintainer: dnmodder (jackun)
Last Packager: dnmodder
Votes: 23
Popularity: 0.71
First Submitted: 2020-02-06 22:40 (UTC)
Last Updated: 2024-03-03 16:06 (UTC)

Required by (18)

Sources (1)

Pinned Comments

dnmodder commented on 2023-06-25 16:56 (UTC)

Mangoapp will remain disabled until GLFW version 3.4 arrives which will allow you to choose the backend at runtime. Now stop crying.

Latest Comments

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

Samsagax commented on 2022-11-27 18:24 (UTC)

Hello. Could you add mangoapp to the build? Would be nice to have mangoapp-git alongside mangohud-git

dnmodder commented on 2022-07-14 16:10 (UTC)

@jackun I don't have much time lately to review this, I made you co-manager.

jackun commented on 2022-07-14 14:49 (UTC) (edited on 2022-07-14 15:29 (UTC) by jackun)

Updated master to use meson 0.60 install_tag. Uses mostly default tags except scriptsfor mangohud shell script and mangoapp for mangoapp stuff.

diff --git a/PKGBUILD b/PKGBUILD
index be438e2..bfd9c16 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -51,8 +51,7 @@ package_mangohud-git() {
     optdepends=('bash: mangohud helper script'
                 'libxnvctrl: support for older NVIDIA GPUs')

-    DESTDIR="$pkgdir" ninja -C build64 install
-    rm -r "$pkgdir/usr/bin" "$pkgdir/usr/share/doc" "$pkgdir/usr/share/man"  "$pkgdir/usr/share/vulkan/implicit_layer.d/libMangoApp.json"
+    meson install --destdir="$pkgdir" -C build64 --tags runtime
 }

 package_lib32-mangohud-git() {
@@ -63,8 +62,7 @@ package_lib32-mangohud-git() {
     replaces=('lib32-vulkan-mesa-layer-mango')
     optdepends=('lib32-libxnvctrl: support for older NVIDIA GPUs')

-    DESTDIR="$pkgdir" ninja -C build32 install
-    rm -r "$pkgdir/usr/bin" "$pkgdir/usr/share/doc" "$pkgdir/usr/share/man" "$pkgdir/usr/share/vulkan/implicit_layer.d/libMangoApp.json"
+    meson install --destdir="$pkgdir" -C build32 --tags runtime
     mv "$pkgdir/usr/share/vulkan/implicit_layer.d/MangoHud.json" "$pkgdir/usr/share/vulkan/implicit_layer.d/MangoHud.x86.json"
 }

@@ -73,8 +71,7 @@ package_mangohud-common-git() {
     conflicts=('mangohud-common')
     provides=("mangohud-common=$pkgver")

-    DESTDIR="$pkgdir" ninja -C build64 install
-    rm -r "$pkgdir/usr/lib" "$pkgdir/usr/share/vulkan"
+    meson install --destdir="$pkgdir" -C build64 --tags man,doc,scripts

     install -Dm664 "$_pkgbase/LICENSE" "$pkgdir/usr/share/licenses/$_pkgbase/LICENSE"
 }

Maybe mangohud-control too... (argh, needs separate build() too i guess)

build() {
...
    python -m build --wheel --no-isolation "$_pkgbase/control"
...
}

package_mangohud-control-git() {
    pkgdesc='A Vulkan overlay layer for monitoring FPS, temperatures, CPU/GPU load and more'
    conflicts=('mangohud-control')
    provides=("mangohud-control=$pkgver")

    python -m installer --destdir="$pkgdir" "$_pkgbase"/control/dist/*.whl
}

italoghost commented on 2022-07-14 03:15 (UTC) (edited on 2022-07-14 03:16 (UTC) by italoghost)

Hi!

I am receiving an error of conflicting svg and xml files:

erro: falha ao efetuar a transação (arquivos conflitantes)
/usr/share/icons/hicolor/scalable/apps/io.github.flightlessmango.mangohud.svg existe tanto em "mangohud-common-git" como em "lib32-mangohud-git"
/usr/share/metainfo/io.github.flightlessmango.mangohud.metainfo.xml existe tanto em "mangohud-common-git" como em "lib32-mangohud-git"
/usr/share/icons/hicolor/scalable/apps/io.github.flightlessmango.mangohud.svg existe tanto em "mangohud-common-git" como em "mangohud-git"
/usr/share/metainfo/io.github.flightlessmango.mangohud.metainfo.xml existe tanto em "mangohud-common-git" como em "mangohud-git"
/usr/share/icons/hicolor/scalable/apps/io.github.flightlessmango.mangohud.svg existe tanto em "lib32-mangohud-git" como em "mangohud-git"
/usr/share/metainfo/io.github.flightlessmango.mangohud.metainfo.xml existe tanto em "lib32-mangohud-git" como em "mangohud-git"
Ocorreram erros e, portanto, nenhum pacote foi atualizado.

I suspect that it has something related to this commit as I was prompted with an warning that "appstreamcli" could not been found.

But even after installing the appstream package I couldn't install mangohud due to the errors above.

churro commented on 2022-05-05 19:00 (UTC)

From what I see here https://github.com/flightlessmango/MangoHud#dependencies dbus and libxnvctrl should be marked as optional dependencies (the latter is marked as optional here but also as a make dependency anyway).

dnmodder commented on 2022-03-17 03:46 (UTC)

The problem is now fixed, thanks to Mubashshir, he made some useful changes and mailed them to me. I don't understand what Mangoapp is for outside of GameScope and Steam Deck so for now it's not enabled in this package.

Billli11 commented on 2022-03-16 07:27 (UTC) (edited on 2022-03-16 08:14 (UTC) by Billli11)

@zany130

add

mv "$pkgdir/usr/share/vulkan/implicit_layer.d/libMangoApp.json" "$pkgdir/usr/share/vulkan/implicit_layer.d/libMangoApp.x86.json"

under

mv "$pkgdir/usr/share/vulkan/implicit_layer.d/MangoHud.json" "$pkgdir/usr/share/vulkan/implicit_layer.d/MangoHud.x86.json"

should fix it.

Also there are a PKBUILD in the repo now. Should we update the file base on that?

zany130 commented on 2022-03-16 00:51 (UTC)

when trying to install alongside mangohud-git it gives this

error lib32-mangohud-git: /usr/share/vulkan/implicit_layer.d/libMangoApp.json exists in filesystem (owned by mangohud-git)

Billli11 commented on 2022-02-23 03:53 (UTC) (edited on 2022-02-23 22:53 (UTC) by Billli11)

@dnmodder

From mangohud 0.6.6 pre release log.

This an application that is designed to be run together with gamescope and rendered on top of gamescope.

It can be test by running

gamescope -- sh -c "vkcube & mangoapp"

dnmodder commented on 2022-02-20 15:24 (UTC)

@Billli11 what's the use of that?