Asterix Gaming Guild Logo GeneralXXLXXL 2XXL 3XXXLOlympic GamesXXL EditorToolsOff-TopicXXL RomasteredXXL 2 RemasteredOther GamesModsCaesar's ChallengeUnfair XXLPatchesFan ArtPersonal ArtSpeedrunningMediaRandomizerBETA RomeHSKALPresence AdrienPresence SPQRPresence Mr. RubinshteinSupport Bot Helpdesk

#hskal

pegperegogaucho
The fact that it works perfectly fine, but loading some sectors crashes it means it can*t be some compatability issue or something...
hesopesomeso
I'll play a bit with it and see if I can fix it
hesopesomeso
Yeah, most likely I screwed something up
hesopesomeso
Last resort we can simply use a debugger, and see where it freezes.
pegperegogaucho
I just tried with gdb: I broke on the freeze, it was inside the acquire_next_image function, inside the renderer loop. But the error occurs before that, so I will have to see how I found out when it does :Obelul:
pegperegogaucho
Heso, could you point out some source lines (like the load_sector function etc.) where you think it passes through before the error occurs?
hesopesomeso
You should follow the functions down the stack trace. Might be a good idea to get a frontend to gdb.
pegperegogaucho
Yes I did, as I said it was stuck in the main loop...
pegperegogaucho
Can you recommend any frontend?
hesopesomeso
I usually use Qt's frontend or "gdb-frontend" (on aur: https://aur.archlinux.org/packages/gdb-frontend-bin)
hesopesomeso
you can have gdb-frontend run in your browser.
pegperegogaucho
It can't connect in the browser
pegperegogaucho
Why doesn't stuff just work? :PogelixWeird:
pegperegogaucho
@hesopesomeso when I change the current sector, what function does it call and where is it?
hesopesomeso
It does work, i just tested it?
hesopesomeso
klevel::switch_to_sector
pegperegogaucho
The error pops up: kvulkan_renderer.cpp:189
pegperegogaucho
And it then returns unexpected
hesopesomeso
Thanks! That means submitting the graphics queue failed, so "some" problem... actually, can you change it to print out the VkResult, if failed (it is not success - so as an integer [there is apparently no VkResult->string in C bindings, only C++])?
pegperegogaucho
Sure, I will do so later