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.
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.
``` Tools/build master ❯ vulkaninfo i386-linux- gnu/libvulkan_ radeon. so: wrong ELF class: ELFCLASS32 i386-linux- gnu/libvulkan_ lvp.so: wrong ELF class: ELFCLASS32 i386-linux- gnu/libvulkan_ intel.so: wrong ELF class: ELFCLASS32 perf_stream_ paranoid= 0
~/dev/Vulkan-
ERROR: [Loader Message] Code 0 : /usr/lib/
ERROR: [Loader Message] Code 0 : /usr/lib/
ERROR: [Loader Message] Code 0 : /usr/lib/
MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.
ERROR at /build/ vulkan- tools-A4vpMj/ vulkan- tools-1. 2.162.0+ dfsg1/vulkaninf o/vulkaninfo. h:248:vkGetPhys icalDeviceSurfa ceFormats2KHR failed with ERROR_INITIALIZ ATION_FAILED Tools/build master ❯ env DISPLAY= vulkaninfo i386-linux- gnu/libvulkan_ radeon. so: wrong ELF class: ELFCLASS32 i386-linux- gnu/libvulkan_ lvp.so: wrong ELF class: ELFCLASS32 i386-linux- gnu/libvulkan_ intel.so: wrong ELF class: ELFCLASS32 perf_stream_ paranoid= 0
~/dev/Vulkan-
ERROR: [Loader Message] Code 0 : /usr/lib/
ERROR: [Loader Message] Code 0 : /usr/lib/
ERROR: [Loader Message] Code 0 : /usr/lib/
'DISPLAY' environment variable not set... skipping surface info
MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.
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.
``` 64-linux- gnu/libnvidia- eglcore. so.460. 39 64-linux- gnu/libnvidia- eglcore. so.460. 39 64-linux- gnu/libnvidia- eglcore. so.460. 39 VkPresentModeKH R, VkResult (*&)(VkPhysical Device_ T*, VkSurfaceKHR_T*, unsigned int*, VkPresentModeKHR*), VkPhysicalDevic e_T*&, VkSurfaceKHR_T*&> ( name=0x5555555f 55e8 "vkGetPhysicalD eviceSurfacePre sentModesKHR" , f=@0x7fffffffcfd8: 0x7ffff7833d50 <vkGetPhysicalD eviceSurfacePre sentModesKHR> , init=VK_ PRESENT_ MODE_IMMEDIATE_ KHR) at vulkaninfo/ vulkaninfo. h:247 VkPresentModeKH R, VkResult (*&)(VkPhysical Device_ T*, VkSurfaceKHR_T*, unsigned int*, VkPresentModeKHR*), VkPhysicalDevic e_T*&, VkSurfaceKHR_T*&> ( name=0x5555555f 55e8 "vkGetPhysicalD eviceSurfacePre sentModesKHR" , f=@0x7fffffffcfd8: 0x7ffff7833d50 <vkGetPhysicalD eviceSurfacePre sentModesKHR> ) at vulkaninfo/ vulkaninfo. h:259 :AppSurface (this=0x555555e cc090, inst=..., phys_device= 0x555555eca990, surface_ extension= ..., sur_extension_ pNextChain= std::vector of length 2, capacity 2 = {...}) vulkaninfo. h:1217 de98) at vulkaninfo/ vulkaninfo. cpp:948
Thread 1 "vulkaninfo" received signal SIGSEGV, Segmentation fault.
0x00007fffed803d59 in ?? () from /lib/x86_
(gdb) bt
#0 0x00007fffed803d59 in ?? () from /lib/x86_
#1 0x00007fffed8041f0 in ?? () from /lib/x86_
#2 0x00005555555cd723 in GetVectorInit<
func_
#3 0x00005555555bcc37 in GetVector<
func_
#4 0x00005555555b42d5 in AppSurface:
at vulkaninfo/
#5 0x00005555555abeb5 in main (argc=1, argv=0x7fffffff
```
Any idea what this could be caused by? I provide core dumps if that is helpful.