-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setup issues on Ubuntu 23.10 #189
Comments
Thank you for your detailed issue report and sorry that you have experienced so many troubles. Regarding 1. Example model_loader fails to configure: Yes, that's a typo. But should be fixed on development. Regarding 2. Framework fails to build with clang: Unfortunately we had to drop Clang support a while ago because it still doesn't offer support for Ranges. Currently, on Linux only GCC version 23 or higher is supported. Regarding 3. hello_world example fails assert: I see. That must be fixed in code. But could take a while until I get to it. Pull requests are highly appreciated. Regarding 4. vertex_buffers and all other raster examples fail to link: That's strange. At least our GitHub workflow for GCC 23 does not report any issues on the development branch. Please try that one! Regarding 5. All raytracing examples have validation errors and segfault: I.e. adding Regarding Docs on controls: Should be better on development. The examples use an Regarding Shader hot reloading: It exists and works. But one has to use an |
Regarding 4. vertex_buffers and all other raster examples fail to link: Your CI only ever tests the Regarding 5. All raytracing examples have validation errors and segfault: I've also added a small note about the controls to the example section in your readme, so that not so obvious keybinds like F1 are known: Lines 103 to 108 in b7daeeb
|
I'm running into 4 as well. Using Auto-Vk, not Auto-Vk-Toolkit - so it's definitely an issue with Auto-Vk specifically.
becomes
It is worth noting two things from my attempted fix here:
|
My Professor recommended your framework as a potential baseline for my master's thesis. So I attempted to get it working on my Ubuntu 23.10 machine with Clion and according to your documentation shouldn't require anything out of the ordinary apart from the vulkan-sdk. But Unfortunately I ran into multiple issues, and instead of creating a separate issue for each one, I thought it'll be better to just summarize them here.
1. Example
model_loader
fails to configureI've used the
-D avk_toolkit_BuildExamples=ON
cmake flag to enable all of your examples to get an overview of what the framework can do. Sadly themodel_loader
example fails to configure, so I commented out the lines below likely breaking the example. May there be a typo in the last line, withgvk
instead ofavk
?examples/model_loader/CMakeLists.txt
2. Framework fails to build with clang
It fails to build with clang but works with GCC, so I guess I continue with that.
Full error
3.
hello_world
example fails assertDuplicate of: #157
You request 3 images and for some reason Mesa gives you 5, which causes this assert. Same workaround as the mentioned issue: In the main method change
set_number_of_concurrent_frames(3)
andset_number_of_presentable_images(3)
to 5. Then Hello world works!auto_vk_toolkit/src/window.cpp:783
4.
vertex_buffers
and all other raster examples fail to linkSee my highlight below, I'm not sure how this is supposed to work, and I'm suck here, as all other examples depend on vertex input working.
Full error
5. All raytracing examples have validation errors and segfault
If raster doesn't work we can of course try raytracing :D
I've mostly played around with the
ray_tracing_with_shadows_and_ao
andray_query_in_ray_tracing_shaders
, asray_tracing_custom_intersection
doesn't even compile. First the validation error:And I assume this contributes to the segfault, caused by calling
device().getAccelerationStructureBuildSizesKHR(...)
withgetAccelerationStructureBuildSizesKHR
being a nullptr, as the extensionVK_KHR_acceleration_structure
was never requested. Adding that does make both of the compiling examples work.6. Small things of note
-D avk_toolkit_BuildExamples=ON
cmake flag may also be helpful here.Hard- and Software
Everything was tested on latest master (e62ac9a), switching to tag 0.99 or 0.98 didn't change anything.
RADV_PERFTEST=rt
env var to enable raytracingUbuntu clang version 16.0.6 (15)
gcc (Ubuntu 13.2.0-4ubuntu3) 13.2.0
The text was updated successfully, but these errors were encountered: