| Summary: | Vulkan KMS/DRM doesn’t work on Pi4 | ||
|---|---|---|---|
| Product: | SDL | Reporter: | bluestang2006 |
| Component: | video | Assignee: | Ryan C. Gordon <icculus> |
| Status: | ASSIGNED --- | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | Keywords: | target-2.0.16 |
| Version: | 2.0.15 | ||
| Hardware: | ARM | ||
| OS: | Linux | ||
|
Description
bluestang2006
2021-01-18 05:03:47 UTC
Update:
Here is gdb backtrace on the segfault I am getting:
Program received signal SIGSEGV, Segmentation fault.
0x0000007fedfc1f28 in vkGetPhysicalDeviceDisplayPropertiesKHR () from /usr/lib/aarch64-linux-gnu/libvulkan.so.1
(gdb)
(gdb) bt full
#0 0x0000007fedfc1f28 in vkGetPhysicalDeviceDisplayPropertiesKHR () from /usr/lib/aarch64-linux-gnu/libvulkan.so.1
No symbol table info available.
#1 0x0000007ff7f1fed4 in ?? () from /usr/lib/aarch64-linux-gnu/libSDL2-2.0.so.0
No symbol table info available.
#2 0x0000007fee12b3c0 in vk_createSurfaceImpl () at code/renderer_vulkan/vk_create_window_SDL.c:353
No locals.
#3 0x0000007fee0fbef4 in vk_getProcAddress () at code/renderer_vulkan/vk_instance.c:747
No locals.
#4 0x0000007fee0fd8c0 in vk_initialize () at code/renderer_vulkan/vk_init.c:21
width = 127
height = -301132196
#5 0x0000007fee0d166c in R_Init () at code/renderer_vulkan/tr_init.c:124
i = 1024
#6 0x0000007fee0d1844 in RE_BeginRegistration (pGlCfg=0x5555e29218 <cls+966856>) at code/renderer_vulkan/tr_init.c:201
No locals.
#7 0x0000005555577e18 in CL_InitRenderer () at code/client/cl_main.c:3125
No locals.
#8 0x0000005555577f50 in CL_StartHunkUsers (rendererOnly=qfalse) at code/client/cl_main.c:3154
No locals.
#9 0x00000055555a0b0c in Com_Init (commandLine=0x7fffffefc8 "") at code/qcommon/common.c:2814
s = 0x5555cfb0f0 <string> "09"
qport = -2088452435
#10 0x000000555564849c in main (argc=1, argv=0x7ffffff518) at code/sys/sys_main.c:756
i = 1
commandLine = '\000' <repeats 1023 times>
ver = {major = 2 '\002', minor = 0 '\000', patch = 15 '\017'}
@bluestang: I don't know what could be going on here. VKQuake3 is working very well here with KMSDRM, using it's Vulkan renderer. @Sam et all: Any ideas? Ryan, can you reproduce this and see what's happening here? |