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.05k stars 1.11k forks source link

Selecting tether shooting with a Fuji X-H1 plugged (with camera in tether mode) crashes Darktable #17018

Open LucasGGamerM opened 1 week ago

LucasGGamerM commented 1 week ago

Describe the bug

Trying to activate a tether connection makes the program crash.

Steps to reproduce

Plug camera into computer (with the camera being in tether mode), open Darktable, unmount the camera from the filesystem, click on the start tethering button, and see the crash.

Expected behavior

Darktable should start a tethering connection.

Logfile | Screenshot | Screencast

I couldn't find them on the flatpak, but I am willing to give it once I find the backtrace.

Commit

No response

Where did you obtain darktable from?

flatpak

darktable version

4.6.1

What OS are you using?

Linux

What is the version of your OS?

PopOS 22.04

Describe your system?

No response

Are you using OpenCL GPU in darktable?

Yes

If yes, what is the GPU card and driver?

Nvidia 3050, using latest available driver

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

No response

paperdigits commented 1 week ago

Have you made sure that the flatpak has the proper permissions to access the tethered camera?

LucasGGamerM commented 1 week ago

Have you made sure that the flatpak has the proper permissions to access the tethered camera?

I am not sure. How can I check that?

paperdigits commented 1 week ago

Get the application "Flatseal" its an easy GUI to inspect the sandbox permissions of a flatpak.

LucasGGamerM commented 1 week ago

Get the application "Flatseal" its an easy GUI to inspect the sandbox permissions of a flatpak.

It has access to all devices, and copy and import works. But not tethered shooting

paperdigits commented 1 week ago

Is the camera storage mounted by your desktop environment automatically when it is connected?

Also is your camera supported by libgphoto2?

On June 21, 2024 4:30:59 PM PDT, LucasGGamerM @.***> wrote:

Get the application "Flatseal" its an easy GUI to inspect the sandbox permissions of a flatpak.

It has access to all devices, and copy and import works. But not tethered shooting

-- Reply to this email directly or view it on GitHub: https://github.com/darktable-org/darktable/issues/17018#issuecomment-2183579246 You are receiving this because you commented.

Message ID: @.***>

LucasGGamerM commented 1 week ago

Is the camera storage mounted by your desktop environment automatically when it is connected? Also is your camera supported by libgphoto2? On June 21, 2024 4:30:59 PM PDT, LucasGGamerM @.> wrote: > Get the application "Flatseal" its an easy GUI to inspect the sandbox permissions of a flatpak. It has access to all devices, and copy and import works. But not tethered shooting -- Reply to this email directly or view it on GitHub: #17018 (comment) You are receiving this because you commented. Message ID: @.>

Yes, as per https://github.com/gphoto/libgphoto2/wiki/List-of-cameras it is.

And I always unmount the camera from the desktop, otherwise darktable won't detect it

paperdigits commented 1 week ago

Alright, how about the first question?

On June 21, 2024 4:59:14 PM PDT, LucasGGamerM @.***> wrote:

Is the camera storage mounted by your desktop environment automatically when it is connected? Also is your camera supported by libgphoto2? On June 21, 2024 4:30:59 PM PDT, LucasGGamerM @.> wrote: > Get the application "Flatseal" its an easy GUI to inspect the sandbox permissions of a flatpak. It has access to all devices, and copy and import works. But not tethered shooting -- Reply to this email directly or view it on GitHub: #17018 (comment) You are receiving this because you commented. Message ID: @.>

Yes, as per https://github.com/gphoto/libgphoto2/wiki/List-of-cameras it is.

-- Reply to this email directly or view it on GitHub: https://github.com/darktable-org/darktable/issues/17018#issuecomment-2183592116 You are receiving this because you commented.

Message ID: @.***>

LucasGGamerM commented 1 week ago

Alright, how about the first question? On June 21, 2024 4:59:14 PM PDT, LucasGGamerM @.> wrote: > Is the camera storage mounted by your desktop environment automatically when it is connected? Also is your camera supported by libgphoto2? > > On June 21, 2024 4:30:59 PM PDT, LucasGGamerM @.> wrote: > Get the application "Flatseal" its an easy GUI to inspect the sandbox permissions of a flatpak. It has access to all devices, and copy and import works. But not tethered shooting -- Reply to this email directly or view it on GitHub: [#17018 (comment)](#17018 (comment)) You are receiving this because you commented. Message ID: @.> Yes, as per https://github.com/gphoto/libgphoto2/wiki/List-of-cameras it is. -- Reply to this email directly or view it on GitHub: #17018 (comment) You are receiving this because you commented. Message ID: @.>

Yes.

paperdigits commented 1 week ago

Can you unmount it and forbid your desktop from mounting it?

Secondly, if you install gphoto2 and try using it from the command line, does it work?

On June 22, 2024 3:15:16 AM PDT, LucasGGamerM @.***> wrote:

Alright, how about the first question? On June 21, 2024 4:59:14 PM PDT, LucasGGamerM @.> wrote: > Is the camera storage mounted by your desktop environment automatically when it is connected? Also is your camera supported by libgphoto2? > > On June 21, 2024 4:30:59 PM PDT, LucasGGamerM @.> wrote: > Get the application "Flatseal" its an easy GUI to inspect the sandbox permissions of a flatpak. It has access to all devices, and copy and import works. But not tethered shooting -- Reply to this email directly or view it on GitHub: [#17018 (comment)](#17018 (comment)) You are receiving this because you commented. Message ID: @.> Yes, as per https://github.com/gphoto/libgphoto2/wiki/List-of-cameras it is. -- Reply to this email directly or view it on GitHub: #17018 (comment) You are receiving this because you commented. Message ID: @.>

Yes.

-- Reply to this email directly or view it on GitHub: https://github.com/darktable-org/darktable/issues/17018#issuecomment-2183970030 You are receiving this because you commented.

Message ID: @.***>

LucasGGamerM commented 1 week ago

I can unmount it, but I am not sure how to forbid it.

And yes, yesterday I was messing around with gphoto2 in the command line and the live view feature and taking a picture directly from the command line worked fine.