hanatos / vkdt

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

windows port #103

Open hanatos opened 8 months ago

hanatos commented 8 months ago

this issue is to track the status of the code running on windoos.

working:

not working/not tested:

known problems:

SilvioGrosso commented 8 months ago

Hello @hanatos

Tested on Windows 10 and 11. The CTR+Q shortcut does not work. At present, you are forced to close the application by closing the CMD or Power shell

hanatos commented 8 months ago

i can confirm the decoration. the shortcut works here. did you try ctrl-x ? this might be a lost-in-translation dvorak keyboard/qwerty keyboard thing.

re: decoration: pushed something, maybe it works?

On Thu, Jan 25, 2024 at 5:56 PM SilvioGrosso @.***> wrote:

Hello @hanatos https://github.com/hanatos

Tested on Windows 10 and 11. The CTR+Q shortcut does not work. At present, you are forced to close the application by closing the CMD or Power shell

— Reply to this email directly, view it on GitHub https://github.com/hanatos/vkdt/issues/103#issuecomment-1910610243, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMAKKPU74K3BAKHXUAQC5DYQKFCFAVCNFSM6AAAAABBRPFXC6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJQGYYTAMRUGM . You are receiving this because you were mentioned.Message ID: @.***>

SilvioGrosso commented 8 months ago

Hello @hanatos

Tried on today's build (vkdt-0.7.99-224-g2c414130-win64) Windows 11 (home edition) NVIDIA GeForce RTX 3070 Ti Laptop GPU

CTR+X: works as expected. It closes the App.

Also the decorations (icons on the upper right) are ok.

image

SilvioGrosso commented 8 months ago

Unable to properly display every Tiff (16 bit integer) image (single layer) I have tried so far (exported from RawTherapee, Dxo Photolab, Windows photo) GIMP works fine with the same files (Tiff) Other RAWs and JPEGs files on the same folder work fine. They are both displayed correctly.

BTW, their path work even though it is a bit weird as regards the / \ (e,g, ...\vkdt/...) but with RAWs and JPEGs they samewhat work

Tried on today's build (vkdt-0.7.99-224-g2c414130-win64) Windows 11 (home edition) NVIDIA GeForce RTX 3070 Ti Laptop GPU

image

Here is the output from the CMD: PS C:\Users\gross\Downloads\vkdt-0.7.99-224-g2c414130-win64\vkdt> .\vkdt.exe .\ARMILLARIA_OSTOYAE_pineta_biellese_tiff.tif [gui] glfwGetVersionString() : 3.3.9 Win32 WGL EGL OSMesa MinGW [gui] monitor [0] Generic PnP Monitor at 0 0 [gui] vk extension required by GLFW: [gui] VK_KHR_surface [gui] VK_KHR_win32_surface [gui] no joysticks found [gui] no display profile file display.Generic PnP Monitor, using sRGB! [gui] no display profile file display.Generic PnP Monitor, using sRGB! final handle C:\Users\gross\Downloads\vkdt-0.7.99-224-g2c414130-win64\vkdt\ARMILLARIA_OSTOYAE_pineta_biellese_tiff.tif final handle C:\Users\gross\Downloads\vkdt-0.7.99-224-g2c414130-win64\vkdt\ARMILLARIA_OSTOYAE_pineta_biellese_tiff.tif.cfg [ERR] [i-raw] (C:\Users\gross\Downloads\vkdt-0.7.99-224-g2c414130-win64\vkdt/ARMILLARIA_OSTOYAE_pineta_biellese_tiff.tif) const uint8_t* rawspeed::Buffer::getData(size_type, size_type) const, line 83: Buffer overflow: image file may be truncated

[ERR] [i-raw] (C:\Users\gross\Downloads\vkdt-0.7.99-224-g2c414130-win64\vkdt/ARMILLARIA_OSTOYAE_pineta_biellese_tiff.tif) const uint8_t* rawspeed::Buffer::getData(size_type, size_type) const, line 83: Buffer overflow: image file may be truncated

[ERR] [i-raw] (C:\Users\gross\Downloads\vkdt-0.7.99-224-g2c414130-win64\vkdt/ARMILLARIA_OSTOYAE_pineta_biellese_tiff.tif) const uint8_t* rawspeed::Buffer::getData(size_type, size_type) const, line 83: Buffer overflow: image file may be truncated

[ERR] module display main connector input has uninited size! final handle C:\Users\gross\Downloads\vkdt-0.7.99-224-g2c414130-win64\vkdt\ARMILLARIA_OSTOYAE_pineta_biellese_tiff.tif.cfg [ERR] [i-raw] (C:\Users\gross\Downloads\vkdt-0.7.99-224-g2c414130-win64\vkdt/ARMILLARIA_OSTOYAE_pineta_biellese_tiff.tif) const uint8_t* rawspeed::Buffer::getData(size_type, size_type) const, line 83: Buffer overflow: image file may be truncated

[ERR] [i-raw] (C:\Users\gross\Downloads\vkdt-0.7.99-224-g2c414130-win64\vkdt/ARMILLARIA_OSTOYAE_pineta_biellese_tiff.tif) const uint8_t* rawspeed::Buffer::getData(size_type, size_type) const, line 83: Buffer overflow: image file may be truncated

[ERR] [i-raw] (C:\Users\gross\Downloads\vkdt-0.7.99-224-g2c414130-win64\vkdt/ARMILLARIA_OSTOYAE_pineta_biellese_tiff.tif) const uint8_t* rawspeed::Buffer::getData(size_type, size_type) const, line 83: Buffer overflow: image file may be truncated

[ERR] module o-bc1 main connector input has uninited size! PS C:\Users\gross\Downloads\vkdt-0.7.99-224-g2c414130-win64\vkdt> .\vkdt.exe -d all -D perf .\ARMILLARIA_OSTOYAE_pineta_biellese_tiff.tif [pipe] base directory C:\Users\gross\Downloads\vkdt-0.7.99-224-g2c414130-win64\vkdt [pipe] home directory C:\Users\gross/vkdt/config [pipe] loaded 76 modules [gui] glfwGetVersionString() : 3.3.9 Win32 WGL EGL OSMesa MinGW [gui] monitor [0] Generic PnP Monitor at 0 0 [gui] vk extension required by GLFW: [gui] VK_KHR_surface [gui] VK_KHR_win32_surface [qvk] dev 0: vendorid 0x8086 [qvk] dev 0: Intel(R) Iris(R) Xe Graphics [qvk] max number of allocations 4189191 [qvk] max image allocation size 16384 x 16384 [qvk] max uniform buffer range 134217724 [qvk] dev 1: vendorid 0x10de [qvk] dev 1: NVIDIA GeForce RTX 3070 Ti Laptop GPU [qvk] max number of allocations 4096 [qvk] max image allocation size 32768 x 32768 [qvk] max uniform buffer range 65536 [qvk] num queue families: 3 [qvk] picked device 1 with ray tracing and with float atomics and with coopmat support [qvk] available surface formats: [qvk] B8G8R8A8_UNORM [qvk] B8G8R8A8_SRGB [qvk] A2B10G10R10_UNORM_PACK32 [qvk] colour space: 0 [gui] no joysticks found [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] A2B10G10R10_UNORM_PACK32 [qvk] colour space: 0 [db] allocating 1024.0 MB for thumbnails final handle C:\Users\gross\Downloads\vkdt-0.7.99-224-g2c414130-win64\vkdt\ARMILLARIA_OSTOYAE_pineta_biellese_tiff.tif [mem] images : peak rss 0.000488281 MB vmsize 0.000488281 MB [mem] buffers: peak rss 0 MB vmsize 0 MB [mem] staging: peak rss 0.000244141 MB vmsize 0.000244141 MB [mem] images : peak rss 0.000488281 MB vmsize 0.000488281 MB [mem] buffers: peak rss 0 MB vmsize 0 MB [mem] staging: peak rss 0.000244141 MB vmsize 0.000244141 MB final handle C:\Users\gross\Downloads\vkdt-0.7.99-224-g2c414130-win64\vkdt\ARMILLARIA_OSTOYAE_pineta_biellese_tiff.tif.cfg [ERR] [i-raw] (C:\Users\gross\Downloads\vkdt-0.7.99-224-g2c414130-win64\vkdt/ARMILLARIA_OSTOYAE_pineta_biellese_tiff.tif) const uint8_t* rawspeed::Buffer::getData(size_type, size_type) const, line 83: Buffer overflow: image file may be truncated

[ERR] [i-raw] (C:\Users\gross\Downloads\vkdt-0.7.99-224-g2c414130-win64\vkdt/ARMILLARIA_OSTOYAE_pineta_biellese_tiff.tif) const uint8_t* rawspeed::Buffer::getData(size_type, size_type) const, line 83: Buffer overflow: image file may be truncated

[ERR] [i-raw] (C:\Users\gross\Downloads\vkdt-0.7.99-224-g2c414130-win64\vkdt/ARMILLARIA_OSTOYAE_pineta_biellese_tiff.tif) const uint8_t* rawspeed::Buffer::getData(size_type, size_type) const, line 83: Buffer overflow: image file may be truncated

[ERR] module display main connector input has uninited size! final handle C:\Users\gross\Downloads\vkdt-0.7.99-224-g2c414130-win64\vkdt\ARMILLARIA_OSTOYAE_pineta_biellese_tiff.tif.cfg [ERR] [i-raw] (C:\Users\gross\Downloads\vkdt-0.7.99-224-g2c414130-win64\vkdt/ARMILLARIA_OSTOYAE_pineta_biellese_tiff.tif) const uint8_t* rawspeed::Buffer::getData(size_type, size_type) const, line 83: Buffer overflow: image file may be truncated

[ERR] [i-raw] (C:\Users\gross\Downloads\vkdt-0.7.99-224-g2c414130-win64\vkdt/ARMILLARIA_OSTOYAE_pineta_biellese_tiff.tif) const uint8_t* rawspeed::Buffer::getData(size_type, size_type) const, line 83: Buffer overflow: image file may be truncated

[ERR] [i-raw] (C:\Users\gross\Downloads\vkdt-0.7.99-224-g2c414130-win64\vkdt/ARMILLARIA_OSTOYAE_pineta_biellese_tiff.tif) const uint8_t* rawspeed::Buffer::getData(size_type, size_type) const, line 83: Buffer overflow: image file may be truncated

[ERR] module o-bc1 main connector input has uninited size! [db] [thm] running the thumbnail graph failed on image 'C:\Users\gross\Downloads\vkdt-0.7.99-224-g2c414130-win64\vkdt\ARMILLARIA_OSTOYAE_pineta_biellese_tiff.tif.cfg'!

trlsmax commented 7 months ago

With vkdt-0.7.99-297-g66454e77-win64 build on WIN10 with NVIDIA GeForce RTX 3060

Fail to open any raw file in darkroom mode

[ERR] module display main connector input has uninited size!

when I use vkdt-rawler-0.7.99-297-g66454e77-win64 build, ARW file from SONY A7S camera works fine. but failed on preview RICOH GR IIIx's DNG file in lighttable mode

final handle D:\DL\temp\vkdt\default.i-raw
thread '<unnamed>thread '' panicked at <unnamed>lib.rs' panicked at :lib.rs79::7945::
45called `Result::unwrap()` on an `Err` value: Unsupported { what: "No decoder found", model: "", make: "", mode: "" }:

called `Result::unwrap()` on an `Err` value: Unsupported { what: "No decoder found", model: "", make: "", mode: "" }note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace