Bug 30945 - Package a mangohud 32bit library to be able to run mangohud with 32bit apps on 64bit systems.
Summary: Package a mangohud 32bit library to be able to run mangohud with 32bit apps o...
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: Rémi Verschelde
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-06 20:04 CEST by Aurelian R
Modified: 2024-04-01 22:07 CEST (History)
0 users

See Also:
Source RPM: mangohud-0.6.7.1-1.mga9.src.rpm
CVE:
Status comment:


Attachments
mangohud-0.6.8 spec file (2.39 KB, text/plain)
2022-10-06 20:04 CEST, Aurelian R
Details
mangohud-0.6.9-1 spec file (3.29 KB, text/x-rpm-spec)
2023-06-13 17:18 CEST, Aurelian R
Details
spec patch for 32 bit libs (2.36 KB, patch)
2024-04-01 22:07 CEST, Aurelian R
Details | Diff

Description Aurelian R 2022-10-06 20:04:57 CEST
Created attachment 13414 [details]
mangohud-0.6.8 spec file

While it is not very difficult to run 32bit mangohud on a 64 bit system, it will be seemingly effortless to run it if 32bit libraries are available. So, I took the liberty to attach a spec file that packages the 32bit libraries separately. On Cauldron, it seems to behave properly and no issues noted while testing mangohud with 32bit apps like vkcube, glxspheres or some wine games under KDE Plasma X11/XWayland. 

Regards.
Comment 1 Lewis Smith 2022-10-06 21:37:05 CEST
Thank you for your contribution.
Unsure why this matters, the pkg is shown x86_64. Can you explain the need for or advantage of your proposal?

Assigning to Rémi anyway, who nurses 'mangohud', and will doubtless understand the significance of this.

Assignee: bugsquad => rverschelde

Comment 2 Aurelian R 2022-10-06 22:40:19 CEST
(In reply to Lewis Smith from comment #1)
> Unsure why this matters, the pkg is shown x86_64. Can you explain the need
> for or advantage of your proposal?

Mangohud is a monitoring/testing tool. So, the ability to make use of it when running 32bit apps on 64bit systems may be handy as both 32 and 64 bit mangohud rpms cannot be installed together. It is preferably to have a way to use mangohud with both 32bit/64bit application types if it is needed/preferred. Monitoring FPS, memory usage or temperatures can easily spot regressions/problems with software or hardware.
Thanks for reply and hopefully I was clear.
Regards.
Comment 3 Aurelian R 2023-06-13 17:18:27 CEST
Created attachment 13873 [details]
mangohud-0.6.9-1 spec file

A new version have been released some time ago.
It has some quirks related to vulkan. 
Firstly, they started to bundle vulkan, so, in order to use the system vulkan headers a reverting patch is necessary, that's what Fedora does: https://src.fedoraproject.org/rpms/mangohud/blob/rawhide/f/mangohud-0.6.9-use-system-vulkan-headers.patch .
Secondly, mangohud doesn't build anymore if, following the first issue, the systems vulkan-headers version is higher than 1.3.241, see: https://github.com/flightlessmango/MangoHud/issues/927. Of course, the bundled version is always an option.  

However, I attached a new spec file for it that works fine for me with the current cauldron status.
Regards.
Comment 4 Aurelian R 2024-04-01 22:07:54 CEST
Created attachment 14489 [details]
spec patch for 32 bit libs

Uploaded a new spec file patch to enable 32 bit support on x86_64 systems for the latest available version of "mangohud"

Attachment 13873 is obsolete: 0 => 1
Attachment 13414 is obsolete: 0 => 1


Note You need to log in before you can comment on or make changes to this bug.