-
Notifications
You must be signed in to change notification settings - Fork 407
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using same VkSampler for multiple layouts crashes validation layers. #8888
Comments
thanks for raising the issue and curious what is blowing up the hash util here I am having a hard time building your repo case. I am I suppose to grab both https://github.com/gscept/nebula and then clone https://github.com/gscept/nebula-demo somewhere else? I tried to do |
Hello Spencer! Now when I think about it, it's probably better to not go directly to the engine but use nebula-demo only. Running You then need to run Then you need to run When running nebula-demo, provide the Thanks, |
So I have tried a few times to get this to run and work. I could only get the debug build to build (and still had to make tweaks to bypass vc17 default warnings as errors) I tried to run with a debugger and keep hitting various crashes/issues I assume you did find an issue, but until I have more time to spend trying to reproduce, it will be hard to track this down, sorry |
I understand. Nebula isn't by any means production ready so hitting snags when trying to build and run is to be expected. Is it possible to share the GPU and OS you were running on? It might help me figure out what goes wrong as well. Thanks, |
So I have 3 machines
|
Thanks a bunch! We mainly test on Windows. A Windows machine running 4060 should work, assuming it manages to select the 4060 as the GPU. What is the nature of the error, is it missing DLLs, an assert, or just a hard crash? If you go to fips-deploy/nebula-demo/win64-vstudio-(debug/release/checked)/logfiles, there should be a file there which might contain some useful information for me. Thanks, |
Hello again, We added bat file to help setup nebula for the first time. It should be sufficient to run setup.bat and build and run nebula-demo with -editor as a command line argument to get going. I've downgraded to SDK 1.3.261 in the meantime. Thanks |
So script worked (I edited it to use Here is the log files (the AMD one crashes without VVL) I can see VVL going, but unfortunately I don't see any crashes with last 2 SDK version or ToT Nebula demo_2024_11_26_23_48_19.txt |
Alright, I might've inadvertently fixed it with a bunch of other changes I did. I will grab the latest SDK and try again. Really appreciate you taking your time to look into this 🙂 Edit: I ran this again on my 7900XTX and I am still getting this issue with 1.3.296. Thanks, |
one idea is to get an API dump (or GFXReconstruct trace that I can dump the API calls) up to the crash, I could try to view it (make sure you add the API Dump layer before the validation layers) |
Environment:
Describe the Issue
Using the same VkSampler in multiple VkDescriptorSetLayoutBinding structs when creating a VkDescriptorSetLayout crashes the validation layer at some point. Letting each layout have its own sampler fixes the issue but produces other issues down the line.
Expected behavior
The issue didn't appear until I upgraded to 1.3.296 from 1.3.261. It also makes renderdoc crash the GPU (driver resets).
Valid Usage ID
None
Additional context
Can be reproduced by syncing main on https://github.com/gscept/nebula and running nebula-demo with validation layers enabled.
Callstack:
The text was updated successfully, but these errors were encountered: