darktable-org / darktable

darktable is an open source photography workflow application and raw developer
https://www.darktable.org
GNU General Public License v3.0
9.12k stars 1.11k forks source link

Darktable keeps crashing while using Wacom Tablet #17004

Open ghost opened 1 month ago

ghost commented 1 month ago

Describe the bug

Darktable constantly crashes everytime I try to select multiple photos using the Shift key, or trying to select multple photos holding down the Ctrl key… I’m using Windows. Darktable seems pretty un user friendly when it comes to usind a Wacom tablet. It would be great if your can do something the make Darktable more robust to allow Wacom tablets to be used without bugs (constantly will not select a photo when pressing the wacom tablet with wacom pen nib as one example).

Aslo… when importing a selection of frames, the import dialogue box show image sequences select by type, but the sequense numbers are all messed up. EG: it is NOT 0001, 0002, 0003, 0004 etc… It is 0001, 0003, 0006, 0002, 0004 etc…

Only when you select the "name header" at the top that put the image sequence correctly… but that is a problem when you have multiple images sequences with multiple file types… I have a screen capture to show you what I mean but cannot attach here fore some reason…

Any assistance appreciated, thanks.

Steps to reproduce

Press Wacom Pen nib to tablet while holding Ctrl to sleect images in the Lighttable portion of Darktable.

It does not select intended image then crashes.

Expected behavior

No response

Logfile | Screenshot | Screencast

Unable to locate crash report.

Commit

No response

Where did you obtain darktable from?

downloaded from www.darktable.org

darktable version

darktable-4.6.1-win64.exe

What OS are you using?

Windows

What is the version of your OS?

Windows 11 Pro version 23H2

Describe your system?

Processor 13th Gen Intel(R) Core(TM) i9-13900K 3.00 GHz Installed RAM 128 GB (128 GB usable) System type 64-bit operating system, x64-based processor Pen and touch Pen support

Are you using OpenCL GPU in darktable?

I dont know

If yes, what is the GPU card and driver?

No response

Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip

jason@fathomvfx.com

ghost commented 4 weeks ago

To add to this annoying bug, when it crashes after usinf the wacom tablet, it now wipes out all the images I had cached in Lighttable workspace. Would be great if the Wacom Tablet can be integrated so Darktabloe is stable and not crashing all the time.

ghost commented 4 weeks ago

Further update: While Darktable is crashing many times (like over 50 times in the last couple of hours) it is now crashing using a mouse. No where near as much, but worth noting.

ghost commented 4 weeks ago

further to the issues descibed, it seems using the Shift buttome while trying to selsct images with the wacom tablet pen, seems to crash the program almost every single time. I had it happen consecutively 10 times. when opening back up it defaults to a very old "Saved version" where the export folder is comletely different to what was set up, along with having to bring in all the images againa and again. Very frustrating and time consuming. Still haven't heard anything from anybody. assisatance needed and appreciated.

ghost commented 4 weeks ago

I'm doing a very simple process in Darktable where the issues with the Wacon Tabloet pen are happening.

I select a bunch of CR2 images and bring them into Darktable's "Lighttable" section.

I then select three of the same images with different exposures of each (eith by the Ctrl or Shift key to selsct them, where the crashing bug is happening) and hit the "create HDR" button.

I then go into the "Darkroom" sectiojn to adjust the newly created HDR to make sure the exposure is not blowing out.

I then save then export out as an Open EXR 16 bit DWAB (sRGB web safe profile).

I then go back the the "Lighttable" section to "remove" the three CR2 images plus the created .dng file, where, once again the Ctrl or Shift selection bud that crashes Darktable can happen and does happen againa and again.

The reason this is real issues is because I have thousands of these images to process int eh step I have outlined above.

and the crashing simply makes the whole process slow and very frustrating.

There times the App does work well and stable while using a Wacom pen and tablet but it is intermittant and un relyable.

I hope to hear from someone soon.

wpferguson commented 4 weeks ago

Have you tried using a mouse? If you use a mouse and darktable doesn't crash, then it probably has something to do with the tablet. If darktable still crashes, then we know it's probably a different issue.

We're not ignoring you, but we really have no idea where to start with your problem. Very few of us run windows and I'm pretty sure that none of those running windows have a wacom tablet and are using it with darktable.

ghost commented 3 weeks ago

Yes, I have been using a mouse. And it has only crashed a couple of times using a mouse.

The whole point of using the tablet for me is to stop getting repetative strain injury from my mouse using hand as this process is very repitative heavy.

I am left handed and use a mouse with my right hand.

So using a wacom tablet with my left hand helps aleviate the pain in my wrist and shoulder in my right hand and arm.

At some point i will be going back into my Linux partition and will install Darktable there and see what it does with the wacom tablet then.

But because Linus folder structure does not show a thumbnail pictures like windows does ( i ndeed the folder thumbnails as visual refernces to know which images I am needed to shift when processing is complete) I will still need to be using Darktable in Windows.

Ok cool. It would be helpful to know where to find the crash logs so I can at least give them to you to see why it keeps crashing.

I have tried following the file path I found on one of the Darktable blogs but the folder does not exist on the this version of Windows so I am ata an impass on finding the crash log.

Any assistance on finding the crash log might help give you some insight.

wpferguson commented 3 weeks ago

The output should be in %LOCALAPPDATA%\Microsoft\Windows\INetCache\darktable\. I couldn't get it to show until I ran darktable from the command line with a -d flag to create a log. You could run "\Program Files\darktable\bin\darktable.exe" -d common which should create the file darktable-log.txtin the INetCache\darktable folder

A (sometimes maligned) feature of darktable that can help with repetitive stress is act on images which simply means that if you hover the mouse over an image it is active and you can apply keyboard shortcuts to it. With the shortcut system you can assign keystrokes to operations (or scripts that perform multiple operations, i.e. workflow automation).

ghost commented 3 weeks ago

Ok great. Thank you for your assistance. Much appreciated.

pehar1 commented 3 weeks ago

At some point i will be going back into my Linux partition and will install Darktable there and see what it does with the wacom tablet then.

If this possibility exists, this would be the preferred approach. You have the hardware and associated drivers, you can reproduce the problem. You may be able to narrow down yourself whether the problem is really due to the Wacom tablet. In any case, a crash log is required for troubleshooting.

has only crashed a couple of times using a mouse.

So it also crashed when using the mouse? How did you come to the conclusion then that the tablet is the cause?

ghost commented 3 weeks ago

"In any case, a crash log is required for troubleshooting."

Where is the crash log located on Windows?

No documentation I have found so far has given me the correct location.

"If this possibility exists, this would be the preferred approach."

As stated previously, Linux does not give accurate image thumbnails of image files in folders, hence using Windows for now.

"You have the hardware and associated drivers, you can reproduce the problem. You may be able to narrow down yourself whether the problem is really due to the Wacom tablet."

Not sure what you are trying to say. Yes, my machine has plenty of power. Why would it make any difference on Linux? I'm using Windows right now and Darktable is having issues crashing consistently with a Wacom Tablet, so are you not able to assist resolving the issue at hand on a Windows configuration?

"So it also crashed when using the mouse? How did you come to the conclusion then that the tablet is the cause?"

Yes. A couple of times.

As described previously. I use the wacom with my left hamd and the mouse with my right so it's pretty easy to know what is crahing ridiculaous amount vs occasionally. I thought it appropriate to communicate to you about the couple of crashes using a mouse as well.

Any assistance finding the crash log on a Windows OS appreciated. Then I can pass that on to you for review.

ptilopteri commented 3 weeks ago

getting a little bit nasty there. frustration?

did you try googling for "darktable crash logs on windows"

-- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet oftc

ghost commented 3 weeks ago

not sure where the nasty is coming from.

frustration yes, but no nasty from me.

maybe ask perhar1.

just trying to give you as much info as I can while trying to get on with my job at hand as well as trying to ge this sorted as soon as possible.

Yes. I have googled and the little results found were a dead end as search the result was old and folder path indicated was incorrect for the OS version I have.

I wouldn't have asked here without doing some due diligence and research beforehand.

I'm still getting aquainted with Darktable so appreciate any support in getting this resolved.

ptilopteri commented 3 weeks ago

I don't run windows but the search I suggested DID provide the location you need.

-- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet oftc

ghost commented 3 weeks ago

Ok.

Will try your suggestion when I am back in windows.

Thanks.

gi-man commented 3 weeks ago

Does it crash with the mouse if the tablet is unplugged?

Use dartkable -d common from cmd to generate the logfile.

You will find the log info for windows in the FAQ. The folder does not show via mouse, you have to type it https://www.darktable.org/about/faq/#faq-windows-logs

pehar1 commented 3 weeks ago

Why would it make any difference on Linux?

Different drivers, for example. From your description it is not clear if your issue is

Linux does not give accurate image thumbnails of image files in folders ...

I am not saying that you should switch to Linux in general, just to check whether the problem described also occurs in a similar way under another OS. A troubleshooting step ...

Since no one seems to be able to reproduce the issue, the only way to help is to get the most accurate information possible from your side. And the most important first step is to provide a crash log. @wpferguson and @gi-man already gave you hints how to generate such a log. And there are also numerous discussion posts on this task in the forum https://discuss.pixls.us/c/software/darktable/19 (use the search function).

... so are you not able to assist resolving the issue at hand on a Windows configuration?

Please cool down. As already mentioned, darktable is developed almost exclusively under Linux. Only very few of the developers use a Windows environment at all. And all the development is done in their spare time (FOSS). Everyone here wants to help, but please be patient and help us to help you ...