emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#64213: closed ([PATCH] gnu: imgui-1.86: Fix build for mangohud.)


From: GNU bug Tracking System
Subject: bug#64213: closed ([PATCH] gnu: imgui-1.86: Fix build for mangohud.)
Date: Thu, 29 Jun 2023 15:00:02 +0000

Your message dated Thu, 29 Jun 2023 14:59:25 +0000
with message-id <874jmq8gc6.fsf@protonmail.com>
and subject line Re: [PATCH v2 2/2] gnu: imgui-1.86: Adjust make-flags.
has caused the debbugs.gnu.org bug report #64213,
regarding [PATCH] gnu: imgui-1.86: Fix build for mangohud.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
64213: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64213
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: imgui-1.86: Fix build for mangohud. Date: Thu, 22 Jun 2023 01:06:13 +0000
Hi guix,

The mangohud package was broken (corrupted display) with commit 
<https://git.savannah.gnu.org/cgit/guix.git/commit/?id=0d5746ee7ca337dcc82553ca6dd794b04bb6563d>
 I'm not sure why that change in build option does it, but trying to run 
"mangohud glxgears" exits immediately with

--8<---------------cut here---------------start------------->8---
❯ guix time-machine --commit=0d5746ee7ca337dcc82553ca6dd794b04bb6563d -- shell 
mesa-utils mangohud -- mangohud glxgears
amdgpu: unknown (family_id, chip_external_rev): (145, 1)
libGL error: failed to create dri screen
libGL error: failed to load driver: radeonsi
amdgpu: unknown (family_id, chip_external_rev): (145, 1)
libGL error: failed to create dri screen
libGL error: failed to load driver: radeonsi
[2023-06-21 Wed 21:01]  [MANGOHUD] [info] [config.cpp:118] skipping config: 
'/gnu/store/25y85hj066crw9kqd4c1jlg6yifd2wiv-mesa-utils-8.4.0/bin/MangoHud.conf'
 [ not found ]
[2023-06-21 Wed 21:01]  [MANGOHUD] [info] [config.cpp:118] skipping config: 
'/home/john/.config/MangoHud/glxgears.conf' [ not found ]
[2023-06-21 Wed 21:01]  [MANGOHUD] [info] [config.cpp:118] skipping config: 
'/home/john/.config/MangoHud/MangoHud.conf' [ not found ]
amdgpu: unknown (family_id, chip_external_rev): (145, 1)
libGL error: failed to create dri screen
libGL error: failed to load driver: radeonsi
amdgpu: unknown (family_id, chip_external_rev): (145, 1)
libGL error: failed to create dri screen
libGL error: failed to load driver: radeonsi
[2023-06-21 Wed 21:01]  [MANGOHUD] [error] [loader_nvml.cpp:42] Failed to open 
64bit libnvidia-ml.so.1: libnvidia-ml.so.1: cannot open shared object file: No 
such file or directory
[2023-06-21 Wed 21:01]  [MANGOHUD] [error] [nvml.cpp:43] Failed to load NVML
[2023-06-21 Wed 21:01]  [MANGOHUD] [info] [overlay.cpp:768] Uploading is 
disabled (permit_upload = 0)
glxgears: imgui.cpp:7475: bool ImGui::DebugCheckVersionAndDataLayout(const 
char*, size_t, size_t, size_t, size_t, size_t, size_t): Assertion `sz_idx == 
sizeof(unsigned int) && "Mismatched struct layout!"' failed.
--8<---------------cut here---------------end--------------->8---

The last line usually indicated a mismatch in imgui versions somewhere, but for 
some reason it comes from this build option. I guess mangohud somewhere assumes 
a different type. (All the previous lines are present when working correctly.)

I've tested this builds and fixes the problem, I just didn't push it directly 
as I wasn't sure if there was a better way to do this change in a package 
inheritance. Anything clever? I would guess not since it is a custom build 
phase with 'invoke', but thought I'd give it a chance for any quick comments in 
case there's something cleaner.

Thanks!
John

Attachment: 0001-gnu-imgui-1.86-Fix-build-for-mangohud.patch
Description: Text Data


--- End Message ---
--- Begin Message --- Subject: Re: [PATCH v2 2/2] gnu: imgui-1.86: Adjust make-flags. Date: Thu, 29 Jun 2023 14:59:25 +0000
Pushed as 15056f47c217d87bf0914735fb52833a5457dc37 and 
2b25bc03a11e1c6a473bbb000c35e94233120346

thanks



--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]