Redraw Problems

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

Re: Redraw Problems

Bugzilla from andi.clemens@gmx.net
Paul,

we had this flickering for a few days as we switched to Qt4 ModelView
architecture.
But this was fixed immediately. Have you really checked out the latest SVN
version, or do you use some prebuild SVN snapshot (that might be too old)?

What graphics card do you use? Which driver version?
Which Qt4 and KDE4 version?
Can you post the output of the "Components information" dialog in digiKam?

I don't know if you answered this already, the thread has become quite long.

Andi

On Saturday 27 June 2009 22:56:05 Paul Waldo wrote:

> 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
Reply | Threaded
Open this post in threaded view
|

Re: Redraw Problems

Paul Waldo
In reply to this post by Gilles Caulier-4
Hi all,

I have had a tough time trying to capture the flickering.  I have created the following Flash animations of my correctly working 0.10.0 version and the flickering SVN version.  I'm not sure you can see the flickering, as it may be so fast the capture doesn't catch it.  Hopefully it will be of some use, and  sorry for the large size...

http://www.waldoware.com/non-flashing_digikam.html
http://www.waldoware.com/flashing_digikam.html

Thanks!
Paul

----- "Gilles Caulier" <[hidden email]> wrote:

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

Re: Redraw Problems

Gilles Caulier-4
In reply to this post by Bugzilla from andi.clemens@gmx.net
Some links posted to my FB page about Amarok and Mysql :

http://amarok.kde.org/blog/archives/812-MySQL-in-Amarok-2-The-Reality.html

http://amarok.kde.org/blog/archives/812-MySQL-in-Amarok-2-The-Reality.html

Gilles

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... ;-)
> 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
>
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
12