Activity log for bug #1915332

Date Who What changed Old value New value Message
2021-02-10 21:03:23 Kai Mast bug added bug
2021-02-10 21:07:06 Kai Mast tags apport-collected hirsute third-party-packages wayland-session
2021-02-10 21:07:07 Kai Mast description Hi! First, I should mention that the driver in general works very well and I have not encountered other problems with it. I noticed however that vulkaninfo (from vulkan-tools) is not able to run. I think it is either related to Wayland or my prime configuration. I tried with both XWayland and Wayland. ```   ~/dev/Vulkan-Tools/build master ❯ vulkaninfo ERROR: [Loader Message] Code 0 : /usr/lib/i386-linux-gnu/libvulkan_radeon.so: wrong ELF class: ELFCLASS32 ERROR: [Loader Message] Code 0 : /usr/lib/i386-linux-gnu/libvulkan_lvp.so: wrong ELF class: ELFCLASS32 ERROR: [Loader Message] Code 0 : /usr/lib/i386-linux-gnu/libvulkan_intel.so: wrong ELF class: ELFCLASS32 MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0 ERROR at /build/vulkan-tools-A4vpMj/vulkan-tools-1.2.162.0+dfsg1/vulkaninfo/vulkaninfo.h:248:vkGetPhysicalDeviceSurfaceFormats2KHR failed with ERROR_INITIALIZATION_FAILED   ~/dev/Vulkan-Tools/build master ❯ env DISPLAY= vulkaninfo ERROR: [Loader Message] Code 0 : /usr/lib/i386-linux-gnu/libvulkan_radeon.so: wrong ELF class: ELFCLASS32 ERROR: [Loader Message] Code 0 : /usr/lib/i386-linux-gnu/libvulkan_lvp.so: wrong ELF class: ELFCLASS32 ERROR: [Loader Message] Code 0 : /usr/lib/i386-linux-gnu/libvulkan_intel.so: wrong ELF class: ELFCLASS32 'DISPLAY' environment variable not set... skipping surface info MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0 fish: “env DISPLAY= vulkaninfo” terminated by signal SIGSEGV (Address boundary error) ``` I then built vulkaninfo from source. The backtrace is not very helpful though, it crashes somewhere inside the NVIDIA egl libraries. ``` Thread 1 "vulkaninfo" received signal SIGSEGV, Segmentation fault. 0x00007fffed803d59 in ?? () from /lib/x86_64-linux-gnu/libnvidia-eglcore.so.460.39 (gdb) bt #0 0x00007fffed803d59 in ?? () from /lib/x86_64-linux-gnu/libnvidia-eglcore.so.460.39 #1 0x00007fffed8041f0 in ?? () from /lib/x86_64-linux-gnu/libnvidia-eglcore.so.460.39 #2 0x00005555555cd723 in GetVectorInit<VkPresentModeKHR, VkResult (*&)(VkPhysicalDevice_T*, VkSurfaceKHR_T*, unsigned int*, VkPresentModeKHR*), VkPhysicalDevice_T*&, VkSurfaceKHR_T*&> ( func_name=0x5555555f55e8 "vkGetPhysicalDeviceSurfacePresentModesKHR", f=@0x7fffffffcfd8: 0x7ffff7833d50 <vkGetPhysicalDeviceSurfacePresentModesKHR>, init=VK_PRESENT_MODE_IMMEDIATE_KHR) at vulkaninfo/vulkaninfo.h:247 #3 0x00005555555bcc37 in GetVector<VkPresentModeKHR, VkResult (*&)(VkPhysicalDevice_T*, VkSurfaceKHR_T*, unsigned int*, VkPresentModeKHR*), VkPhysicalDevice_T*&, VkSurfaceKHR_T*&> ( func_name=0x5555555f55e8 "vkGetPhysicalDeviceSurfacePresentModesKHR", f=@0x7fffffffcfd8: 0x7ffff7833d50 <vkGetPhysicalDeviceSurfacePresentModesKHR>) at vulkaninfo/vulkaninfo.h:259 #4 0x00005555555b42d5 in AppSurface::AppSurface (this=0x555555ecc090, inst=..., phys_device=0x555555eca990, surface_extension=..., sur_extension_pNextChain=std::vector of length 2, capacity 2 = {...}) at vulkaninfo/vulkaninfo.h:1217 #5 0x00005555555abeb5 in main (argc=1, argv=0x7fffffffde98) at vulkaninfo/vulkaninfo.cpp:948 ``` Any idea what this could be caused by? I provide core dumps if that is helpful. Hi! First, I should mention that the driver in general works very well and I have not encountered other problems with it. I noticed however that vulkaninfo (from vulkan-tools) is not able to run. I think it is either related to Wayland or my prime configuration. I tried with both XWayland and Wayland. ```   ~/dev/Vulkan-Tools/build master ❯ vulkaninfo ERROR: [Loader Message] Code 0 : /usr/lib/i386-linux-gnu/libvulkan_radeon.so: wrong ELF class: ELFCLASS32 ERROR: [Loader Message] Code 0 : /usr/lib/i386-linux-gnu/libvulkan_lvp.so: wrong ELF class: ELFCLASS32 ERROR: [Loader Message] Code 0 : /usr/lib/i386-linux-gnu/libvulkan_intel.so: wrong ELF class: ELFCLASS32 MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0 ERROR at /build/vulkan-tools-A4vpMj/vulkan-tools-1.2.162.0+dfsg1/vulkaninfo/vulkaninfo.h:248:vkGetPhysicalDeviceSurfaceFormats2KHR failed with ERROR_INITIALIZATION_FAILED   ~/dev/Vulkan-Tools/build master ❯ env DISPLAY= vulkaninfo ERROR: [Loader Message] Code 0 : /usr/lib/i386-linux-gnu/libvulkan_radeon.so: wrong ELF class: ELFCLASS32 ERROR: [Loader Message] Code 0 : /usr/lib/i386-linux-gnu/libvulkan_lvp.so: wrong ELF class: ELFCLASS32 ERROR: [Loader Message] Code 0 : /usr/lib/i386-linux-gnu/libvulkan_intel.so: wrong ELF class: ELFCLASS32 'DISPLAY' environment variable not set... skipping surface info MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0 fish: “env DISPLAY= vulkaninfo” terminated by signal SIGSEGV (Address boundary error) ``` I then built vulkaninfo from source. The backtrace is not very helpful though, it crashes somewhere inside the NVIDIA egl libraries. ``` Thread 1 "vulkaninfo" received signal SIGSEGV, Segmentation fault. 0x00007fffed803d59 in ?? () from /lib/x86_64-linux-gnu/libnvidia-eglcore.so.460.39 (gdb) bt #0 0x00007fffed803d59 in ?? () from /lib/x86_64-linux-gnu/libnvidia-eglcore.so.460.39 #1 0x00007fffed8041f0 in ?? () from /lib/x86_64-linux-gnu/libnvidia-eglcore.so.460.39 #2 0x00005555555cd723 in GetVectorInit<VkPresentModeKHR, VkResult (*&)(VkPhysicalDevice_T*, VkSurfaceKHR_T*, unsigned int*, VkPresentModeKHR*), VkPhysicalDevice_T*&, VkSurfaceKHR_T*&> ( func_name=0x5555555f55e8 "vkGetPhysicalDeviceSurfacePresentModesKHR", f=@0x7fffffffcfd8: 0x7ffff7833d50 <vkGetPhysicalDeviceSurfacePresentModesKHR>, init=VK_PRESENT_MODE_IMMEDIATE_KHR) at vulkaninfo/vulkaninfo.h:247 #3 0x00005555555bcc37 in GetVector<VkPresentModeKHR, VkResult (*&)(VkPhysicalDevice_T*, VkSurfaceKHR_T*, unsigned int*, VkPresentModeKHR*), VkPhysicalDevice_T*&, VkSurfaceKHR_T*&> ( func_name=0x5555555f55e8 "vkGetPhysicalDeviceSurfacePresentModesKHR", f=@0x7fffffffcfd8: 0x7ffff7833d50 <vkGetPhysicalDeviceSurfacePresentModesKHR>) at vulkaninfo/vulkaninfo.h:259 #4 0x00005555555b42d5 in AppSurface::AppSurface (this=0x555555ecc090, inst=..., phys_device=0x555555eca990, surface_extension=..., sur_extension_pNextChain=std::vector of length 2, capacity 2 = {...}) at vulkaninfo/vulkaninfo.h:1217 #5 0x00005555555abeb5 in main (argc=1, argv=0x7fffffffde98) at vulkaninfo/vulkaninfo.cpp:948 ``` Any idea what this could be caused by? I provide core dumps if that is helpful. --- ProblemType: Bug ApportVersion: 2.20.11-0ubuntu57 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: ubuntu:GNOME DistroRelease: Ubuntu 21.04 InstallationDate: Installed on 2020-09-22 (141 days ago) InstallationMedia: NonfreeKernelModules: nvidia_modeset nvidia Package: nvidia-driver-460 460.39-0ubuntu1 [origin: unknown] PackageArchitecture: amd64 ProcEnviron: TERM=tmux-256color PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/usr/bin/fish ProcVersionSignature: Ubuntu 5.10.0-14.15-generic 5.10.11 Tags: third-party-packages hirsute wayland-session Uname: Linux 5.10.0-14-generic x86_64 UnreportableReason: This does not seem to be an official Ubuntu package. Please retry after updating the indexes of available packages, if that does not work then remove related third party packages and try again. UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: bumblebee sudo _MarkForUpload: True
2021-02-10 21:07:08 Kai Mast attachment added Dependencies.txt https://bugs.launchpad.net/bugs/1915332/+attachment/5462437/+files/Dependencies.txt
2021-02-10 21:07:10 Kai Mast attachment added ProcCpuinfoMinimal.txt https://bugs.launchpad.net/bugs/1915332/+attachment/5462438/+files/ProcCpuinfoMinimal.txt