Hi all, I was wondering if anyone has been having problems with redrawing on specific UI elements.
Am I going crazy? Can anyone confirm this? Thanks! Paul _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
În data de Joi 25 Iunie 2009 21:32:15 Paul Waldo a scris:
> • Occasionally thumbnails will blink at me, as if they are being > continuously redrawn. CPU usage shoots through the roof. I have noticed > this with the Album icons, but I see it most with Album thumbnails This also happened to me once but after restarting digikam everithing was OK. -- Regards, Cristian Oneţ _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users signature.asc (205 bytes) Download Attachment |
----- "Cristian Oneţ" <[hidden email]> wrote:
> În data de Joi 25 Iunie 2009 21:32:15 Paul Waldo a scris: > > • Occasionally thumbnails will blink at me, as if they are > being > > continuously redrawn. CPU usage shoots through the roof. I have > noticed > > this with the Album icons, but I see it most with Album thumbnails > This also happened to me once but after restarting digikam everithing > was OK. > > -- > Regards, > > Cristian Oneţ Unfortunately, it happens all the time, after restarting digikam and after a reboot :-( Paul _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by Paul Waldo
> • Occasionally thumbnails will blink at me, as if they are being > continuously redrawn. CPU usage shoots through the roof. I have noticed > this with the Album icons, but I see it most with Album thumbnails There is a bug report for this, but I could never reproduce it. Which digikam version are you using? What do you do to restore normal behavior, given you say it happens all the time after restart? Any console output? Marcel _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
I alsoe get this behavior when opening folders. Never thought much about it as it settles after a minute or two depending on the amount of files in the folder.
I use Ubuntu 9.04 and digiKam 0.10.0. Havent noticed this behaviour on my Acer with S3 graphichs only on the Asus with nVidia. Trying to be helpful D.L. > From: [hidden email] > To: [hidden email] > Date: Thu, 25 Jun 2009 22:28:40 +0200 > Subject: Re: [Digikam-users] Redraw Problems > > > > • Occasionally thumbnails will blink at me, as if they are being > > continuously redrawn. CPU usage shoots through the roof. I have noticed > > this with the Album icons, but I see it most with Album thumbnails > > There is a bug report for this, but I could never reproduce it. > Which digikam version are you using? > What do you do to restore normal behavior, given you say it happens all the > time after restart? > Any console output? > > Marcel > _______________________________________________ > Digikam-users mailing list > [hidden email] > https://mail.kde.org/mailman/listinfo/digikam-users Gör personlighetstestet på MSN Dejting, se vem du passar ihop med! MSN Dejting _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
Please take a look at this entry
https://bugs.kde.org/show_bug.cgi?id=193489 and post your investiguations in this file. Gilles Caulier 2009/6/26 Daniel Larsson <[hidden email]>: > I alsoe get this behavior when opening folders. Never thought much about it > as it settles after a minute or two depending on the amount of files in the > folder. > I use Ubuntu 9.04 and digiKam 0.10.0. > Havent noticed this behaviour on my Acer with S3 graphichs only on the Asus > with nVidia. > > Trying to be helpful > D.L. > >> From: [hidden email] >> To: [hidden email] >> Date: Thu, 25 Jun 2009 22:28:40 +0200 >> Subject: Re: [Digikam-users] Redraw Problems >> >> >> > • Occasionally thumbnails will blink at me, as if they are being >> > continuously redrawn. CPU usage shoots through the roof. I have noticed >> > this with the Album icons, but I see it most with Album thumbnails >> >> There is a bug report for this, but I could never reproduce it. >> Which digikam version are you using? >> What do you do to restore normal behavior, given you say it happens all >> the >> time after restart? >> Any console output? >> >> Marcel >> _______________________________________________ >> Digikam-users mailing list >> [hidden email] >> https://mail.kde.org/mailman/listinfo/digikam-users > > ________________________________ > Gör personlighetstestet på MSN Dejting, se vem du passar ihop med! MSN > Dejting > _______________________________________________ > Digikam-users mailing list > [hidden email] > https://mail.kde.org/mailman/listinfo/digikam-users > > Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
Done.
> Date: Fri, 26 Jun 2009 13:59:14 +0200 > From: [hidden email] > To: [hidden email] > Subject: Re: [Digikam-users] Redraw Problems > > Please take a look at this entry > > https://bugs.kde.org/show_bug.cgi?id=193489 > > and post your investiguations in this file. > > Gilles Caulier > > 2009/6/26 Daniel Larsson <[hidden email]>: > > I alsoe get this behavior when opening folders. Never thought much about it > > as it settles after a minute or two depending on the amount of files in the > > folder. > > I use Ubuntu 9.04 and digiKam 0.10.0. > > Havent noticed this behaviour on my Acer with S3 graphichs only on the Asus > > with nVidia. > > > > Trying to be helpful > > D.L. > > > >> From: [hidden email] > >> To: [hidden email] > >> Date: Thu, 25 Jun 2009 22:28:40 +0200 > >> Subject: Re: [Digikam-users] Redraw Problems > >> > >> > >> > • Occasionally thumbnails will blink at me, as if they are being > >> > continuously redrawn. CPU usage shoots through the roof. I have noticed > >> > this with the Album icons, but I see it most with Album thumbnails > >> > >> There is a bug report for this, but I could never reproduce it. > >> Which digikam version are you using? > >> What do you do to restore normal behavior, given you say it happens all > >> the > >> time after restart? > >> Any console output? > >> > >> Marcel > >> _______________________________________________ > >> Digikam-users mailing list > >> [hidden email] > >> https://mail.kde.org/mailman/listinfo/digikam-users > > > > ________________________________ > > Gör personlighetstestet på MSN Dejting, se vem du passar ihop med! MSN > > Dejting > > _______________________________________________ > > Digikam-users mailing list > > [hidden email] > > https://mail.kde.org/mailman/listinfo/digikam-users > > > > > _______________________________________________ > Digikam-users mailing list > [hidden email] > https://mail.kde.org/mailman/listinfo/digikam-users Dela foton på ett smidigt sätt med Windows Live™ Photos. Dra och släpp _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by Paul Waldo
Done. In essence, no change with -DENABLE_THUMBS_DB=ON
Paul ----- "Gilles Caulier" <[hidden email]> wrote: > Please take a look at this entry > > https://bugs.kde.org/show_bug.cgi?id=193489 > > and post your investiguations in this file. > > Gilles Caulier > > 2009/6/26 Daniel Larsson <[hidden email]>: > > I alsoe get this behavior when opening folders. Never thought much > about it > > as it settles after a minute or two depending on the amount of files > in the > > folder. > > I use Ubuntu 9.04 and digiKam 0.10.0. > > Havent noticed this behaviour on my Acer with S3 graphichs only on > the Asus > > with nVidia. > > > > Trying to be helpful > > D.L. > > > >> From: [hidden email] > >> To: [hidden email] > >> Date: Thu, 25 Jun 2009 22:28:40 +0200 > >> Subject: Re: [Digikam-users] Redraw Problems > >> > >> > >> > • Occasionally thumbnails will blink at me, as if they are being > >> > continuously redrawn. CPU usage shoots through the roof. I have > noticed > >> > this with the Album icons, but I see it most with Album > thumbnails > >> > >> There is a bug report for this, but I could never reproduce it. > >> Which digikam version are you using? > >> What do you do to restore normal behavior, given you say it happens > all > >> the > >> time after restart? > >> Any console output? > >> > >> Marcel > >> _______________________________________________ > >> Digikam-users mailing list > >> [hidden email] > >> https://mail.kde.org/mailman/listinfo/digikam-users > > > > ________________________________ > > Gör personlighetstestet på MSN Dejting, se vem du passar ihop med! > MSN > > Dejting > > _______________________________________________ > > Digikam-users mailing list > > [hidden email] > > https://mail.kde.org/mailman/listinfo/digikam-users > > > > > _______________________________________________ > Digikam-users mailing list > [hidden email] > https://mail.kde.org/mailman/listinfo/digikam-users Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
Paul, try invert : -DENABLE_THUMBS_DB=OFF
... because DB thumb is enabled by default now. Gilles 2009/6/26 Paul Waldo <[hidden email]>: > Done. In essence, no change with -DENABLE_THUMBS_DB=ON > > Paul > ----- "Gilles Caulier" <[hidden email]> wrote: > >> Please take a look at this entry >> >> https://bugs.kde.org/show_bug.cgi?id=193489 >> >> and post your investiguations in this file. >> >> Gilles Caulier >> >> 2009/6/26 Daniel Larsson <[hidden email]>: >> > I alsoe get this behavior when opening folders. Never thought much >> about it >> > as it settles after a minute or two depending on the amount of files >> in the >> > folder. >> > I use Ubuntu 9.04 and digiKam 0.10.0. >> > Havent noticed this behaviour on my Acer with S3 graphichs only on >> the Asus >> > with nVidia. >> > >> > Trying to be helpful >> > D.L. >> > >> >> From: [hidden email] >> >> To: [hidden email] >> >> Date: Thu, 25 Jun 2009 22:28:40 +0200 >> >> Subject: Re: [Digikam-users] Redraw Problems >> >> >> >> >> >> > • Occasionally thumbnails will blink at me, as if they are being >> >> > continuously redrawn. CPU usage shoots through the roof. I have >> noticed >> >> > this with the Album icons, but I see it most with Album >> thumbnails >> >> >> >> There is a bug report for this, but I could never reproduce it. >> >> Which digikam version are you using? >> >> What do you do to restore normal behavior, given you say it happens >> all >> >> the >> >> time after restart? >> >> Any console output? >> >> >> >> Marcel >> >> _______________________________________________ >> >> Digikam-users mailing list >> >> [hidden email] >> >> https://mail.kde.org/mailman/listinfo/digikam-users >> > >> > ________________________________ >> > Gör personlighetstestet på MSN Dejting, se vem du passar ihop med! >> MSN >> > Dejting >> > _______________________________________________ >> > Digikam-users mailing list >> > [hidden email] >> > https://mail.kde.org/mailman/listinfo/digikam-users >> > >> > >> _______________________________________________ >> Digikam-users mailing list >> [hidden email] >> https://mail.kde.org/mailman/listinfo/digikam-users > _______________________________________________ > Digikam-users mailing list > [hidden email] > https://mail.kde.org/mailman/listinfo/digikam-users > Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by Paul Waldo
Nope, no difference.
I tried an experiment, though. I used strace on digikam. When an empty album (My Album) was selected, there are no thumbs to blink. strace is fairly quiet; it is polling for probably what is my Network Album that is unavailble. Once I select an album with thumbnails, the blinking starts and I see a huge amount of activity from strace. It appears that digikam is trying to write something to the same file handle it was checking before. Daniel, are you using an offline Album by any chance? Paul ----- "Gilles Caulier" <[hidden email]> wrote: > Paul, try invert : -DENABLE_THUMBS_DB=OFF > > ... because DB thumb is enabled by default now. > > Gilles > > 2009/6/26 Paul Waldo <[hidden email]>: > > Done. In essence, no change with -DENABLE_THUMBS_DB=ON > > > > Paul > > ----- "Gilles Caulier" <[hidden email]> wrote: > > > >> Please take a look at this entry > >> > >> https://bugs.kde.org/show_bug.cgi?id=193489 > >> > >> and post your investiguations in this file. > >> > >> Gilles Caulier > >> > >> 2009/6/26 Daniel Larsson <[hidden email]>: > >> > I alsoe get this behavior when opening folders. Never thought > much > >> about it > >> > as it settles after a minute or two depending on the amount of > files > >> in the > >> > folder. > >> > I use Ubuntu 9.04 and digiKam 0.10.0. > >> > Havent noticed this behaviour on my Acer with S3 graphichs only > on > >> the Asus > >> > with nVidia. > >> > > >> > Trying to be helpful > >> > D.L. > >> > > >> >> From: [hidden email] > >> >> To: [hidden email] > >> >> Date: Thu, 25 Jun 2009 22:28:40 +0200 > >> >> Subject: Re: [Digikam-users] Redraw Problems > >> >> > >> >> > >> >> > • Occasionally thumbnails will blink at me, as if they are > being > >> >> > continuously redrawn. CPU usage shoots through the roof. I > have > >> noticed > >> >> > this with the Album icons, but I see it most with Album > >> thumbnails > >> >> > >> >> There is a bug report for this, but I could never reproduce it. > >> >> Which digikam version are you using? > >> >> What do you do to restore normal behavior, given you say it > happens > >> all > >> >> the > >> >> time after restart? > >> >> Any console output? > >> >> > >> >> Marcel > >> >> _______________________________________________ > >> >> Digikam-users mailing list > >> >> [hidden email] > >> >> https://mail.kde.org/mailman/listinfo/digikam-users > >> > > >> > ________________________________ > >> > Gör personlighetstestet på MSN Dejting, se vem du passar ihop > med! > >> MSN > >> > Dejting > >> > _______________________________________________ > >> > Digikam-users mailing list > >> > [hidden email] > >> > https://mail.kde.org/mailman/listinfo/digikam-users > >> > > >> > > >> _______________________________________________ > >> Digikam-users mailing list > >> [hidden email] > >> https://mail.kde.org/mailman/listinfo/digikam-users > > _______________________________________________ > > Digikam-users mailing list > > [hidden email] > > https://mail.kde.org/mailman/listinfo/digikam-users > > > _______________________________________________ > Digikam-users mailing list > [hidden email] > https://mail.kde.org/mailman/listinfo/digikam-users Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
For me, I cannot see any performance problem to use Thumbs database
instead freedesktop cache. I can say that it's a little bit faster. But here, i manage local album only with max 250 items (RAW, PNG, and JPEG) My lead computer (production is PIV3.4Ghz - 2Gb RAM - 520 GB Sata HDD) Gilles Caulier 2009/6/26 Paul Waldo <[hidden email]>: > Nope, no difference. > > I tried an experiment, though. I used strace on digikam. When an empty album (My Album) was selected, there are no thumbs to blink. strace is fairly quiet; it is polling for probably what is my Network Album that is unavailble. Once I select an album with thumbnails, the blinking starts and I see a huge amount of activity from strace. It appears that digikam is trying to write something to the same file handle it was checking before. > > Daniel, are you using an offline Album by any chance? > > Paul > ----- "Gilles Caulier" <[hidden email]> wrote: > >> Paul, try invert : -DENABLE_THUMBS_DB=OFF >> >> ... because DB thumb is enabled by default now. >> >> Gilles >> >> 2009/6/26 Paul Waldo <[hidden email]>: >> > Done. In essence, no change with -DENABLE_THUMBS_DB=ON >> > >> > Paul >> > ----- "Gilles Caulier" <[hidden email]> wrote: >> > >> >> Please take a look at this entry >> >> >> >> https://bugs.kde.org/show_bug.cgi?id=193489 >> >> >> >> and post your investiguations in this file. >> >> >> >> Gilles Caulier >> >> >> >> 2009/6/26 Daniel Larsson <[hidden email]>: >> >> > I alsoe get this behavior when opening folders. Never thought >> much >> >> about it >> >> > as it settles after a minute or two depending on the amount of >> files >> >> in the >> >> > folder. >> >> > I use Ubuntu 9.04 and digiKam 0.10.0. >> >> > Havent noticed this behaviour on my Acer with S3 graphichs only >> on >> >> the Asus >> >> > with nVidia. >> >> > >> >> > Trying to be helpful >> >> > D.L. >> >> > >> >> >> From: [hidden email] >> >> >> To: [hidden email] >> >> >> Date: Thu, 25 Jun 2009 22:28:40 +0200 >> >> >> Subject: Re: [Digikam-users] Redraw Problems >> >> >> >> >> >> >> >> >> > • Occasionally thumbnails will blink at me, as if they are >> being >> >> >> > continuously redrawn. CPU usage shoots through the roof. I >> have >> >> noticed >> >> >> > this with the Album icons, but I see it most with Album >> >> thumbnails >> >> >> >> >> >> There is a bug report for this, but I could never reproduce it. >> >> >> Which digikam version are you using? >> >> >> What do you do to restore normal behavior, given you say it >> happens >> >> all >> >> >> the >> >> >> time after restart? >> >> >> Any console output? >> >> >> >> >> >> Marcel >> >> >> _______________________________________________ >> >> >> Digikam-users mailing list >> >> >> [hidden email] >> >> >> https://mail.kde.org/mailman/listinfo/digikam-users >> >> > >> >> > ________________________________ >> >> > Gör personlighetstestet på MSN Dejting, se vem du passar ihop >> med! >> >> MSN >> >> > Dejting >> >> > _______________________________________________ >> >> > Digikam-users mailing list >> >> > [hidden email] >> >> > https://mail.kde.org/mailman/listinfo/digikam-users >> >> > >> >> > >> >> _______________________________________________ >> >> Digikam-users mailing list >> >> [hidden email] >> >> https://mail.kde.org/mailman/listinfo/digikam-users >> > _______________________________________________ >> > Digikam-users mailing list >> > [hidden email] >> > https://mail.kde.org/mailman/listinfo/digikam-users >> > >> _______________________________________________ >> Digikam-users mailing list >> [hidden email] >> https://mail.kde.org/mailman/listinfo/digikam-users > _______________________________________________ > Digikam-users mailing list > [hidden email] > https://mail.kde.org/mailman/listinfo/digikam-users > Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
Yes and that is the problem. Test it with a "big" collection, thumbsDB is way
too slow. The startup is slow (in my case it has to open a 160MB db (digikam4.db) and a 890MB db (thumbsDB)), the display is slow, the navigation is slow, changing albums is slow etc... ;-) I don't think a thumbsDB is a bad idea, but using sqlite for this might be. Just some startup times (when I just rebooted the system, so nothing is cached, all taken with the same image collection): digiKam 0.9.5 : 4s digiKam 0.10.0 : 13s digiKam 1.0.0 : 22s and it might get worse since the thumbsDB seems to grow forever, at least moving files will not update the tables but create new entries (but this, if a bug, can be changed quite easily). You can't run VACUUM on the thumbsDB because it takes 30min here and takes the same amount of disk space for the journal. In my case the partition would be nearly full if I VACUUM the thumbsDB, and if it fails, I don't know what will happen at all when the journal could not be written? Again, I think a thumbsDB is a good idea, BUT not with sqlite. Like Amarok, we should go with an embedded MySQL and support real database servers as well, like amarok is doing now. Andi On Friday 26 June 2009 22:23:57 Gilles Caulier wrote: > For me, I cannot see any performance problem to use Thumbs database > instead freedesktop cache. I can say that it's a little bit faster. > > But here, i manage local album only with max 250 items (RAW, PNG, and JPEG) > > My lead computer (production is PIV3.4Ghz - 2Gb RAM - 520 GB Sata HDD) > > Gilles Caulier > > 2009/6/26 Paul Waldo <[hidden email]>: > > Nope, no difference. > > > > I tried an experiment, though. I used strace on digikam. When an empty > > album (My Album) was selected, there are no thumbs to blink. strace is > > fairly quiet; it is polling for probably what is my Network Album that is > > unavailble. Once I select an album with thumbnails, the blinking starts > > and I see a huge amount of activity from strace. It appears that digikam > > is trying to write something to the same file handle it was checking > > before. > > > > Daniel, are you using an offline Album by any chance? > > > > Paul > > > > ----- "Gilles Caulier" <[hidden email]> wrote: > >> Paul, try invert : -DENABLE_THUMBS_DB=OFF > >> > >> ... because DB thumb is enabled by default now. > >> > >> Gilles > >> > >> 2009/6/26 Paul Waldo <[hidden email]>: > >> > Done. In essence, no change with -DENABLE_THUMBS_DB=ON > >> > > >> > Paul > >> > > >> > ----- "Gilles Caulier" <[hidden email]> wrote: > >> >> Please take a look at this entry > >> >> > >> >> https://bugs.kde.org/show_bug.cgi?id=193489 > >> >> > >> >> and post your investiguations in this file. > >> >> > >> >> Gilles Caulier > >> >> > >> >> 2009/6/26 Daniel Larsson <[hidden email]>: > >> >> > I alsoe get this behavior when opening folders. Never thought > >> > >> much > >> > >> >> about it > >> >> > >> >> > as it settles after a minute or two depending on the amount of > >> > >> files > >> > >> >> in the > >> >> > >> >> > folder. > >> >> > I use Ubuntu 9.04 and digiKam 0.10.0. > >> >> > Havent noticed this behaviour on my Acer with S3 graphichs only > >> > >> on > >> > >> >> the Asus > >> >> > >> >> > with nVidia. > >> >> > > >> >> > Trying to be helpful > >> >> > D.L. > >> >> > > >> >> >> From: [hidden email] > >> >> >> To: [hidden email] > >> >> >> Date: Thu, 25 Jun 2009 22:28:40 +0200 > >> >> >> Subject: Re: [Digikam-users] Redraw Problems > >> >> >> > >> >> >> > • Occasionally thumbnails will blink at me, as if they are > >> > >> being > >> > >> >> >> > continuously redrawn. CPU usage shoots through the roof. I > >> > >> have > >> > >> >> noticed > >> >> > >> >> >> > this with the Album icons, but I see it most with Album > >> >> > >> >> thumbnails > >> >> > >> >> >> There is a bug report for this, but I could never reproduce it. > >> >> >> Which digikam version are you using? > >> >> >> What do you do to restore normal behavior, given you say it > >> > >> happens > >> > >> >> all > >> >> > >> >> >> the > >> >> >> time after restart? > >> >> >> Any console output? > >> >> >> > >> >> >> Marcel > >> >> >> _______________________________________________ > >> >> >> Digikam-users mailing list > >> >> >> [hidden email] > >> >> >> https://mail.kde.org/mailman/listinfo/digikam-users > >> >> > > >> >> > ________________________________ > >> >> > Gör personlighetstestet på MSN Dejting, se vem du passar ihop > >> > >> med! > >> > >> >> MSN > >> >> > >> >> > Dejting > >> >> > _______________________________________________ > >> >> > Digikam-users mailing list > >> >> > [hidden email] > >> >> > https://mail.kde.org/mailman/listinfo/digikam-users > >> >> > >> >> _______________________________________________ > >> >> Digikam-users mailing list > >> >> [hidden email] > >> >> https://mail.kde.org/mailman/listinfo/digikam-users > >> > > >> > _______________________________________________ > >> > Digikam-users mailing list > >> > [hidden email] > >> > https://mail.kde.org/mailman/listinfo/digikam-users > >> > >> _______________________________________________ > >> Digikam-users mailing list > >> [hidden email] > >> https://mail.kde.org/mailman/listinfo/digikam-users > > > > _______________________________________________ > > Digikam-users mailing list > > [hidden email] > > https://mail.kde.org/mailman/listinfo/digikam-users > > _______________________________________________ > Digikam-users mailing list > [hidden email] > https://mail.kde.org/mailman/listinfo/digikam-users _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by Paul Waldo
I am not using anny network albums but I do have two USB HDD. The smaler one is a 500GB, FS is NTFS. The blinking appears regardles of if they are conected or not. I alsoe noticed that the left column with the list with albums flickerd to.
Yesterday evening I imported 16 GB with new pictures, uppdated the thumnails (only uppdate) and searched for duplicates and now it works OK! No flickering yet. /D.L. > Date: Fri, 26 Jun 2009 14:42:56 -0500 > From: [hidden email] > To: [hidden email] > Subject: Re: [Digikam-users] Redraw Problems > > Nope, no difference. > > I tried an experiment, though. I used strace on digikam. When an empty album (My Album) was selected, there are no thumbs to blink. strace is fairly quiet; it is polling for probably what is my Network Album that is unavailble. Once I select an album with thumbnails, the blinking starts and I see a huge amount of activity from strace. It appears that digikam is trying to write something to the same file handle it was checking before. > > Daniel, are you using an offline Album by any chance? > > Paul > ----- "Gilles Caulier" <[hidden email]> wrote: > > > Paul, try invert : -DENABLE_THUMBS_DB=OFF > > > > ... because DB thumb is enabled by default now. > > > > Gilles > > > > 2009/6/26 Paul Waldo <[hidden email]>: > > > Done. In essence, no change with -DENABLE_THUMBS_DB=ON > > > > > > Paul > > > ----- "Gilles Caulier" <[hidden email]> wrote: > > > > > >> Please take a look at this entry > > >> > > >> https://bugs.kde.org/show_bug.cgi?id=193489 > > >> > > >> and post your investiguations in this file. > > >> > > >> Gilles Caulier > > >> > > >> 2009/6/26 Daniel Larsson <[hidden email]>: > > >> > I alsoe get this behavior when opening folders. Never thought > > much > > >> about it > > >> > as it settles after a minute or two depending on the amount of > > files > > >> in the > > >> > folder. > > >> > I use Ubuntu 9.04 and digiKam 0.10.0. > > >> > Havent noticed this behaviour on my Acer with S3 graphichs only > > on > > >> the Asus > > >> > with nVidia. > > >> > > > >> > Trying to be helpful > > >> > D.L. > > >> > > > >> >> From: [hidden email] > > >> >> To: [hidden email] > > >> >> Date: Thu, 25 Jun 2009 22:28:40 +0200 > > >> >> Subject: Re: [Digikam-users] Redraw Problems > > >> >> > > >> >> > > >> >> > • Occasionally thumbnails will blink at me, as if they are > > being > > >> >> > continuously redrawn. CPU usage shoots through the roof. I > > have > > >> noticed > > >> >> > this with the Album icons, but I see it most with Album > > >> thumbnails > > >> >> > > >> >> There is a bug report for this, but I could never reproduce it. > > >> >> Which digikam version are you using? > > >> >> What do you do to restore normal behavior, given you say it > > happens > > >> all > > >> >> the > > >> >> time after restart? > > >> >> Any console output? > > >> >> > > >> >> Marcel > > >> >> _______________________________________________ > > >> >> Digikam-users mailing list > > >> >> [hidden email] > > >> >> https://mail.kde.org/mailman/listinfo/digikam-users > > >> > > > >> > ________________________________ > > >> > Gör personlighetstestet på MSN Dejting, se vem du passar ihop > > med! > > >> MSN > > >> > Dejting > > >> > _______________________________________________ > > >> > Digikam-users mailing list > > >> > [hidden email] > > >> > https://mail.kde.org/mailman/listinfo/digikam-users > > >> > > > >> > > > >> _______________________________________________ > > >> Digikam-users mailing list > > >> [hidden email] > > >> https://mail.kde.org/mailman/listinfo/digikam-users > > > _______________________________________________ > > > Digikam-users mailing list > > > [hidden email] > > > https://mail.kde.org/mailman/listinfo/digikam-users > > > > > _______________________________________________ > > Digikam-users mailing list > > [hidden email] > > https://mail.kde.org/mailman/listinfo/digikam-users > _______________________________________________ > Digikam-users mailing list > [hidden email] > https://mail.kde.org/mailman/listinfo/digikam-users Dela foton på ett smidigt sätt med Windows Live™ Photos. Dra och släpp _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by Bugzilla from andi.clemens@gmx.net
2009/6/26 Andi Clemens <[hidden email]>:
> Yes and that is the problem. Test it with a "big" collection, thumbsDB is way > too slow. > The startup is slow (in my case it has to open a 160MB db (digikam4.db) and a > 890MB db (thumbsDB)), the display is slow, the navigation is slow, changing > albums is slow etc... ;-) 890Mb for thumb... using PGF. Can you imagine the sapce using freedesktop (PNG) ? multiply by 2 or 3... > I don't think a thumbsDB is a bad idea, but using sqlite for this might be. > > Just some startup times (when I just rebooted the system, so nothing is > cached, all taken with the same image collection): > > digiKam 0.9.5 : 4s > digiKam 0.10.0 : 13s > digiKam 1.0.0 : 22s And when you switch to freefesktop to host thumb, it reduce times ? > > and it might get worse since the thumbsDB seems to grow forever, at least > moving files will not update the tables but create new entries (but this, if a > bug, can be changed quite easily). > > You can't run VACUUM on the thumbsDB because it takes 30min here and takes the > same amount of disk space for the journal. In my case the partition would be > nearly full if I VACUUM the thumbsDB, and if it fails, I don't know what will > happen at all when the journal could not be written? > > Again, I think a thumbsDB is a good idea, BUT not with sqlite. Like Amarok, we > should go with an embedded MySQL and support real database servers as well, > like amarok is doing now. We can use Mysql Qt4 plugin. why using an embeded version of Mysql ? Gilles > > Andi > > On Friday 26 June 2009 22:23:57 Gilles Caulier wrote: >> For me, I cannot see any performance problem to use Thumbs database >> instead freedesktop cache. I can say that it's a little bit faster. >> >> But here, i manage local album only with max 250 items (RAW, PNG, and JPEG) >> >> My lead computer (production is PIV3.4Ghz - 2Gb RAM - 520 GB Sata HDD) Forget to said that partition is reiserfs of course... >> >> Gilles Caulier >> >> 2009/6/26 Paul Waldo <[hidden email]>: >> > Nope, no difference. >> > >> > I tried an experiment, though. I used strace on digikam. When an empty >> > album (My Album) was selected, there are no thumbs to blink. strace is >> > fairly quiet; it is polling for probably what is my Network Album that is >> > unavailble. Once I select an album with thumbnails, the blinking starts >> > and I see a huge amount of activity from strace. It appears that digikam >> > is trying to write something to the same file handle it was checking >> > before. >> > >> > Daniel, are you using an offline Album by any chance? >> > >> > Paul >> > >> > ----- "Gilles Caulier" <[hidden email]> wrote: >> >> Paul, try invert : -DENABLE_THUMBS_DB=OFF >> >> >> >> ... because DB thumb is enabled by default now. >> >> >> >> Gilles >> >> >> >> 2009/6/26 Paul Waldo <[hidden email]>: >> >> > Done. In essence, no change with -DENABLE_THUMBS_DB=ON >> >> > >> >> > Paul >> >> > >> >> > ----- "Gilles Caulier" <[hidden email]> wrote: >> >> >> Please take a look at this entry >> >> >> >> >> >> https://bugs.kde.org/show_bug.cgi?id=193489 >> >> >> >> >> >> and post your investiguations in this file. >> >> >> >> >> >> Gilles Caulier >> >> >> >> >> >> 2009/6/26 Daniel Larsson <[hidden email]>: >> >> >> > I alsoe get this behavior when opening folders. Never thought >> >> >> >> much >> >> >> >> >> about it >> >> >> >> >> >> > as it settles after a minute or two depending on the amount of >> >> >> >> files >> >> >> >> >> in the >> >> >> >> >> >> > folder. >> >> >> > I use Ubuntu 9.04 and digiKam 0.10.0. >> >> >> > Havent noticed this behaviour on my Acer with S3 graphichs only >> >> >> >> on >> >> >> >> >> the Asus >> >> >> >> >> >> > with nVidia. >> >> >> > >> >> >> > Trying to be helpful >> >> >> > D.L. >> >> >> > >> >> >> >> From: [hidden email] >> >> >> >> To: [hidden email] >> >> >> >> Date: Thu, 25 Jun 2009 22:28:40 +0200 >> >> >> >> Subject: Re: [Digikam-users] Redraw Problems >> >> >> >> >> >> >> >> > • Occasionally thumbnails will blink at me, as if they are >> >> >> >> being >> >> >> >> >> >> > continuously redrawn. CPU usage shoots through the roof. I >> >> >> >> have >> >> >> >> >> noticed >> >> >> >> >> >> >> > this with the Album icons, but I see it most with Album >> >> >> >> >> >> thumbnails >> >> >> >> >> >> >> There is a bug report for this, but I could never reproduce it. >> >> >> >> Which digikam version are you using? >> >> >> >> What do you do to restore normal behavior, given you say it >> >> >> >> happens >> >> >> >> >> all >> >> >> >> >> >> >> the >> >> >> >> time after restart? >> >> >> >> Any console output? >> >> >> >> >> >> >> >> Marcel >> >> >> >> _______________________________________________ >> >> >> >> Digikam-users mailing list >> >> >> >> [hidden email] >> >> >> >> https://mail.kde.org/mailman/listinfo/digikam-users >> >> >> > >> >> >> > ________________________________ >> >> >> > Gör personlighetstestet på MSN Dejting, se vem du passar ihop >> >> >> >> med! >> >> >> >> >> MSN >> >> >> >> >> >> > Dejting >> >> >> > _______________________________________________ >> >> >> > Digikam-users mailing list >> >> >> > [hidden email] >> >> >> > https://mail.kde.org/mailman/listinfo/digikam-users >> >> >> >> >> >> _______________________________________________ >> >> >> Digikam-users mailing list >> >> >> [hidden email] >> >> >> https://mail.kde.org/mailman/listinfo/digikam-users >> >> > >> >> > _______________________________________________ >> >> > Digikam-users mailing list >> >> > [hidden email] >> >> > https://mail.kde.org/mailman/listinfo/digikam-users >> >> >> >> _______________________________________________ >> >> Digikam-users mailing list >> >> [hidden email] >> >> https://mail.kde.org/mailman/listinfo/digikam-users >> > >> > _______________________________________________ >> > Digikam-users mailing list >> > [hidden email] >> > https://mail.kde.org/mailman/listinfo/digikam-users >> >> _______________________________________________ >> Digikam-users mailing list >> [hidden email] >> https://mail.kde.org/mailman/listinfo/digikam-users > > _______________________________________________ > Digikam-users mailing list > [hidden email] > https://mail.kde.org/mailman/listinfo/digikam-users > Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
On Saturday 27 June 2009 08:19:11 Gilles Caulier wrote: > 2009/6/26 Andi Clemens <[hidden email]>: > > Yes and that is the problem. Test it with a "big" collection, thumbsDB is > > way too slow. > > The startup is slow (in my case it has to open a 160MB db (digikam4.db) > > and a 890MB db (thumbsDB)), the display is slow, the navigation is slow, > > changing albums is slow etc... ;-) > > 890Mb for thumb... using PGF. Can you imagine the sapce using > freedesktop (PNG) ? multiply by 2 or 3... Sure, but that's not the point (for me at last). The problem is that sqlite is not able to handle this mass of data correctly as it seems. When digiKam is becoming unusable because it is so slow, disk-space is not the main problem we have :) Some users already complained that there are twice the thumbnails now in their system, and I can understand this complaint. Applications should all use the .thumbnails folder, so we don't have twice the data. But this was never the case, somehow thumbnails created with digiKam were never shared / read by other applications. So actually nothing changed here :-) On the other hand we need the ability to have thumbnails for offline images, this is why I suggested in the past that only remote collections should use the thumbsDB. > > > I don't think a thumbsDB is a bad idea, but using sqlite for this might > > be. > > > > Just some startup times (when I just rebooted the system, so nothing is > > cached, all taken with the same image collection): > > > > digiKam 0.9.5 : 4s > > digiKam 0.10.0 : 13s > > digiKam 1.0.0 : 22s > > And when you switch to freefesktop to host thumb, it reduce times ? Yes, totally. Still startup is slower than 0.9.5 because the main db is bigger now due to the fingerprints table we use now. I don't know why but for example the loading of imageplugins and kipi-plugins has become slower, you can "see" it, but also measure it. Using callgrind doesn't gave a glue so I don't know why it is like this now, but it is absolutely noticeable. > > > and it might get worse since the thumbsDB seems to grow forever, at least > > moving files will not update the tables but create new entries (but this, > > if a bug, can be changed quite easily). > > > > You can't run VACUUM on the thumbsDB because it takes 30min here and > > takes the same amount of disk space for the journal. In my case the > > partition would be nearly full if I VACUUM the thumbsDB, and if it fails, > > I don't know what will happen at all when the journal could not be > > written? > > > > Again, I think a thumbsDB is a good idea, BUT not with sqlite. Like > > Amarok, we should go with an embedded MySQL and support real database > > servers as well, like amarok is doing now. > > We can use Mysql Qt4 plugin. why using an embeded version of Mysql ? I thought of embedded because digiKam already has so many dependencies that some none KDE-users don't install the KDE4 version anymore. I know some guys that switched to F-Spot or picasa because of that. Sure most dependencies come from KDE directly, but we also have new ones like Marble etc (and most Distros always link against Marble). > > Gilles > > > Andi > > > > On Friday 26 June 2009 22:23:57 Gilles Caulier wrote: > >> For me, I cannot see any performance problem to use Thumbs database > >> instead freedesktop cache. I can say that it's a little bit faster. > >> > >> But here, i manage local album only with max 250 items (RAW, PNG, and > >> JPEG) > >> > >> My lead computer (production is PIV3.4Ghz - 2Gb RAM - 520 GB Sata HDD) > > Forget to said that partition is reiserfs of course... > > >> Gilles Caulier > >> > >> 2009/6/26 Paul Waldo <[hidden email]>: > >> > Nope, no difference. > >> > > >> > I tried an experiment, though. I used strace on digikam. When an > >> > empty album (My Album) was selected, there are no thumbs to blink. > >> > strace is fairly quiet; it is polling for probably what is my Network > >> > Album that is unavailble. Once I select an album with thumbnails, the > >> > blinking starts and I see a huge amount of activity from strace. It > >> > appears that digikam is trying to write something to the same file > >> > handle it was checking before. > >> > > >> > Daniel, are you using an offline Album by any chance? > >> > > >> > Paul > >> > > >> > ----- "Gilles Caulier" <[hidden email]> wrote: > >> >> Paul, try invert : -DENABLE_THUMBS_DB=OFF > >> >> > >> >> ... because DB thumb is enabled by default now. > >> >> > >> >> Gilles > >> >> > >> >> 2009/6/26 Paul Waldo <[hidden email]>: > >> >> > Done. In essence, no change with -DENABLE_THUMBS_DB=ON > >> >> > > >> >> > Paul > >> >> > > >> >> > ----- "Gilles Caulier" <[hidden email]> wrote: > >> >> >> Please take a look at this entry > >> >> >> > >> >> >> https://bugs.kde.org/show_bug.cgi?id=193489 > >> >> >> > >> >> >> and post your investiguations in this file. > >> >> >> > >> >> >> Gilles Caulier > >> >> >> > >> >> >> 2009/6/26 Daniel Larsson <[hidden email]>: > >> >> >> > I alsoe get this behavior when opening folders. Never thought > >> >> > >> >> much > >> >> > >> >> >> about it > >> >> >> > >> >> >> > as it settles after a minute or two depending on the amount of > >> >> > >> >> files > >> >> > >> >> >> in the > >> >> >> > >> >> >> > folder. > >> >> >> > I use Ubuntu 9.04 and digiKam 0.10.0. > >> >> >> > Havent noticed this behaviour on my Acer with S3 graphichs only > >> >> > >> >> on > >> >> > >> >> >> the Asus > >> >> >> > >> >> >> > with nVidia. > >> >> >> > > >> >> >> > Trying to be helpful > >> >> >> > D.L. > >> >> >> > > >> >> >> >> From: [hidden email] > >> >> >> >> To: [hidden email] > >> >> >> >> Date: Thu, 25 Jun 2009 22:28:40 +0200 > >> >> >> >> Subject: Re: [Digikam-users] Redraw Problems > >> >> >> >> > >> >> >> >> > • Occasionally thumbnails will blink at me, as if they are > >> >> > >> >> being > >> >> > >> >> >> >> > continuously redrawn. CPU usage shoots through the roof. I > >> >> > >> >> have > >> >> > >> >> >> noticed > >> >> >> > >> >> >> >> > this with the Album icons, but I see it most with Album > >> >> >> > >> >> >> thumbnails > >> >> >> > >> >> >> >> There is a bug report for this, but I could never reproduce it. > >> >> >> >> Which digikam version are you using? > >> >> >> >> What do you do to restore normal behavior, given you say it > >> >> > >> >> happens > >> >> > >> >> >> all > >> >> >> > >> >> >> >> the > >> >> >> >> time after restart? > >> >> >> >> Any console output? > >> >> >> >> > >> >> >> >> Marcel > >> >> >> >> _______________________________________________ > >> >> >> >> Digikam-users mailing list > >> >> >> >> [hidden email] > >> >> >> >> https://mail.kde.org/mailman/listinfo/digikam-users > >> >> >> > > >> >> >> > ________________________________ > >> >> >> > Gör personlighetstestet på MSN Dejting, se vem du passar ihop > >> >> > >> >> med! > >> >> > >> >> >> MSN > >> >> >> > >> >> >> > Dejting > >> >> >> > _______________________________________________ > >> >> >> > Digikam-users mailing list > >> >> >> > [hidden email] > >> >> >> > https://mail.kde.org/mailman/listinfo/digikam-users > >> >> >> > >> >> >> _______________________________________________ > >> >> >> Digikam-users mailing list > >> >> >> [hidden email] > >> >> >> https://mail.kde.org/mailman/listinfo/digikam-users > >> >> > > >> >> > _______________________________________________ > >> >> > Digikam-users mailing list > >> >> > [hidden email] > >> >> > https://mail.kde.org/mailman/listinfo/digikam-users > >> >> > >> >> _______________________________________________ > >> >> Digikam-users mailing list > >> >> [hidden email] > >> >> https://mail.kde.org/mailman/listinfo/digikam-users > >> > > >> > _______________________________________________ > >> > Digikam-users mailing list > >> > [hidden email] > >> > https://mail.kde.org/mailman/listinfo/digikam-users > >> > >> _______________________________________________ > >> Digikam-users mailing list > >> [hidden email] > >> https://mail.kde.org/mailman/listinfo/digikam-users > > > > _______________________________________________ > > Digikam-users mailing list > > [hidden email] > > https://mail.kde.org/mailman/listinfo/digikam-users > > _______________________________________________ > Digikam-users mailing list > [hidden email] > https://mail.kde.org/mailman/listinfo/digikam-users _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by Bugzilla from opersonlig_postadress@hotmail.com
digiKam only works with a lot of images, when using just a few it flickers, to
warn you :-) No just kidding. This is weird, I never experienced flickering here and I would always guess it is a graphics card and Qt4 problem, not a digiKam problem. But as long as we can not reproduce it, it's not possible to make correct guesses. I don't know if it would help but we have a helper script to cleanup the digiKam db, it is located in /usr/bin/cleanup_digikamdb. Maybe this can solve some problems, too? Andi On Saturday 27 June 2009 07:21:11 Daniel Larsson wrote: > I am not using anny network albums but I do have two USB HDD. The smaler > one is a 500GB, FS is NTFS. The blinking appears regardles of if they are > conected or not. I alsoe noticed that the left column with the list with > albums flickerd to. > > Yesterday evening I imported 16 GB with new pictures, uppdated the > thumnails (only uppdate) and searched for duplicates and now it works OK! > No flickering yet. > > /D.L. > > > Date: Fri, 26 Jun 2009 14:42:56 -0500 > > From: [hidden email] > > To: [hidden email] > > Subject: Re: [Digikam-users] Redraw Problems > > > > Nope, no difference. > > > > I tried an experiment, though. I used strace on digikam. When an empty > > album (My Album) was selected, there are no thumbs to blink. strace is > > fairly quiet; it is polling for probably what is my Network Album that is > > unavailble. Once I select an album with thumbnails, the blinking starts > > and I see a huge amount of activity from strace. It appears that digikam > > is trying to write something to the same file handle it was checking > > before. > > > > Daniel, are you using an offline Album by any chance? > > > > Paul > > > > ----- "Gilles Caulier" <[hidden email]> wrote: > > > Paul, try invert : -DENABLE_THUMBS_DB=OFF > > > > > > ... because DB thumb is enabled by default now. > > > > > > Gilles > > > > > > 2009/6/26 Paul Waldo <[hidden email]>: > > > > Done. In essence, no change with -DENABLE_THUMBS_DB=ON > > > > > > > > Paul > > > > > > > > ----- "Gilles Caulier" <[hidden email]> wrote: > > > >> Please take a look at this entry > > > >> > > > >> https://bugs.kde.org/show_bug.cgi?id=193489 > > > >> > > > >> and post your investiguations in this file. > > > >> > > > >> Gilles Caulier > > > >> > > > >> 2009/6/26 Daniel Larsson <[hidden email]>: > > > >> > I alsoe get this behavior when opening folders. Never thought > > > > > > much > > > > > > >> about it > > > >> > > > >> > as it settles after a minute or two depending on the amount of > > > > > > files > > > > > > >> in the > > > >> > > > >> > folder. > > > >> > I use Ubuntu 9.04 and digiKam 0.10.0. > > > >> > Havent noticed this behaviour on my Acer with S3 graphichs only > > > > > > on > > > > > > >> the Asus > > > >> > > > >> > with nVidia. > > > >> > > > > >> > Trying to be helpful > > > >> > D.L. > > > >> > > > > >> >> From: [hidden email] > > > >> >> To: [hidden email] > > > >> >> Date: Thu, 25 Jun 2009 22:28:40 +0200 > > > >> >> Subject: Re: [Digikam-users] Redraw Problems > > > >> >> > > > >> >> > • Occasionally thumbnails will blink at me, as if they are > > > > > > being > > > > > > >> >> > continuously redrawn. CPU usage shoots through the roof. I > > > > > > have > > > > > > >> noticed > > > >> > > > >> >> > this with the Album icons, but I see it most with Album > > > >> > > > >> thumbnails > > > >> > > > >> >> There is a bug report for this, but I could never reproduce it. > > > >> >> Which digikam version are you using? > > > >> >> What do you do to restore normal behavior, given you say it > > > > > > happens > > > > > > >> all > > > >> > > > >> >> the > > > >> >> time after restart? > > > >> >> Any console output? > > > >> >> > > > >> >> Marcel > > > >> >> _______________________________________________ > > > >> >> Digikam-users mailing list > > > >> >> [hidden email] > > > >> >> https://mail.kde.org/mailman/listinfo/digikam-users > > > >> > > > > >> > ________________________________ > > > >> > Gör personlighetstestet på MSN Dejting, se vem du passar ihop > > > > > > med! > > > > > > >> MSN > > > >> > > > >> > Dejting > > > >> > _______________________________________________ > > > >> > Digikam-users mailing list > > > >> > [hidden email] > > > >> > https://mail.kde.org/mailman/listinfo/digikam-users > > > >> > > > >> _______________________________________________ > > > >> Digikam-users mailing list > > > >> [hidden email] > > > >> https://mail.kde.org/mailman/listinfo/digikam-users > > > > > > > > _______________________________________________ > > > > Digikam-users mailing list > > > > [hidden email] > > > > https://mail.kde.org/mailman/listinfo/digikam-users > > > > > > _______________________________________________ > > > Digikam-users mailing list > > > [hidden email] > > > https://mail.kde.org/mailman/listinfo/digikam-users > > > > _______________________________________________ > > Digikam-users mailing list > > [hidden email] > > https://mail.kde.org/mailman/listinfo/digikam-users > > _________________________________________________________________ > Vårkänslor och pirr i magen? Hitta din drömpartner här! > http://dejting.se.msn.com/channel/index.aspx?trackingid=1002952 _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by Paul Waldo
Here is another data point. The flickering increases as I move the mouse over album folders. When I move my mouse over the thumbnails themselves, the flickering increases greatly: tens of times a second!
Also, the strace output shows a great deal of polling, even when the application is idle, like this: read(7, 0x15b24f4, 4096) = -1 EAGAIN (Resource temporarily unavailable) read(7, 0x15b24f4, 4096) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=3, events=POLLIN}, {fd=8, events=POLLIN}, {fd=9, events=POLLIN}, {fd=7, events=POLLIN}, {fd=10, events=POLLIN}, {fd=13, events=POLLIN}, {fd=49, events=POLLIN}, {fd=50, events=POLLIN}, {fd=51, events=POLLIN}, {fd=52, events=POLLIN}, {fd=53, events=POLLIN}, {fd=41, events=POLLIN}, {fd=43, events=POLLIN}, {fd=46, events=POLLIN}, {fd=47, events=POLLIN}, {fd=48, events=POLLIN}], 16, 199) = 0 (Timeout) read(7, 0x15b24f4, 4096) = -1 EAGAIN (Resource temporarily unavailable) read(7, 0x15b24f4, 4096) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=3, events=POLLIN}, {fd=8, events=POLLIN}, {fd=9, events=POLLIN}, {fd=7, events=POLLIN}, {fd=10, events=POLLIN}, {fd=13, events=POLLIN}, {fd=49, events=POLLIN}, {fd=50, events=POLLIN}, {fd=51, events=POLLIN}, {fd=52, events=POLLIN}, {fd=53, events=POLLIN}, {fd=41, events=POLLIN}, {fd=43, events=POLLIN}, {fd=46, events=POLLIN}, {fd=47, events=POLLIN}, {fd=48, events=POLLIN}], 16, 0) = 0 (Timeout) read(7, 0x15b24f4, 4096) = -1 EAGAIN (Resource temporarily unavailable) read(7, 0x15b24f4, 4096) = -1 EAGAIN (Resource temporarily unavailable) There are at least 5 per second. When I see the very fast flicker, the strace changes character a bit: read(7, 0x15b24f4, 4096) = -1 EAGAIN (Resource temporarily unavailable) select(8, [7], [7], NULL, NULL) = 1 (out [7]) writev(7, [{"(\0\4\0\\\2\0\0\241\4@\4\30\1D\2"..., 16}, {NULL, 0}, {""..., 0}], 3) = 16 select(8, [7], [], NULL, NULL) = 1 (in [7]) read(7, "\1\1(\217\0\0\0\0\0\0\0\0\365\0\272\0`\324}\0\0\0\0\0(\0\0\0\0\0\0\0"..., 4096) = 32 read(7, "\6\0(\217\253\205\257\6\\\2\0\0\241\4@\4\0\0\0\0\27\1F\2\364\0\274\0\20\0\1\0"..., 4096) = 32 read(7, 0x15b24f4, 4096) = -1 EAGAIN (Resource temporarily unavailable) read(7, 0x15b24f4, 4096) = -1 EAGAIN (Resource temporarily unavailable) select(8, [7], [7], NULL, NULL) = 1 (out [7]) writev(7, [{"(\0\4\0\\\2\0\0\241\4@\4\27\1F\2"..., 16}, {NULL, 0}, {""..., 0}], 3) = 16 select(8, [7], [], NULL, NULL) = 1 (in [7]) read(7, "\1\1)\217\0\0\0\0\0\0\0\0\364\0\274\0`\324}\0\0\0\0\0(\0\0\0\0\0\0\0"..., 4096) = 32 read(7, 0x15b24f4, 4096) = -1 EAGAIN (Resource temporarily unavailable) select(8, [7], [7], NULL, NULL) = 1 (out [7]) writev(7, [{"(\0\4\0\\\2\0\0\241\4@\4\30\1E\2"..., 16}, {NULL, 0}, {""..., 0}], 3) = 16 select(8, [7], [], NULL, NULL) = 1 (in [7]) read(7, "\1\1*\217\0\0\0\0\0\0\0\0\365\0\273\0`\324}\0\0\0\0\0(\0\0\0\0\0\0\0"..., 4096) = 32 read(7, 0x15b24f4, 4096) = -1 EAGAIN (Resource temporarily unavailable) read(7, 0x15b24f4, 4096) = -1 EAGAIN (Resource temporarily unavailable) read(7, 0x15b24f4, 4096) = -1 EAGAIN (Resource temporarily unavailable) read(7, 0x15b24f4, 4096) = -1 EAGAIN (Resource temporarily unavailable) read(7, "\6\0*\217\265\205\257\6\\\2\0\0\241\4@\4\0\0\0\0\27\1G\2\364\0\275\0\20\0\1\0"..., 4096) = 32 read(7, 0x15b24f4, 4096) = -1 EAGAIN (Resource temporarily unavailable) read(7, 0x15b24f4, 4096) = -1 EAGAIN (Resource temporarily unavailable) select(8, [7], [7], NULL, NULL) = 1 (out [7]) writev(7, [{"(\0\4\0\\\2\0\0\241\4@\4\27\1G\2"..., 16}, {NULL, 0}, {""..., 0}], 3) = 16 select(8, [7], [], NULL, NULL) = 1 (in [7]) read(7, "\1\1+\217\0\0\0\0\0\0\0\0\364\0\275\0`\324}\0\0\0\0\0(\0\0\0\0\0\0\0"..., 4096) = 32 read(7, 0x15b24f4, 4096) = -1 EAGAIN (Resource temporarily unavailable) select(8, [7], [7], NULL, NULL) = 1 (out [7]) writev(7, [{"(\0\4\0\\\2\0\0\241\4@\4\27\1F\2"..., 16}, {NULL, 0}, {""..., 0}], 3) = 16 select(8, [7], [], NULL, NULL) = 1 (in [7]) read(7, "\1\1,\217\0\0\0\0\0\0\0\0\364\0\274\0`\324}\0\0\0\0\0(\0\0\0\0\0\0\0"..., 4096) = 32 read(7, 0x15b24f4, 4096) = -1 EAGAIN (Resource temporarily unavailable) Notice that we have the polling, but we also have the writing. I have no idea what it is doing, but it smells fishy that simply moving the mouse over a thumbnail generates tens of I/O requests... I have a feeling that this related to changing an Album from local to a network album. You may remember that I had a samba mounted album that was local, but then re-imported it as a network album. I then deleted the original local album. When I did that, that's when I started to see the flickering. I'll try the DB cleanup script and let you know how it goes. I can also post a video capture of the flickering if that will help. Paul ----- "Paul Waldo" <[hidden email]> wrote: > Nope, no difference. > > I tried an experiment, though. I used strace on digikam. When an > empty album (My Album) was selected, there are no thumbs to blink. > strace is fairly quiet; it is polling for probably what is my Network > Album that is unavailble. Once I select an album with thumbnails, the > blinking starts and I see a huge amount of activity from strace. It > appears that digikam is trying to write something to the same file > handle it was checking before. > > Daniel, are you using an offline Album by any chance? > > Paul > ----- "Gilles Caulier" <[hidden email]> wrote: > > > Paul, try invert : -DENABLE_THUMBS_DB=OFF > > > > ... because DB thumb is enabled by default now. > > > > Gilles > > > > 2009/6/26 Paul Waldo <[hidden email]>: > > > Done. In essence, no change with -DENABLE_THUMBS_DB=ON > > > > > > Paul > > > ----- "Gilles Caulier" <[hidden email]> wrote: > > > > > >> Please take a look at this entry > > >> > > >> https://bugs.kde.org/show_bug.cgi?id=193489 > > >> > > >> and post your investiguations in this file. > > >> > > >> Gilles Caulier > > >> > > >> 2009/6/26 Daniel Larsson <[hidden email]>: > > >> > I alsoe get this behavior when opening folders. Never thought > > much > > >> about it > > >> > as it settles after a minute or two depending on the amount of > > files > > >> in the > > >> > folder. > > >> > I use Ubuntu 9.04 and digiKam 0.10.0. > > >> > Havent noticed this behaviour on my Acer with S3 graphichs > only > > on > > >> the Asus > > >> > with nVidia. > > >> > > > >> > Trying to be helpful > > >> > D.L. > > >> > > > >> >> From: [hidden email] > > >> >> To: [hidden email] > > >> >> Date: Thu, 25 Jun 2009 22:28:40 +0200 > > >> >> Subject: Re: [Digikam-users] Redraw Problems > > >> >> > > >> >> > > >> >> > • Occasionally thumbnails will blink at me, as if they are > > being > > >> >> > continuously redrawn. CPU usage shoots through the roof. I > > have > > >> noticed > > >> >> > this with the Album icons, but I see it most with Album > > >> thumbnails > > >> >> > > >> >> There is a bug report for this, but I could never reproduce > it. > > >> >> Which digikam version are you using? > > >> >> What do you do to restore normal behavior, given you say it > > happens > > >> all > > >> >> the > > >> >> time after restart? > > >> >> Any console output? > > >> >> > > >> >> Marcel > > >> >> _______________________________________________ > > >> >> Digikam-users mailing list > > >> >> [hidden email] > > >> >> https://mail.kde.org/mailman/listinfo/digikam-users > > >> > > > >> > ________________________________ > > >> > Gör personlighetstestet på MSN Dejting, se vem du passar ihop > > med! > > >> MSN > > >> > Dejting > > >> > _______________________________________________ > > >> > Digikam-users mailing list > > >> > [hidden email] > > >> > https://mail.kde.org/mailman/listinfo/digikam-users > > >> > > > >> > > > >> _______________________________________________ > > >> Digikam-users mailing list > > >> [hidden email] > > >> https://mail.kde.org/mailman/listinfo/digikam-users > > > _______________________________________________ > > > Digikam-users mailing list > > > [hidden email] > > > https://mail.kde.org/mailman/listinfo/digikam-users > > > > > _______________________________________________ > > Digikam-users mailing list > > [hidden email] > > https://mail.kde.org/mailman/listinfo/digikam-users > _______________________________________________ > Digikam-users mailing list > [hidden email] > https://mail.kde.org/mailman/listinfo/digikam-users Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by Paul Waldo
OK, sorry, this was a red herring. I went back just to see what Digikam 0.10.0 was doing and it is working fine! I only see the flickering in the SVN version. Let me know how I can help in debugging....
Paul ----- "Paul Waldo" <[hidden email]> wrote: > Here is another data point. The flickering increases as I move the > mouse over album folders. When I move my mouse over the thumbnails > themselves, the flickering increases greatly: tens of times a second! _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
Paul can you record a small video of your desktop to have a visual feedback ?
thanks in advance Gilles Caulier 2009/6/27 Paul Waldo <[hidden email]>: > OK, sorry, this was a red herring. I went back just to see what Digikam 0.10.0 was doing and it is working fine! I only see the flickering in the SVN version. Let me know how I can help in debugging.... > > Paul > > ----- "Paul Waldo" <[hidden email]> wrote: > >> Here is another data point. The flickering increases as I move the >> mouse over album folders. When I move my mouse over the thumbnails >> themselves, the flickering increases greatly: tens of times a second! > _______________________________________________ > Digikam-users mailing list > [hidden email] > https://mail.kde.org/mailman/listinfo/digikam-users > Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
Also, do you have tries this way :
https://bugs.kde.org/show_bug.cgi?id=193489#c6 https://bugs.kde.org/show_bug.cgi?id=193489#c7 Gilles 2009/6/28 Gilles Caulier <[hidden email]>: > Paul can you record a small video of your desktop to have a visual feedback ? > > thanks in advance > > Gilles Caulier > > 2009/6/27 Paul Waldo <[hidden email]>: >> OK, sorry, this was a red herring. I went back just to see what Digikam 0.10.0 was doing and it is working fine! I only see the flickering in the SVN version. Let me know how I can help in debugging.... >> >> Paul >> >> ----- "Paul Waldo" <[hidden email]> wrote: >> >>> Here is another data point. The flickering increases as I move the >>> mouse over album folders. When I move my mouse over the thumbnails >>> themselves, the flickering increases greatly: tens of times a second! >> _______________________________________________ >> Digikam-users mailing list >> [hidden email] >> https://mail.kde.org/mailman/listinfo/digikam-users >> > Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
Free forum by Nabble | Edit this page |