vk suffering
Open vkconfig.exe (or whatever file ending your OS uses) add validation & API dump to the enabled layers, Profit
33 Replies
https://i.beyleyisnot.moe/L2TbyFs.png
i think i see my draw calls here
RenderDoc?
no
Uuuuh you should get a .html file
i got a 3 megabyte txt file
I think by default the format is HTML but the file ending is .txt so maybe just rename and open in browser
it was defaulted to TXT format
it seems it dies after frame 3 https://i.beyleyisnot.moe/xSJsQkQ.png
assuming the validation layers aren't reporting anything?
maybe i just didnt enable it properly one sec
(using that tool should be perfect for this)
enabling the validation layer causes the app to crash at startup
oh what the fuck
no suitable memory type
what
did i do something wrong? https://i.beyleyisnot.moe/vnEjZyk.png
Seems reasonable
From the minimal knowledge I have it seems it's not waiting for the fence correctly
idk why it's even using a fence
@techpizza you might have some insight here
the Queue & Present submits don't have a semaphore or fence associated with them, which is weird but probably due to some architectural thing
so the fence probably exists for architectural reasons
and is maybe not correctly being waited on
(the trace looks like a typical frame deadlock)
since it works fine with the Veldrid windowing, woult it be helpful to launch that and see the api dump?
yeah try that
https://i.beyleyisnot.moe/veldrid-sdl2.html
that should work
i love that its all self contained in a single file
Seems like the fence status is always VK_SUCCESS There :/
lemme try Silk.NET windowing SDL
no change
very weird
how i create the window: https://github.com/Furball-Engine/Furball.Vixie/blob/4ab1dca2f4ac0861eea5f2cfae062ee9cedbb477/Furball.Vixie/WindowManager.cs#L80
how i create the graphics device: https://github.com/Furball-Engine/Furball.Vixie/blob/4ab1dca2f4ac0861eea5f2cfae062ee9cedbb477/Furball.Vixie/Graphics/Backends/Veldrid/VeldridBackend.cs#L36
maybe im doing something stupid here with the window
i checked with the veldrid example in the lab, and i seem to be doing everything right, but maybe im blind
okay so some updates
when i dont initialize my quad renderer, and just do ImGui
everything works
except for GL and GLES on windows, which complain about no gl context
D3D complains about input data not matching
which it seems to
my sampler name was wrong c# side, but even after fixing it the issue persists
if only there were actually errors given out by veldrid this would be a lot easier
by spamming launch with the validation layer it actually launched and gave an error https://i.beyleyisnot.moe/TXTmA1E.png
problem: i dont know what this means
they definitely match
it was a small typo
Added to the list of things I want to do: typesafe shader imports