git clone https://github.com/hanatos/vkdt.git
cd vkdt
cd bin
git checkout 0.7.0
git submodule update --init
make -j32
./vkdt
But if I try latest master I get an error:
git clone https://github.com/hanatos/vkdt.git
cd vkdt
cd bin
make
...
clang -Wall -pipe -I. -D_GNU_SOURCE -std=c11 -Ipipe -I. -fPIC -DVKDT_DSO_BUILD -Wall -pipe -O3 -march=x86-64 -DNDEBUG -shared pipe/modules/inpaint/main.c -o pipe/modules/inpaint/libinpaint.so -s -lm -ldl
clang -Wall -pipe -I. -D_GNU_SOURCE -std=c11 -Ipipe -I. -fPIC -DVKDT_DSO_BUILD -Wall -pipe -O3 -march=x86-64 -DNDEBUG -shared pipe/modules/i-pfm/main.c -o pipe/modules/i-pfm/libi-pfm.so -s -ldl
cd pipe/modules/i-raw/rawloader-c; cargo update; cargo build --release
Updating crates.io index
Updating git repository `https://github.com/dnglab/dnglab`
error: package `toml_datetime v0.6.6` cannot be built because it requires rustc 1.65 or newer, while the currently active rustc version is 1.63.0
Either upgrade to rustc 1.65 or newer, or use
cargo update -p toml_datetime@0.6.6 --precise ver
where `ver` is the latest version of `toml_datetime` supporting rustc 1.63.0
make[2]: *** [pipe/modules/i-raw/flat.mk:55: pipe/modules/i-raw/rawloader-c/target/release/librawloader.a] Error 101
make[2]: Leaving directory '/home/magnus/test/vkdt/src'
make[1]: *** [Makefile:104: src] Error 2
make[1]: Leaving directory '/home/magnus/test/vkdt'
make: *** [Makefile:7: all] Error 2
This is correct. Debian 12.6 has:
rustc --version
rustc 1.63.0
So, my only way out is to follow advice below?
Either upgrade to rustc 1.65 or newer, or use
cargo update -p toml_datetime@0.6.6 --precise ver
where `ver` is the latest version of `toml_datetime` supporting rustc 1.63.0
sorry i’m not expert in rust and associated toolchains enough to give you a good answer. i have no idea how packages can update themselves in the background… the git commit to the rawler package i use is constant, it’s just that the dependencies update themselves. it’s like inverse code rot
anyhow the workaround i use in the CI builds is to update the rust toolchain via:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
OK. Good to know. I will probably try and update rustc locally for the vkdt build environment. I am aware that Debian stable is not the optimal build environment, since it is so conservative regarding package versions. Debian Testing is using rustc 1.78.0.
this means your ffmpeg is too old. you need 6+. if you’re ubuntu there is some ppa for it. but you mentioned this is debian right? either get that from a newer repo or if you don’t want video you can disable it in the build by editing config.mk in the bin directory to contain
hm. could you run ./vkdt -d all or at least ./vkdt -d qvk please? maybe it’ll be more verbose in which gpu it picks and ideally which extension it is missing.
the only additional extension i can think of that i might have added since 0.7.0 is some colour management swapchain thing that i was hoping would solve some issues on wayland (which it doesn’t). if it’s that i can remove it, but yeah… it might just select the wrong gpu.
okay thanks. since you said the old version had no issues, i removed the colour management thing. it doesn’t work anyways. this is now pushed, if you still have time to test you can pull. otherwise safe travels, we’ll talk after.