Bug 336022 - Image download from camera too slow to be useful.
Summary: Image download from camera too slow to be useful.
Status: RESOLVED UPSTREAM
Alias: None
Product: digikam
Classification: Applications
Component: Import-Gphoto2 (show other bugs)
Version: 3.5.0
Platform: Ubuntu Linux
: NOR grave
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-10 04:25 UTC by alansbarnett
Modified: 2022-01-24 20:49 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.6.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alansbarnett 2014-06-10 04:25:32 UTC
I attempted to download images from a Nikon D3100 camera.  The camera has a 32 GB SD card with about 1000 images.  Each image is stored in both raw (NEF) and compressed (jpeg) format.
I attached the camera to the computer via USB.  When I try to improt the images, the images are imported at a rate of about 1 per minute

I opened digikam, clicked the 'Import' button and selected the camera from the pulldown menu.  The camera interface window opened, but took a long time (a minute or two) to before it displayed the thumbnails. 

Reproducible: Always

Steps to Reproduce:
1. Connect the Camera to the computer via USB
2. Open digikam
3. Select the camera from the "Import" menu.
4. Wait several minutes for the camera interface window to open and the thumbnails to be displayed
5. Click Download->All 
Actual Results:  
Digikam starts to download the images from the camera.  The images are downloaded very slowly (about 1 image per minute).  (At this rate, it would take nearly 24 hours  to download all the images; the camera battery would fully discharge before the download would finish.) During the download, the thumbnails in the camera interface window frequently change from color to grayscale

Expected Results:  
The images should download at least 100x faster.

I'm running Ubuntu 14.04.
I compiled digikam 4.0.0 on the system and observed the same problem.  I then renamed the digiikam 4.0.0 and installed digikam 3.5 from the Ubuntu distro.

I recently upgraded from Ubuntu 13.04 (now obsolete).  I had installed digikam 3.5 before the upgrade, and the import ran at a reasonable speed.
Comment 1 caulier.gilles 2014-06-10 06:04:34 UTC
Nikon camera use Gphoto2 camera driver.

The dysfunction is clear : with same digiKam version running on different Ubuntu releases, You see introduced time latency with last internal components. This want mean that libgphoto, or libusb, has a problem (or another sub library)...

Gilles Caulier
Comment 2 alansbarnett 2014-06-10 12:46:47 UTC
Gilles,
     Thanks for the reply.
What can I do to fix the bug?  Would removing and re-installing 
libgphoto or libusb help?
Alan
On 06/10/2014 02:04 AM, Gilles Caulier wrote:
> https://bugs.kde.org/show_bug.cgi?id=336022
>
> Gilles Caulier <caulier.gilles@gmail.com> changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>               Status|UNCONFIRMED                 |RESOLVED
>                   CC|                            |caulier.gilles@gmail.com
>           Resolution|---                         |UPSTREAM
>
> --- Comment #1 from Gilles Caulier <caulier.gilles@gmail.com> ---
> Nikon camera use Gphoto2 camera driver.
>
> The dysfunction is clear : with same digiKam version running on different
> Ubuntu releases, You see introduced time latency with last internal components.
> This want mean that libgphoto, or libusb, has a problem (or another sub
> library)...
>
> Gilles Caulier
>
Comment 3 caulier.gilles 2014-06-10 13:41:21 UTC
Report this UPSTREAM problem to Ubuntu and CC Gphoto2 team for info...

Gilles Caulier
Comment 4 alansbarnett 2014-06-10 13:52:54 UTC
On 06/10/2014 09:41 AM, Gilles Caulier wrote:
This is a digikam issue.  I downloaded gphoto2 and executed

gphoto2 --get-all-files

and 999 NEF files and 999 jpeg files were downloaded in 15 minutes.
> https://bugs.kde.org/show_bug.cgi?id=336022
>
> --- Comment #3 from Gilles Caulier <caulier.gilles@gmail.com> ---
> Report this UPSTREAM problem to Ubuntu and CC Gphoto2 team for info...
>
> Gilles Caulier
>
Comment 5 caulier.gilles 2014-06-10 13:55:25 UTC
If you use digiKam 3.5.0 with an old Ubuntu release without a problem and the same 3.5.0 version with a new Ubuntu release with problems, it's certainly not a digiKam problem.