Package Details: mangohud-common 0.5.1-3

Git Clone URL: https://aur.archlinux.org/mangohud.git (read-only, click to copy)
Package Base: mangohud
Description: Common files for mangohud and lib32-mangohud
Upstream URL: https://github.com/flightlessmango/MangoHud
Keywords: hud vulkan
Licenses: MIT
Submitter: rsa
Maintainer: rsa
Last Packager: rsa
Votes: 46
Popularity: 7.95
First Submitted: 2020-02-05 03:44
Last Updated: 2020-08-24 03:39

Pinned Comments

rsa commented on 2020-06-11 17:53

Please do not flag the package out of date so immediately. I follow the releases of the GitHub repository so I will be warned of updates as soon as they release it. Flagging as out of date immediately has no effect, please wait 24h.

Latest Comments

1 2 3 4 5 Next › Last »

Maltahl commented on 2020-09-15 08:52

(EDIT: DISREGARD THIS it was vulkan-header-git package that broke this for me, switched to vulkan-header (non git) and now it works.

There is an error building current ( 0.5.1 ) first it errored out due to: MangoHud-0.5.1/meson.build:178:2: ERROR: File /usr/share/vulkan/registry/vk.xml
so i had to copy vk.xml as it has moved from /usr/share/vulkan/registry/ to /usr/share/vulkan/ sudo cp /usr/share/vulkan/vk.xml /usr/share/vulkan/registry/vk.xml

after that i get this error during build:

MangoHud v0.4.0

  Subprojects
    dearimgui: YES

Option buildtype is: plain [default: release]
Found ninja-1.10.1 at /usr/bin/ninja
ninja: Entering directory `build64'
[4/45] Generating overlay.vert.spv.h with a custom command
../MangoHud-0.5.1/src/overlay.vert
[5/45] Generating overlay.frag.spv.h with a custom command
../MangoHud-0.5.1/src/overlay.frag
[6/45] Generating version.h with a custom command
fatal: No names found, cannot describe anything.
[10/45] Compiling C object src/libMangoHud.so.p/meson-generated_.._.._vk_enum_to_str.c.o
FAILED: src/libMangoHud.so.p/meson-generated_.._.._vk_enum_to_str.c.o
cc -Isrc/libMangoHud.so.p -Isrc -I../MangoHud-0.5.1/src -I../MangoHud-0.5.1/include -Isubprojects/dearimgui -I../MangoHud-0.5.1/subprojects/dearimgui -I. -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -fvisibility=hidden -flto -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=c99 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=incompatible-pointer-types -fno-math-errno -fno-trapping-math -Wno-missing-field-initializers -Wno-format-truncation -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 -fPIC -pthread -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="v0.4.0"' -DNDEBUG -D_GNU_SOURCE -DHAVE_PTHREAD -DUSE_GCC_ATOMIC_BUILTINS -DHAVE_TIMESPEC_GET -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE '-DMANGOHUD_ARCH="64bit"' -DHAVE_NVML -DHAVE_XNVCTRL -DHAVE_X11 -DHAVE_DBUS -Wno-override-init -DVK_USE_PLATFORM_XLIB_KHR -MD -MQ src/libMangoHud.so.p/meson-generated_.._.._vk_enum_to_str.c.o -MF src/libMangoHud.so.p/meson-generated_.._.._vk_enum_to_str.c.o.d -o src/libMangoHud.so.p/meson-generated_.._.._vk_enum_to_str.c.o -c vk_enum_to_str.c
In file included from vk_enum_to_str.c:26:
/usr/include/vulkan/vulkan.h:21:10: fatal error: vulkan_core.h: No such file or directory
   21 | #include "vulkan_core.h"
      |          ^~~~~~~~~~~~~~~
compilation terminated.
[15/45] Compiling C++ object src/libMangoHud.so.p/overlay.cpp.o
FAILED: src/libMangoHud.so.p/overlay.cpp.o
c++ -Isrc/libMangoHud.so.p -Isrc -I../MangoHud-0.5.1/src -I../MangoHud-0.5.1/include -Isubprojects/dearimgui -I../MangoHud-0.5.1/subprojects/dearimgui -I. -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -fvisibility=hidden -flto -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=c++14 -Werror=return-type -fno-math-errno -fno-trapping-math -Wno-non-virtual-dtor -Wno-missing-field-initializers -Wno-format-truncation -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 -fPIC -pthread -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="v0.4.0"' -DNDEBUG -D_GNU_SOURCE -DHAVE_PTHREAD -DUSE_GCC_ATOMIC_BUILTINS -DHAVE_TIMESPEC_GET -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE '-DMANGOHUD_ARCH="64bit"' -DHAVE_NVML -DHAVE_XNVCTRL -DHAVE_X11 -DHAVE_DBUS -DVK_USE_PLATFORM_XLIB_KHR -MD -MQ src/libMangoHud.so.p/overlay.cpp.o -MF src/libMangoHud.so.p/overlay.cpp.o.d -o src/libMangoHud.so.p/overlay.cpp.o -c ../MangoHud-0.5.1/src/overlay.cpp
In file included from ../MangoHud-0.5.1/src/overlay.cpp:36:
/usr/include/vulkan/vulkan.h:21:10: fatal error: vulkan_core.h: No such file or directory
   21 | #include "vulkan_core.h"
      |          ^~~~~~~~~~~~~~~
compilation terminated.
[35/45] Compiling C++ object src/libMangoHud.so.p/cpu.cpp.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...
error making: mangohud (mangohud-common mangohud)

Shished commented on 2020-08-23 07:30

This aur package has version 0.5.1 but when mangohud is working it reports version 0.4.0. Is this a mangohud bug or incorrectly built package?

gbr commented on 2020-08-23 05:48

@rsa Thanks for adding my suggestion! :) Just FIY: You forgot to remove a single parenthesis at line 44.

rsa commented on 2020-08-17 22:33

@parkerlreed makedepends are tagged as orphan after package is built and installed, while optdepends may be removed but will not be tagged as orphan. Also if you install a binary package instead of building it, optdepends will be suggested to the user.

@yochananmarqos thanks! I will incorporate the changes.

parkerlreed commented on 2020-08-17 21:50

@gbr

What does adding that to optdepnds do it it's already a makedepend?

yochananmarqos commented on 2020-08-17 21:18

@rsa: See my updated PKGBUILD. I've got the man, doc and license all in the mangohud-common package.

gbr commented on 2020-07-22 16:20

Hi, can you please add libxnvctrl and lib32-libxnvctrl to optdepends? Something like this:

package_mangohud() {
...
optdepends=('libxnvctrl: Support for older NVIDIA GPUs')
...
}

package_lib32-mangohud() {
...
optdepends=('lib32-libxnvctrl: Support for older NVIDIA GPUs (32-bit games)')
...
}

hk3wx commented on 2020-07-19 21:24

missing libMangoHud.so

rsa commented on 2020-06-11 17:53

Please do not flag the package out of date so immediately. I follow the releases of the GitHub repository so I will be warned of updates as soon as they release it. Flagging as out of date immediately has no effect, please wait 24h.

Anty0 commented on 2020-06-02 16:08

Package is probably missing dependency - libxnvctrl.

Without libxnvctrl installed I get in log: MANGOHUD: libXNVCtrl.so.0 dlopen failed: libXNVCtrl.so.0: cannot open shared object file: No such file or directory

Every time I use mango. Though mango hud itself shows up properly and seems to be working properly even without libxnvctrl installed...