No thumbs !

classic Classic list List threaded Threaded
15 messages Options
Reply | Threaded
Open this post in threaded view
|

No thumbs !

Michele "O-Zone" Pinassi
Hi all,
i've complied, from sources, Digikam 0.9.0-beta-2 on Kde 3.5.0 in my
slackware. All goes ok, i've installed all dependencies (including exiv and
so on..) BUT digikam don't create thumbs of my photos ! No errors, nothing,
only that *ugly* icons instelad of my photo's thumbs.

Someone can help me ?

--
----
O-Zone ! Since 1996
WEB http://www.zerozone.it
BLOG http://blog.zerozone.it
Honeymoon http://www.lunamieleros.info
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: No thumbs !

Gilles Caulier-2
On Tuesday 26 September 2006 20:52, Michele "O-Zone" Pinassi wrote:
> Hi all,
> i've complied, from sources, Digikam 0.9.0-beta-2 on Kde 3.5.0 in my
> slackware. All goes ok, i've installed all dependencies (including exiv and
> so on..) BUT digikam don't create thumbs of my photos ! No errors, nothing,
> only that *ugly* icons instelad of my photo's thumbs.
>
> Someone can help me ?

This is certainly an installation problem. Thumbs computation are dedicaced to
kio slave, runing outside of digiKam

Give us your console messages and your ~./xsession-errors file contents.

Gilles
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Help finding thumbnail cache settings?

Bugzilla from dennis@meulensteen.nl
Hi,
I know that thumbs are generated by KDE somehow, but can anyone tell me where
to increase the thumbnail cache size? Everytime I scroll through my
collection the thumbnails get regenerated and this slows down DigiKam too
much for my taste. I'd gladly dedicate 25% of my HD space just to thumbs, if
only I could find out how!

Dennis
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Help finding thumbnail cache settings?

Gilles Caulier-2
On Wednesday 27 September 2006 08:43, Dennis Meulensteen wrote:
> Hi,
> I know that thumbs are generated by KDE somehow, but can anyone tell me
> where to increase the thumbnail cache size? Everytime I scroll through my
> collection the thumbnails get regenerated and this slows down DigiKam too
> much for my taste. I'd gladly dedicate 25% of my HD space just to thumbs,
> if only I could find out how!
>

The thumbs are store in a standard place define by opendeskop.org :
~./thumbnails.

It's shared with other KDE applications.

Gilles
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Help finding thumbnail cache settings?

Bugzilla from dennis@meulensteen.nl
On Wednesday 27 September 2006 09:26, Gilles Caulier wrote:
> The thumbs are store in a standard place define by opendeskop.org :
> ~./thumbnails.
>
> It's shared with other KDE applications.

Thanks Gilles, but how do I increase the available space or the max number of
cached items?

Dennis
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

thumbnail cache settings / Logic?

Bugzilla from dennis@meulensteen.nl
On Wednesday 27 September 2006 09:50, Dennis Meulensteen wrote:
> On Wednesday 27 September 2006 09:26, Gilles Caulier wrote:
> > The thumbs are store in a standard place define by opendeskop.org :
> > ~./thumbnails.
> >
> > It's shared with other KDE applications.
>
> Thanks Gilles, but how do I increase the available space or the max number
> of cached items?
>
What is actually the logic used to expire thumbs? Is this something the user
can influence?

Dennis
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: thumbnail cache settings / Logic?

Gilles Caulier-2
On Wednesday 27 September 2006 13:27, Dennis Meulensteen wrote:

> On Wednesday 27 September 2006 09:50, Dennis Meulensteen wrote:
> > On Wednesday 27 September 2006 09:26, Gilles Caulier wrote:
> > > The thumbs are store in a standard place define by opendeskop.org :
> > > ~./thumbnails.
> > >
> > > It's shared with other KDE applications.
> >
> > Thanks Gilles, but how do I increase the available space or the max
> > number of cached items?
>
> What is actually the logic used to expire thumbs? Is this something the
> user can influence?

The only things that user can do in 0.9.0 is to cleanup thumbnails cache and
rebuild it using /tools/Rebuild all thumbnails menu option from album gui.

Gilles
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Help finding thumbnail cache settings?

Marcel Wiesweg
In reply to this post by Bugzilla from dennis@meulensteen.nl
> Hi,
> I know that thumbs are generated by KDE somehow,

Digikam uses its own thumbnail ioslave, but uses the common storage.

> but can anyone tell me
> where to increase the thumbnail cache size? Everytime I scroll through my
> collection the thumbnails get regenerated and this slows down DigiKam too
> much for my taste. I'd gladly dedicate 25% of my HD space just to thumbs,
> if only I could find out how!

The thumbs are generated, stored in ~/.thumbnails and not deleted at any
limit.
So this happens only the very first time a thumbnail is needed.

Each time digikam is loaded, the thumbnail files (.png) need to be loaded of
course. This is probably what you are experiencing?
For drawing, digikam uses an internal cache of 100 pixmaps, so the last 100
are displayed without any loading.


Marcel
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Help finding thumbnail cache settings?

Bugzilla from dennis@meulensteen.nl
On Wednesday 27 September 2006 13:35, Marcel Wiesweg wrote:

> > Hi,
> > I know that thumbs are generated by KDE somehow,
>
> Digikam uses its own thumbnail ioslave, but uses the common storage.
>
> > but can anyone tell me
> > where to increase the thumbnail cache size? Everytime I scroll through my
> > collection the thumbnails get regenerated and this slows down DigiKam too
> > much for my taste. I'd gladly dedicate 25% of my HD space just to thumbs,
> > if only I could find out how!
>
> The thumbs are generated, stored in ~/.thumbnails and not deleted at any
> limit.
That's good news!

> So this happens only the very first time a thumbnail is needed.
understood.

>
> Each time digikam is loaded, the thumbnail files (.png) need to be loaded
> of course. This is probably what you are experiencing?
Sure, there's a delay, but it's not a problem.

> For drawing, digikam uses an internal cache of 100 pixmaps, so the last 100
> are displayed without any loading.
This could be what I'm seeing! Is this setting configurable at all or can I
simply find it in the code and change it before compiling? Maybe I need more
RAM so the system can buffer the pixmaps.. I have 512Mb now. I don't get much
swapping, but buffers get eaten into regularly.

Dennis
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Help finding thumbnail cache settings?

Marcel Wiesweg
> > Each time digikam is loaded, the thumbnail files (.png) need to be loaded
> > of course. This is probably what you are experiencing?
>
> Sure, there's a delay, but it's not a problem.
>
> > For drawing, digikam uses an internal cache of 100 pixmaps, so the last
> > 100 are displayed without any loading.
>
> This could be what I'm seeing! Is this setting configurable at all or can I
> simply find it in the code and change it before compiling? Maybe I need
> more RAM so the system can buffer the pixmaps.. I have 512Mb now. I don't
> get much swapping, but buffers get eaten into regularly.

I also have 512MB memory. See my other posting about digikam's memory usage.

This is not configurable.
The relevant line is digikam/pixmapmanager.cpp,  60
    m_cache = new QCache<QPixmap>(101, 211);
You can increase both, 101 is the limit and 211 a prime number >50% bigger.
At least to find out if that is really what is bugging you.

With thumbnail size 128 a hundred pixmaps take about 6MB, with 256 it is
already 24MB!

Marcel

>
> Dennis
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: No thumbs !

Michele "O-Zone" Pinassi
In reply to this post by Gilles Caulier-2
Alle 05:47, mercoledì 27 settembre 2006, Gilles Caulier ha scritto:
> This is certainly an installation problem. Thumbs computation are dedicaced
> to kio slave, runing outside of digiKam
>
> Give us your console messages and your ~./xsession-errors file contents.

