Open Makogan opened 3 years ago
After further experimentation I have narrowed the problem to the loader package. To be specific it seems to be getting errors, for example:
RayTracing: /home/conan/w/BuildSingleReference/.conan/data/vulkan-loader/1.2.182/_/_/build/0b96c2f3dd284d5ef12e52ca4b58ab77508efca0/source_subfolder/loader/loader.h:429: loader_init_dispatch: Assertion `valid_loader_magic_value(obj) && "Incompatible ICD, first dword must be initialized to " "ICD_LOADER_MAGIC. See loader/README.md for details."' failed.
Aborted (core dumped)
Is thrown when using the conan package but no such error occurs using the sdk's loader.
Environment Details (include every applicable attribute)
Steps to reproduce (Include if Applicable)
Create a vulkan application that should create a validation error. Download the packages:
Compile and run the application. The net result should be that validation layers are loaded but do not trigger when expected.
Details
When I was in Ubuntu 20.04 using these packages validation layers worked properly. However, after upgrading to the newest Ubuntu version validation layers are no longer triggered. If instead of using the conan packages I use the SDK validation layers do trigger as expected.
To be clear, I am setting the environment variables:
If I set them with the SDK validation works, if I instead set them to the conan installed packages validation is not triggered.