Summary: | Import *listing* from "Canon PowerShot G5 (normal mode)" takes very long | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Axel Thimm <Axel.Thimm> |
Component: | Import-Gphoto2 | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | caulier.gilles |
Priority: | NOR | ||
Version: | 1.3.0 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 2.1.0 |
Description
Axel Thimm
2010-07-06 14:39:49 UTC
Can you try with digiKam 1.3.0 ? Gilles Caulier I tried building 1.3.0 on F13 (kde 4.4.4), but it looks like digikam 1.3.0 needs libkdcraw >= 1.1.0 and libkexiv2 >= 1.1.0 while kdegraphics-4.4.4 only provides 1.0.0 and 0.6.0 respectively. I upgraded to 1.3.0. For this I built and installed the following packages digikam-1.3.0-1.fc13.x86_64.rpm digikam-libs-1.3.0-1.fc13.x86_64.rpm kdegraphics-4.4.90-2.fc13.x86_64.rpm kdegraphics-libs-4.4.90-2.fc13.x86_64.rpm kdelibs-4.4.90-1.fc13.x86_64.rpm kdelibs-common-4.4.90-1.fc13.x86_64.rpm kio_msits-4.4.90-2.fc13.x86_64.rpm soprano-2.4.63-3.fc13.x86_64.rpm (I actually built more, but these were needed for runtime) The behaviour didn't change the long time execution, the same set of pictures in the same camera now create the following log: 08:51:59 :: Connecting to camera... 08:51:59 :: Connection established. 08:51:59 :: Listing folders... 08:51:59 :: The folders have been listed. 08:51:59 :: Listing files in /home/thimm/.gvfs/gphoto2 mount on usb%3A005,018... 08:51:59 :: The files in /home/thimm/.gvfs/gphoto2 mount on usb%3A005,018 have been listed. 08:51:59 :: Listing files in /home/thimm/.gvfs/gphoto2 mount on usb%3A005,018/DCIM... 08:51:59 :: The files in /home/thimm/.gvfs/gphoto2 mount on usb%3A005,018/DCIM have been listed. 08:51:59 :: Listing files in /home/thimm/.gvfs/gphoto2 mount on usb%3A005,018/DCIM/148CANON... 08:56:38 :: The files in /home/thimm/.gvfs/gphoto2 mount on usb%3A005,018/DCIM/148CANON have been listed. 08:56:38 :: Listing files in /home/thimm/.gvfs/gphoto2 mount on usb%3A005,018/DCIM/149CANON... 08:58:29 :: The files in /home/thimm/.gvfs/gphoto2 mount on usb%3A005,018/DCIM/149CANON have been listed. 08:58:29 :: Listing files in /home/thimm/.gvfs/gphoto2 mount on usb%3A005,018/DCIM/CANONMSC... 08:58:29 :: The files in /home/thimm/.gvfs/gphoto2 mount on usb%3A005,018/DCIM/CANONMSC have been listed. 08:58:29 :: Listing files in /home/thimm/.gvfs/gphoto2 mount on usb%3A005,018/MISC... 08:58:29 :: The files in /home/thimm/.gvfs/gphoto2 mount on usb%3A005,018/MISC have been listed. 08:58:29 :: Getting thumbnails for CRW_4904.CRW... 08:58:57 :: Getting thumbnails for CRW_4903.CRW... 08:59:25 :: Getting thumbnails for CRW_4902.CRW... 08:59:52 :: Getting thumbnails for CRW_4901.CRW... 09:00:19 :: Getting thumbnails for CRW_4900.CRW... 09:00:47 :: Getting thumbnails for CRW_4899.CRW... 09:01:14 :: Getting thumbnails for CRW_4898.CRW... 09:01:40 :: Getting thumbnails for CRW_4897.CRW... 09:02:07 :: Getting thumbnails for CRW_4896.CRW... 09:02:34 :: Getting thumbnails for CRW_4895.CRW... 09:03:00 :: Getting thumbnails for CRW_4894.CRW... 09:03:27 :: Getting thumbnails for CRW_4893.CRW... 09:03:53 :: Getting thumbnails for CRW_4892.CRW... 09:04:20 :: Getting thumbnails for CRW_4891.CRW... 09:04:47 :: Getting thumbnails for IMG_4890.JPG... Time mangling is there : 08:51:59 :: Listing files in /home/thimm/.gvfs/gphoto2 mount on usb%3A005,018/DCIM/148CANON... 08:56:38 :: The files in /home/thimm/.gvfs/gphoto2 mount on usb%3A005,018/DCIM/148CANON have been listed. Your camera is canon mounted through Gphoto2 driver. It's not a USB Mass Storage camera. ALso, look like thumb operation are long : 09:00:19 :: Getting thumbnails for CRW_4900.CRW... 09:00:47 :: Getting thumbnails for CRW_4899.CRW... 09:01:14 :: Getting thumbnails for CRW_4898.CRW... Around 20 seconds to get one thumb from RAW... Here with my Sony camera, UMS mode, getting thumb take less than 1 seconds by item. Which libgphoto2 version you use ? Look in Help/Components Info for details. Also take CF card reader, and try please confirm that it's very fast in this case. Note : Previous week end, i played with a Canon EOS 500D camera from a friend. Camera have been connected to my laptop, running Mandriva 2010.1 (libgphoto2 2.4.9), and all items have been displayed very quickly (all files have been JPEG, not RAW) Gilles Caulier I'm using libgphoto2 2.4.8. But note that the same library is being used by the other three apps I mentioned and these do pull in the listing and thumbs within a few seconds. Maybe the difference is in the way libgphoto2 API is used? Perhaps. If you want to take a look, all libghoto2 code called by digiKam is wrapped into this class : http://lxr.kde.org/source/extragear/graphics/digikam/utilities/cameragui/gpcamera.h http://lxr.kde.org/source/extragear/graphics/digikam/utilities/cameragui/gpcamera.cpp GPCamera class is children class of DKcamera : http://lxr.kde.org/source/extragear/graphics/digikam/utilities/cameragui/dkcamera.h Gilles Caulier A tools to try with digiKam is cachegrind, to look where time is consumed into GPCamera class : http://lxr.kde.org/source/extragear/graphics/digikam/HACKING#243 Gilles Caulier Same problem than https://bugs.kde.org/show_bug.cgi?id=236394 It's probably fixed in next 2.1.0 (current code from git master) Can you test with this source code ? Gilles Caulier For me this file is fixed now (future digiKam 2.1.0). Please re-open if necessary... Gilles Caulier |