hanatos / vkdt

raw photography workflow that sucks less
https://jo.dreggn.org/vkdt
BSD 2-Clause "Simplified" License
381 stars 35 forks source link

hard to open the GUI on Windows #141

Closed MrLixm closed 6 days ago

MrLixm commented 1 week ago

Hello, I am interested to have a look at vkdt for my photography workflow. I am working on Windows 10 and tried to install the corresponding variant however it took me a lot of attempt to understand how to open the software. I tried checking for the documentation but there is no page simple as "how to open the software after installation".

Here is the steps I tried:

steps to reproduce

initial setup

❌ test1

❌ test2

❌ test3

F:\softwares\apps\vdkt\builds\0.8.0>start /B vkdt.exe

F:\softwares\apps\vdkt\builds\0.8.0>[gui] glfwGetVersionString() : 3.4.0 Win32 WGL Null EGL OSMesa MinGW-w64 [gui] monitor [0] Generic PnP Monitor at 0 0 [gui] monitor [1] Generic PnP Monitor at 1920 0 [gui] monitor [2] Generic PnP Monitor at 11 -1080 [gui] monitor [3] Generic PnP Monitor at -1920 0 [gui] vk extension required by GLFW: [gui] VK_KHR_surface [gui] VK_KHR_win32_surface [gui] no joysticks found [gui] you have more than 2 monitors attached! only the first two will be colour managed! [gui] no display profile file display.Generic PnP Monitor, using sRGB! [gui] no display profile file display.Generic PnP Monitor, using sRGB! [ERR] image could not be loaded!

- gui flash then close

## ✅ test4

After checking the `--help` command I try to provide a non-empty directory

cd /D F:\softwares\apps\vdkt\builds\0.8.0\ start /B vkdt.exe G:\personal\photo\workspace\dcim\2024\2024_04_13_salieres\dng


and it finally open. Quite hard to guess the software was expecting a directory to start with !
hanatos commented 6 days ago

hmm thanks for reporting. i just tried 0.9.0 on a windows system. i don't know anything about windows, but just double clicking the exe worked here.

i have no idea about shells on windows (other than msys2..), but since you seem to have one open maybe you can start the exe with ./vkdt -d all for extended diagnostics? preferably the new release or nightly version.

do you have a Pictures directory in your home? or maybe it is trying to read some recently used image from /home/you/.config/vkdt/config.rc? or directory that was recently deleted? might be a good idea to delete any old config.rc you might have. if you find such a file, could you post it?

MrLixm commented 6 days ago

Hey, I didn't think of potential issues with an old config. However even after a delete of the config in C:\users\lcoll\vkdt I have the same issue.

C:\Users\lcoll>cd /D F:\softwares\apps\vkdt\builds\0.9.0
F:\softwares\apps\vkdt\builds\0.9.0>.\vkdt.exe -d all
[gui] vkdt 0.9.0 (c) 2020--2024 johannes hanika
[pipe] base directory F:\softwares\apps\vkdt\builds\0.9.0
[pipe] home directory C:\Users\lcoll/vkdt/config
[pipe] loaded 84 modules
[gui] glfwGetVersionString() : 3.4.0 Win32 WGL Null EGL OSMesa MinGW-w64
[gui] monitor [0] Generic PnP Monitor at 0 0
[gui] monitor [1] Generic PnP Monitor at 1920 0
[gui] monitor [2] Generic PnP Monitor at 11 -1080
[gui] monitor [3] Generic PnP Monitor at -1920 0
[gui] vk extension required by GLFW:
[gui]   VK_KHR_surface
[gui]   VK_KHR_win32_surface
[qvk] dev 0: vendorid 0x10de
[qvk] dev 0: NVIDIA GeForce RTX 2060 SUPER
[qvk] max number of allocations -1
[qvk] max image allocation size 32768 x 32768
[qvk] max uniform buffer range 65536
[qvk] num queue families: 5
[qvk] picked device 0 with ray tracing and with float atomics and with coopmat support
[qvk] queue 0 is idx 0 family 0
[qvk] queue 1 is idx 1 family 0
[qvk] queue 2 is idx 2 family 0
[qvk] queue 3 is idx 3 family 0
[qvk] available surface formats:
[qvk] B8G8R8A8_UNORM
[qvk] B8G8R8A8_SRGB
[qvk] R8G8B8A8_UNORM
[qvk] R8G8B8A8_SRGB
[qvk] A2B10G10R10_UNORM_PACK32
[qvk] using A2B10G10R10_UNORM_PACK32 and colour space 0
[gui] no joysticks found
[gui] you have more than 2 monitors attached! only the first two will be colour managed!
[gui] no display profile file display.Generic PnP Monitor, using sRGB!
[gui] no display profile file display.Generic PnP Monitor, using sRGB!
[qvk] available surface formats:
[qvk] B8G8R8A8_UNORM
[qvk] B8G8R8A8_SRGB
[qvk] R8G8B8A8_UNORM
[qvk] R8G8B8A8_SRGB
[qvk] A2B10G10R10_UNORM_PACK32
[qvk] using A2B10G10R10_UNORM_PACK32 and colour space 0
[db] allocating 1024.0 MB for thumbnails
[ERR] image could not be loaded!

