[Bug 203932] New: Image view scrolling and thumb-generation is very slow

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

[Bug 203932] New: Image view scrolling and thumb-generation is very slow

Bugzilla from bschindler@student.ethz.ch
https://bugs.kde.org/show_bug.cgi?id=203932

           Summary: Image view scrolling and thumb-generation is very slow
           Product: digikam
           Version: 0.9.0
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Version:           0.9.0 (using KDE 4.2.4)
Compiler:          gcc-4.3
OS:                Linux
Installed from:    Gentoo Packages

Hi

Scrolling in digikam's albumview feels extremely slugish here. Also, thumbnail
generation is very slow.

I know this comparison is not without merits, but gwenview's scrolling in the
"album-view" is lighting fast. Admitted, this is an older machine (Athlong 64
3000 and to be replaced in a few days), but the scrolling speed is definatelly
sup par

Cheers

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 203932] Image view scrolling and thumb-generation is very slow

Bugzilla from Julien@narboux.fr
https://bugs.kde.org/show_bug.cgi?id=203932


Julien Narboux <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #1 from Julien Narboux <Julien narboux fr>  2009-08-15 12:29:42 ---
0.9.0 is a very old version of Digikam, please update and try again.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 203932] Image view scrolling and thumb-generation is very slow

Bugzilla from bschindler@student.ethz.ch
In reply to this post by Bugzilla from bschindler@student.ethz.ch
https://bugs.kde.org/show_bug.cgi?id=203932





--- Comment #2 from Benjamin Schindler <bschindler student ethz ch>  2009-08-15 12:33:26 ---
Gosh, sorry for that....

I ment 0.10.0

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 203932] Image view scrolling and thumb-generation is very slow

Gilles Caulier-4
In reply to this post by Bugzilla from bschindler@student.ethz.ch
https://bugs.kde.org/show_bug.cgi?id=203932


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|general                     |Albums GUI




--- Comment #3 from Gilles Caulier <caulier gilles gmail com>  2009-08-15 12:34:14 ---
Last version for KDE3 is 0.9.6...

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 203932] Image view scrolling and thumb-generation is very slow

Gilles Caulier-4
In reply to this post by Bugzilla from bschindler@student.ethz.ch
https://bugs.kde.org/show_bug.cgi?id=203932


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|0.9.0                       |0.10.0




--- Comment #4 from Gilles Caulier <caulier gilles gmail com>  2009-08-15 12:35:10 ---
Not reproducible here. Run digiKam into a console and report all messages
displayed...

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 203932] Image view scrolling and thumb-generation is very slow

Gilles Caulier-4
In reply to this post by Bugzilla from bschindler@student.ethz.ch
https://bugs.kde.org/show_bug.cgi?id=203932





--- Comment #5 from Gilles Caulier <caulier gilles gmail com>  2009-08-15 12:36:19 ---
Do you use a special video driver (NVidia for ex), with OpenGL features ?

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 203932] Image view scrolling and thumb-generation is very slow

Bugzilla from bschindler@student.ethz.ch
In reply to this post by Bugzilla from bschindler@student.ethz.ch
https://bugs.kde.org/show_bug.cgi?id=203932





--- Comment #6 from Benjamin Schindler <bschindler student ethz ch>  2009-08-15 12:51:40 ---
I'm using nvidia-drivers (latest)

I get absolutelly no output from digikam while scrolling (I enabled it in
kdebugdialog)

Is there anything I can do to help?

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 203932] Image view scrolling and thumb-generation is very slow

Bugzilla from andi.clemens@gmx.net
In reply to this post by Bugzilla from bschindler@student.ethz.ch
https://bugs.kde.org/show_bug.cgi?id=203932





--- Comment #7 from Andi Clemens <andi clemens gmx net>  2009-08-15 13:38:31 ---
0.10 is definitely slower than the current 1.0.0-beta versions, since 0.10
still uses the slower thumbnail scaling algorithm. Try 1.0.0-beta4 or current
SVN and see if it is getting better (it should).

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 203932] Image view scrolling and thumb-generation is very slow

Bugzilla from bschindler@student.ethz.ch
In reply to this post by Bugzilla from bschindler@student.ethz.ch
https://bugs.kde.org/show_bug.cgi?id=203932





--- Comment #8 from Benjamin Schindler <bschindler student ethz ch>  2009-08-23 11:37:59 ---
Okay, I'm now on latest svn (had some troubles with compilation of beta3 which
is why it took so long)
I'm also on my new machine, a core i7 920 (opposed to a athlon64 3000+...) so a
comparison is not easy at all. Thumbnail loading certainly got faster.
Of course, scrolling is now pretty fast, but it doesn't feel completely snappy.
It uses now about 40% cpu which is for sure 100% on the old machine - and
therefore I presume that the feel would still be quite sluggish on my old
machine

I think some asynchronous scrolling (like gwenview) would make things a lot
better

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 203932] Image view scrolling and thumb-generation is very slow

Marcel Wiesweg
In reply to this post by Bugzilla from bschindler@student.ethz.ch
https://bugs.kde.org/show_bug.cgi?id=203932


Marcel Wiesweg <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #9 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-08-23 15:05:34 ---
What is asynchronous scrolling?

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 203932] Image view scrolling and thumb-generation is very slow

