hanatos / vkdt

raw photography workflow that sucks less
https://vkdt.org
BSD 2-Clause "Simplified" License
365 stars 32 forks source link

vkdt master: Runtime error on Debian 12.6 : Nvidia Quadro RTX 4000 : Intel I9 14900K : Vulkan Instance Version: 1.3.239 #131

Closed KarlMagnusLarsson closed 16 hours ago

KarlMagnusLarsson commented 5 days ago

Vkdt master: Runtime error on Debian 12.6 .

Steps to reproduce:

  1. Build vkdt master branch
    
    git clone https://github.com/hanatos/vkdt.git

Video is disabled in config.mk VKDT_USE_FFMPEG=0 export VKDT_USE_FFMPEG

cd vkdt cd bin make


2. Run `./vkdt` 

3. This results in runtime error:

[gui] glfwGetVersionString() : 3.3.8 X11 GLX EGL OSMesa clock_gettime evdev shared [gui] monitor [0] DP-2 at 0 0 [gui] vk extension required by GLFW: [gui] VK_KHR_surface [gui] VK_KHR_xcb_surface [ERR] error VK_ERROR_EXTENSION_NOT_PRESENT executing vkCreateInstance! [ERR] init vulkan failed [ERR] failed to init gui/swapchain


Workaround: Vkdt 0.7.0 builds and runs without issue on my system.

./vkdt [gui] glfwGetVersionString() : 3.3.8 X11 GLX EGL OSMesa clock_gettime evdev shared [gui] monitor [0] DP-2 at 0 0 [gui] vk extension required by GLFW: [gui] VK_KHR_surface [gui] VK_KHR_xcb_surface [gui] no joysticks found [gui] no display profile file display.DP-2, using sRGB! [gui] no display profile file display.DP-2, using sRGB!



- Debian 12.6 Bookworm.
- Intel I9 14900K (Intel® UHD Graphics 770). BIOS is set to Nvidia GPU prio.
- Nvidia Quadro RTX 4000 GPU, Driver NVIDIA 535.183.01-1~deb12u1 from Debian non-free package repo.
- EDIT: X11
- Vulkaninfo:  Vulkan Instance Version: 1.3.239

[vulkainfo.txt](https://github.com/user-attachments/files/16090432/vulkainfo.txt)

Discussion: https://discuss.pixls.us/t/can-not-build-vkdt-master-on-debian-stable-12-6/44376
KarlMagnusLarsson commented 4 days ago

The output of ./vkdt -d all looks looks this:

[pipe] base directory /home/magnus/test/vkdt/vkdt/bin
[pipe] home directory /home/magnus/.config/vkdt
[pipe] module menon has no connectors!
[pipe] module i-geo has no connectors!
[pipe] module cnn has no connectors!
[pipe] module o-ffmpeg has no connectors!
[pipe] loaded 82 modules
[gui] glfwGetVersionString() : 3.3.8 X11 GLX EGL OSMesa clock_gettime evdev shared
[gui] monitor [0] DP-2 at 0 0
[gui] vk extension required by GLFW:
[gui]   VK_KHR_surface
[gui]   VK_KHR_xcb_surface
[ERR] error VK_ERROR_EXTENSION_NOT_PRESENT executing vkCreateInstance!
[ERR] init vulkan failed
[ERR] failed to init gui/swapchain

I am using X11, not Wayland, if that matters.

KarlMagnusLarsson commented 4 days ago

git master 0.8.99-59-gf2aa97e8 works for me with VKDT_USE_FFMPEG=0 and export VKDT_USE_FFMPEG in config.mk.