I don't have a Pictures folder in C:\users\lcoll if this is what you were expecting (I moved mine)

C:\Users\lcoll>dir
 Volume in drive C has no label.
 Volume Serial Number is 02C9-D036

 Directory of C:\Users\lcoll

13/10/2024  11:08    <DIR>          .
13/10/2024  11:08    <DIR>          ..
19/03/2024  13:22    <DIR>          .affinity
14/12/2020  17:58    <DIR>          .android
21/09/2023  18:40               138 .bashrc
25/09/2024  20:03            16,280 .bash_history
23/09/2023  13:43                99 .bash_profile
22/09/2024  19:32    <DIR>          .cargo
22/03/2023  22:44    <DIR>          .conan
06/08/2021  13:13    <DIR>          .CpasDec
30/09/2023  16:40    <DIR>          .crossnote
07/05/2024  11:37    <DIR>          .dbus-keyrings
04/07/2021  01:28    <DIR>          .designer
07/11/2021  18:16    <DIR>          .docker
23/03/2023  00:26    <DIR>          .dotnet
14/05/2024  10:02    <DIR>          .filmaura
12/10/2022  19:20    <DIR>          .fleet
02/02/2024  18:12               363 .gitconfig
15/06/2024  17:29    <DIR>          .gk
08/10/2024  17:34    <DIR>          .gnupg
09/04/2022  17:20    <DIR>          .grip
14/07/2024  16:32    <DIR>          .groovy
05/11/2022  20:25    <DIR>          .insomniac
12/11/2023  16:56    <DIR>          .ipython
05/04/2023  16:39    <DIR>          .katana
21/01/2024  13:22                20 .lesshst
24/05/2024  21:44    <DIR>          .local
13/12/2020  19:42    <DIR>          .mari
28/02/2021  20:38    <DIR>          .matplotlib
11/01/2023  23:37                80 .minttyrc
17/07/2022  18:26    <DIR>          .ms-ad
29/08/2021  15:05    <DIR>          .mume
06/04/2021  18:38    <DIR>          .NaivePipeline
27/02/2021  00:52    <DIR>          .Natron
08/10/2023  21:08    <DIR>          .nuget
11/10/2024  20:43    <DIR>          .nuke
05/09/2021  13:11    <DIR>          .Origin
10/02/2024  01:24    <DIR>          .pyco
04/05/2021  18:34    <DIR>          .pylint.d
18/12/2020  23:40    <DIR>          .QtWebEngineProcess
04/12/2022  19:44    <DIR>          .qt_material
26/12/2023  13:38                69 .rezconfig.py
25/08/2023  09:56    <DIR>          .ssh
03/04/2021  12:10    <DIR>          .streamlit
18/12/2020  11:59    <DIR>          .thumbnails
11/10/2024  19:14    <DIR>          .VirtualBox
12/06/2023  11:54    <DIR>          .vscode
13/12/2020  15:45    <DIR>          3D Objects
13/12/2020  19:58    <DIR>          ansel
03/04/2021  16:05    <DIR>          Autodesk
13/12/2020  15:45    <DIR>          Contacts
17/06/2023  18:14    <DIR>          Creative Cloud Files
12/10/2024  20:36    <DIR>          Desktop
20/12/2023  11:18    <DIR>          Documents
13/12/2020  15:45    <DIR>          Favorites
01/06/2023  14:42    <DIR>          FoundryLicensing
13/11/2023  12:43    <DIR>          htoa
19/08/2023  14:32    <DIR>          ktoa
04/11/2023  11:50    <DIR>          Links
24/02/2022  23:25    <DIR>          OneDrive
31/08/2021  20:34    <DIR>          OpenVPN
13/06/2024  20:02    <DIR>          packages
12/01/2024  22:10    <DIR>          rez
23/09/2024  18:43    <DIR>          Saved Games
13/12/2020  15:46    <DIR>          Searches
14/10/2023  21:35    <DIR>          source
18/10/2022  12:34    <DIR>          VirtualBox VMs
13/10/2024  11:08    <DIR>          vkdt
hanatos commented 6 days ago

hm okay still no idea what might be going on. could you try the current nightly package? https://github.com/hanatos/vkdt/releases/download/nightly/vkdt-rawler-0.9.99-10-g4e70b061-win64.zip at this point it doesn't contain any new features over the release, but some changed behaviour wrt file opening.

MrLixm commented 6 days ago

I confirm the version you sent above seems to work as expected ! Just downloaded and double clicked the exe and it worked right away.

hanatos commented 6 days ago

awesome, thanks for confirming. will probably roll a point release in the next couple of days (so i can start pushing feature branches to master, too..).