vkdt and raspberry pi5

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.

Did you do a recursive git clone?

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.

1 Like

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)

probably revert to older rawspeed or use the rust backend instead.

1 Like