Hello, I just got a new Raspberry PI5 (with Vulkan 1.2), so I am going to compile vkdt.
First try, I get this error
...
/bin/sh: 1: cd: can't cd to src/pipe/modules/i-raw/rawspeed
...
pipe/modules/i-vid/main.c:474:42: error: no member named 'frame_num' in 'struct AVCodecContext'; did you mean 'frame_number'?
if(mod->graph->frame + 1 != d->vctx->frame_num) // zero vs 1 based
^~~~~~~~~
frame_number
/usr/include/aarch64-linux-gnu/libavcodec/avcodec.h:1037:9: note: 'frame_number' declared here
int frame_number;
^
1 error generated.
thatās an ffmpeg compile problem. they renamed frame_num to frame_number or the other way around. you need ffmpeg 6+ or you might want to disable the i-vid module in your bin/config.mk:
VKDT_USE_FFMPEG=0
export VKDT_USE_FFMPEG
re: recursive clone: i only use one more submodule for imgui, but looking into replacing that by inline nuklear⦠might not need submodules any more at all at some point.
Hello, I choose to disable i-vid
after compilation, I still have some errors but vkdt can be lauched
The issue is the compilation of rawspeed (it works for dt)
It said we need clang 16+ (but itās installed)
hello,
with new nuklear gui, I got these errors
any clue?
vulkaninfo 1.3.239
cd pipe/modules/i-raw/rawloader-c; cargo build --release
Compiling rawloader-clib v0.1.0 (/home/olivier/vkdt/src/pipe/modules/i-raw/rawloader-c)
error[E0308]: mismatched types
--> lib.rs:57:14
|
57 | dst[i] = c as i8;
| ------ ^^^^^^^ expected `u8`, found `i8`
clang -Wall -pipe -I. -D_GNU_SOURCE -std=c11 -fPIC -g -gdwarf-2 -ggdb3 -O0 -DQVK_ENABLE_VALIDATION -DDEBUG_MARKERS -c gui/render.c -o gui/render.o
In file included from gui/render.c:3:
In file included from gui/nk.h:12:
gui/nuklear_glfw_vulkan.h:477:14: error: use of undeclared identifier 'gui_shd_gui_vert_spv'
dev, gui_shd_gui_vert_spv,
^
gui/nuklear_glfw_vulkan.h:478:9: error: use of undeclared identifier 'gui_shd_gui_vert_spv_len'
gui_shd_gui_vert_spv_len, VK_SHADER_STAGE_VERTEX_BIT);
^
gui/nuklear_glfw_vulkan.h:480:14: error: use of undeclared identifier 'gui_shd_gui_frag_spv'
dev, gui_shd_gui_frag_spv,
^
gui/nuklear_glfw_vulkan.h:481:9: error: use of undeclared identifier 'gui_shd_gui_frag_spv_len'
gui_shd_gui_frag_spv_len, VK_SHADER_STAGE_FRAGMENT_BIT);
^
4 errors generated.
the first issue⦠are you manually cd-ing into that directory? the build process should do that for you, and also grab exactly the same version of all rust modules, via Cargo.lock. which version of rustc are you using? seem to have no issues with
rustc 1.84.0 (9fc6b4312 2025-01-07) (Arch Linux rust 1:1.84.0-1)
hello,
Iām back in town
I solved some issues with vulkan setup , but I got this error
[qvk] picked device 0 without ray tracing and without float atomics and without coopmat support
[qvk] validation layer: loader_validate_device_extensions: Device extension VK_EXT_descriptor_indexing not supported by selected physical device or enabled layers.
vkdt: qvk/qvk.c:105: VkBool32 vk_debug_callback(VkDebugUtilsMessageSeverityFlagBitsEXT, VkDebugUtilsMessageTypeFlagsEXT, const VkDebugUtilsMessengerCallbackDataEXT *, void *): Assertion `0' failed.
I tried to force name of gpu using the data found with āvulkaninfoā
I have been interested for some time in these small ARM machines with gpu like the pi5. I bet that these configurations will become more and more powerful
yes, it supports vk 1.2, but not the descriptor indexing extension. this is something that is needed so moltenvk can work around some macintosh specific limitations, and also for the textures in quake, iirc. i suppose you can try and disable it in the code. i let it in there hardcoded because i figured vkdt wouldnāt be much fun on machines that donāt support this level of vulkan.
thank you very much for your advices, Iām going to test
just some remarks :
-vulkan instance version : 1.3.239
-apiVersion : 1.2.255
when you said it supports vk1.2, you mean apiVersion or vulkan instance version?