MNG in PmW-Fx 1.5

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

MNG in PmW-Fx 1.5

Ilya Zakharevich

I found the following problems with MNG test suite:

  a) http://www.libmng.com/MNGsuite/anke_simi_img.html

     The image at botton does not show.

  b) http://www.libmng.com/MNGsuite/dynamic_img.html

     The mouse is not active.

But probably it is not restricted to OS/2 build, right?

Thanks for the build again,
Ilya
_______________________________________________
Mozilla-os2 mailing list
[hidden email]
http://mail.mozilla.org/listinfo/mozilla-os2
Reply | Threaded
Open this post in threaded view
|

Re: MNG in PmW-Fx 1.5

Peter Weilbacher
Ilya Zakharevich wrote:

> I found the following problems with MNG test suite:
>
>   a) http://www.libmng.com/MNGsuite/anke_simi_img.html
>
>      The image at botton does not show.
>
>   b) http://www.libmng.com/MNGsuite/dynamic_img.html
>
>      The mouse is not active.
>
> But probably it is not restricted to OS/2 build, right?

No, that's normal for now:
   https://bugzilla.mozilla.org/show_bug.cgi?id=44866
   https://bugzilla.mozilla.org/show_bug.cgi?id=177670
Until MNG gets back into the Mozilla source tree (if ever) work on extra
features has been suspended AFAIU.
--
Cheers, Peter.
                                               Please reply in newsgroup
    Unofficial Mozilla builds: http://weilbacher.org/Mozilla/builds.html
    Steve's Warpzilla Tips: http://www.os2bbs.com/os2news/Warpzilla.html
_______________________________________________
Mozilla-os2 mailing list
[hidden email]
http://mail.mozilla.org/listinfo/mozilla-os2
Reply | Threaded
Open this post in threaded view
|

Re: MNG in PmW-Fx 1.5

Ilya Zakharevich
[A complimentary Cc of this posting was NOT [per weedlist] sent to
Peter Weilbacher
<[hidden email]>], who wrote in article <[hidden email]>:
> > I found the following problems with MNG test suite:
....
> > But probably it is not restricted to OS/2 build, right?
>
> No, that's normal for now:
>    https://bugzilla.mozilla.org/show_bug.cgi?id=44866
>    https://bugzilla.mozilla.org/show_bug.cgi?id=177670
> Until MNG gets back into the Mozilla source tree (if ever) work on extra
> features has been suspended AFAIU.

Is it normal to steal CPU?  I go to

  http://www.libmng.com/MNGsuite/text_scroll_img.html

return back, and about 25% of CPU usage (Athlon/850) is stolen until I
quit FF.  If visit "next" link on the page above (which loads some
other animated image), yet more CPU is stolen.

Thanks,
Ilya


_______________________________________________
Mozilla-os2 mailing list
[hidden email]
http://mail.mozilla.org/listinfo/mozilla-os2
Reply | Threaded
Open this post in threaded view
|

Re: MNG in PmW-Fx 1.5

Peter Weilbacher
Ilya Zakharevich wrote:
> Is it normal to steal CPU?  I go to
>
>   http://www.libmng.com/MNGsuite/text_scroll_img.html
>
> return back, and about 25% of CPU usage (Athlon/850) is stolen until I
> quit FF.  If visit "next" link on the page above (which loads some
> other animated image), yet more CPU is stolen.

It's not "stealing" CPU, unless I misunderstand what you are saying.
Animation just is CPU intensive, no matter how it is done.
--
Grüße von
   Peter.
_______________________________________________
Mozilla-os2 mailing list
[hidden email]
http://mail.mozilla.org/listinfo/mozilla-os2
Reply | Threaded
Open this post in threaded view
|

Re: MNG in PmW-Fx 1.5

Ilya Zakharevich
[A complimentary Cc of this posting was NOT [per weedlist] sent to
Peter Weilbacher
<[hidden email]>], who wrote in article <[hidden email]>:
> Ilya Zakharevich wrote:
> > Is it normal to steal CPU?  I go to
> >
> >   http://www.libmng.com/MNGsuite/text_scroll_img.html
> >
> > return back, and about 25% of CPU usage (Athlon/850) is stolen until I
    ^^^^^^^^^^^

> > quit FF.  If visit "next" link on the page above (which loads some
> > other animated image), yet more CPU is stolen.

> It's not "stealing" CPU, unless I misunderstand what you are saying.

I think you guessed correct: you did misunderstand.

> Animation just is CPU intensive, no matter how it is done.

After you go back, there is no animation on the screen.

Hope this helps,
Ilya
_______________________________________________
Mozilla-os2 mailing list
[hidden email]
http://mail.mozilla.org/listinfo/mozilla-os2
Reply | Threaded
Open this post in threaded view
|

Re: MNG in PmW-Fx 1.5

Peter Weilbacher
On Tue, 17 Jan 2006 21:11:34 UTC,  Ilya Zakharevich wrote:

> [A complimentary Cc of this posting was NOT [per weedlist] sent to
> Peter Weilbacher
> <[hidden email]>], who wrote in article <[hidden email]>:
> > Ilya Zakharevich wrote:
> > > Is it normal to steal CPU?  I go to
> > >
> > >   http://www.libmng.com/MNGsuite/text_scroll_img.html
> > >
> > > return back, and about 25% of CPU usage (Athlon/850) is stolen until I
>     ^^^^^^^^^^^

Ah, sorry, I missed that. "return back" to a page without (MNG)
animations...

> After you go back, there is no animation on the screen.

That's the same as for GIFs, right? If they are large enough, they also
use CPU and even increase RAM usage when not showing. It's not nice and
there are some bugs about that. It helps to set "image.animation_mode"
to "once".
--
Cheers, Peter.
                                               Please reply in newsgroup
    Unofficial Mozilla builds: http://weilbacher.org/Mozilla/builds.html
    Steve's Warpzilla Tips: http://www.os2bbs.com/os2news/Warpzilla.html
_______________________________________________
Mozilla-os2 mailing list
[hidden email]
http://mail.mozilla.org/listinfo/mozilla-os2
Reply | Threaded
Open this post in threaded view
|

Re: MNG in PmW-Fx 1.5

Steve Wendt
Peter Weilbacher wrote:

> That's the same as for GIFs, right? If they are large enough, they also
> use CPU

This was true in Netscape 4.x for OS/2 as well.
_______________________________________________
Mozilla-os2 mailing list
[hidden email]
http://mail.mozilla.org/listinfo/mozilla-os2
Reply | Threaded
Open this post in threaded view
|

Re: MNG in PmW-Fx 1.5

Peter Weilbacher
In reply to this post by Peter Weilbacher
Peter Weilbacher wrote:

> That's the same as for GIFs, right? If they are large enough, they also
> use CPU and even increase RAM usage when not showing. It's not nice and
> there are some bugs about that. It helps to set "image.animation_mode"
> to "once".

I was just going to recommend to use ESC to stop them, but that doesn't
seem to work for MNGs. (Probably cross-platform although I only tested
on Linux, now filed as bug 323860.)
--
Cheers, Peter.
                                               Please reply in newsgroup
    Unofficial Mozilla builds: http://weilbacher.org/Mozilla/builds.html
    Steve's Warpzilla Tips: http://www.os2bbs.com/os2news/Warpzilla.html
_______________________________________________
Mozilla-os2 mailing list
[hidden email]
http://mail.mozilla.org/listinfo/mozilla-os2
Reply | Threaded
Open this post in threaded view
|

Re: MNG in PmW-Fx 1.5

Ilya Zakharevich
In reply to this post by Peter Weilbacher
[A complimentary Cc of this posting was NOT [per weedlist] sent to
Peter Weilbacher
<[hidden email]>], who wrote in article <[hidden email]>:
> > After you go back, there is no animation on the screen.

> That's the same as for GIFs, right? If they are large enough, they also
> use CPU and even increase RAM usage when not showing.

So, if I visit 100 sites with the same FF process, each site showing
10 animated GIFs for ads, I have 1000 GIFs constantly eating the CPU?
Somehow I think that if this were true, this would be fixed long
ago...

Thanks,
Ilya
_______________________________________________
Mozilla-os2 mailing list
[hidden email]
http://mail.mozilla.org/listinfo/mozilla-os2
Reply | Threaded
Open this post in threaded view
|

Re: MNG in PmW-Fx 1.5

William L. Hartzell
Sir:

Ilya Zakharevich wrote:

> [A complimentary Cc of this posting was NOT [per weedlist] sent to
> Peter Weilbacher <[hidden email]>], who wrote in article
> <[hidden email]>:
>>> After you go back, there is no animation on the screen.
>
>> That's the same as for GIFs, right? If they are large enough, they
>> also use CPU and even increase RAM usage when not showing.
>
> So, if I visit 100 sites with the same FF process, each site showing
> 10 animated GIFs for ads, I have 1000 GIFs constantly eating the CPU?
>  Somehow I think that if this were true, this would be fixed long
> ago...
>
I think that there is a limit.  You only have so much space in your
memory cache before the program runs out of private memory.  At which
time you'll see a crash in the program.  You could try setting a size
limit on the cache using <about:config>, if you not done so.  But if you
got a limit, the the cache replacement routine will dump the oldest,
whatever.  That should prevent 1000 GIFs from playing, no?

--
Bill
Thanks a Million!
_______________________________________________
Mozilla-os2 mailing list
[hidden email]
http://mail.mozilla.org/listinfo/mozilla-os2
Reply | Threaded
Open this post in threaded view
|

Re: MNG in PmW-Fx 1.5

Ilya Zakharevich
[A complimentary Cc of this posting was NOT [per weedlist] sent to
William L. Hartzell
<[hidden email]>], who wrote in article <c1.2b5.2zZmxH$[hidden email]>:
> >>> After you go back, there is no animation on the screen.

> >> That's the same as for GIFs, right? If they are large enough, they
> >> also use CPU and even increase RAM usage when not showing.

> > So, if I visit 100 sites with the same FF process, each site showing
> > 10 animated GIFs for ads, I have 1000 GIFs constantly eating the CPU?
> >  Somehow I think that if this were true, this would be fixed long
> > ago...

> I think that there is a limit.  You only have so much space in your
> memory cache before the program runs out of private memory.  At which
> time you'll see a crash in the program.  You could try setting a size
> limit on the cache using <about:config>, if you not done so.  But if you
> got a limit, the the cache replacement routine will dump the oldest,
> whatever.  That should prevent 1000 GIFs from playing, no?

Let me try to understand what you say:

  your experience is that after one visits about a hundred "commercial"
  sites, firefox will crash.

(This assumes that any "commercial" site will use about 10 animated
gifs.)  Do not think my experience is as bad as this...  Also, I do
not remember seeing any CPU usage steadily decrease after visiting new
commercial sites...

Hope this helps,
Ilya
_______________________________________________
Mozilla-os2 mailing list
[hidden email]
http://mail.mozilla.org/listinfo/mozilla-os2