Comments (10)
Hello @ssamjoel . Thank you for trying out Spartan.
I can't repro the issue. Did you run py generate_vs2022_vulkan.py
before opening the solution ?
from spartanengine.
Will take care of it. Thank you for reporting and thanks for trying to help Apostolos.
from spartanengine.
Hey, Yes I did generate the project new with py generate_vs2022_vulkan.py and then got into this crash.
from spartanengine.
Could you please provide log.txt, the engine produces this automatically and it should contain the Vulkan validation error I can see in the call stack.
from spartanengine.
Attaching the requested Log File
from spartanengine.
Thanks for the log, per Vulkan there is a null descriptor being used, hence the crash, I can't reproduce this, however because I don't use null descriptors for images or samples I enabled the null descriptor feature, which should in theory fix your issue.
Fixed by: 4d8a04d
Please let me know if this did the trick.
from spartanengine.
Seeing this error after grabbing the latest master and recompiling. Apologies if I am doing something wrong over here.
nvgpucomp64.dll!00007ffd7ff8d340() Unknown
nvgpucomp64.dll!00007ffd7fe73661() Unknown
nvgpucomp64.dll!00007ffd7fe691ac() Unknown
nvgpucomp64.dll!00007ffd7fe6f914() Unknown
nvgpucomp64.dll!00007ffd7fe6e903() Unknown
nvgpucomp64.dll!00007ffd7fe74b64() Unknown
nvgpucomp64.dll!00007ffd7fe5d447() Unknown
nvgpucomp64.dll!00007ffd7fe5f0db() Unknown
nvgpucomp64.dll!00007ffd7fe5dd80() Unknown
nvgpucomp64.dll!00007ffd7fe71f2a() Unknown
nvgpucomp64.dll!00007ffd7ef171f5() Unknown
nvgpucomp64.dll!00007ffd7ef166f0() Unknown
nvgpucomp64.dll!00007ffd7ef15f38() Unknown
nvgpucomp64.dll!00007ffd7ef24e6a() Unknown
nvgpucomp64.dll!00007ffd7ef16137() Unknown
nvoglv64.dll!00007ffcd02c7f66() Unknown
nvoglv64.dll!00007ffcd02c828f() Unknown
nvoglv64.dll!00007ffcd104673b() Unknown
nvoglv64.dll!00007ffcd1047cc5() Unknown
nvoglv64.dll!00007ffcd1045f06() Unknown
nvoglv64.dll!00007ffcd104b71d() Unknown
nvoglv64.dll!00007ffcd104ad86() Unknown
nvoglv64.dll!00007ffcd10495fd() Unknown
nvoglv64.dll!00007ffcd104c9bc() Unknown
nvoglv64.dll!00007ffcd10346a1() Unknown
nvoglv64.dll!00007ffcd10347ab() Unknown
nvoglv64.dll!00007ffcd0f3959f() Unknown
VkLayer_khronos_validation.dll!DispatchCreateComputePipelines(VkDevice_T * device, VkPipelineCache_T * pipelineCache, unsigned int createInfoCount, const VkComputePipelineCreateInfo * pCreateInfos, const VkAllocationCallbacks * pAllocator, VkPipeline_T * * pPipelines) Line 1552 C++
VkLayer_khronos_validation.dll!vulkan_layer_chassis::CreateComputePipelines(VkDevice_T * device, VkPipelineCache_T * pipelineCache, unsigned int createInfoCount, const VkComputePipelineCreateInfo * pCreateInfos, const VkAllocationCallbacks * pAllocator, VkPipeline_T * * pPipelines) Line 709 C++
[External Code]
spartan_vulkan_debug.exe!Spartan::RHI_Pipeline::RHI_Pipeline(Spartan::RHI_PipelineState & pipeline_state, Spartan::RHI_DescriptorSetLayout * descriptor_set_layout) Line 445 C++
[External Code]
spartan_vulkan_debug.exe!Spartan::RHI_Device::GetOrCreatePipeline(Spartan::RHI_PipelineState & pso, Spartan::RHI_Pipeline * & pipeline, Spartan::RHI_DescriptorSetLayout * & descriptor_set_layout) Line 1576 C++
spartan_vulkan_debug.exe!Spartan::RHI_CommandList::SetPipelineState(Spartan::RHI_PipelineState & pso) Line 460 C++
spartan_vulkan_debug.exe!Spartan::Renderer::Pass_Ffx_Spd(Spartan::RHI_CommandList * cmd_list, Spartan::RHI_Texture * tex) Line 1847 C++
spartan_vulkan_debug.exe!Spartan::Renderer::Pass_Skysphere(Spartan::RHI_CommandList * cmd_list) Line 942 C++
spartan_vulkan_debug.exe!Spartan::Renderer::Pass_Frame(Spartan::RHI_CommandList * cmd_list) Line 169 C++
spartan_vulkan_debug.exe!Spartan::Renderer::Tick() Line 392 C++
spartan_vulkan_debug.exe!Spartan::Engine::Tick() Line 114 C++
spartan_vulkan_debug.exe!Editor::Tick() Line 247 C++
spartan_vulkan_debug.exe!WinMain(HINSTANCE__ * hInstance, HINSTANCE__ * hPrevInstance, char * lpCmdLine, int nCmdShow) Line 33 C++
[External Code]
from spartanengine.
Maybe try to get latest NV driver
Does it happen on both debug and release?
from spartanengine.
A few people have tried and we can't reproduce this. Leaving the issue open for a little bit, want to think about it.
from spartanengine.
Closing this since nobody can reproduce it, feel free to open another issue if you have repro steps that can replicate it on other machine.
Thanks for trying to help!
from spartanengine.
Related Issues (20)
- Wiki documentation
- Improve screen space subsurface scattering for vegetation HOT 1
- Stair navigation in the Doom default world with the physics-based camera
- Ray traced reflections
- Ray traced shadows
- Eye adaptation
- Skeletal animation
- Dynamic resolution scaling HOT 1
- Switch to bindless HOT 2
- Complete D3D12 backend
- Occlusion culling HOT 1
- Improve of editor design/style using imgui
- vulkan destory problem. HOT 4
- Can't open the sponza scene HOT 1
- Vulkan_SwapChain Resize Window has a problem, is made fence wait timeout. so need reset m_sync_index = std::numeric_limits<uint32_t>::max(); HOT 2
- Bug: opening a world crashes the engine HOT 2
- Create Volume Component
- Fix point light shadow mapping HOT 1
- Git: Clean up .git folder to reduce repo size HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spartanengine.