VKDT Darkroom image immediately slides out of sight

Hello everyone!
I just got vkdt successfully compiled and convinced it to use my main GPU (AMD RX6600). Unfortunately I cannot work on any pictures as they immediately disappear the moment I enter the darkroom mode, below I’ve attached a GIF showing it. When I click in the window and drag the cursor to the left the image becomes visible again but disappears instantly when I let go of the mouse button.
Using the iGPU doesn’t change this, also I have tried RAW-files from different manufacturers (Pentax dng and Olympus orf).

vkdt

and the output of vkdt -d all

type or[gui] glfwGetVersionString() : 3.3.8 X11 GLX EGL OSMesa clock_gettime evdev shared
[gui] monitor [0] DisplayPort-3 at 0 0
[gui] vk extension required by GLFW:
[gui]   VK_KHR_surface
[gui]   VK_KHR_xcb_surface
[qvk] validation layer: Copying old device 0 into new device 0
[qvk] validation layer: Copying old device 1 into new device 1
[qvk] validation layer: Copying old device 2 into new device 2
[qvk] validation layer: Copying old device 0 into new device 0
[qvk] validation layer: Copying old device 1 into new device 1
[qvk] validation layer: Copying old device 2 into new device 2
[qvk] validation layer: Copying old device 0 into new device 0
[qvk] validation layer: Copying old device 1 into new device 1
[qvk] validation layer: Copying old device 2 into new device 2
[qvk] dev 0: vendorid 0x1002
[qvk] dev 0: AMD Radeon RX 6600 (RADV NAVI23)
[qvk] max number of allocations -1
[qvk] max image allocation size 16384 x 16384
[qvk] max uniform buffer range 4294967295
[qvk] selecting device 0 by explicit request
[qvk] dev 1: vendorid 0x10de
[qvk] dev 1: NVIDIA GeForce GTX 1050 Ti
[qvk] max number of allocations -1
[qvk] max image allocation size 32768 x 32768
[qvk] max uniform buffer range 65536
[qvk] dev 2: vendorid 0x8086
[qvk] dev 2: Intel(R) Graphics (RPL-S)
[qvk] max number of allocations -1
[qvk] max image allocation size 16384 x 16384
[qvk] max uniform buffer range 1073741824
[qvk] num queue families: 2
[qvk] picked device 0 with ray tracing and without float atomics support
[qvk] available surface formats:
[qvk] B8G8R8A8_SRGB
[qvk] B8G8R8A8_UNORM
[qvk] colour space: 0
[gui] found joystick Logitech MX Master
[gui] no display profile file display.DisplayPort-3, using sRGB!
[gui] no display profile file display.DisplayPort-3, using sRGB!
[qvk] available surface formats:
[qvk] B8G8R8A8_SRGB
[qvk] B8G8R8A8_UNORM
[qvk] colour space: 0
[db] allocating 1024.0 MB for thumbnails
[perf] upload source total:        0.013 ms
[perf] upload for raytrace:        0.012 ms
[mem] images : peak rss 0.00390625 MB vmsize 0.00390625 MB
[mem] buffers: peak rss 0 MB vmsize 0 MB
[mem] staging: peak rss 0.000244141 MB vmsize 0.000244141 MB
[perf] record cmd buffer:          0.148 ms
[perf] i-bc1    main    :          0.012 ms
[perf] total time:         0.012 ms
[perf] [thm] ran graph in   0ms
[perf] time to load images 0.000s
[qvk] available surface formats:
[qvk] B8G8R8A8_SRGB
[qvk] B8G8R8A8_UNORM
[qvk] colour space: 0
[perf] upload source total:        0.280 ms
[perf] upload for raytrace:        0.011 ms
[mem] images : peak rss 0.078125 MB vmsize 0.078125 MB
[mem] buffers: peak rss 0 MB vmsize 0 MB
[mem] staging: peak rss 0.100708 MB vmsize 0.100708 MB
[perf] record cmd buffer:          0.441 ms
[perf] i-bc1    main    :          0.016 ms
[perf] total time:         0.016 ms
[perf] [thm] ran graph in   0ms
[perf] [rawspeed] load /root/Bilder/IMGP2330.dng in  73ms
[perf] upload source total:        4.966 ms
[perf] upload for raytrace:        0.063 ms
[mem] images : peak rss 599.598 MB vmsize 628.012 MB
[mem] buffers: peak rss 0 MB vmsize 0 MB
[mem] staging: peak rss 143.007 MB vmsize 143.007 MB
[perf] record cmd buffer:         33.298 ms
[perf] i-raw    main    :          2.407 ms
[perf] denoise  noop    :          0.863 ms
[perf] hilite   half    :          0.469 ms
[perf] hilite   reduce  :          1.657 ms
[perf] hilite   reduce  :          0.402 ms
[perf] hilite   reduce  :          0.108 ms
[perf] hilite   reduce  :          0.029 ms
[perf] hilite   reduce  :          0.019 ms
[perf] hilite   reduce  :          0.017 ms
[perf] hilite   reduce  :          0.017 ms
[perf] hilite   reduce  :          0.016 ms
[perf] hilite   reduce  :          0.015 ms
[perf] hilite   reduce  :          0.015 ms
[perf] hilite   assemble:          0.005 ms
[perf] hilite   assemble:          0.006 ms
[perf] hilite   assemble:          0.005 ms
[perf] hilite   assemble:          0.005 ms
[perf] hilite   assemble:          0.006 ms
[perf] hilite   assemble:          0.009 ms
[perf] hilite   assemble:          0.023 ms
[perf] hilite   assemble:          0.081 ms
[perf] hilite   assemble:          0.311 ms
[perf] hilite   assemble:          1.233 ms
[perf] hilite   doub    :          0.996 ms
[perf] sum hilite:         5.444 ms
[perf] demosaic down    :          0.312 ms
[perf] demosaic gauss   :          0.904 ms
[perf] demosaic splat   :          2.257 ms
[perf] demosaic fix     :          3.780 ms
[perf] sum demosaic:       7.252 ms
[perf] crop     main    :          1.188 ms
[perf] colour   main    :          1.365 ms
[perf] filmcurv main    :          1.289 ms
[perf] llap     curve   :          4.467 ms
[perf] llap     reduce  :          2.780 ms
[perf] llap     reduce  :          0.663 ms
[perf] llap     reduce  :          0.140 ms
[perf] llap     reduce  :          0.014 ms
[perf] llap     reduce  :          0.005 ms
[perf] llap     reduce  :          0.002 ms
[perf] llap     reduce  :          0.001 ms
[perf] llap     reduce  :          0.001 ms
[perf] llap     reduce  :          0.001 ms
[perf] llap     reduce  :          0.001 ms
[perf] llap     reduce  :          0.001 ms
[perf] llap     assemble:          0.005 ms
[perf] llap     assemble:          0.004 ms
[perf] llap     assemble:          0.005 ms
[perf] llap     assemble:          0.005 ms
[perf] llap     assemble:          0.005 ms
[perf] llap     assemble:          0.005 ms
[perf] llap     assemble:          0.012 ms
[perf] llap     assemble:          0.036 ms
[perf] llap     assemble:          0.131 ms
[perf] llap     assemble:          0.601 ms
[perf] llap     assemble:          2.404 ms
[perf] llap     colour  :          1.546 ms
[perf] sum llap:          12.835 ms
[perf] hist     collect :          1.372 ms
[perf] hist     map     :          0.016 ms
[perf] total time:        34.131 ms
[perf] [rawspeed] load /root/Bilder/IMGP2330.dng in  86ms
[perf] upload source total:        5.096 ms
[perf] upload for raytrace:        0.082 ms
[mem] images : peak rss 211.465 MB vmsize 226.012 MB
[mem] buffers: peak rss 0 MB vmsize 0 MB
[mem] staging: peak rss 28.7025 MB vmsize 28.7025 MB
[perf] record cmd buffer:         17.704 ms
[perf] i-raw    main    :          2.421 ms
[perf] denoise  noop    :          3.108 ms
[perf] hilite   half    :          3.903 ms
[perf] hilite   reduce  :          3.223 ms
[perf] hilite   reduce  :          0.453 ms
[perf] hilite   reduce  :          0.104 ms
[perf] hilite   reduce  :          0.295 ms
[perf] hilite   reduce  :          0.019 ms
[perf] hilite   reduce  :          0.017 ms
[perf] hilite   reduce  :          0.017 ms
[perf] hilite   reduce  :          0.016 ms
[perf] hilite   reduce  :          0.024 ms
[perf] hilite   reduce  :          0.015 ms
[perf] hilite   assemble:          0.005 ms
[perf] hilite   assemble:          0.006 ms
[perf] hilite   assemble:          0.005 ms
[perf] hilite   assemble:          0.005 ms
[perf] hilite   assemble:          0.006 ms
[perf] hilite   assemble:          0.009 ms
[perf] hilite   assemble:          0.023 ms
[perf] hilite   assemble:          0.081 ms
[perf] hilite   assemble:          0.312 ms
[perf] hilite   assemble:          1.234 ms
[perf] hilite   doub    :          0.998 ms
[perf] sum hilite:        10.770 ms
[perf] demosaic halfsize:          0.411 ms
[perf] shared   resample:          0.169 ms
[perf] crop     main    :          0.009 ms
[perf] sum crop:           0.589 ms
[perf] colour   main    :          0.014 ms
[perf] filmcurv main    :          0.010 ms
[perf] llap     curve   :          0.037 ms
[perf] llap     reduce  :          0.021 ms
[perf] llap     reduce  :          0.007 ms
[perf] llap     reduce  :          0.003 ms
[perf] llap     reduce  :          0.003 ms
[perf] llap     reduce  :          0.002 ms
[perf] llap     reduce  :          0.002 ms
[perf] llap     reduce  :          0.002 ms
[perf] llap     reduce  :          0.002 ms
[perf] llap     assemble:          0.009 ms
[perf] llap     assemble:          0.012 ms
[perf] llap     assemble:          0.010 ms
[perf] llap     assemble:          0.011 ms
[perf] llap     assemble:          0.015 ms
[perf] llap     assemble:          0.016 ms
[perf] llap     assemble:          0.025 ms
[perf] llap     assemble:          0.077 ms
[perf] llap     colour  :          0.007 ms
[perf] sum llap:           0.262 ms
[perf] f2srgb   main    :          0.006 ms
[perf] total time:        17.302 ms
[perf] [thm] ran graph in  99ms

