Code Monkey home page Code Monkey logo

Comments (10)

ApostolosBouz avatar ApostolosBouz commented on May 23, 2024

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.

PanosK92 avatar PanosK92 commented on May 23, 2024

Will take care of it. Thank you for reporting and thanks for trying to help Apostolos.

from spartanengine.

t0xxxic avatar t0xxxic commented on May 23, 2024

Hey, Yes I did generate the project new with py generate_vs2022_vulkan.py and then got into this crash.

from spartanengine.

PanosK92 avatar PanosK92 commented on May 23, 2024

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.

t0xxxic avatar t0xxxic commented on May 23, 2024

log.txt

Attaching the requested Log File

from spartanengine.

PanosK92 avatar PanosK92 commented on May 23, 2024

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.

t0xxxic avatar t0xxxic commented on May 23, 2024

Seeing this error after grabbing the latest master and recompiling. Apologies if I am doing something wrong over here.

image

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]

log.txt

from spartanengine.

Nickelium avatar Nickelium commented on May 23, 2024

Maybe try to get latest NV driver
Does it happen on both debug and release?

from spartanengine.

PanosK92 avatar PanosK92 commented on May 23, 2024

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.

PanosK92 avatar PanosK92 commented on May 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.