-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segmentation fault with Vulkan backend in raspberry pi OS bullseye 32 bit on raspberry pi 4/400 #19612
Comments
can you run it in gdb and get a stack trace of the crash? |
Thread 1 "PPSSPPSDL" received signal SIGSEGV, Segmentation fault. |
hm that's very early, maybe extension loading or something... any chance you can do a debug build so we can get line numbers? |
Here you go: (gdb) backtrace |
That means it crashes here: ppsspp/Common/GPU/Vulkan/VulkanContext.cpp Line 286 in 0f50225
vkGetPhysicalDeviceProperties2(physical_devices_[i], &props2); , and since the callstack starts with 0000000, it likely called a null pointer. However, we do guard that call with an if, on line 277, so this is really strange. Actually, I see on the line before that the Khronos validation layer is active. That should mean that you made a debug build. Maybe the validation layers don't work correctly on 32-bit ARM for some reason? It's probably not a well tested platform. Try to make a release build insetad. It will also run much faster. ./b.sh --release |
Game or games this happens in
None
What area of the game / PPSSPP
When I execute version 1.18 I get a segmentation fault with Vulkan backend in raspberry pi OS bullseye 32 bit on raspberry pi4/400.
Vulkan backend works as expected with 1.17.1
What should happen
PPSSPP should work with Vulkan backend
Logs
No response
Platform
Raspberry Pi
Mobile device model or graphics card (GPU)
Raspberry pi 4/400
PPSSPP version affected
1.18.1
Last working version
1.17.1
Graphics backend (3D API)
Vulkan
Checklist
The text was updated successfully, but these errors were encountered: