Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

That is very strange, it works perfectly fine for me.  I would appreciate a gdb backtrace if possible, I put in the necessary compiler flags.

>it looks like you’re really making good progress and I’m happy about it.

Thanks

(1 edit)
Thread 1 "aum" received signal SIGILL, Illegal instruction.
0x00000000002297b7 in vulkan_global_uniform_buffer_set (context=0x2dae40 <context>) at src/vulkan_engine/vulkan_buffer.c:128
128	src/vulkan_engine/vulkan_buffer.c: No such file or directory.
(gdb) backtrace
#0  0x00000000002297b7 in vulkan_global_uniform_buffer_set (context=0x2dae40 <context>) at src/vulkan_engine/vulkan_buffer.c:128
#1  0x0000000000217db3 in vulkan_draw () at src/vulkan_engine/vulkan.c:170
#2  0x000000000021673b in app_render () at src/main.c:43
#3  0x0000000000216847 in app_run () at src/main.c:70
#4  0x00000000002168c9 in main () at src/main.c:90
[kyle@gum ~]$ nala list --installed | grep vulkan
libvulkan1 1.3.204.1-2 [Ubuntu/jammy main]
mesa-vulkan-drivers 22.3.5-1pop1~1677168864~22.04~8f20e98 [Pop!_OS Release/jammy main]
vulkan-tools 1.3.204.0+dfsg1-1 [Ubuntu/jammy universe]
vulkan-validationlayers 1.3.204.1-2 [Ubuntu/jammy universe]

Let me know if you’d like the full output and I can throw it up on a paste bin.

I'm inclined to believe that a Vulkan package is missing. It's the only thing I can think of

sudo apt install vulkan-tools libvulkan-dev vulkan-validationlayers-dev spirv-tools

But I think you have most of these already.  Maybe one is missing. I was distributing a debug build so there are probably a lot of Vulkan packages involved on Debian/Ubuntu/PopOs. On Arch you get everything Vulkan with two packages (one for driver and one for everything else) so I didn't consider the difficulties of other distros.

Thanks for the backtrace, I think it will be helpful.

(1 edit)

Well, after installing what you suggested as well as a couple others that sounded promising, the same crash persists. I don’t really want to go installing package after package to find out which one solves the issue.

If you do some investigating and find a promising candidate, lemme know and I’ll try it out.

Yeah I don't want you to go that far. It was just an idea. Maybe I can try testing things out in a virtual machine for the next DD. Thanks for all your comments. I still have to make sure and give your stuff a try before DD ends!

Honestly what might be best is to do a Debian build from source. Should square away any future problems. I'm thinking of making Arch and Debian packages anyways for easy installation.