attached console messages when i execute digikam. The ./xsession-errors
contains nothing useful :-( sorry !

Help ME !!!!

--
----
O-Zone ! Since 1996
WEB http://www.zerozone.it
BLOG http://blog.zerozone.it
Honeymoon http://www.lunamieleros.info

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users

digikam.log (23K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Help finding thumbnail cache settings?

Gilles Caulier-2
In reply to this post by Bugzilla from dennis@meulensteen.nl
Le Mercredi 27 Septembre 2006 01:46 PM, Dennis Meulensteen a écrit :

> On Wednesday 27 September 2006 13:35, Marcel Wiesweg wrote:
> > > Hi,
> > > I know that thumbs are generated by KDE somehow,
> >
> > Digikam uses its own thumbnail ioslave, but uses the common storage.
> >
> > > but can anyone tell me
> > > where to increase the thumbnail cache size? Everytime I scroll through
> > > my collection the thumbnails get regenerated and this slows down
> > > DigiKam too much for my taste. I'd gladly dedicate 25% of my HD space
> > > just to thumbs, if only I could find out how!
> >
> > The thumbs are generated, stored in ~/.thumbnails and not deleted at any
> > limit.
>
> That's good news!
>
> > So this happens only the very first time a thumbnail is needed.
>
> understood.
>
> > Each time digikam is loaded, the thumbnail files (.png) need to be loaded
> > of course. This is probably what you are experiencing?
>
> Sure, there's a delay, but it's not a problem.
>
> > For drawing, digikam uses an internal cache of 100 pixmaps, so the last
> > 100 are displayed without any loading.
>
> This could be what I'm seeing! Is this setting configurable at all or can I
> simply find it in the code and change it before compiling? Maybe I need
> more RAM so the system can buffer the pixmaps.. I have 512Mb now. I don't
> get much swapping, but buffers get eaten into regularly.

Marcel, on my wife computer (PIV 3.6Ghz + 512 Mo), a folder with more than 200
RAW pictures take a while : the swap is very active!

This problem come when i toggle betwen another album and i'm back to the RAW
folder.

I need more investigaution about, but certainly a settings about can need to
be done, for example to set the number od thumbs need to be cached.

Gilles
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Help finding thumbnail cache settings?

Bugzilla from dennis@meulensteen.nl

>
> Marcel, on my wife computer (PIV 3.6Ghz + 512 Mo), a folder with more than
> 200 RAW pictures take a while : the swap is very active!
>
> This problem come when i toggle betwen another album and i'm back to the
> RAW folder.
>
> I need more investigaution about, but certainly a settings about can need
> to be done, for example to set the number od thumbs need to be cached.
>

Sounds good, as a regular user I'm all for configurable options!

I've now loaded 0.90-beta2 and noticed that the problem I had appears to have
disappeared! I can notice a delay when reloading thumbs after having switched
to another album (NB: I never enter the directories containing my Raw files,
I have everything copied as 1/4 size Jpeg) but that delay is not a problem. I
can only guess that's probably the difference in access times between
Digikam's own buffering and KDE's cache.

0.90 is looking good! Thanks a lot Gilels, Marcel and everyone else
contributing!

Dennis
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Help finding thumbnail cache settings?

Marcel Wiesweg
In reply to this post by Gilles Caulier-2
> Marcel, on my wife computer (PIV 3.6Ghz + 512 Mo), a folder with more than
> 200 RAW pictures take a while : the swap is very active!
>
> This problem come when i toggle betwen another album and i'm back to the
> RAW folder.
>
> I need more investigaution about, but certainly a settings about can need
> to be done, for example to set the number od thumbs need to be cached.

That sounds like a bug to me. The thumb cache does not come in touch with the
image format in any way, it only caches the ready-to-be-drawn pixmaps. That's
6MB for 128er pixmaps or 24MB for 256, on the X server's memory, and once
it's full it's full.

So you don't have a leak, but the memory comes back when switching to another
folder?
If it is really significant maybe you can see a peak in a "massif" plot,
valgrind --tool=massif --depth=5 --format=html digikam

Marcel


>
> Gilles
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Help finding thumbnail cache settings?

Gilles Caulier-2
On Monday 02 October 2006 12:13, Marcel Wiesweg wrote:

> > Marcel, on my wife computer (PIV 3.6Ghz + 512 Mo), a folder with more
> > than 200 RAW pictures take a while : the swap is very active!
> >
> > This problem come when i toggle betwen another album and i'm back to the
> > RAW folder.
> >
> > I need more investigaution about, but certainly a settings about can need
> > to be done, for example to set the number od thumbs need to be cached.
>
> That sounds like a bug to me. The thumb cache does not come in touch with
> the image format in any way, it only caches the ready-to-be-drawn pixmaps.
> That's 6MB for 128er pixmaps or 24MB for 256, on the X server's memory, and
> once it's full it's full.
>
> So you don't have a leak, but the memory comes back when switching to
> another folder?
> If it is really significant maybe you can see a peak in a "massif" plot,
> valgrind --tool=massif --depth=5 --format=html digikam
>

Ok Marcel, i will check memory leak on this computer when i will back at home
(not today, because i'm out of my office during 2 days, but tuesday evening)

Gilles
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users