vkBasalt: vkcube segfault

specs

~ >>> inxi -bM                                                                                                                                                                                                                                              
System:    Host: mjb Kernel: 5.3.6-13-tkg-pds x86_64 bits: 64 Desktop: KDE Plasma 5.17.0 Distro: Manjaro Linux 
Machine:   Type: Desktop Mobo: ASUSTeK model: TUF B450M-PLUS GAMING v: Rev X.0x serial: <root required> 
           UEFI: American Megatrends v: 1201 date: 04/25/2019 
CPU:       6-Core: AMD Ryzen 5 2600 type: MT MCP speed: 2452 MHz min/max: 1550/3400 MHz 
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] driver: amdgpu 
           v: kernel 
           Display: x11 server: X.Org 1.20.5 driver: amdgpu tty: N/A 
           OpenGL: renderer: Radeon RX 580 Series (POLARIS10 DRM 3.33.0 5.3.6-13-tkg-pds LLVM 9.0.0) 
           v: 4.5 Mesa 19.3.0-devel (git-48d617118a) 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169 
Drives:    Local Storage: total: 1.59 TiB used: 1003.17 GiB (61.5%) 
Info:      Processes: 350 Uptime: 2d 18h 58m Memory: 15.63 GiB used: 4.10 GiB (26.2%) Shell: zsh inxi: 3.0.36

Tried with latest RADV:

~ >>> ENABLE_VKBASALT=1 vkcube                                                                                                                                                                                                                              
i am doing something
found graphic capable queue
1
queue 0x55b879c8cae0
queue 0x55b879c8cae0
queue 0x55b879c8cae0
format 50
format 50
device 0x55b879d56040
format 50
swapchain 0x55b879eb8070
Interrupted create swapchain
Interrupted get swapchain images 0
Interrupted get swapchain images 3
queue 0x55b879c8cae0
swapchain 0x55b879eb8070
format 50
device 0x55b879d56040
before creating descriptor Pool 
set count 3
after creating descriptor Pool 
before allocating descriptor Sets 1
before writing descriptor Sets 
before writing descriptor Sets 
before writing descriptor Sets 
0x7f5604f1ca60
0x55b879fc2840
0x8
0x55b87a1e7a20
0x55b87a2ab820
0x55b87a276ea0
after allocateCommandBuffer 
0x55b87a1e7a20
0x55b87a2ab820
0x55b87a276ea0
before begin commandbuffer 0x55b87a1e7a20
before command buffer step 1
before command buffer step 2
zsh: segmentation fault (core dumped)  ENABLE_VKBASALT=1 vkcube

With amdgpu-pro:

~ >>> VK_ICD_FILENAMES=/opt/amdgpu-pro/etc/vulkan/icd.d/amd_icd64.json ENABLE_VKBASALT=1 vkcube                                                                                                                                                        [139]
i am doing something
found graphic capable queue
1
queue 0x55612f19a4b0
queue 0x55612f19a4b0
queue 0x55612f19a4b0
format 44
format 44
device 0x55612f179ee0
format 44
swapchain 0x55612f51b380
Interrupted create swapchain
Interrupted get swapchain images 0
Interrupted get swapchain images 3
queue 0x55612f19a4b0
swapchain 0x55612f51b380
format 44
device 0x55612f179ee0
before creating descriptor Pool 
set count 3
after creating descriptor Pool 
before allocating descriptor Sets 1
before writing descriptor Sets 
before writing descriptor Sets 
before writing descriptor Sets 
0x7f64fabbda40
0x7f64fabbda40
0
0x55612f2d1260
0x55612f2d7040
0x55612f27b7d0
after allocateCommandBuffer 
0x55612f2d1260
0x55612f2d7040
0x55612f27b7d0
before begin commandbuffer 0x55612f2d1260
before command buffer step 1
before command buffer step 2
zsh: segmentation fault (core dumped)  VK_ICD_FILENAMES=/opt/amdgpu-pro/etc/vulkan/icd.d/amd_icd64.json =1 vkcube

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 29 (21 by maintainers)

Commits related to this issue

Most upvoted comments

@ahmed-elsayed2017 then use that build, it should have better performance

Man I am a bit lost, I am going to sleep now and see If come up if an idea next week.

Ohh, this is very bad. I was informed on reddit, that i use undefined behavior, no maybe vkBasalt does not work on all drivers other than nvidia currently.