Giter VIP home page Giter VIP logo

anki-3d-engine's People

Contributors

akalugin avatar alapontgr avatar albinbernhardssonarm avatar alexanderveselov-arm avatar chainsawkitten avatar germanaizek avatar godlikepanos avatar niansa avatar panagiotischristopouloscharitos-arm avatar sergioalapontarm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

anki-3d-engine's Issues

Build Errors (MinGW 5.1)

I got to 55% and throwing these errors..

[ 52%] Built target ankievent
[ 53%] Built target ankiinput
[ 55%] Built target ankiphysics
[ 55%] Built target ankimisc
[ 55%] Building CXX object src/gr/CMakeFiles/ankigr.dir/gl/DynamicMemoryManager.cpp.obj
C:\anki3d\src\gr\gl\DynamicMemoryManager.cpp: In member function 'void anki::DynamicMemoryManager::initRenderThread()':
C:\anki3d\src\gr\gl\DynamicMemoryManager.cpp:157:34: error: no matching function for call to 'max(anki::PtrSize&, anki::U)'
   size = max(size, 2 * BLOCK_SIZE);
                                  ^
In file included from C:/anki3d/include/anki/util/DynamicArray.h:10:0,
                 from C:/anki3d/include/anki/util/String.h:8,
                 from C:/anki3d/include/anki/gr/Common.h:11,
                 from C:/anki3d/include/anki/gr/gl/Common.h:8,
                 from C:/anki3d/include/anki/gr/gl/DynamicMemoryManager.h:8,
                 from C:\anki3d\src\gr\gl\DynamicMemoryManager.cpp:6:
C:/anki3d/include/anki/util/Functions.h:46:10: note: candidate: template<class T> T anki::max(T, T)
 inline T max(T a, T b)
          ^
C:/anki3d/include/anki/util/Functions.h:46:10: note:   template argument deduction/substitution failed:
C:\anki3d\src\gr\gl\DynamicMemoryManager.cpp:157:34: note:   deduced conflicting types for parameter 'T' ('long long unsigned int' and 'unsigned int')

   size = max(size, 2 * BLOCK_SIZE);
                                  ^
src\gr\CMakeFiles\ankigr.dir\build.make:312: recipe for target 'src/gr/CMakeFiles/ankigr.dir/gl/DynamicMemoryManager.cpp.obj' failed
mingw32-make[3]: *** [src/gr/CMakeFiles/ankigr.dir/gl/DynamicMemoryManager.cpp.obj] Error 1
CMakeFiles\Makefile2:1075: recipe for target 'src/gr/CMakeFiles/ankigr.dir/all' failed
mingw32-make[2]: *** [src/gr/CMakeFiles/ankigr.dir/all] Error 2
Makefile:126: recipe for target 'all' failed
mingw32-make[1]: *** [all] Error 2

- I am trying to install Anki 3D Engine to no avail -

- First of all thank you for creating such an amazing free and open source engine as of what I can see rendered in your videos presenting it <<the World needs more people like you>> -

So, I am trying to install it on a Windows 10 notebook. Soon enough when I am finished of this process I will thereafter install it in that notebook on a Linux Ubuntu OS. But there is a problem on the installation of it. I will ask of you to be patient with my ignorance over the matter... But what exactly is a the Anki 3D Engine "checkout" <<when you say it on README's installation on Windows alternative way of installing the Engine, that after opening Visual Studio, you say "checkout">>? The first way of installing the engine did not work, that is, through the PowerShell and after downloading and installing CMake, Vulkan and everything needed, including the environment variables - I may come back later to it if the other alternative does not function -; so let's first try to solve the other alternative that still may work on my Windows.

  • Thank you for your attention!

Do we have any development plan for Anki3D

Hi buddy,
After some search, I find this project. It looks amazing. Do you have any plan to support Android and iOS? I'd like to know if you have any plan for the engine.

Thanks.

How do you handle y coordinate

Vulkan uses Y pointing down, while GL and DX11 upward, how do you handle those differences?
I tried to digg in code but no success, seams also you are using GL clip space of -1..1 instead of 0..1.

SSE4.2 assertion

there's a problem with SSE assertion ( clang-3.6, i7 gulftown)

App.cpp:178:6: error: use of
undeclared identifier '__builtin_cpu_supports'
if(!__builtin_cpu_supports("sse4.2"))
^
1 error generated.

Ubuntu18.04 has some issues

./build/bin/sandbox
[E][N/A ][7f2100cd8180] usage: ./build/bin/sandbox /path/to/config.xml relative/path/to/scene.lua (../sandbox/Main.cpp:31 init)
[E][N/A ][7f2100cd8180] Error reported. See previous messages (../sandbox/Main.cpp:275 main)

CMake config error when opening the project in VS2019

Hi I am trying to open anki in VS2019 however I am getting the following config error.


1> Provided 'inheritEnvironments' doesn't provide the necessary environment variables needed to set the context for the configuration x64-Release. You can work around this by adding the necessary environment variables such as INCLUDE, LIBPATH, PATH and others to an environment block in your CMakeSettings.json.

1> CMake generation started for configuration: 'x64-Release'.
1> Command line: "cmd.exe" /c ""C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\CMake\bin\cmake.exe"  -G "Ninja" -DCMAKE_INSTALL_PREFIX:PATH="C:\Users\Laptop.000\Source\Repos\anki-3d-engine\out\install\x64-Release" -DCMAKE_CXX_COMPILER:FILEPATH="C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/HostX64/x64/cl.exe" -DCMAKE_C_COMPILER:FILEPATH="C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/HostX64/x64/cl.exe"  -DCMAKE_BUILD_TYPE="RelWithDebInfo" -DCMAKE_MAKE_PROGRAM="C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\Ninja\ninja.exe" "C:\Users\Laptop.000\Source\Repos\anki-3d-engine" 2>&1"
1> Working directory: C:\Users\Laptop.000\Source\Repos\anki-3d-engine\out\build\x64-Release
1> [CMake] -- The C compiler identification is MSVC 19.24.28316.0
1> [CMake] -- The CXX compiler identification is MSVC 19.24.28316.0
1> [CMake] -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/HostX64/x64/cl.exe
1> [CMake] -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/HostX64/x64/cl.exe -- broken
1> [CMake] CMake Error at C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.15/Modules/CMakeTestCCompiler.cmake:60 (message):
1> [CMake]   The C compiler
1> [CMake] 
1> [CMake]     "C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/HostX64/x64/cl.exe"
1> [CMake] 
1> [CMake]   is not able to compile a simple test program.
1> [CMake] 
1> [CMake]   It fails with the following output:
1> [CMake] 
1> [CMake]     Change Dir: C:/Users/Laptop.000/Source/Repos/anki-3d-engine/out/build/x64-Release/CMakeFiles/CMakeTmp
1> [CMake]     
1> [CMake]     Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_7fd5f && [1/2] Building C object CMakeFiles\cmTC_7fd5f.dir\testCCompiler.c.obj
1> [CMake]     [2/2] Linking C executable cmTC_7fd5f.exe
1> [CMake]     FAILED: cmTC_7fd5f.exe 
1> [CMake]     cmd.exe /C "cd . && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E vs_link_exe --intdir=CMakeFiles\cmTC_7fd5f.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100183~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100183~1.0\x64\mt.exe --manifests  -- C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1424~1.283\bin\Hostx64\x64\link.exe /nologo CMakeFiles\cmTC_7fd5f.dir\testCCompiler.c.obj  /out:cmTC_7fd5f.exe /implib:cmTC_7fd5f.lib /pdb:cmTC_7fd5f.pdb /version:0.0  /machine:x64  /debug /INCREMENTAL /subsystem:console  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
1> [CMake]     LINK Pass 1: command "C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1424~1.283\bin\Hostx64\x64\link.exe /nologo CMakeFiles\cmTC_7fd5f.dir\testCCompiler.c.obj /out:cmTC_7fd5f.exe /implib:cmTC_7fd5f.lib /pdb:cmTC_7fd5f.pdb /version:0.0 /machine:x64 /debug /INCREMENTAL /subsystem:console kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTFILE:CMakeFiles\cmTC_7fd5f.dir/intermediate.manifest CMakeFiles\cmTC_7fd5f.dir/manifest.res" failed (exit code 1104) with the following output:
1> [CMake]     LINK : fatal error LNK1104: cannot open file 'kernel32.lib'
1> [CMake]     ninja: build stopped: subcommand failed.
1> [CMake]     
1> [CMake]     
1> [CMake] 
1> [CMake]   
1> [CMake] 
1> [CMake]   CMake will not be able to correctly generate this project.
1> [CMake] Call Stack (most recent call first):
1> [CMake]   CMakeLists.txt:5 (PROJECT)
1> [CMake] -- Configuring incomplete, errors occurred!
1> [CMake] See also "C:/Users/Laptop.000/Source/Repos/anki-3d-engine/out/build/x64-Release/CMakeFiles/CMakeOutput.log".
1> [CMake] See also "C:/Users/Laptop.000/Source/Repos/anki-3d-engine/out/build/x64-Release/CMakeFiles/CMakeError.log".
1> [CMake] 
1> cmd.exe /c ""C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\CMake\bin\cmake.exe"  -G "Ninja" -DCMAKE_INSTALL_PREFIX:PATH="C:\Users\Laptop.000\Source\Repos\anki-3d-engine\out\install\x64-Release" -DCMAKE_CXX_COMPILER:FILEPATH="C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/HostX64/x64/cl.exe" -DCMAKE_C_COMPILER:FILEPATH="C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/HostX64/x64/cl.exe"  -DCMAKE_BUILD_TYPE="RelWithDebInfo" -DCMAKE_MAKE_PROGRAM="C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\Ninja\ninja.exe" "C:\Users\Laptop.000\Source\Repos\anki-3d-engine" 2>&1" returned with exit code: 1

seemed to me that I was missing Windows SDK but I double checked and it's installed. I tried to manually run cmake through powershell and it's working fine. I used Visual Studio 16 as generator instead of Ninja (Which is used in the case above). Any idea how to fix this?

