Skip to content

Instantly share code, notes, and snippets.

@Kreyren
Last active March 28, 2019 23:04
Show Gist options
  • Save Kreyren/32cd2b1d88dbb212d1cd044d92ea9504 to your computer and use it in GitHub Desktop.
Save Kreyren/32cd2b1d88dbb212d1cd044d92ea9504 to your computer and use it in GitHub Desktop.
vulkan-loader : Segmentation fault
I have problem with `Segmentation fault` on vulkan-loader (https://github.com/KhronosGroup/Vulkan-Loader) using AMD7870 which is using AMDGPU only (radeon is disabled in grub and not compiled in kernel since it doesn't support vulkan.)
ERROR: http://dpaste.com/23A9F4S
Using `Bedrock Linux 0.7.1 Poki x86_64` (https://i.imgur.com/WtEjvAA.png) with gentoo linux init strata set as `USE="-*"` (http://ix.io/1EGb) and cherrypicked package.use (http://ix.io/1EGM) with packages (http://ix.io/1EGq) on custom 5.0.3 with muSQQ and CPU optimization patches (http://ix.io/1EGa).
packages: http://ix.io/1EGa
kernel .config: http://ix.io/1EGq
package.use: http://ix.io/1EGM
make.conf: http://ix.io/1EGb
neofetch: https://i.imgur.com/WtEjvAA.png
emerge --info: http://ix.io/1EGF
dmesg: http://ix.io/1EGA
```
[17420.348403] vulkaninfo[3254]: segfault at 0 ip 00007f003a9c5107 sp 00007fff3f2a2ea8 error 4 in libX11-xcb.so.1.0.0[7f003a9c5000+1000]
[17420.348410] Code: 00 01 5d c3 0f 1f 80 00 00 00 00 c3 0f 1f 80 00 00 00 00 e9 7b ff ff ff 66 2e 0f 1f 84 00 00 00 00 00 90 48 8b 87 30 0a 00 00 <48> 8b 00 c3 0f 1f 44 00 00 48 8b 87 30 0a 00 00 89 70 40 c3 00 48
[17706.878753] vulkaninfo[11102]: segfault at 0 ip 00007f4817458107 sp 00007ffd0aac5ab8 error 4 in libX11-xcb.so.1.0.0[7f4817458000+1000]
[17706.878759] Code: 00 01 5d c3 0f 1f 80 00 00 00 00 c3 0f 1f 80 00 00 00 00 e9 7b ff ff ff 66 2e 0f 1f 84 00 00 00 00 00 90 48 8b 87 30 0a 00 00 <48> 8b 00 c3 0f 1f 44 00 00 48 8b 87 30 0a 00 00 89 70 40 c3 00 48
[17727.864929] traps: vulkaninfo[11219] general protection fault ip:7fdf8b7e26be sp:7fff488f3bf0 error:0 in libxcb.so.1.1.0[7fdf8b7e1000+11000]
```
llvm merge: https://gist.github.com/Kreyren/32f6dbebe3156e1e2540ea0f84efd90f
glxgear: https://i.imgur.com/I8aVufe.png
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment