Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 849749 - [guru] games-util/mangohud-0.6.6.1-r3: fatal error: libdrm/amdgpu.h: No such file or directory
Summary: [guru] games-util/mangohud-0.6.6.1-r3: fatal error: libdrm/amdgpu.h: No such ...
Status: RESOLVED OBSOLETE
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: AMD64 Linux
: Normal major
Assignee: Adel KARA SLIMANE
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-05 03:26 UTC by Christopher
Modified: 2023-10-06 19:21 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
mangohud_build_log (mangohud_build.log,39.19 KB, text/plain)
2022-06-05 03:26 UTC, Christopher
Details
emerge --info mangohud (emerge_info_mangohud.txt,6.55 KB, text/plain)
2022-06-05 03:30 UTC, Christopher
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher 2022-06-05 03:26:53 UTC
Created attachment 782828 [details]
mangohud_build_log

When attempting to compile this package with the -amdgpu USE flag, it breaks at meson with the following error

libdrm/amdgpu.h: No such file or directory

Even though the -amdgpu USE flag is set in make.conf file.

build log attached

--

fixed with the following command:

MYMESONARGS="-Dwith_libdrm_amdgpu=disabled" emerge -v1 mangohud



-----------------------
Hardware: Nvidia RTX 3090 using nvidia-drivers 515.48.07, Intel CPU 10850k.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-05 03:28:38 UTC
We discussed this on IRC and it turned out to be that there's even an option in the upstream build system to disable amdgpu usage, but the person who hit this problem last in Gentoo didn't report it to us! :(

https://github.com/flightlessmango/MangoHud/issues/689#issuecomment-1044660005
Comment 2 Christopher 2022-06-05 03:30:38 UTC
Created attachment 782831 [details]
emerge --info mangohud
Comment 3 Adel KARA SLIMANE 2023-08-20 01:03:46 UTC
I am chiming in a bit too late, but the meson option  with_libdrm_amdgpu is no longer offered in recent versions of MangoHud (and I just dropped the older ones), maybe because it doesn't pull amdgpu any longer ? Can you try again with the ebuild 0.6.9.1 I just pushed ?
Comment 4 Adel KARA SLIMANE 2023-10-06 19:21:53 UTC
Marking as outdated. Please reopen bugs report if ever on current version of manguhud