Running on Windows error`

:\MiscProjects\anki-3d-engine\samples>..\..\anki-3d-engine-build\samples\simple_scene\simple_scene.exe
[I] Initializing application (version 0.1, build release Nov 24 2016, commit e0a6d00)... (E:\MiscProjects\anki-3d-engine\src\anki\core\App.cpp:162 initInternal)
[I] Creating SDL window (E:\MiscProjects\anki-3d-engine\src\anki\core\NativeWindowSdl.cpp:28 init)
[I] SDL window created (E:\MiscProjects\anki-3d-engine\src\anki\core\NativeWindowSdl.cpp:81 init)
[I] Creating GL 4.5 context... (E:\MiscProjects\anki-3d-engine\src\anki\gr\gl\GrManagerImplSdl.cpp:40 createContext)
[I] OpenGL async thread started: OpenGL version 4.5.0 NVIDIA 375.95, GLSL version 4.50 NVIDIA (E:\MiscProjects\anki-3d-engine\src\anki\gr\gl\RenderingThread.cpp:156 prepare)
[I] GPU vendor is NVIDIA (E:\MiscProjects\anki-3d-engine\src\anki\gr\gl\GlState.cpp:108 initRenderThread)
[I] Adding new data path "." (E:\MiscProjects\anki-3d-engine\src\anki\resource\ResourceFilesystem.cpp:215 init)
[I] Adding new data path ".." (E:\MiscProjects\anki-3d-engine\src\anki\resource\ResourceFilesystem.cpp:215 init)
[I] Initializing main renderer (E:\MiscProjects\anki-3d-engine\src\anki\renderer\MainRenderer.cpp:43 create)
[I] Initializing offscreen renderer. Size 1920x1152 (E:\MiscProjects\anki-3d-engine\src\anki\renderer\Renderer.cpp:97 initInternal)
 (E:\MiscProjects\anki-3d-engine\src\anki\resource\ShaderLoader.cpp:88 parseFileIncludes)
[E] Failed to load resource: shaders/Quad.vert.glsl (E:/MiscProjects/anki-3d-engine/src/anki/resource/ResourceManager.inl.h:42 loadResource)
[E] Failed to initialize the renderer (E:\MiscProjects\anki-3d-engine\src\anki\renderer\Renderer.cpp:85 init)
[I] Destroying main renderer (E:\MiscProjects\anki-3d-engine\src\anki\renderer\MainRenderer.cpp:31 ~MainRenderer)
[E] App initialization failed (E:\MiscProjects\anki-3d-engine\src\anki\core\App.cpp:131 init)
[E] Error reported. To run ..\..\anki-3d-engine-build\samples\simple_scene\simple_scene.exe you have to navigate to the /path/to/anki/samples. And then execute it (E:\MiscProjects\anki-3d-engine\samples\simple_scene\Main.cpp:163 main)

When I try running a sample on Windows it fails.

Problems running sponza & physics_playground samples on Debian

Hi @godlikepanos, I'm trying to compile Anki and I'm getting the following error when I try to run the samples:
In the case of sponza sample when I run $ANKI/samples/sponza$ ../../bin/bin/sponza (and similar for physics_playground), I get:

[I][CORE] Using settings dir "$HOME/.anki" ($ANKI/src/anki/core/App.cpp:510 initDirs)
[I][CORE] Initializing application (version 0.1, NOT optimized, dbg symbols, extra checks, compiler gcc 6.3.0 20170516, build date Aug 30 2019, commit cfe9c032) ($ANKI/src/anki/core/App.cpp:360 initInternal)
[I][CORE] Number of main threads: 5 ($ANKI/src/anki/core/App.cpp:373 initInternal)
[I][CORE] Creating SDL window. SDL version 2.0 ($ANKI/src/anki/core/NativeWindowSdl.cpp:39 init)
[I][CORE] SDL window created ($ANKI/src/anki/core/NativeWindowSdl.cpp:94 init)
[I][VK  ] Initializing Vulkan backend ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:106 initInternal)
[I][VK  ] Found the following instance extensions: ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:292 initInstance)
[I][VK  ] 	VK_KHR_device_group_creation ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:295 initInstance)
[I][VK  ] 	VK_KHR_display ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:295 initInstance)
[I][VK  ] 	VK_KHR_external_fence_capabilities ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:295 initInstance)
[I][VK  ] 	VK_KHR_external_memory_capabilities ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:295 initInstance)
[I][VK  ] 	VK_KHR_external_semaphore_capabilities ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:295 initInstance)
[I][VK  ] 	VK_KHR_get_display_properties2 ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:295 initInstance)
[I][VK  ] 	VK_KHR_get_physical_device_properties2 ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:295 initInstance)
[I][VK  ] 	VK_KHR_get_surface_capabilities2 ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:295 initInstance)
[I][VK  ] 	VK_KHR_surface ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:295 initInstance)
[I][VK  ] 	VK_KHR_xcb_surface ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:295 initInstance)
[I][VK  ] 	VK_KHR_xlib_surface ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:295 initInstance)
[I][VK  ] 	VK_EXT_acquire_xlib_display ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:295 initInstance)
[I][VK  ] 	VK_EXT_debug_report ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:295 initInstance)
[I][VK  ] 	VK_EXT_debug_utils ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:295 initInstance)
[I][VK  ] 	VK_EXT_direct_mode_display ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:295 initInstance)
[I][VK  ] 	VK_EXT_display_surface_counter ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:295 initInstance)
[I][VK  ] Will enable the following instance extensions: ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:331 initInstance)
[I][VK  ] 	VK_KHR_surface ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:334 initInstance)
[I][VK  ] 	VK_KHR_xcb_surface ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:334 initInstance)
[I][VK  ] 	VK_EXT_debug_report ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:334 initInstance)
[I][VK  ] Number of physical devices: 1 ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:383 initInstance)
[I][VK  ] GPU is GeForce GTX 970. Vendor identified as NVIDIA ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:415 initInstance)
[I][VK  ] Robust buffer access is disabled ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:420 initInstance)
[I][VK  ] Number of queue families: 2 ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:443 initDevice)
[I][VK  ] Found the following device extensions: ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:501 initDevice)
[I][VK  ] 	VK_KHR_8bit_storage ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] 	VK_KHR_16bit_storage ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] 	VK_KHR_bind_memory2 ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] 	VK_KHR_create_renderpass2 ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] 	VK_KHR_dedicated_allocation ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] 	VK_KHR_descriptor_update_template ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] 	VK_KHR_device_group ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] 	VK_KHR_draw_indirect_count ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] 	VK_KHR_external_fence ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] 	VK_KHR_external_fence_fd ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] 	VK_KHR_external_memory ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] 	VK_KHR_external_memory_fd ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] 	VK_KHR_external_semaphore ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] 	VK_KHR_external_semaphore_fd ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] 	VK_KHR_get_memory_requirements2 ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] 	VK_KHR_image_format_list ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] 	VK_KHR_maintenance1 ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] 	VK_KHR_maintenance2 ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] 	VK_KHR_maintenance3 ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] 	VK_KHR_multiview ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] 	VK_KHR_push_descriptor ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] 	VK_KHR_relaxed_block_layout ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] 	VK_KHR_sampler_mirror_clamp_to_edge ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] 	VK_KHR_sampler_ycbcr_conversion ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] 	VK_KHR_shader_draw_parameters ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] 	VK_KHR_storage_buffer_storage_class ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] 	VK_KHR_swapchain ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] 	VK_KHR_variable_pointers ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] 	VK_EXT_blend_operation_advanced ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] 	VK_EXT_conservative_rasterization ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] 	VK_EXT_depth_range_unrestricted ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] 	VK_EXT_descriptor_indexing ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] 	VK_EXT_discard_rectangles ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] 	VK_EXT_display_control ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] 	VK_EXT_global_priority ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] 	VK_EXT_post_depth_coverage ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] 	VK_EXT_sample_locations ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] 	VK_EXT_sampler_filter_minmax ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] 	VK_EXT_shader_subgroup_ballot ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] 	VK_EXT_shader_subgroup_vote ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] 	VK_EXT_shader_viewport_index_layer ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] 	VK_EXT_vertex_attribute_divisor ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] 	VK_NV_dedicated_allocation ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] 	VK_NV_device_diagnostic_checkpoints ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] 	VK_NV_fill_rectangle ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] 	VK_NV_fragment_coverage_to_color ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] 	VK_NV_framebuffer_mixed_samples ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] 	VK_NV_geometry_shader_passthrough ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] 	VK_NV_sample_mask_override_coverage ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] 	VK_NV_shader_subgroup_partitioned ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] 	VK_NV_viewport_array2 ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] 	VK_NV_viewport_swizzle ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] 	VK_NVX_device_generated_commands ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] 	VK_NVX_multiview_per_view_attributes ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:504 initDevice)
[I][VK  ] Will enable the following device extensions: ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:570 initDevice)
[I][VK  ] 	VK_EXT_shader_subgroup_ballot ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:573 initDevice)
[I][VK  ] 	VK_EXT_descriptor_indexing ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:573 initDevice)
[I][VK  ] 	VK_KHR_swapchain ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:573 initDevice)
[I][VK  ] 	VK_KHR_maintenance1 ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:573 initDevice)
[I][VK  ] 	VK_KHR_dedicated_allocation ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:573 initDevice)
[I][VK  ] Created a swapchain. Image count: 3, present mode: 0, size: 1920x1080, vsync: 0 ($ANKI/src/anki/gr/vulkan/SwapchainFactory.cpp:167 initInternal)
[I][VK  ] Will load 36 bytes of pipeline cache ($ANKI/src/anki/gr/vulkan/PipelineCache.cpp:63 init)
[I][VK  ] Initializing memory manager ($ANKI/src/anki/gr/vulkan/GpuMemoryManager.cpp:187 init)
[I][VK  ] 	GPU mem class. Chunk size: 16384, slotSize: 256, allocsPerChunk 64 ($ANKI/src/anki/gr/vulkan/GpuMemoryManager.cpp:193 init)
[I][VK  ] 	GPU mem class. Chunk size: 262144, slotSize: 4096, allocsPerChunk 64 ($ANKI/src/anki/gr/vulkan/GpuMemoryManager.cpp:193 init)
[I][VK  ] 	GPU mem class. Chunk size: 8388608, slotSize: 131072, allocsPerChunk 64 ($ANKI/src/anki/gr/vulkan/GpuMemoryManager.cpp:193 init)
[I][VK  ] 	GPU mem class. Chunk size: 67108864, slotSize: 1048576, allocsPerChunk 64 ($ANKI/src/anki/gr/vulkan/GpuMemoryManager.cpp:193 init)
[I][VK  ] 	GPU mem class. Chunk size: 134217728, slotSize: 16777216, allocsPerChunk 8 ($ANKI/src/anki/gr/vulkan/GpuMemoryManager.cpp:193 init)
[I][VK  ] 	GPU mem class. Chunk size: 268435456, slotSize: 67108864, allocsPerChunk 4 ($ANKI/src/anki/gr/vulkan/GpuMemoryManager.cpp:193 init)
[I][VK  ] 	GPU mem class. Chunk size: 268435456, slotSize: 134217728, allocsPerChunk 2 ($ANKI/src/anki/gr/vulkan/GpuMemoryManager.cpp:193 init)
[I][VK  ] R8G8B8 Images are not supported. Will workaround this ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:148 initInternal)
[I][VK  ] S8 Images are supported ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:178 initInternal)
[I][VK  ] D24S8 Images are supported ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:202 initInternal)
[I][RSRC] Added new data path "." that contains 225 files ($ANKI/src/anki/resource/ResourceFilesystem.cpp:329 addNewPath)
[I][RSRC] Added new data path "../.." that contains 19019 files ($ANKI/src/anki/resource/ResourceFilesystem.cpp:329 addNewPath)
[I][RSRC] Will use 384MB of memory for transfer scratch ($ANKI/src/anki/resource/TransferGpuAllocator.cpp:105 init)
[I][R   ] Initializing main renderer ($ANKI/src/anki/renderer/MainRenderer.cpp:43 init)
[I][R   ] Initializing offscreen renderer. Size 1920x1080 ($ANKI/src/anki/renderer/Renderer.cpp:81 initInternal)
[I][R   ] Initializing volumetric lighting accumulation. Size 128x104x108 ($ANKI/src/anki/renderer/VolumetricLightingAccumulation.cpp:41 init)
[W][RSRC] File does not contain the requested compression ($ANKI/src/anki/resource/ImageLoader.cpp:387 loadAnkiTexture)
[I][GR  ] $HOME/.anki/cache/4213653533970832818.shdrbin not found in cache. Will compile ($ANKI/src/anki/gr/ShaderCompiler.cpp:526 compileInternal)
error: input:0:0:3: Invalid capability operand: 61
[I][GR  ] $HOME/.anki/cache/9933857081351160841.shdrbin not found in cache. Will compile ($ANKI/src/anki/gr/ShaderCompiler.cpp:526 compileInternal)
[I][R   ] Initializing global illumination ($ANKI/src/anki/renderer/GlobalIllumination.cpp:107 init)
[I][GR  ] $HOME/.anki/cache/1743878257733003202.shdrbin not found in cache. Will compile ($ANKI/src/anki/gr/ShaderCompiler.cpp:526 compileInternal)
[I][GR  ] $HOME/.anki/cache/612998517636405137.shdrbin not found in cache. Will compile ($ANKI/src/anki/gr/ShaderCompiler.cpp:526 compileInternal)
[I][GR  ] $HOME/.anki/cache/10989495876581751783.shdrbin not found in cache. Will compile ($ANKI/src/anki/gr/ShaderCompiler.cpp:526 compileInternal)
[I][GR  ] $HOME/.anki/cache/12535934332463971444.shdrbin not found in cache. Will compile ($ANKI/src/anki/gr/ShaderCompiler.cpp:526 compileInternal)
[I][GR  ] $HOME/.anki/cache/7876029873118226152.shdrbin not found in cache. Will compile ($ANKI/src/anki/gr/ShaderCompiler.cpp:526 compileInternal)
[I][GR  ] $HOME/.anki/cache/10152928315182388591.shdrbin not found in cache. Will compile ($ANKI/src/anki/gr/ShaderCompiler.cpp:526 compileInternal)
[I][GR  ] $HOME/.anki/cache/17771540625828655598.shdrbin not found in cache. Will compile ($ANKI/src/anki/gr/ShaderCompiler.cpp:526 compileInternal)
[I][GR  ] $HOME/.anki/cache/3565114344678882771.shdrbin not found in cache. Will compile ($ANKI/src/anki/gr/ShaderCompiler.cpp:526 compileInternal)
[I][GR  ] $HOME/.anki/cache/8176184305115486434.shdrbin not found in cache. Will compile ($ANKI/src/anki/gr/ShaderCompiler.cpp:526 compileInternal)
[I][GR  ] $HOME/.anki/cache/12484210017586898566.shdrbin not found in cache. Will compile ($ANKI/src/anki/gr/ShaderCompiler.cpp:526 compileInternal)
[I][GR  ] $HOME/.anki/cache/15077778146667527002.shdrbin not found in cache. Will compile ($ANKI/src/anki/gr/ShaderCompiler.cpp:526 compileInternal)
[I][GR  ] $HOME/.anki/cache/5745998470622768956.shdrbin not found in cache. Will compile ($ANKI/src/anki/gr/ShaderCompiler.cpp:526 compileInternal)
[I][GR  ] $HOME/.anki/cache/13881047465238881340.shdrbin not found in cache. Will compile ($ANKI/src/anki/gr/ShaderCompiler.cpp:526 compileInternal)
[I][R   ] Initializing image reflections ($ANKI/src/anki/renderer/ProbeReflections.cpp:33 init)
[I][GR  ] $HOME/.anki/cache/7057163138508297790.shdrbin not found in cache. Will compile ($ANKI/src/anki/gr/ShaderCompiler.cpp:526 compileInternal)
[I][GR  ] $HOME/.anki/cache/8473472272114938816.shdrbin not found in cache. Will compile ($ANKI/src/anki/gr/ShaderCompiler.cpp:526 compileInternal)
[W][RSRC] File does not contain the requested compression ($ANKI/src/anki/resource/ImageLoader.cpp:387 loadAnkiTexture)
[I][R   ] Initializing g-buffer pass ($ANKI/src/anki/renderer/GBuffer.cpp:23 init)
[I][R   ] Initializing GBufferPost pass ($ANKI/src/anki/renderer/GBufferPost.cpp:31 initInternal)
[I][GR  ] $HOME/.anki/cache/5629834488931397953.shdrbin not found in cache. Will compile ($ANKI/src/anki/gr/ShaderCompiler.cpp:526 compileInternal)
[I][GR  ] $HOME/.anki/cache/6991470828424985243.shdrbin not found in cache. Will compile ($ANKI/src/anki/gr/ShaderCompiler.cpp:526 compileInternal)
[I][R   ] Initializing shadowmapping ($ANKI/src/anki/renderer/ShadowMapping.cpp:52 init)
[I][GR  ] $HOME/.anki/cache/8826291533428292907.shdrbin not found in cache. Will compile ($ANKI/src/anki/gr/ShaderCompiler.cpp:526 compileInternal)
[I][GR  ] $HOME/.anki/cache/11567498758162533503.shdrbin not found in cache. Will compile ($ANKI/src/anki/gr/ShaderCompiler.cpp:526 compileInternal)
[I][R   ] 	Scratch size 3072x512. atlas size 2048x2048 ($ANKI/src/anki/renderer/ShadowMapping.cpp:64 init)
[I][R   ] Initializing volumetric fog. Size 128x104x108 ($ANKI/src/anki/renderer/VolumetricFog.cpp:31 init)
[I][GR  ] $HOME/.anki/cache/2543873191151580517.shdrbin not found in cache. Will compile ($ANKI/src/anki/gr/ShaderCompiler.cpp:526 compileInternal)
[I][R   ] Initializing light stage ($ANKI/src/anki/renderer/LightShading.cpp:35 init)
[I][GR  ] $HOME/.anki/cache/3348140804094422618.shdrbin not found in cache. Will compile ($ANKI/src/anki/gr/ShaderCompiler.cpp:526 compileInternal)
[I][GR  ] $HOME/.anki/cache/1516380528661276554.shdrbin not found in cache. Will compile ($ANKI/src/anki/gr/ShaderCompiler.cpp:526 compileInternal)
error: input:0:0:3: Invalid capability operand: 61
[I][GR  ] $HOME/.anki/cache/4985736261902682322.shdrbin not found in cache. Will compile ($ANKI/src/anki/gr/ShaderCompiler.cpp:526 compileInternal)
[I][GR  ] $HOME/.anki/cache/9949181890494965204.shdrbin not found in cache. Will compile ($ANKI/src/anki/gr/ShaderCompiler.cpp:526 compileInternal)
[I][R   ] Initializing depth downscale passes ($ANKI/src/anki/renderer/DepthDownscale.cpp:76 init)
[I][R   ] Initializing HiZ. Mip count 3, last mip size 240x135 ($ANKI/src/anki/renderer/DepthDownscale.cpp:31 initInternal)
[I][GR  ] $HOME/.anki/cache/17762503624113534163.shdrbin not found in cache. Will compile ($ANKI/src/anki/gr/ShaderCompiler.cpp:526 compileInternal)
[I][R   ] Initializing forward shading ($ANKI/src/anki/renderer/ForwardShading.cpp:25 init)
[I][R   ] Initializing lens flare pass ($ANKI/src/anki/renderer/LensFlare.cpp:23 init)
[I][GR  ] $HOME/.anki/cache/2476188406530592454.shdrbin not found in cache. Will compile ($ANKI/src/anki/gr/ShaderCompiler.cpp:526 compileInternal)
[I][GR  ] $HOME/.anki/cache/6339467040083693740.shdrbin not found in cache. Will compile ($ANKI/src/anki/gr/ShaderCompiler.cpp:526 compileInternal)
[I][GR  ] $HOME/.anki/cache/1514589940250933963.shdrbin not found in cache. Will compile ($ANKI/src/anki/gr/ShaderCompiler.cpp:526 compileInternal)
[I][R   ] Initializing SSAO. Size 960x540 ($ANKI/src/anki/renderer/Ssao.cpp:95 init)
[W][RSRC] File does not contain the requested compression ($ANKI/src/anki/resource/ImageLoader.cpp:387 loadAnkiTexture)
[I][GR  ] $HOME/.anki/cache/12497040294849057274.shdrbin not found in cache. Will compile ($ANKI/src/anki/gr/ShaderCompiler.cpp:526 compileInternal)
[I][GR  ] $HOME/.anki/cache/12961070914844088519.shdrbin not found in cache. Will compile ($ANKI/src/anki/gr/ShaderCompiler.cpp:526 compileInternal)
[I][R   ] Initializing dowscale blur (passCount: 5) ($ANKI/src/anki/renderer/DownscaleBlur.cpp:32 initInternal)
[I][GR  ] $HOME/.anki/cache/12701398234897429938.shdrbin not found in cache. Will compile ($ANKI/src/anki/gr/ShaderCompiler.cpp:526 compileInternal)
[I][R   ] Initializing SSR pass (960x540) ($ANKI/src/anki/renderer/Ssr.cpp:36 initInternal)
[I][GR  ] $HOME/.anki/cache/10758626785394012513.shdrbin not found in cache. Will compile ($ANKI/src/anki/gr/ShaderCompiler.cpp:526 compileInternal)
[I][GR  ] $HOME/.anki/cache/9854184634150223672.shdrbin not found in cache. Will compile ($ANKI/src/anki/gr/ShaderCompiler.cpp:526 compileInternal)
[I][R   ] Initializing tonemapping ($ANKI/src/anki/renderer/Tonemapping.cpp:15 init)
[I][GR  ] $HOME/.anki/cache/2234280803194380182.shdrbin not found in cache. Will compile ($ANKI/src/anki/gr/ShaderCompiler.cpp:526 compileInternal)
[I][R   ] Initializing TAA ($ANKI/src/anki/renderer/TemporalAA.cpp:26 init)
[I][GR  ] $HOME/.anki/cache/9894114182559573791.shdrbin not found in cache. Will compile ($ANKI/src/anki/gr/ShaderCompiler.cpp:526 compileInternal)
[I][GR  ] $HOME/.anki/cache/7274449918342027862.shdrbin not found in cache. Will compile ($ANKI/src/anki/gr/ShaderCompiler.cpp:526 compileInternal)
[I][R   ] Initializing bloom passes ($ANKI/src/anki/renderer/Bloom.h:28 init)
[I][GR  ] $HOME/.anki/cache/16268509617841631392.shdrbin not found in cache. Will compile ($ANKI/src/anki/gr/ShaderCompiler.cpp:526 compileInternal)
[I][GR  ] $HOME/.anki/cache/3879876308333942100.shdrbin not found in cache. Will compile ($ANKI/src/anki/gr/ShaderCompiler.cpp:526 compileInternal)
[W][RSRC] File does not contain the requested compression ($ANKI/src/anki/resource/ImageLoader.cpp:387 loadAnkiTexture)
[I][GR  ] $HOME/.anki/cache/14572982557004198228.shdrbin not found in cache. Will compile ($ANKI/src/anki/gr/ShaderCompiler.cpp:526 compileInternal)
[I][GR  ] $HOME/.anki/cache/277617296188705806.shdrbin not found in cache. Will compile ($ANKI/src/anki/gr/ShaderCompiler.cpp:526 compileInternal)
[I][GR  ] $HOME/.anki/cache/18392033496179200183.shdrbin not found in cache. Will compile ($ANKI/src/anki/gr/ShaderCompiler.cpp:526 compileInternal)
[I][GR  ] $HOME/.anki/cache/766517446671404836.shdrbin not found in cache. Will compile ($ANKI/src/anki/gr/ShaderCompiler.cpp:526 compileInternal)
[I][GR  ] $HOME/.anki/cache/12605198551633065520.shdrbin not found in cache. Will compile ($ANKI/src/anki/gr/ShaderCompiler.cpp:526 compileInternal)
[I][GR  ] $HOME/.anki/cache/6817527585177939352.shdrbin not found in cache. Will compile ($ANKI/src/anki/gr/ShaderCompiler.cpp:526 compileInternal)
[I][GR  ] $HOME/.anki/cache/12720514019702228342.shdrbin not found in cache. Will compile ($ANKI/src/anki/gr/ShaderCompiler.cpp:526 compileInternal)
[I][GR  ] $HOME/.anki/cache/1376674816406437634.shdrbin not found in cache. Will compile ($ANKI/src/anki/gr/ShaderCompiler.cpp:526 compileInternal)
[I][R   ] Main renderer initialized. Rendering size 1920x1080 ($ANKI/src/anki/renderer/MainRenderer.cpp:80 init)
[I][SCRI] Initializing scripting engine... ($ANKI/src/anki/script/ScriptManager.cpp:24 init)
[I][CORE] Application initialized ($ANKI/src/anki/core/App.cpp:489 initInternal)
[I][CORE] Entering main loop ($ANKI/src/anki/core/App.cpp:556 mainLoop)
[I][GR  ][7f5b200c2700] $HOME/.anki/cache/3398408842250704776.shdrbin not found in cache. Will compile ($ANKI/src/anki/gr/ShaderCompiler.cpp:526 compileInternal)
[ ... ]
[W][VK  ] Command buffer has too few commands: 23 ($ANKI/src/anki/gr/vulkan/CommandBufferImpl.cpp:244 endRecording)
[W][VK  ] Swapchain is out of date. Will wait for the queue and create a new one ($ANKI/src/anki/gr/vulkan/GrManagerImpl.cpp:776 endFrame)
[I][VK  ] Created a swapchain. Image count: 3, present mode: 0, size: 1280x768, vsync: 0 ($ANKI/src/anki/gr/vulkan/SwapchainFactory.cpp:167 initInternal)
[ ... ]
($ANKI/src/anki/util/Ptr.h:28 operator*) Assertion failed: m_ptr
Backtrace:
00: ../../bin/bin/sponza(_ZN4anki15BackTraceWalker4execEv+0x47) [0x55b4086ad565]
01: ../../bin/bin/sponza(_ZN4anki8akassertEPKcS1_iS1_+0xac) [0x55b4086a8d09]
02: ../../bin/bin/sponza(_ZNK4anki7PtrBaseINS_13CommandBufferEEdeEv+0x37) [0x55b4086584cf]
03: ../../bin/bin/sponza(_ZN4anki17CommandBufferImpl28pushSecondLevelCommandBufferENS_12IntrusivePtrINS_13CommandBufferENS_17DefaultPtrDeleterIS2_EEEE+0x9a) [0x55b408655e3c]
04: ../../bin/bin/sponza(_ZN4anki13CommandBuffer28pushSecondLevelCommandBufferENS_12IntrusivePtrIS0_NS_17DefaultPtrDeleterIS0_EEEE+0x3e) [0x55b40865030e]
05: ../../bin/bin/sponza(_ZNK4anki11RenderGraph3runEv+0x557) [0x55b40863921f]
06: ../../bin/bin/sponza(_ZN4anki12MainRenderer6renderERNS_11RenderQueueENS_12IntrusivePtrINS_7TextureENS_17DefaultPtrDeleterIS4_EEEE+0x63a) [0x55b408556306]
07: ../../bin/bin/sponza(_ZN4anki3App8mainLoopEv+0x2d5) [0x55b408523e31]
08: ../../bin/bin/sponza(main+0xa6) [0x55b40851c0d6]
09: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0x7f5b271da2e1]
Aborted

My sys settings are:

  • Debian GNU/Linux 9.9 (stretch) 64bits
  • Vulkan version & config:
    export VULKAN_SDK=$VULKAN_ROOT/vulkan-sdk/1.1.106.0/x86_64
    export PATH=$VULKAN_SDK/bin:$PATH
    export LD_LIBRARY_PATH=$VULKAN_SDK/lib:$LD_LIBRARY_PATH
    export VK_LAYER_PATH=$VULKAN_SDK/etc/explicit_layer.d
  • cmake-3.15.0-Linux-x86_64
  • gcc 6.3.0 20170516
  • commit cfe9c03
  • nvidia-driver 410.66 for GTX-970

Any ideas? Thanks in advance for any help and for sharing your work, for those who are starting the video game world (I'm included) this is a real gem showing proffesional software implementions using cutting edge rendering and game engine resources.

Extra comment:

  • At first I though that te error was produced due to a warning: Pipeline cache dump not found: .anki/cache/vk_pipeline_cache (/src/anki/gr/vulkan/PipelineCache.cpp:55 init) but: 1) the warning also appears when running the simple_scene sample that works and 2) the warning disapears when I remove the .anki/cache folder...

  • I compile with the following cmake config: cmake -DCMAKE_BUILD_TYPE=Debug -DANKI_BUILD_SAMPLES=ON -DANKI_EXTRA_CHECKS=ON -DANKI_BUILD_TOOLS=ON -DANKI_BUILD_TESTS=ON -DANKI_TRACE=ON -DANKI_DEBUG=ON ..

Black Screen on simple_scene

Hi,

I'm just trying to run simple_scene on Linux Mint 17.2 with the AMD proprietary drivers and all I get is a black screen. No errors or anything, and then I press escape to close the scene.

Any suggestions as where to look for the problem? Cheers!

The log is as follows:

[I] Initializing application (version 0.1, build release Aug 29 2016, commit 0ff8816)... (/home/goobley/anki-3d-engine/src/anki/core/App.cpp:172 initInternal)
[I] Creating SDL window (/home/goobley/anki-3d-engine/src/anki/core/NativeWindowSdl.cpp:30 init)
[I] SDL window created (/home/goobley/anki-3d-engine/src/anki/core/NativeWindowSdl.cpp:87 init)
[I] Creating GL 4.5 context... (/home/goobley/anki-3d-engine/src/anki/gr/gl/GrManagerImplSdl.cpp:44 createContext)
[I] OpenGL async thread started: OpenGL version 4.5.13399 Core Profile Context 15.20.1013, GLSL version 4.40 (/home/goobley/anki-3d-engine/src/anki/gr/gl/RenderingThread.cpp:176 prepare)
[I] GPU vendor is UNKNOWN (/home/goobley/anki-3d-engine/src/anki/gr/gl/GlState.cpp:114 initRenderThread)
[I] Adding new data path "." (/home/goobley/anki-3d-engine/src/anki/resource/ResourceFilesystem.cpp:229 init)
[I] Adding new data path ".." (/home/goobley/anki-3d-engine/src/anki/resource/ResourceFilesystem.cpp:229 init)
[I] Initializing main renderer (/home/goobley/anki-3d-engine/src/anki/renderer/MainRenderer.cpp:46 create)
[I] Initializing offscreen renderer. Size 1280x768 (/home/goobley/anki-3d-engine/src/anki/renderer/Renderer.cpp:112 initInternal)
[I] Initializing IR (Image Reflections) (/home/goobley/anki-3d-engine/src/anki/renderer/Ir.cpp:70 init)
[W] File does not contain the requested compression (/home/goobley/anki-3d-engine/src/anki/resource/ImageLoader.cpp:395 loadAnkiTexture)
[I] Initializing SSAO. Size 320x192 (/home/goobley/anki-3d-engine/src/anki/renderer/Ssao.cpp:104 initInternal)
[W] File does not contain the requested compression (/home/goobley/anki-3d-engine/src/anki/resource/ImageLoader.cpp:395 loadAnkiTexture)
[I] Main renderer initialized. Rendering size 1280x768 (/home/goobley/anki-3d-engine/src/anki/renderer/MainRenderer.cpp:113 create)
[I] Initializing scripting engine... (/home/goobley/anki-3d-engine/src/anki/script/ScriptManager.cpp:29 init)
[I] Application initialized (/home/goobley/anki-3d-engine/src/anki/core/App.cpp:303 initInternal)
[I] Entering main loop (/home/goobley/anki-3d-engine/src/anki/core/App.cpp:359 mainLoop)
[I] Destroying scripting engine... (/home/goobley/anki-3d-engine/src/anki/script/ScriptManager.cpp:20 ~ScriptManager)
[I] Destroying main renderer (/home/goobley/anki-3d-engine/src/anki/renderer/MainRenderer.cpp:33 ~MainRenderer)
[I] Bye!! (/home/goobley/anki-3d-engine/samples/simple_scene/Main.cpp:157 main)

compiling errors when using cmake 3.20

Hi, dear expert, when I installed cmake 3.20,
$ mkdir build
$ cd build
$ cmake ..
it can not show the Makefile, the errors are
Building for linux
CMake error at CMakeLists.txt:179(if):
if given arguments:

"STREQUAL" "RELEASE"

Unknown arguments specified.

--configuring incomplete, errors occurred!

thank you
Best Regards
William

Task list

GPU driven

  • Optimize the HZB generation of shadows
  • Remove hack because of microsoft/DirectXShaderCompiler#5270
  • Add HSR support in light/probe occlusion
  • Clean up the Frustum (eg remove getUpdatedThisFrame)
  • Make the cluster structs smaller now that some fields have moved to GPU scene
  • Test decals
  • Create a simpler version of renderable visibility for small point lights
  • Check that shadows and volumetric lighting works on forward shaded objects
  • Remove old HZB
  • Fix RT shadows
  • Optimize away shadow drawcalls
  • Test the exporters (with animation) because there are bugs

Other

  • Window with 1024x768 assets on Linux
  • Use Function in the ThreadHive
  • ShaderDump is crashing. Fix it
  • Remove the use of RenderingKey from some resources eg the MaterialResource
  • Image loader shouldn't load the whole file at once
  • Reserve the first texture in the bindless descriptor set
  • Sort jobs per type (compute, raster) inside the randergraph batches
  • Fix TAA

Physics engine choice

Hello! I was wondering, why did you decide to switch from Newton to Bullet? In your old demo on youtube it seems that Newton worked just fine. Thanks.

MingW-W64 compilation errors

I found issues with XInput.


C:\Program Files\mingw-w64\x86_64-7.1.0-posix-seh-rt_v5-rev0>echo off
Microsoft Windows [Version 10.0.15063]
(c) Корпорация Майкрософт (Microsoft Corporation), 2017. Все права защищены.

C:\>mingw32-make
mingw32-make: *** No targets specified and no makefile found.  Stop.

C:\>cd C:\Users\capitalknew\Documents\GitHub\anki

C:\Users\capitalknew\Documents\GitHub\anki>mingw32-make
mingw32-make: *** No targets specified and no makefile found.  Stop.

C:\Users\capitalknew\Documents\GitHub\anki>cd build

C:\Users\capitalknew\Documents\GitHub\anki\build>mingw32-make
Scanning dependencies of target ankimath
[  0%] Building CXX object src/anki/math/CMakeFiles/ankimath.dir/F16.cpp.obj
[  0%] Building CXX object src/anki/math/CMakeFiles/ankimath.dir/Functions.cpp.obj
[  0%] Linking CXX static library libankimath.a
[  0%] Built target ankimath
Scanning dependencies of target ankiz
[  0%] Building C object thirdparty/z/CMakeFiles/ankiz.dir/adler32.c.obj
[  0%] Building C object thirdparty/z/CMakeFiles/ankiz.dir/compress.c.obj
[  0%] Building C object thirdparty/z/CMakeFiles/ankiz.dir/contrib/minizip/ioapi.c.obj
[  0%] Building C object thirdparty/z/CMakeFiles/ankiz.dir/contrib/minizip/mztools.c.obj
[  1%] Building C object thirdparty/z/CMakeFiles/ankiz.dir/contrib/minizip/unzip.c.obj
[  1%] Building C object thirdparty/z/CMakeFiles/ankiz.dir/contrib/minizip/zip.c.obj
[  1%] Building C object thirdparty/z/CMakeFiles/ankiz.dir/crc32.c.obj
[  1%] Building C object thirdparty/z/CMakeFiles/ankiz.dir/deflate.c.obj
[  1%] Building C object thirdparty/z/CMakeFiles/ankiz.dir/gzclose.c.obj
[  1%] Building C object thirdparty/z/CMakeFiles/ankiz.dir/gzlib.c.obj
[  1%] Building C object thirdparty/z/CMakeFiles/ankiz.dir/gzread.c.obj
[  2%] Building C object thirdparty/z/CMakeFiles/ankiz.dir/gzwrite.c.obj
[  2%] Building C object thirdparty/z/CMakeFiles/ankiz.dir/infback.c.obj
[  2%] Building C object thirdparty/z/CMakeFiles/ankiz.dir/inffast.c.obj
[  2%] Building C object thirdparty/z/CMakeFiles/ankiz.dir/inflate.c.obj
[  2%] Building C object thirdparty/z/CMakeFiles/ankiz.dir/inftrees.c.obj
[  2%] Building C object thirdparty/z/CMakeFiles/ankiz.dir/trees.c.obj
[  2%] Building C object thirdparty/z/CMakeFiles/ankiz.dir/uncompr.c.obj
[  3%] Building C object thirdparty/z/CMakeFiles/ankiz.dir/zutil.c.obj
[  3%] Linking C static library libankiz.a
[  3%] Built target ankiz
Scanning dependencies of target ankilua
[  3%] Building C object thirdparty/lua/CMakeFiles/ankilua.dir/lapi.c.obj
[  3%] Building C object thirdparty/lua/CMakeFiles/ankilua.dir/lauxlib.c.obj
[  3%] Building C object thirdparty/lua/CMakeFiles/ankilua.dir/lbaselib.c.obj
[  3%] Building C object thirdparty/lua/CMakeFiles/ankilua.dir/lbitlib.c.obj
[  3%] Building C object thirdparty/lua/CMakeFiles/ankilua.dir/lcode.c.obj
[  4%] Building C object thirdparty/lua/CMakeFiles/ankilua.dir/lcorolib.c.obj
[  4%] Building C object thirdparty/lua/CMakeFiles/ankilua.dir/lctype.c.obj
[  4%] Building C object thirdparty/lua/CMakeFiles/ankilua.dir/ldblib.c.obj
[  4%] Building C object thirdparty/lua/CMakeFiles/ankilua.dir/ldebug.c.obj
[  4%] Building C object thirdparty/lua/CMakeFiles/ankilua.dir/ldo.c.obj
[  4%] Building C object thirdparty/lua/CMakeFiles/ankilua.dir/ldump.c.obj
[  4%] Building C object thirdparty/lua/CMakeFiles/ankilua.dir/lfunc.c.obj
[  5%] Building C object thirdparty/lua/CMakeFiles/ankilua.dir/lgc.c.obj
[  5%] Building C object thirdparty/lua/CMakeFiles/ankilua.dir/linit.c.obj
[  5%] Building C object thirdparty/lua/CMakeFiles/ankilua.dir/liolib.c.obj
[  5%] Building C object thirdparty/lua/CMakeFiles/ankilua.dir/llex.c.obj
[  5%] Building C object thirdparty/lua/CMakeFiles/ankilua.dir/lmathlib.c.obj
[  5%] Building C object thirdparty/lua/CMakeFiles/ankilua.dir/lmem.c.obj
[  6%] Building C object thirdparty/lua/CMakeFiles/ankilua.dir/loadlib.c.obj
[  6%] Building C object thirdparty/lua/CMakeFiles/ankilua.dir/lobject.c.obj
[  6%] Building C object thirdparty/lua/CMakeFiles/ankilua.dir/lopcodes.c.obj
[  6%] Building C object thirdparty/lua/CMakeFiles/ankilua.dir/loslib.c.obj
[  6%] Building C object thirdparty/lua/CMakeFiles/ankilua.dir/lparser.c.obj
[  6%] Building C object thirdparty/lua/CMakeFiles/ankilua.dir/lstate.c.obj
[  6%] Building C object thirdparty/lua/CMakeFiles/ankilua.dir/lstring.c.obj
[  7%] Building C object thirdparty/lua/CMakeFiles/ankilua.dir/lstrlib.c.obj
[  7%] Building C object thirdparty/lua/CMakeFiles/ankilua.dir/ltable.c.obj
[  7%] Building C object thirdparty/lua/CMakeFiles/ankilua.dir/ltablib.c.obj
[  7%] Building C object thirdparty/lua/CMakeFiles/ankilua.dir/ltm.c.obj
[  7%] Building C object thirdparty/lua/CMakeFiles/ankilua.dir/lundump.c.obj
[  7%] Building C object thirdparty/lua/CMakeFiles/ankilua.dir/lvm.c.obj
[  7%] Building C object thirdparty/lua/CMakeFiles/ankilua.dir/lzio.c.obj
[  8%] Linking C static library libankilua.a
[  8%] Built target ankilua
Scanning dependencies of target SDL2-static
[  8%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/SDL.c.obj
[  8%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/SDL_assert.c.obj
[  9%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/SDL_error.c.obj
[  9%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/SDL_hints.c.obj
[  9%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/SDL_log.c.obj
[  9%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/atomic/SDL_atomic.c.obj
[  9%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/atomic/SDL_spinlock.c.obj
[  9%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/audio/SDL_audio.c.obj
[  9%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/audio/SDL_audiocvt.c.obj
[ 10%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/audio/SDL_audiodev.c.obj
[ 10%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/audio/SDL_audiotypecvt.c.obj
[ 10%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/audio/SDL_mixer.c.obj
[ 10%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/audio/SDL_wave.c.obj
[ 10%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/cpuinfo/SDL_cpuinfo.c.obj
[ 10%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/dynapi/SDL_dynapi.c.obj
[ 10%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/events/SDL_clipboardevents.c.obj
[ 11%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/events/SDL_dropevents.c.obj
[ 11%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/events/SDL_events.c.obj
[ 11%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/events/SDL_gesture.c.obj
[ 11%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/events/SDL_keyboard.c.obj
[ 11%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/events/SDL_mouse.c.obj
[ 11%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/events/SDL_quit.c.obj
[ 11%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/events/SDL_touch.c.obj
[ 12%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/events/SDL_windowevents.c.obj
[ 12%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/file/SDL_rwops.c.obj
[ 12%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/libm/e_atan2.c.obj
[ 12%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/libm/e_log.c.obj
[ 12%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/libm/e_pow.c.obj
[ 12%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/libm/e_rem_pio2.c.obj
[ 12%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/libm/e_sqrt.c.obj
[ 13%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/libm/k_cos.c.obj
[ 13%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/libm/k_rem_pio2.c.obj
[ 13%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/libm/k_sin.c.obj
[ 13%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/libm/k_tan.c.obj
[ 13%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/libm/s_atan.c.obj
[ 13%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/libm/s_copysign.c.obj
[ 13%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/libm/s_cos.c.obj
[ 14%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/libm/s_fabs.c.obj
[ 14%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/libm/s_floor.c.obj
[ 14%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/libm/s_scalbn.c.obj
[ 14%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/libm/s_sin.c.obj
[ 14%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/libm/s_tan.c.obj
[ 14%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/render/SDL_d3dmath.c.obj
[ 14%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/render/SDL_render.c.obj
[ 15%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/render/SDL_yuv_mmx.c.obj
[ 15%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/render/SDL_yuv_sw.c.obj
[ 15%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/render/direct3d/SDL_render_d3d.c.obj
[ 15%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/render/direct3d11/SDL_render_d3d11.c.obj
[ 15%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/render/opengl/SDL_render_gl.c.obj
[ 15%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/render/opengl/SDL_shaders_gl.c.obj
[ 15%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/render/opengles/SDL_render_gles.c.obj
[ 16%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/render/opengles2/SDL_render_gles2.c.obj
[ 16%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/render/opengles2/SDL_shaders_gles2.c.obj
[ 16%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/render/psp/SDL_render_psp.c.obj
[ 16%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/render/software/SDL_blendfillrect.c.obj
[ 16%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/render/software/SDL_blendline.c.obj
[ 16%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/render/software/SDL_blendpoint.c.obj
[ 16%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/render/software/SDL_drawline.c.obj
[ 17%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/render/software/SDL_drawpoint.c.obj
[ 17%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/render/software/SDL_render_sw.c.obj
[ 17%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/render/software/SDL_rotate.c.obj
[ 17%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/stdlib/SDL_getenv.c.obj
[ 17%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/stdlib/SDL_iconv.c.obj
[ 17%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/stdlib/SDL_malloc.c.obj
[ 17%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/stdlib/SDL_qsort.c.obj
[ 18%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/stdlib/SDL_stdlib.c.obj
[ 18%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/stdlib/SDL_string.c.obj
[ 18%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/thread/SDL_thread.c.obj
[ 18%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/timer/SDL_timer.c.obj
[ 18%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/video/SDL_RLEaccel.c.obj
[ 18%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/video/SDL_blit.c.obj
[ 18%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/video/SDL_blit_0.c.obj
[ 19%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/video/SDL_blit_1.c.obj
[ 19%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/video/SDL_blit_A.c.obj
[ 19%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/video/SDL_blit_N.c.obj
[ 19%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/video/SDL_blit_auto.c.obj
[ 19%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/video/SDL_blit_copy.c.obj
[ 19%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/video/SDL_blit_slow.c.obj
[ 19%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/video/SDL_bmp.c.obj
[ 20%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/video/SDL_clipboard.c.obj
[ 20%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/video/SDL_egl.c.obj
[ 20%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/video/SDL_fillrect.c.obj
[ 20%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/video/SDL_pixels.c.obj
[ 20%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/video/SDL_rect.c.obj
[ 20%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/video/SDL_shape.c.obj
[ 20%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/video/SDL_stretch.c.obj
[ 21%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/video/SDL_surface.c.obj
[ 21%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/video/SDL_video.c.obj
[ 21%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/joystick/SDL_gamecontroller.c.obj
[ 21%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/joystick/SDL_joystick.c.obj
[ 21%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/haptic/SDL_haptic.c.obj
[ 21%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/power/SDL_power.c.obj
[ 21%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/audio/dummy/SDL_dummyaudio.c.obj
[ 22%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/audio/disk/SDL_diskaudio.c.obj
[ 22%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/video/dummy/SDL_nullevents.c.obj
[ 22%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/video/dummy/SDL_nullframebuffer.c.obj
[ 22%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/video/dummy/SDL_nullvideo.c.obj
[ 22%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/core/windows/SDL_windows.c.obj
[ 22%] Building C object thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/core/windows/SDL_xinput.c.obj
In file included from C:\Users\capitalknew\Documents\GitHub\anki\thirdparty\SDL2\src\core\windows\SDL_xinput.c:24:0:
C:\Users\capitalknew\Documents\GitHub\anki\thirdparty\SDL2\src\core\windows\SDL_xinput.h:113:3: error: conflicting types for 'XINPUT_GAMEPAD_EX'
 } XINPUT_GAMEPAD_EX;
   ^~~~~~~~~~~~~~~~~
In file included from C:\Users\capitalknew\Documents\GitHub\anki\thirdparty\SDL2\src\core\windows\SDL_xinput.h:29:0,
                 from C:\Users\capitalknew\Documents\GitHub\anki\thirdparty\SDL2\src\core\windows\SDL_xinput.c:24:
C:/PROGRA~1/MINGW-~1/X86_64~1.0-P/mingw64/x86_64-w64-mingw32/include/xinput.h:182:3: note: previous declaration of 'XINPUT_GAMEPAD_EX' was here
 } XINPUT_GAMEPAD_EX, *PXINPUT_GAMEPAD_EX;
   ^~~~~~~~~~~~~~~~~
In file included from C:\Users\capitalknew\Documents\GitHub\anki\thirdparty\SDL2\src\core\windows\SDL_xinput.c:24:0:
C:\Users\capitalknew\Documents\GitHub\anki\thirdparty\SDL2\src\core\windows\SDL_xinput.h:119:3: error: conflicting types for 'XINPUT_STATE_EX'
 } XINPUT_STATE_EX;
   ^~~~~~~~~~~~~~~
In file included from C:\Users\capitalknew\Documents\GitHub\anki\thirdparty\SDL2\src\core\windows\SDL_xinput.h:29:0,
                 from C:\Users\capitalknew\Documents\GitHub\anki\thirdparty\SDL2\src\core\windows\SDL_xinput.c:24:
C:/PROGRA~1/MINGW-~1/X86_64~1.0-P/mingw64/x86_64-w64-mingw32/include/xinput.h:192:3: note: previous declaration of 'XINPUT_STATE_EX' was here
 } XINPUT_STATE_EX, *PXINPUT_STATE_EX;
   ^~~~~~~~~~~~~~~
thirdparty\SDL2\CMakeFiles\SDL2-static.dir\build.make:2512: recipe for target 'thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/core/windows/SDL_xinput.c.obj' failed
mingw32-make[2]: *** [thirdparty/SDL2/CMakeFiles/SDL2-static.dir/src/core/windows/SDL_xinput.c.obj] Error 1
CMakeFiles\Makefile2:217: recipe for target 'thirdparty/SDL2/CMakeFiles/SDL2-static.dir/all' failed
mingw32-make[1]: *** [thirdparty/SDL2/CMakeFiles/SDL2-static.dir/all] Error 2
Makefile:150: recipe for target 'all' failed
mingw32-make: *** [all] Error 2

Type or qualifier doesn't match between vertex shader and fragment shader

Hi! I get this error when I'm trying to run testapp:

(../src/core/App.cpp:145 createInternal) Info: Initializing application (version 0.1, build release Mar 10 2015, commit 2b4908c)...
(../src/core/NativeWindowSdl.cpp:34 create) Info: Creating SDL window (OpenGL context to be requested 4.4)...
(../src/core/NativeWindowSdl.cpp:121 create) Info: SDL window created
(../src/gl/GlQueue.cpp:172 prepare) Info: OpenGL async thread started: OpenGL version 4.4.13283 Core Profile Context 14.501.1003, GLSL version 4.40
(../src/renderer/MainRenderer.cpp:35 create) Info: Initializing main renderer...
(../src/gl/GlBuffer.cpp:38 create) Warning: The size (2097152) of the uniform buffer is greater than the spec's min
(../src/gl/GlPipeline.cpp:65 create) Error: Ppline error log follows:
inTexCoords's data type or qualifiers doesn't match between vertex shader and fragment shader

(../src/gl/GlQueue.cpp:256 threadLoop) Error: Error in rendering thread. Aborting

I'm on Ubuntu 14.04 using AMD's Catalyst Omega driver (14.12).

Found a related forum thread: http://devgurus.amd.com/thread/169000

Build on Android fails

Hi,

I am trying to build for Android via:

cmake -DANKI_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=./android.toolchain.cmake ..

But upon issuing make, I receive

x86_64-linux-android-g++: error: unrecognized command line option '-mfloat-abi=softfp'
x86_64-linux-android-g++: error: unrecognized command line option '-mfpu=neon'
x86_64-linux-android-g++: error: unrecognized command line option '-mfpu=neon'
x86_64-linux-android-g++: error: unrecognized command line option '-mthumb'
thirdparty/tinyxml2/CMakeFiles/ankitinyxml2.dir/build.make:54: recipe for target 'thirdparty/tinyxml2/CMakeFiles/ankitinyxml2.dir/src/tinyxml2.cpp.o' failed
make[2]: *** [thirdparty/tinyxml2/CMakeFiles/ankitinyxml2.dir/src/tinyxml2.cpp.o] Error 1
CMakeFiles/Makefile2:102: recipe for target 'thirdparty/tinyxml2/CMakeFiles/ankitinyxml2.dir/all' failed
make[1]: *** [thirdparty/tinyxml2/CMakeFiles/ankitinyxml2.dir/all] Error 2
Makefile:117: recipe for target 'all' failed
make: *** [all] Error 2

Does your installation do the same, or is there something on my machine preventing it from working?

Note: I did clone the repo properly, with a recursive pull. Desktop builds fine.

Thanks!
Colin

Bug in GltfImporter when using "-import-textures 1" and an absolute path for the gltf

  • Branch: gpu_occlusion (although this will likely happen in main branch too)

Repro

When the working directory of the execution of GltfImporter.exe is not the same directory as the one of the Gltf file (using absolute path as the input file), and using "-import-textures 1" to process the textures relative to the model, it will try to load these textures using a relative path within the working directory resulting in the process to fail.

compilation error#1

clang-3.6.3 compilation error
Pipeline.h:154:14:
error: non-type template argument is not a constant expression
Array<U64, m_shaders.getSize()> uuids;

note: implicit use of 'this' pointer is only allowed within the evaluation of a call to a 'constexpr' member function

Compiling and running on Linux

Hello @godlikepanos, I see you tried to minimize effort to build your 3d engine. Front page says "a great effort was made to ease the building process".

I have Ubuntu 16.04, failed to run a sample. First, please mention "git --recursive", it's not very clear how "thirdparty" directory works. Second, it's not obvious where simple_scene should be run from. I've ended up with tree symbolic links in samples/simple_scene:

engine_data
samples
shaders

But that's solvable. Where I'm stuck is

[E] Ppline error log follows (vs:90, fs:89):
Link info
---------
error: Type mismatch between variable "in_uv" matched by location "0"
 (anki-3d-engine/src/anki/gr/gl/PipelineImpl.cpp:199 createGlPipeline)
[E] Error in rendering thread. Aborting (anki-3d-engine/src/anki/gr/gl/RenderingThread.cpp:237 threadLoop)

Pretty sure it's a build or run issue, not an error in the code.

Hope it helps to improve!

Running Sponza sample gives an error on Windows

[I][CORE] Using settings dir "C:\Users\dmitrykolesnikovich/.anki" [App.cpp:399][initDirs][Main]
[I][CORE] Initializing application (version 0.1, optimized, NO dbg symbols, NO extra checks, NOT built with tracing, compiler MSVC 193532216, build date Apr  4 2023, commit 3cc6423) [App.cpp:211][initInternal][Main]
[I][CORE] Number of job threads: 8 [App.cpp:222][initInternal][Main]
[I][CORE] Creating SDL window. SDL version 2.0 [NativeWindowSdl.cpp:85][init][Main]
[I][CORE] SDL window created [NativeWindowSdl.cpp:145][init][Main]
[I][VK  ] Initializing Vulkan backend [GrManagerImpl.cpp:120][initInternal][Main]
[I][VK  ] Will enable the following instance extensions: [GrManagerImpl.cpp:373][initInstance][Main]
[I][VK  ]       VK_KHR_surface [GrManagerImpl.cpp:376][initInstance][Main]
[I][VK  ]       VK_KHR_win32_surface [GrManagerImpl.cpp:376][initInstance][Main]
[I][VK  ] Number of physical devices: 1 [GrManagerImpl.cpp:423][initInstance][Main]
[I][VK  ] GPU is NVIDIA GeForce RTX 3060. Vendor identified as nVidia [GrManagerImpl.cpp:516][initInstance][Main]
[I][VK  ] Number of queue families: 4 [GrManagerImpl.cpp:555][initDevice][Main]
[I][VK  ] Async compute is enabled [GrManagerImpl.cpp:600][initDevice][Main]
[I][VK  ] Will enable the following device extensions: [GrManagerImpl.cpp:781][initDevice][Main]
[I][VK  ]       VK_EXT_scalar_block_layout [GrManagerImpl.cpp:784][initDevice][Main]
[I][VK  ]       VK_EXT_sampler_filter_minmax [GrManagerImpl.cpp:784][initDevice][Main]
[I][VK  ]       VK_EXT_descriptor_indexing [GrManagerImpl.cpp:784][initDevice][Main]
[I][VK  ]       VK_KHR_timeline_semaphore [GrManagerImpl.cpp:784][initDevice][Main]
[I][VK  ]       VK_KHR_swapchain [GrManagerImpl.cpp:784][initDevice][Main]
[I][VK  ]       VK_KHR_spirv_1_4 [GrManagerImpl.cpp:784][initDevice][Main]
[I][VK  ]       VK_KHR_shader_float_controls [GrManagerImpl.cpp:784][initDevice][Main]
[I][VK  ]       VK_KHR_shader_float16_int8 [GrManagerImpl.cpp:784][initDevice][Main]
[I][VK  ]       VK_KHR_shader_atomic_int64 [GrManagerImpl.cpp:784][initDevice][Main]
[I][VK  ]       VK_KHR_maintenance4 [GrManagerImpl.cpp:784][initDevice][Main]
[I][VK  ]       VK_KHR_create_renderpass2 [GrManagerImpl.cpp:784][initDevice][Main]
[I][VK  ]       VK_KHR_buffer_device_address [GrManagerImpl.cpp:784][initDevice][Main]
[I][VK  ] Robust buffer access is disabled [GrManagerImpl.cpp:799][initDevice][Main]
[I][VK  ] VK_KHR_fragment_shading_rate is not supported or disabled [GrManagerImpl.cpp:1027][initDevice][Main]
[I][VK  ] Created a swapchain. Image count: 3, present mode: 0, size: 2560x1440, vsync: 0 [SwapchainFactory.cpp:228][initInternal][Main]
[I][VK  ] Will load 36 bytes of pipeline cache [PipelineCache.cpp:62][init][Main]
[I][VK  ] Vulkan memory info: [GrManagerImpl.cpp:1132][initMemory][Main]
[I][VK  ]       Heap 0 size 12718178304 [GrManagerImpl.cpp:1135][initMemory][Main]
[I][VK  ]       Heap 1 size 17111273472 [GrManagerImpl.cpp:1135][initMemory][Main]
[I][VK  ]       Heap 2 size 224395264 [GrManagerImpl.cpp:1135][initMemory][Main]
[I][VK  ]       Mem type 0 points to heap 1, flags 00000000000000000000000000000000 [GrManagerImpl.cpp:1141][initMemory][Main]
[I][VK  ]       Mem type 1 points to heap 0, flags 00000000000000000000000000000001 [GrManagerImpl.cpp:1141][initMemory][Main]
[I][VK  ]       Mem type 2 points to heap 1, flags 00000000000000000000000000000110 [GrManagerImpl.cpp:1141][initMemory][Main]
[I][VK  ]       Mem type 3 points to heap 1, flags 00000000000000000000000000001110 [GrManagerImpl.cpp:1141][initMemory][Main]
[I][VK  ]       Mem type 4 points to heap 2, flags 00000000000000000000000000000111 [GrManagerImpl.cpp:1141][initMemory][Main]
[I][VK  ] R8G8B8, R16G16B16 and R32G32B32 image formats are not supported [GrManagerImpl.cpp:194][initInternal][Main]
[I][CORE] Executable path is: D:\workspace\anki\build\Bin\Debug\Sponza.exe [App.cpp:299][initInternal][Main]
[I][RSRC] Added new data path "D:\workspace\anki\build\Bin\Debug" that contains 20 files [ResourceFilesystem.cpp:353][addNewPath][Main]
[I][RSRC] Added new data path "D:/workspace/anki" that contains 10922 files [ResourceFilesystem.cpp:353][addNewPath][Main]
[I][RSRC] Added new data path "D:/workspace/anki/Samples/Sponza" that contains 222 files [ResourceFilesystem.cpp:353][addNewPath][Main]
[I][RSRC] Initializing resource manager [ResourceManager.cpp:43][init][Main]
[I][RSRC] Will use 256MB of memory for transfer scratch [TransferGpuAllocator.cpp:55][init][Main]
[I][REND] Initializing main renderer. Swapchain resolution 2560x1440 [MainRenderer.cpp:41][init][Main]
[I][REND] Initializing offscreen renderer. Resolution 2560x1440. Internal resolution 2560x1440 [Renderer.cpp:135][initInternal][Main]
[E][UTIL] Failed to open file "ShaderBinaries/ClearTextureCompute.ankiprogbin", open mode "rb" [File.cpp:116][openCFile][Main]
[E][RSRC] Resource file not found: ShaderBinaries/ClearTextureCompute.ankiprogbin [ResourceFilesystem.cpp:374][openFile][Main]
[E][RSRC] Failed to load resource: ShaderBinaries/ClearTextureCompute.ankiprogbin [ResourceManager.cpp:113][loadResource][Main]
[E][REND] Failed to initialize the renderer [Renderer.cpp:114][init][Main]
[E][CORE] App initialization failed. Shutting down [App.cpp:164][init][Main]
[I][REND] Destroying main renderer [MainRenderer.cpp:28][~MainRenderer][Main]
[I][RSRC] Destroying resource manager [ResourceManager.cpp:34][~ResourceManager][Main]
[I][VK  ] Destroying Vulkan backend [GrManagerImpl.cpp:23][~GrManagerImpl][Main]
[I][VK  ] Dumped 36 bytes of the pipeline cache [PipelineCache.cpp:111][destroyInternal][Main]
[I][CORE] Destroying application [App.cpp:110][~App][Main]
[E][N/A ] Error reported. Bye!! [Main.cpp:39][myMain][Main]

MinGW windres invalid option -f

I got this error now during build (MinGW 5.1 Win64)

C:\anki\build>mingw32-make
[  0%] Built target ankivolk
[ 12%] Built target SDL2-static
[ 12%] Built target spirv-tools-spv-amd-shader-ballot
[ 12%] Built target spirv-tools-spv-amd-shader-explicit-vertex-parameter
[ 13%] Built target spirv-tools-header-DebugInfo
[ 13%] Built target spirv-tools-debuginfo
[ 13%] Built target spirv-tools-spv-amd-shader-trinary-minmax
[ 13%] Built target spirv-tools-spv-amd-gcn-shader
[ 13%] Built target extinst_tables
[ 14%] Built target enum_string_mapping
[ 14%] Built target core_tables
[ 20%] Built target SPIRV-Tools
[ 28%] Built target SPIRV-Tools-opt
[ 29%] Built target HLSL
[ 30%] Built target OSDependent
[ 30%] Built target OGLCompiler
[ 33%] Built target glslang
[ 34%] Built target SPIRV
[ 34%] Built target ankitinyexpr
[ 34%] Built target ankitinyxml2
[ 37%] Built target ankilua
[ 39%] Built target ankiz
[ 40%] Built target BulletSoftBody
[ 48%] Built target BulletCollision
[ 52%] Built target BulletDynamics
[ 53%] Built target LinearMath
[ 54%] Built target ankiimgui
[ 54%] Built target ankispirvcross
[ 71%] Built target anki
[ 71%] Built target SDL2main
[ 71%] Building RC object thirdparty/SDL2/CMakeFiles/SDL2.dir/src/main/windows/version.rc.obj
C:\MinGW\bin\windres.exe: invalid option -f

Screen Tearing on Ubuntu+GTX760

Thank you for your great work, your engine stands out in the open source space as you have a volumetric lighting, the Vulkan backend, 2M lines of 3rd party crapola bundled so well, and you also dissect the rendered frame in your blog, I sure wish you continue well improving this fine code.

However, I have a few minor annoyances, and frankly I am not sure if this my old GTX760 card, or something with an engine. When I run sponza and simple_scene, I get a slightly jerky rendering when rotating a view. It's like some small square block of the screen is being delayed for a split second, sometimes it's the whole line of these blocks, albeit quite narrow, so the effect is rather mild. And this is mostly visible when rotating around z axis that runs vertically, when using the left and right arrow keys. The more sudden rotation, the stronger the discontinuity. The two other rotations run smoother, esp. the rotation with up and down arrow keys, that one is almost as it should be, almost. This takes place in the simple_scene as well, so it's probably not related to the scene's complexity and the 2GB limit of my GPU.

Also in sponza there is one narrow line between two different textures that gets blinking if you come close and look into it from a right angle. So it must be some continuous redrawing with different colors of overlapping textures. This is one is a very minor issue.

Finally, when sponza starts, it does not get lit instantly, but the left side becomes proper after a second or so. This is not a speed of light as it should be :). And when one walks close to the walls they look dark, but upon a slight turn towards the walls they become brighter, this is a bit unphysical, albeit smooth. It's akin to a gradual revealing.

I suspect it might be very hard to fix those things since you do not have my GPU to reproduce the bug which may not even be such a very big bug, esp. if things run smoothly in your case with newer cards, but if you have some suggestions where I should look into the code and what tools to use for GPU debugging on Ubuntu, I would greatly appreciate it. I mostly want to learn how the game engines/Vulkan work and help afterwards hopefully. The most tempting "least resistance" option for me is to head towards UE4, but I like your project a lot too.

Building on windows and mingw

Hello, I've some feedback on building on Windows with mingw-w64.

The CMAKE_BUILD_TYPE check could also check if the var is empty like this:
if(NOT DEFINED CMAKE_BUILD_TYPE OR "${CMAKE_BUILD_TYPE}" STREQUAL "")
otherwise in that case, CMAKE_BUILD_TYPE defined but empty, cmake fails.

Could not compile 'version.rc' for SDL2 because of this:
-DIMGUI_USER_CONFIG="<anki/ui/ImGuiConfig.h>"
Removing add_definitions(-DIMGUI_USER_CONFIG=<anki/ui/ImGuiConfig.h>) from cmake fixed it.

Could not find 'vulkan-1' for linking. The files 'linklibs.rsp' have '-LX:/path/to/VulkanSDK/Bin' but my libraries from Lunarg's Vulkan SDK are in '-LX:/path/to/VulkanSDK/Lib', not sure how to fix it in cmake, so I've tampered the rsp files.
My env vars VK_SDK_PATH and VULKAN_SDK point to 'X:/path/to/VulkanSDK'.

Finally, an error on execution:
[E][RSRC] shaders/ClearTextureCompute.glslp: Malformed expression: #pragma anki (...ShaderProgramPreProcessor.cpp:755 parsePragmaStart)
Which is quite strange because the full line is '#pragma anki start comp'. The line seems truncated.

Unfortunately I cannot debug because my biggest problem now is the linking time with mingw-make (in debug, I haven't tried release), it is over 6 minutes, the exe files are in fact rather huge (650Mb). Do you have any suggestion?

Freeze and crash while compiling shaders on Windows 10

When attempting to run the sponza.exe demo or the simple_scene.exe demo I get the following printout and then the full screen goes black (I assume that this is a full screen black window). If I click anywhere the screen goes white and I get the windows crash handler popup.

I tried letting it run for 10 minutes without touching it in the hopes that it was just a case of Windows freaking out from a slow shader compile, but it appears to be an actual issue.

I have up to date drivers and have no problems running other Vulkan apps.

I would appreciate any help you can offer. I am hoping to play around with Anki and learn about some of the more advanced graphics features that you have implemented.

Thanks in advance.

Device info

Device: AMD Radeon RX 5600 XT
Vulkan SDK: first tried with 1.2, then tried with 1.1.130. Both have the same result

Command line output

[I][CORE] Using settings dir "C:\Users\Clay/.anki" (C:\Users\Clay\dev\anki\anki\core\App.cpp:499 initDirs)
[I][CORE] Initializing application (version 0.1, optimized, NO dbg symbols, NO extra checks, compiler MSVC 192628806, build date Dec 28 2020, commit 9412f12a3) (C:\Users\Clay\dev\anki\anki\core\App.cpp:341 initInternal)
[I][CORE] Number of main threads: 6 (C:\Users\Clay\dev\anki\anki\core\App.cpp:354 initInternal)
[I][CORE] Creating SDL window. SDL version 2.0 (C:\Users\Clay\dev\anki\anki\core\NativeWindowSdl.cpp:39 init)
[I][CORE] SDL window created (C:\Users\Clay\dev\anki\anki\core\NativeWindowSdl.cpp:105 init)
[I][VK  ] Initializing Vulkan backend (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:104 initInternal)
[I][VK  ] Found the following instance extensions: (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:277 initInstance)
[I][VK  ]       VK_KHR_device_group_creation (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:280 initInstance)
[I][VK  ]       VK_KHR_external_fence_capabilities (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:280 initInstance)
[I][VK  ]       VK_KHR_external_memory_capabilities (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:280 initInstance)
[I][VK  ]       VK_KHR_external_semaphore_capabilities (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:280 initInstance)
[I][VK  ]       VK_KHR_get_physical_device_properties2 (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:280 initInstance)
[I][VK  ]       VK_KHR_get_surface_capabilities2 (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:280 initInstance)
[I][VK  ]       VK_KHR_surface (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:280 initInstance)
[I][VK  ]       VK_KHR_win32_surface (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:280 initInstance)
[I][VK  ]       VK_EXT_debug_report (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:280 initInstance)
[I][VK  ]       VK_EXT_debug_utils (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:280 initInstance)
[I][VK  ]       VK_EXT_swapchain_colorspace (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:280 initInstance)
[I][VK  ] Will enable the following instance extensions: (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:321 initInstance)
[I][VK  ]       VK_KHR_surface (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:324 initInstance)
[I][VK  ]       VK_KHR_win32_surface (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:324 initInstance)
[I][VK  ]       VK_EXT_debug_report (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:324 initInstance)
[I][VK  ] Number of physical devices: 1 (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:373 initInstance)
[I][VK  ] GPU is AMD Radeon RX 5600 XT. Vendor identified as AMD (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:411 initInstance)
[I][VK  ] Number of queue families: 3 (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:437 initDevice)
[I][VK  ] Found the following device extensions: (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:494 initDevice)
[I][VK  ]       VK_KHR_16bit_storage (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_KHR_8bit_storage (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_KHR_bind_memory2 (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_KHR_buffer_device_address (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_KHR_create_renderpass2 (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_KHR_dedicated_allocation (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_KHR_depth_stencil_resolve (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_KHR_descriptor_update_template (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_KHR_device_group (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_KHR_draw_indirect_count (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_KHR_driver_properties (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_KHR_external_fence (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_KHR_external_fence_win32 (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_KHR_external_memory (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_KHR_external_memory_win32 (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_KHR_external_semaphore (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_KHR_external_semaphore_win32 (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_KHR_get_memory_requirements2 (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_KHR_imageless_framebuffer (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_KHR_image_format_list (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_KHR_maintenance1 (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_KHR_maintenance2 (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_KHR_maintenance3 (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_KHR_multiview (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_KHR_pipeline_executable_properties (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_KHR_relaxed_block_layout (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_KHR_sampler_mirror_clamp_to_edge (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_KHR_separate_depth_stencil_layouts (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_KHR_shader_atomic_int64 (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_KHR_shader_clock (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_KHR_shader_draw_parameters (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_KHR_shader_float16_int8 (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_KHR_shader_float_controls (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_KHR_shader_non_semantic_info (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_KHR_shader_subgroup_extended_types (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_KHR_shader_terminate_invocation (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_KHR_spirv_1_4 (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_KHR_storage_buffer_storage_class (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_KHR_swapchain (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_KHR_swapchain_mutable_format (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_KHR_timeline_semaphore (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_KHR_uniform_buffer_standard_layout (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_KHR_variable_pointers (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_KHR_vulkan_memory_model (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_KHR_win32_keyed_mutex (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_EXT_calibrated_timestamps (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_EXT_conservative_rasterization (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_EXT_depth_clip_enable (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_EXT_depth_range_unrestricted (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_EXT_descriptor_indexing (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_EXT_extended_dynamic_state (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_EXT_external_memory_host (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_EXT_full_screen_exclusive (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_EXT_global_priority (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_EXT_hdr_metadata (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_EXT_host_query_reset (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_EXT_image_robustness (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_EXT_inline_uniform_block (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_EXT_line_rasterization (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_EXT_memory_budget (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_EXT_memory_priority (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_EXT_pipeline_creation_cache_control (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_EXT_pipeline_creation_feedback (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_EXT_post_depth_coverage (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_EXT_private_data (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_EXT_queue_family_foreign (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_EXT_robustness2 (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_EXT_sampler_filter_minmax (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_EXT_sample_locations (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_EXT_scalar_block_layout (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_EXT_separate_stencil_usage (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_EXT_shader_demote_to_helper_invocation (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_EXT_shader_image_atomic_int64 (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_EXT_shader_stencil_export (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_EXT_shader_subgroup_ballot (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_EXT_shader_subgroup_vote (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_EXT_shader_viewport_index_layer (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_EXT_subgroup_size_control (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_EXT_texel_buffer_alignment (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_EXT_tooling_info (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_EXT_transform_feedback (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_EXT_vertex_attribute_divisor (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_AMD_buffer_marker (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_AMD_calibrated_timestamps (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_AMD_device_coherent_memory (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_AMD_display_native_hdr (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_AMD_draw_indirect_count (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_AMD_gcn_shader (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_AMD_gpa_interface (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_AMD_gpu_shader_half_float (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_AMD_gpu_shader_int16 (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_AMD_memory_overallocation_behavior (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_AMD_mixed_attachment_samples (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_AMD_pipeline_compiler_control (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_AMD_shader_ballot (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_AMD_shader_core_properties (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_AMD_shader_core_properties2 (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_AMD_shader_explicit_vertex_parameter (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_AMD_shader_fragment_mask (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_AMD_shader_image_load_store_lod (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_AMD_shader_info (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_AMD_shader_trinary_minmax (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_AMD_texture_gather_bias_lod (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_AMD_wave_limits (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_GOOGLE_decorate_string (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_GOOGLE_hlsl_functionality1 (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ]       VK_GOOGLE_user_type (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:497 initDevice)
[I][VK  ] Will enable the following device extensions: (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:543 initDevice)
[I][VK  ]       VK_KHR_swapchain (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:546 initDevice)
[I][VK  ] Robust buffer access is disabled (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:561 initDevice)
[I][VK  ] Created a swapchain. Image count: 3, present mode: 0, size: 1920x1080, vsync: 0 (C:\Users\Clay\dev\anki\anki\gr\vulkan\SwapchainFactory.cpp:173 initInternal)
[I][VK  ] Pipeline cache dump not found: C:\Users\Clay/.anki/cache/vk_pipeline_cache (C:\Users\Clay\dev\anki\anki\gr\vulkan\PipelineCache.cpp:55 init)
[I][VK  ] Vulkan memory info: (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:700 initMemory)
[I][VK  ]       Heap 0 size 6157238272 (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:703 initMemory)
[I][VK  ]       Heap 1 size 8282701824 (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:703 initMemory)
[I][VK  ]       Heap 2 size 268435456 (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:703 initMemory)
[I][VK  ]       Mem type 0 points to heap 0, flags 00000000000000000000000000000001 (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:709 initMemory)
[I][VK  ]       Mem type 1 points to heap 1, flags 00000000000000000000000000000110 (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:709 initMemory)
[I][VK  ]       Mem type 2 points to heap 2, flags 00000000000000000000000000000111 (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:709 initMemory)
[I][VK  ]       Mem type 3 points to heap 1, flags 00000000000000000000000000001110 (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:709 initMemory)
[I][VK  ]       Mem type 4 points to heap 0, flags 00000000000000000000000011000001 (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:709 initMemory)
[I][VK  ]       Mem type 5 points to heap 1, flags 00000000000000000000000011000110 (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:709 initMemory)
[I][VK  ]       Mem type 6 points to heap 2, flags 00000000000000000000000011000111 (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:709 initMemory)
[I][VK  ]       Mem type 7 points to heap 1, flags 00000000000000000000000011001110 (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:709 initMemory)
[I][VK  ] Initializing memory manager (C:\Users\Clay\dev\anki\anki\gr\vulkan\GpuMemoryManager.cpp:201 init)
[I][VK  ]       GPU mem class. Chunk size: 16384, slotSize: 256, allocsPerChunk 64 (C:\Users\Clay\dev\anki\anki\gr\vulkan\GpuMemoryManager.cpp:205 init)
[I][VK  ]       GPU mem class. Chunk size: 262144, slotSize: 4096, allocsPerChunk 64 (C:\Users\Clay\dev\anki\anki\gr\vulkan\GpuMemoryManager.cpp:205 init)
[I][VK  ]       GPU mem class. Chunk size: 8388608, slotSize: 131072, allocsPerChunk 64 (C:\Users\Clay\dev\anki\anki\gr\vulkan\GpuMemoryManager.cpp:205 init)
[I][VK  ]       GPU mem class. Chunk size: 67108864, slotSize: 1048576, allocsPerChunk 64 (C:\Users\Clay\dev\anki\anki\gr\vulkan\GpuMemoryManager.cpp:205 init)
[I][VK  ]       GPU mem class. Chunk size: 134217728, slotSize: 16777216, allocsPerChunk 8 (C:\Users\Clay\dev\anki\anki\gr\vulkan\GpuMemoryManager.cpp:205 init)
[I][VK  ]       GPU mem class. Chunk size: 268435456, slotSize: 67108864, allocsPerChunk 4 (C:\Users\Clay\dev\anki\anki\gr\vulkan\GpuMemoryManager.cpp:205 init)
[I][VK  ]       GPU mem class. Chunk size: 268435456, slotSize: 134217728, allocsPerChunk 2 (C:\Users\Clay\dev\anki\anki\gr\vulkan\GpuMemoryManager.cpp:205 init)
[I][VK  ] R8G8B8 Images are not supported. Will workaround this (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:142 initInternal)
[I][VK  ] S8 Images are supported (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:168 initInternal)
[I][VK  ] D24S8 Images are not supported. Will workaround this (C:\Users\Clay\dev\anki\anki\gr\vulkan\GrManagerImpl.cpp:182 initInternal)
[I][RSRC] Added new data path "C:/Users/Clay/dev/anki" that contains 20300 files (C:\Users\Clay\dev\anki\anki\resource\ResourceFilesystem.cpp:354 addNewPath)
[I][RSRC] Added new data path "C:/Users/Clay/dev/anki/samples/sponza" that contains 256 files (C:\Users\Clay\dev\anki\anki\resource\ResourceFilesystem.cpp:354 addNewPath)
[I][RSRC] Will use 384MB of memory for transfer scratch (C:\Users\Clay\dev\anki\anki\resource\TransferGpuAllocator.cpp:105 init)
[I][RSRC] Compiling shader programs (C:\Users\Clay\dev\anki\anki\resource\ShaderProgramResourceSystem.cpp:58 compileAllShaders)
[I][RSRC]       anki/shaders/GBufferGeneric.ankiprog (C:\Users\Clay\dev\anki\anki\resource\ShaderProgramResourceSystem.cpp:236 skipCompilation)

Vulkan Initialization failed on Ubuntu 20.04 and NVIDIA GTX 760

After a successful compilation I run sponza and get this error:

tokyo@tokyo-Z87-DS3H:~/anki/samples/sponza$ /home/tokyo/anki/build/bin/sponza
[I][CORE][7fed6b7b5180] Using settings dir "/home/tokyo/.anki" (/home/tokyo/anki/src/anki/core/App.cpp:501 initDirs)
[I][CORE][7fed6b7b5180] Initializing application (version 0.1, optimized, NO dbg symbols, NO extra checks, compiler gcc 9.3.0, build date Aug 12 2020, commit c2f123f0) (/home/tokyo/anki/src/anki/core/App.cpp:336 initInternal)
[I][CORE][7fed6b7b5180] Number of main threads: 4 (/home/tokyo/anki/src/anki/core/App.cpp:355 initInternal)
[I][CORE][7fed6b7b5180] Creating SDL window. SDL version 2.0 (/home/tokyo/anki/src/anki/core/NativeWindowSdl.cpp:39 init)
[I][CORE][7fed6b7b5180] SDL window created (/home/tokyo/anki/src/anki/core/NativeWindowSdl.cpp:105 init)
[I][VK  ][7fed6b7b5180] Initializing Vulkan backend (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:104 initInternal)
[I][VK  ][7fed6b7b5180] Found the following instance extensions: (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:277 initInstance)
[I][VK  ][7fed6b7b5180] 	VK_KHR_device_group_creation (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:280 initInstance)
[I][VK  ][7fed6b7b5180] 	VK_KHR_display (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:280 initInstance)
[I][VK  ][7fed6b7b5180] 	VK_KHR_external_fence_capabilities (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:280 initInstance)
[I][VK  ][7fed6b7b5180] 	VK_KHR_external_memory_capabilities (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:280 initInstance)
[I][VK  ][7fed6b7b5180] 	VK_KHR_external_semaphore_capabilities (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:280 initInstance)
[I][VK  ][7fed6b7b5180] 	VK_KHR_get_display_properties2 (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:280 initInstance)
[I][VK  ][7fed6b7b5180] 	VK_KHR_get_physical_device_properties2 (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:280 initInstance)
[I][VK  ][7fed6b7b5180] 	VK_KHR_get_surface_capabilities2 (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:280 initInstance)
[I][VK  ][7fed6b7b5180] 	VK_KHR_surface (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:280 initInstance)
[I][VK  ][7fed6b7b5180] 	VK_KHR_surface_protected_capabilities (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:280 initInstance)
[I][VK  ][7fed6b7b5180] 	VK_KHR_xcb_surface (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:280 initInstance)
[I][VK  ][7fed6b7b5180] 	VK_KHR_xlib_surface (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:280 initInstance)
[I][VK  ][7fed6b7b5180] 	VK_EXT_acquire_xlib_display (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:280 initInstance)
[I][VK  ][7fed6b7b5180] 	VK_EXT_debug_report (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:280 initInstance)
[I][VK  ][7fed6b7b5180] 	VK_EXT_debug_utils (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:280 initInstance)
[I][VK  ][7fed6b7b5180] 	VK_EXT_direct_mode_display (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:280 initInstance)
[I][VK  ][7fed6b7b5180] 	VK_EXT_display_surface_counter (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:280 initInstance)
[I][VK  ][7fed6b7b5180] 	VK_KHR_wayland_surface (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:280 initInstance)
[I][VK  ][7fed6b7b5180] Will enable the following instance extensions: (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:321 initInstance)
[I][VK  ][7fed6b7b5180] 	VK_KHR_surface (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:324 initInstance)
[I][VK  ][7fed6b7b5180] 	VK_KHR_xcb_surface (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:324 initInstance)
[I][VK  ][7fed6b7b5180] 	VK_KHR_xlib_surface (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:324 initInstance)
[I][VK  ][7fed6b7b5180] 	VK_EXT_debug_report (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:324 initInstance)
[I][VK  ][7fed6b7b5180] Number of physical devices: 1 (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:373 initInstance)
[I][VK  ][7fed6b7b5180] GPU is GeForce GTX 760. Vendor identified as NVIDIA (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:404 initInstance)
[I][VK  ][7fed6b7b5180] Robust buffer access is disabled (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:410 initInstance)
[I][VK  ][7fed6b7b5180] Number of queue families: 2 (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:433 initDevice)
[I][VK  ][7fed6b7b5180] Found the following device extensions: (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:491 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_KHR_8bit_storage (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_KHR_16bit_storage (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_KHR_bind_memory2 (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_KHR_create_renderpass2 (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_KHR_dedicated_allocation (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_KHR_depth_stencil_resolve (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_KHR_descriptor_update_template (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_KHR_device_group (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_KHR_draw_indirect_count (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_KHR_driver_properties (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_KHR_external_fence (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_KHR_external_fence_fd (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_KHR_external_memory (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_KHR_external_memory_fd (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_KHR_external_semaphore (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_KHR_external_semaphore_fd (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_KHR_get_memory_requirements2 (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_KHR_image_format_list (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_KHR_imageless_framebuffer (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_KHR_maintenance1 (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_KHR_maintenance2 (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_KHR_maintenance3 (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_KHR_multiview (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_KHR_pipeline_executable_properties (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_KHR_push_descriptor (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_KHR_relaxed_block_layout (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_KHR_sampler_mirror_clamp_to_edge (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_KHR_sampler_ycbcr_conversion (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_KHR_shader_draw_parameters (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_KHR_shader_float16_int8 (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_KHR_shader_float_controls (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_KHR_storage_buffer_storage_class (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_KHR_swapchain (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_KHR_swapchain_mutable_format (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_KHR_timeline_semaphore (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_KHR_uniform_buffer_standard_layout (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_KHR_variable_pointers (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_EXT_buffer_device_address (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_EXT_calibrated_timestamps (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_EXT_conditional_rendering (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_EXT_depth_clip_enable (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_EXT_depth_range_unrestricted (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_EXT_descriptor_indexing (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_EXT_discard_rectangles (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_EXT_display_control (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_EXT_global_priority (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_EXT_host_query_reset (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_EXT_index_type_uint8 (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_EXT_inline_uniform_block (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_EXT_line_rasterization (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_EXT_memory_budget (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_EXT_pci_bus_info (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_EXT_pipeline_creation_feedback (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_EXT_scalar_block_layout (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_EXT_separate_stencil_usage (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_EXT_shader_demote_to_helper_invocation (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_EXT_shader_subgroup_ballot (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_EXT_shader_subgroup_vote (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_EXT_subgroup_size_control (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_EXT_texel_buffer_alignment (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_EXT_transform_feedback (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_EXT_vertex_attribute_divisor (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_EXT_ycbcr_image_arrays (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_NV_dedicated_allocation (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_NV_dedicated_allocation_image_aliasing (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_NV_device_diagnostic_checkpoints (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_NV_shader_sm_builtins (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_NV_shader_subgroup_partitioned (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_NVX_device_generated_commands (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[I][VK  ][7fed6b7b5180] 	VK_NVX_multiview_per_view_attributes (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:494 initDevice)
[E][VK  ][7fed6b7b5180] Buffer device address is required and not supported (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:575 initDevice)
[E][VK  ][7fed6b7b5180] Vulkan initialization failed (/home/tokyo/anki/src/anki/gr/vulkan/GrManagerImpl.cpp:95 init)
[E][CORE][7fed6b7b5180] App initialization failed. Shutting down (/home/tokyo/anki/src/anki/core/App.cpp:301 init)
[E][N/A ][7fed6b7b5180] Error reported. To run /home/tokyo/anki/build/bin/sponza you have to navigate to the /path/to/anki/samples/sponza. And then execute it (/home/tokyo/anki/samples/sponza/Main.cpp:39 main)
tokyo@tokyo-Z87-DS3H:~/anki/samples/sponza$ 

It looks like it could be some problem around the connection with Vulkan and NVIDIA driver. However, let me note the following:

  1. Readme says nothing about any prerequisites around Vulkan.
  2. No similar problems with anki on Ubuntu 18.04 and GTX760 before.
  3. I also have Vulkan SDK installed in my /home/tokyo/vulkan with all the paths set in .bashrc and it shows that vkinfo and vkcube demos work fine, so the Vulkan SDK is able to use my NVIDIA driver while anki is not.

Any help and comments are appreciated.

a compile problem

anki-3d-engine/ThirdParty/ImGui/../../AnKi/Util/Array.h:201:29: error: ‘is_same_v’ is not a member of ‘std’
-> Array<std::enable_if_t<(std::is_same_v<TFirst, TRest> && ...), TFirst>, 1 + sizeof...(TRest)>;

when i do make, this problem come out,
my gcc version is 12.2
and i try to add cmake . -DCMAKE_CXX_STANDARD=17 -DCMAKE_CXX_EXTENSIONS=OFF

how to fix it, very anxious !

Still problems running samples on Windows

Hi, need help as I'm still getting errors on this one..

  1. Opened a prompt to C:/anki/samples/sponza
  2. Execute "../../build/bin/sponza" from that directory
  3. Errors below

This is latest commit (3/20/18). What I also noticed is it creates an empty cache directory in C://Users/wini3d/.anki


C:\anki\samples\sponza>"../../build/bin/sponza"
[I][CORE] Using settings dir "C://Users/wini3d/.anki" (C:\anki\src\anki\core\App.cpp:545 initDirs)
[I][CORE] Initializing application (version 0.1, optimized, NO dbg symbols, NO extra checks, compiler gcc 5.1.0, build d
ate Mar 19 2018, commit 8e7c35e) (C:\anki\src\anki\core\App.cpp:388 initInternal)
[I][CORE] Number of main threads: 4 (C:\anki\src\anki\core\App.cpp:405 initInternal)
[I][CORE] Creating SDL window. SDL version 2.0 (C:\anki\src\anki\core\NativeWindowSdl.cpp:39 init)
[I][CORE] SDL window created (C:\anki\src\anki\core\NativeWindowSdl.cpp:94 init)
[I][GL  ] Creating GL 4.5 context... (C:\anki\src\anki\gr\gl\GrManagerImplSdl.cpp:40 createContext)
[I][GL  ] OpenGL async thread started: OpenGL version "4.5.0 NVIDIA 368.69", GLSL version "4.50 NVIDIA" (C:\anki\src\ank
i\gr\gl\RenderingThread.cpp:181 prepare)
[I][GL  ] GPU vendor is NVIDIA (C:\anki\src\anki\gr\gl\GlState.cpp:117 initRenderThread)
[I][GL  ] Found GL_ARB_shader_ballot (C:\anki\src\anki\gr\gl\GlState.cpp:195 initRenderThread)
[I][RSRC] Added new data path "." that contains 233 files (C:\anki\src\anki\resource\ResourceFilesystem.cpp:329 addNewPa
th)
[I][RSRC] Added new data path "../.." that contains 11113 files (C:\anki\src\anki\resource\ResourceFilesystem.cpp:329 ad
dNewPath)
[I][RSRC] Will use 384MB of memory for transfer scratch (C:\anki\src\anki\resource\TransferGpuAllocator.cpp:105 init)
[I][R   ] Initializing main renderer (C:\anki\src\anki\renderer\MainRenderer.cpp:43 init)
[I][R   ] Initializing offscreen renderer. Size 1366x768 (C:\anki\src\anki\renderer\Renderer.cpp:78 initInternal)
[I][R   ] Initializing image reflections (C:\anki\src\anki\renderer\Indirect.cpp:57 init)
 (C:\anki\src\anki\resource\ShaderLoader.cpp:93 parseSource)
[E][RSRC] Failed to load resource: programs/DeferredShading.ankiprog (C:/anki/src/anki/resource/ResourceManager.inl.h:42
 loadResource)
[E][R   ] Failed to initialize image reflections (C:\anki\src\anki\renderer\Indirect.cpp:62 init)
[E][R   ] Failed to initialize the renderer (C:\anki\src\anki\renderer\Renderer.cpp:67 init)
[I][R   ] Destroying main renderer (C:\anki\src\anki\renderer\MainRenderer.cpp:30 ~MainRenderer)
[E][CORE] App initialization failed (C:\anki\src\anki\core\App.cpp:343 init)
[E][N/A ] Error reported. To run ../../build/bin/sponza you have to navigate to the /path/to/anki/samples/sponza. And th
en execute it (C:\anki\samples\sponza\Main.cpp:40 main)

C:\anki\samples\sponza>

GBufferPost using wrong GBuffer layout

The way GBufferPost.ankiprog stores data in GBuffer attachments now is out of date.

	const ANKI_RP Vec3 spec = texture(u_specularRoughnessDecalTex, u_trilinearRepeatSampler, specUv).rgb;

	// Update diffuse
	ANKI_RP F32 f = decalDiff.a * decal.m_blendFactors[0];
	diffuse.rgb = diffuse.rgb * (1.0 - f) + decalDiff.rgb * f;
	diffuse.a *= (1.0 - f);

	// Update specular
	f = decalDiff.a * decal.m_blendFactors[1];
	roughnessMetallicF0.rgb = roughnessMetallicF0.rgb * (1.0 - f) + spec.rgb * f;
	roughnessMetallicF0.a *= (1.0 - f);
}

out_diffuse = diffuse;
out_roughnessMetallicF0 = roughnessMetallicF0;

Gbuffer layout is packed as follows for the RT0 and RT1:

  • RT0: Diffuse (RGB) A (Metallic & Subsurface)
  • RT1: Roughness (R), Fresnel (G), Emissive (BA

cmake configuration failed on MSYS2 MINGW64

$ cmake ..
-- Building for: Ninja
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/msys64/mingw64/bin/cc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/msys64/mingw64/bin/c++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
++ Building for windows
++ Compiler identified as GCC
++ Target architecture is X86
CMake Error at CMakeLists.txt:218 (if):
  if given arguments:

    "STREQUAL" "Release"

  Unknown arguments specified


-- Configuring incomplete, errors occurred!

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.