Bugzilla from bschindler@student.ethz.ch
In reply to this post by Bugzilla from bschindler@student.ethz.ch
https://bugs.kde.org/show_bug.cgi?id=203932





--- Comment #10 from Benjamin Schindler <bschindler student ethz ch>  2009-08-23 22:09:48 ---
Basically that means, that the main thread just requests the display of all the
images that need to be shown and a second worker thread loads the thumbnails
and the metadata (if it's not cached).
The main thread just renders a very small svg (like the one gwenview has when
the thumbnail is not loaded)

This has the effect, that scrolling is very smooth and thumbnails are loaded
almost as fast (or even faster when on a multi-core machine as the two threads
can be distributed)

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 203932] Image view scrolling and thumb-generation is very slow

Marcel Wiesweg
In reply to this post by Bugzilla from bschindler@student.ethz.ch
https://bugs.kde.org/show_bug.cgi?id=203932





--- Comment #11 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-08-24 18:51:42 ---
We do what is described, with the exception that we dont draw an SVG but
nothing if the thumbnail is not in the cache.
Maybe we can optimize redrawing a bit. This needs thorough profiling.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 203932] Image view scrolling and thumb-generation is very slow

Marcel Wiesweg
In reply to this post by Bugzilla from bschindler@student.ethz.ch
https://bugs.kde.org/show_bug.cgi?id=203932





--- Comment #12 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-08-27 20:39:07 ---
SVN commit 1016400 by mwiesweg:

Eliminate a source of doube loading of thumbnails: When the QImage is loaded
and waiting to
be processed to a QPixmap and the same thumbnail is requested again, scan the
list of
images currently waiting for conversion, and, if found, do not start a new
task.
To prevent such problems in the future, provide a small cache for thumbnail
QImages.

CCBUG: 203932

 M  +1 -1      loadingcache.cpp  
 M  +44 -9     thumbnailloadthread.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1016400

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 203932] Image view scrolling and thumb-generation is very slow

Bugzilla from andi.clemens@gmx.net
In reply to this post by Bugzilla from bschindler@student.ethz.ch
https://bugs.kde.org/show_bug.cgi?id=203932





--- Comment #13 from Andi Clemens <andi clemens gmx net>  2009-08-27 22:16:58 ---
To the ones who experience slow scrolling:
You should also notice that compiling digiKam with "debug" or "debugfull" will
slow down scrolling a lot. To really compare you should compile it with
"release" and see if it is getting better.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 203932] Image view scrolling and thumb-generation is very slow

Bugzilla from bschindler@student.ethz.ch
In reply to this post by Bugzilla from bschindler@student.ethz.ch
https://bugs.kde.org/show_bug.cgi?id=203932





--- Comment #14 from Benjamin Schindler <bschindler student ethz ch>  2009-08-27 22:23:41 ---
I just tried the new code - the feel is certainly better on the new machine.
CPU usage in scrolling went to 20%, which is a big improvement.

Typical - as soon you have a machine there is the need of having the old one :)

I can't test there because it's in pieces now, so I don't think I can ask for
more

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Bug 203932] Image view scrolling and thumb-generation is very slow

Bugzilla from mikmach@wp.pl
In reply to this post by Marcel Wiesweg
Scrolling seems faster, both in regular Album GUI and thumbbars.

But switching between images in Preview mode with thumbbar enabled is very,
very slow. With thumbbar disabled it is much faster.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 203932] Image view scrolling and thumb-generation is very slow

Bugzilla from mikmach@wp.pl
In reply to this post by Bugzilla from bschindler@student.ethz.ch
https://bugs.kde.org/show_bug.cgi?id=203932





--- Comment #15 from Mikolaj Machowski <mikmach wp pl>  2009-08-27 23:40:31 ---
Scrolling seems faster, both in regular Album GUI and thumbbars.

But switching between images in Preview mode with thumbbar enabled is very,
very slow. With thumbbar disabled it is much faster.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 203932] Image view scrolling and thumb-generation is very slow

Gilles Caulier-4
In reply to this post by Bugzilla from bschindler@student.ethz.ch
https://bugs.kde.org/show_bug.cgi?id=203932


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #16 from Gilles Caulier <caulier gilles gmail com>  2011-12-14 09:28:28 ---
Benjamin,

This file still valid using digiKam 2.x serie ?

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 203932] Image view scrolling and thumb-generation is very slow

Bugzilla from bschindler@student.ethz.ch
In reply to this post by Bugzilla from bschindler@student.ethz.ch
https://bugs.kde.org/show_bug.cgi?id=203932





--- Comment #17 from Benjamin Schindler <bschindler student ethz ch>  2011-12-14 09:35:00 ---
I have a newer machine since I opened this issue. with the new machine, no
slowness is visible. However, I cannot really tell whether the issue is gone
though. Since the update to kde 4.7.4, digikam crashes on startup so I cannot
profile cpu usage during scrolling right now

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 203932] Image view scrolling and thumb-generation is very slow

Gilles Caulier-4
In reply to this post by Bugzilla from bschindler@student.ethz.ch
https://bugs.kde.org/show_bug.cgi?id=203932





--- Comment #18 from Gilles Caulier <caulier gilles gmail com>  2011-12-14 09:37:28 ---
benjamin,

any crash backtrace please, taken with GDB

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
12