Maybe someone has an idea what’s going on here…
Thanks a lot
Paul

heya,

which version is this (can you post the output of vkdt --version ?)

the line [gui] found joystick Logitech MX Master sounds like you have a joystick and it’s used as input device? maybe it’s miscalibrated or maps some wrong axes. you probably want to disable it by setting

intgui/disable_joystick:1

in your ~/.config/vkdt/config.rc. this should be the default, so i wonder if you had an old config file lying around or actually changed it?

vkdt 0.5.9999-240-ga7117a4d (c) 2020–2023 johannes hanika

Thank you, setting gui/disable_joystick:1 solved the problem, it was set to intgui/disable_joystick:0 - I suppose the config file was left over after I first tried vkdt several months ago but immediately gave up due to the same error (the picture disappearing).
The “joystick” is actually my wireless keyboard/mouse combo.
I have also tried to remove the ~/.config/vkdt folder but that made vkdt crash with the following output:

[gui] glfwGetVersionString() : 3.3.8 X11 GLX EGL OSMesa clock_gettime evdev shared
[gui] monitor [0] DisplayPort-3 at 0 0
[gui] vk extension required by GLFW:
[gui]   VK_KHR_surface
[gui]   VK_KHR_xcb_surface
[qvk] validation layer: Copying old device 0 into new device 0
[qvk] validation layer: Copying old device 1 into new device 1
[qvk] validation layer: Copying old device 2 into new device 2
[qvk] validation layer: Copying old device 0 into new device 0
[qvk] validation layer: Copying old device 1 into new device 1
[qvk] validation layer: Copying old device 2 into new device 2
[qvk] validation layer: Copying old device 0 into new device 0
[qvk] validation layer: Copying old device 1 into new device 1
[qvk] validation layer: Copying old device 2 into new device 2
[qvk] dev 0: vendorid 0x1002
[qvk] dev 0: AMD Radeon RX 6600 (RADV NAVI23)
[qvk] max number of allocations -1
[qvk] max image allocation size 16384 x 16384
[qvk] max uniform buffer range 4294967295
[qvk] dev 1: vendorid 0x10de
[qvk] dev 1: NVIDIA GeForce GTX 1050 Ti
[qvk] max number of allocations -1
[qvk] max image allocation size 32768 x 32768
[qvk] max uniform buffer range 65536
[qvk] dev 2: vendorid 0x8086
[qvk] dev 2: Intel(R) Graphics (RPL-S)
[qvk] max number of allocations -1
[qvk] max image allocation size 16384 x 16384
[qvk] max uniform buffer range 1073741824
[qvk] num queue families: 4
[qvk] picked device 1 with ray tracing and with float atomics support
[qvk] validation layer: loader_validate_device_extensions: Device extension VK_KHR_deferred_host_operations not supported by selected physical device or enabled layers.
[qvk] validation layer: vkCreateDevice: Failed to validate extensions in list
[qvk] error VK_ERROR_EXTENSION_NOT_PRESENT executing vkCreateDevice(qvk.physical_device, &dev_create_info, NULL, &qvk.device)!
[ERR] init vulkan failed
[ERR] failed to init gui/swapchain

great, so it’s solved.

the second version picks the nvidia gpu instead, and then fails to run because it doesn’t have validation layers installed (you probably built like make debug? if you make it will do a release built without validation layers).