You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue seems to be that vertexPipelineStoresAndAtomics is required but not supported. I am running the latest pre-built release but have verified the issue also exists on master.
For the record, Apple Silicon has a perfectly mature Vulkan driver. Not only does Minecraft work in its OpenGL mode when the OpenGL implementation is zink (i.e. OpenGL layered on top of the Vulkan driver), but Minecraft's current experimental Vulkan backend also works.
Rejecting device: vertexPipelineStoresAndAtomics is not supported
[Thread 0xffffe76c2fe0 (LWP 10471) (id 11) exited]
Error while initializing Vulkan: NoCapableDeviceFound This may be a driver issue. Please update your drivers if you want to keep playing Cubyz in the future.
[New Thread 0xffffe76c2fe0 (LWP 10476) (id 12)]
[New Thread 0xffffccb7efe0 (LWP 10478) (id 13)]
Thread 1 "Cubyz" received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) bt
#0 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
The debugging becomes much less useful now because I couldn't find the source for this external C dependency we find ourselves in (miniaudio.c). But, for what it's worth, after entering n repeatedly this happens:
(lldb) n
Process 21795 stopped
* thread #1, name = 'Cubyz', stop reason = step over
frame #0: 0x0000000001d7cbb8 Cubyz`ma_device_init_ex(backends=<unavailable>, backendCount=<unavailable>, pContextConfig=0x0000000000000000, pConfig=0x0000ffffffffe5e8, pDevice=0x0000000004e7b108) at miniaudio.c:32546:22
(lldb) n
Process 21795 stopped
* thread #1, name = 'Cubyz', stop reason = signal SIGSEGV: address not mapped to object (fault address=0x0)
frame #0: 0x0000000000000000
error: memory read failed for 0x0
Thanks for testing, now I at least know that #3747 works.
I'm not sure what to do about the audio though, seems like a bug in miniaudio. If you have the time for it, you can try making a minimal C example and directly linking miniaudio for a stack trace. Then we could make an upstream bug report. Otherwise you can also just comment out the audio.init call in src/main.zig, that should get the game up and running just without the audio.
Unfortunately, I've been unable to reproduce the issue using a minimal C example. I'll open a new issue so this one can be strictly about Vulkan support.
Activity
IntegratedQuantum commentedon Nov 7, 2026
Could you try my branch from #3747? At least for now it shouldn't require Vulkan yet.
ppp7032 commentedon Nov 7, 2026
I got SIGSEGV branch.log
When running with GDB to try to get a backtrace:
ppp7032 commentedon Nov 7, 2026
It's very strange that I cannot get a back-trace even with a debug build. I'm not sure if this helps or not but:
ppp7032 commentedon Nov 7, 2026
From stepping through the project with
lldb, it looks like the SIGSEGV is triggered by this callaudio.zig:227:The debugging becomes much less useful now because I couldn't find the source for this external C dependency we find ourselves in (
miniaudio.c). But, for what it's worth, after enteringnrepeatedly this happens:IntegratedQuantum commentedon Nov 8, 2026
Thanks for testing, now I at least know that #3747 works.
I'm not sure what to do about the audio though, seems like a bug in miniaudio. If you have the time for it, you can try making a minimal C example and directly linking miniaudio for a stack trace. Then we could make an upstream bug report. Otherwise you can also just comment out the
audio.initcall insrc/main.zig, that should get the game up and running just without the audio.ppp7032 commentedon Nov 8, 2026
Unfortunately, I've been unable to reproduce the issue using a minimal C example. I'll open a new issue so this one can be strictly about Vulkan support.