[Bug 1215881] New: Mangohud does not work with 32-bit applications
https://bugzilla.suse.com/show_bug.cgi?id=1215881 Bug ID: 1215881 Summary: Mangohud does not work with 32-bit applications Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: openSUSE Tumbleweed Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: screening-team-bugs@suse.de Reporter: cdxiudav@sharklasers.com QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: --- Blocker: --- The Mangohud hud does not appear with 32-bit applications. This is with both the mangohud and mangohud-32bit packages installed. This issue can be reproduced by installing vulkan-tools and vulkan-tools-32bit and launching "vkcube" with the mangohud command in the terminal. Example: mangohud vkcube - vkcube and mangohud appears mangohud vkcube32 - vkcube appears but mangohud overlay does not Environment: openSUSE Tumbleweed 20230929-0 Installed Mangohud Versions Name : mangohud Version : 0.7.0-1.1 Repository : openSUSE-Tumbleweed-Oss Name : mangohud-32bit Version : 0.7.0-1.1 Repository : openSUSE-Tumbleweed-Oss -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1215881 Chenzi Cao <chcao@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|screening-team-bugs@suse.de |dead_mozay@opensuse.org -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1215881 https://bugzilla.suse.com/show_bug.cgi?id=1215881#c1 --- Comment #1 from Dead Mozay <dead_mozay@opensuse.org> --- The problem is not with mangohud, but with the openSUSE distribution, even the flatpak application does not work, the behavior is identical. This error does not reproduce in other distributions, I compiled it with similar parameters, everything works there as it should. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1215881 https://bugzilla.suse.com/show_bug.cgi?id=1215881#c2 --- Comment #2 from James <cdxiudav@sharklasers.com> --- Thanks for the reply, would you have any idea on what part of the distribution is at fault? It seams that for 32-bit applications, the 64-bit files try to get loaded. **Broken 32-bit** COMMAND: VK_LOADER_DEBUG=all mangohud vkcube32 PARTIAL COMMAND OUTPUT: DEBUG | DRIVER: Searching for ICD drivers named /usr/lib/libvulkan_intel_hasvk.so DRIVER: Found ICD manifest file /usr/share/vulkan/icd.d/intel_icd.i686.json, version 1.0.0 DEBUG | DRIVER: Searching for ICD drivers named /usr/lib/libvulkan_intel.so DRIVER: Found ICD manifest file /usr/share/vulkan/icd.d/radeon_icd.i686.json, version 1.0.0 DEBUG | DRIVER: Searching for ICD drivers named /usr/lib/libvulkan_radeon.so DRIVER: Found ICD manifest file /usr/share/vulkan/icd.d/intel_hasvk_icd.x86_64.json, version 1.0.0 DEBUG | DRIVER: Searching for ICD drivers named /usr/lib64/libvulkan_intel_hasvk.so INFO: /usr/lib64/libvulkan_intel_hasvk.so: wrong ELF class: ELFCLASS64 DRIVER: Requested layer /usr/lib64/libvulkan_intel_hasvk.so was wrong bit-type. Ignoring this JSON DRIVER: Found ICD manifest file /usr/share/vulkan/icd.d/intel_icd.x86_64.json, version 1.0.0 DEBUG | DRIVER: Searching for ICD drivers named /usr/lib64/libvulkan_intel.so INFO: /usr/lib64/libvulkan_intel.so: wrong ELF class: ELFCLASS64 DRIVER: Requested layer /usr/lib64/libvulkan_intel.so was wrong bit-type. Ignoring this JSON DRIVER: Found ICD manifest file /usr/share/vulkan/icd.d/radeon_icd.x86_64.json, version 1.0.0 DEBUG | DRIVER: Searching for ICD drivers named /usr/lib64/libvulkan_radeon.so INFO: /usr/lib64/libvulkan_radeon.so: wrong ELF class: ELFCLASS64 DRIVER: Requested layer /usr/lib64/libvulkan_radeon.so was wrong bit-type. Ignoring this JSON Requested layer /usr/lib64/libvulkan_radeon.so was wrong bit-type. Ignoring this JSON INFO: /usr/lib64/mangohud/libMangoHud.so: wrong ELF class: ELFCLASS64 DEBUG | LAYER: Loading layer library libVkLayer_MESA_device_select.so INFO | LAYER: Insert instance layer "VK_LAYER_MESA_device_select" (libVkLayer_MESA_device_select.so) INFO | LAYER: Requested layer "VK_LAYER_MANGOHUD_overlay_x86_64" was wrong bit-type. LAYER: vkCreateInstance layer callstack setup to: LAYER: <Application> LAYER: || LAYER: <Loader> LAYER: || LAYER: VK_LAYER_MESA_device_select LAYER: Type: Implicit LAYER: Disable Env Var: NODEVICE_SELECT LAYER: Manifest: /usr/share/vulkan/implicit_layer.d/VkLayer_MESA_device_select.json LAYER: Library: libVkLayer_MESA_device_select.so LAYER: || LAYER: <Drivers> **Working 64-bit** COMMAND: VK_LOADER_DEBUG=all mangohud vkcube PARTIAL COMMAND OUTPUT: DEBUG | DRIVER: Searching for ICD drivers named /usr/lib64/libvulkan_intel_hasvk.so DRIVER: Found ICD manifest file /usr/share/vulkan/icd.d/intel_icd.x86_64.json, version 1.0.0 DEBUG | DRIVER: Searching for ICD drivers named /usr/lib64/libvulkan_intel.so DRIVER: Found ICD manifest file /usr/share/vulkan/icd.d/radeon_icd.x86_64.json, version 1.0.0 DEBUG | DRIVER: Searching for ICD drivers named /usr/lib64/libvulkan_radeon.so DEBUG | LAYER: Loading layer library /usr/lib64/mangohud/libMangoHud.so INFO | LAYER: Insert instance layer "VK_LAYER_MANGOHUD_overlay_x86_64" (/usr/lib64/mangohud/libMangoHud.so) DEBUG | LAYER: Loading layer library libVkLayer_MESA_device_select.so INFO | LAYER: Insert instance layer "VK_LAYER_MESA_device_select" (libVkLayer_MESA_device_select.so) LAYER: vkCreateInstance layer callstack setup to: LAYER: <Application> LAYER: || LAYER: <Loader> LAYER: || LAYER: VK_LAYER_MESA_device_select LAYER: Type: Implicit LAYER: Disable Env Var: NODEVICE_SELECT LAYER: Manifest: /usr/share/vulkan/implicit_layer.d/VkLayer_MESA_device_select.json LAYER: Library: libVkLayer_MESA_device_select.so LAYER: || LAYER: VK_LAYER_MANGOHUD_overlay_x86_64 LAYER: Type: Implicit LAYER: Disable Env Var: DISABLE_MANGOHUD LAYER: Manifest: /usr/share/vulkan/implicit_layer.d/MangoHud.x86_64.json LAYER: Library: /usr/lib64/mangohud/libMangoHud.so LAYER: || LAYER: <Drivers> -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1215881 https://bugzilla.suse.com/show_bug.cgi?id=1215881#c4 --- Comment #4 from Dead Mozay <dead_mozay@opensuse.org> --- Should be fixed https://build.opensuse.org/request/show/1118807 -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com