[Digikam-users] Problems on Ubuntu 11.04

Thomas G├╝ttler guettli at thomas-guettler.de
Wed Oct 5 22:27:29 BST 2011


Hi,

I use the ppa for ubuntu 11.04 from philipp.
/etc/apt/sources.list.d/philip5-extra-natty.list:deb 
http://ppa.launchpad.net/philip5/extra/ubuntu natty main
/etc/apt/sources.list.d/philip5-extra-natty.list:deb-src 
http://ppa.launchpad.net/philip5/extra/ubuntu natty main

root at e520:~# digikam --version
Qt: 4.7.2
KDE Development Platform: 4.6.2 (4.6.2)
digiKam: 2.1.1

I removed all old digikam configs, since I only tried it, but never
used it.

I have 35.000 jpegs. In the lower left corner I see "Scanning 0%" which 
takes quite long. I can't use the GUI. That's not very user friendly, 
but no problem for me.

Then the scanning seems to be done. But
digikam uses 30% CPU 50% on a modern Laptop CPU (Intel(R) Core(TM)
i5-2410M CPU @ 2.30GHz). But I don't do anything with the GUI. But
what does digikam do? I guess the import of my directory was done:

root at e520:~# strace -p 3343 2>&1 | grep open
open("/home/guettli/Bilder", 
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 50
open("/home/guettli/Bilder", 
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 50
open("/home/guettli/Bilder", 
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 48
....


Then I want to look at some pictures: only some pictures are
visible. And the one which can be seen are blinking. But most pictures
are not visible (white backgrund).

I want to know what digikam does:


strace -p 3343
Process 3343 attached - interrupt to quit
restart_syscall(<... resuming interrupted call ...>) = 1
clock_gettime(CLOCK_MONOTONIC, {18161, 972780772}) = 0
read(10, 0x908e0f8, 4096)               = -1 EAGAIN (Resource 
temporarily unavailable)
ioctl(28, FIONREAD, [96])               = 0
read(28, "S\4\0\0\0\1\0\0\0\0\0\0 \0\0\0thumbnails-digik"..., 96) = 96
stat64("/home/guettli/Bilder/thumbnails-digikam.db-journal", 
{st_mode=S_IFREG|0644, st_size=8768, ...}) = 0
clock_gettime(CLOCK_MONOTONIC, {18161, 973105940}) = 0
read(10, 0x908e0f8, 4096)               = -1 EAGAIN (Resource 
temporarily unavailable)
read(20, 0x90e1e90, 4096)               = -1 EAGAIN (Resource 
temporarily unavailable)
poll([{fd=6, events=POLLIN}, {fd=15, events=POLLIN|POLLPRI}, {fd=17, 
events=POLLIN|POLLPRI}, {fd=18, events=POLLIN|POLLPRI}, {fd=19, 
events=POLLIN|POLLPRI}, {fd=20, events=POLLIN}, {fd=22, events=POLLIN}, 
{fd=26, events=POLLIN}, {fd=10, events=POLLIN}, {fd=27, events=POLLIN}, 
{fd=28, events=POLLIN}, {fd=31, events=POLLIN}, {fd=35, events=POLLIN}, 
{fd=43, events=POLLIN}, {fd=23, events=POLLIN}], 15, 289) = 1 ([{fd=28, 
revents=POLLIN}])
clock_gettime(CLOCK_MONOTONIC, {18161, 973569059}) = 0
read(10, 0x908e0f8, 4096)               = -1 EAGAIN (Resource 
temporarily unavailable)
ioctl(28, FIONREAD, [48])               = 0
read(28, "S\4\0\0\2\0\0\0\0\0\0\0 \0\0\0thumbnails-digik"..., 48) = 48
clock_gettime(CLOCK_MONOTONIC, {18161, 973748110}) = 0
read(10, 0x908e0f8, 4096)               = -1 EAGAIN (Resource 
temporarily unavailable)
read(20, 0x90e1e90, 4096)               = -1 EAGAIN (Resource 
temporarily unavailable)
poll([{fd=6, events=POLLIN}, {fd=15, events=POLLIN|POLLPRI}, {fd=17, 
events=POLLIN|POLLPRI}, {fd=18, events=POLLIN|POLLPRI}, {fd=19, 
events=POLLIN|POLLPRI}, {fd=20, events=POLLIN}, {fd=22, events=POLLIN}, 
{fd=26, events=POLLIN}, {fd=10, events=POLLIN}, {fd=27, events=POLLIN}, 
{fd=28, events=POLLIN}, {fd=31, events=POLLIN}, {fd=35, events=POLLIN}, 
{fd=43, events=POLLIN}, {fd=23, events=POLLIN}], 15, 288) = 1 ([{fd=28, 
revents=POLLIN}])
clock_gettime(CLOCK_MONOTONIC, {18162, 31449193}) = 0
read(10, 0x908e0f8, 4096)               = -1 EAGAIN (Resource 
temporarily unavailable)
ioctl(28, FIONREAD, [48])               = 0
read(28, "S\4\0\0\2\0\0\0\0\0\0\0 \0\0\0thumbnails-digik"..., 48) = 48
clock_gettime(CLOCK_MONOTONIC, {18162, 31796667}) = 0
read(10, 0x908e0f8, 4096)               = -1 EAGAIN (Resource 
temporarily unavailable)
read(20, 0x90e1e90, 4096)               = -1 EAGAIN (Resource 
temporarily unavailable)

FD 10 and 20 are unix sockets. I could not find the unix-domain socket 
file or the other attached process with netstat.

How can I use digikam2 on Ubuntu 11.04? Or should I wait for 11.10?


-- 
Thomas Guettler http://www.thomas-guettler.de/



More information about the Digikam-users mailing list