Summary: | libvulkan_radeon crashes if loaded on Intel hardware | ||
---|---|---|---|
Product: | Mesa | Reporter: | Thiago Macieira <thiago> |
Component: | Drivers/Vulkan/radeon | Assignee: | mesa-dev |
Status: | RESOLVED NOTOURBUG | QA Contact: | mesa-dev |
Severity: | normal | ||
Priority: | medium | ||
Version: | 17.1 | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Thiago Macieira
2017-08-01 23:16:00 UTC
Also submitted at libvulkan itself: https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers/issues/1978 I don't know what is at fault: whether it's libvulkan for loading the wrong driver, or the driver for failing to properly bail out, or both for there not being a mechanism to bail out in the first place. SUSE developers think the problem is actually a bug in glibc: the LLVM dependencies in the Radeon driver are causing the dynamic loader confusion. https://bugzilla.opensuse.org/show_bug.cgi?id=1022156 (In reply to Thiago Macieira from comment #2) > https://bugzilla.opensuse.org/show_bug.cgi?id=1022156 BTW, looks like SUSE is building LLVM with BUILD_SHARED_LIBS=ON, which is a bad idea. They should build it with LLVM_BUILD_LLVM_DYLIB=ON instead. Please pass this on to them. (This problem might happen regardless though) Also for context, libvulkan loads all drivers on the system, after which the driver is supposed to tell libvulkan if there are any devices it supports. That part seems WAI to me. It seems there are linking issues to me that cause issues loading the driver before we even look there is any hardware we support. (In reply to Bas Nieuwenhuizen from comment #4) > Also for context, libvulkan loads all drivers on the system, after which the > driver is supposed to tell libvulkan if there are any devices it supports. > That part seems WAI to me. > > It seems there are linking issues to me that cause issues loading the driver > before we even look there is any hardware we support. Agreed. Closing, as this does seem to be a local issue in the way OpenSUSE builds. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.