FlashPlayer performance
  • Paladin of the Pegasos
    Paladin of the Pegasos
    jcmarcos
    Posts: 1178 from 2003/3/13
    From: Pinto, Madrid ...
    Hi there guys. Has anyone got some experience with Mike Steed's FlashPlayer? I got it from Maxim Ilyin's home page, but it's also available from Aminet, with an specific MorphOS version.
    After reading the documentation, I didn't expect it to play almost anything, but the thing is that it worked, with some funny animations from Calico Electronico.
    So, what's the problem? Very poor performance, mainly sound wise: It hiccups so much it's unbearable. The system monitor window shows almost 100% CPU usage. I have MorphOS 1.4.5 in my 600 Mhz G3 Pegasos I (april 2).
    My question is: Does FlashPlayer really need that much CPU? This same animations use little power from this 933 Mhz Pentium III box. I've learned that FlashPlayer uses "guigfx.library", which has some mysterious settings in "ENV:". Does anybody know if there's something to tweak, in order to improve performance?

    [ Edited by jcmarcos on 2007/4/12 8:47 ]
  • »12.04.07 - 07:47
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Crumb
    Posts: 732 from 2003/2/24
    From: aGaS & CUAZ Al...
    use 16bit screenmodes
  • »12.04.07 - 09:34
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    jcmarcos
    Posts: 1178 from 2003/3/13
    From: Pinto, Madrid ...
    Quote:

    Crumb wrote:
    use 16bit screenmodes


    Nice tip Jaime! One of my first attempts was to tell FlashPlayer to open in a separate screen. I thought it would work full screen then, but no, it opens the same window. I will define a 16 bit test screen.
    Further reading guigfx's documentation, I've learnt that its "USESCALEPIXELARRAY" option (disabled by default) should increase performance, at accuracy cost:

    Code:
    guigfx environment variables
    ----------------------------

    guigfx/USESCALEPIXELARRAY
    internal default: 0

    use ScalePixelArray() / cybergraphics v41

    if you have cybergraphics v41 (or later) installed to
    your system, this flag tells guigfx.library to use
    ScalePixelArray() for scaling truecolor data to truecolor
    displays.

    ScalePixelArray() scales inside the graphics card's memory
    and can thereof be very fast. it is NOT used by default,
    due to accuracy problems. ScalePixelArray()

    - uses an incorrect bresenham algorithm
    - overwrites areas outside the specified rectangle
    - overwrites areas outside the specified rastport
    - flickers

    set this flag to 1 if you prefer higher performance
    instead of higher accuracy.
  • »12.04.07 - 10:42
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    diezi7
    Posts: 167 from 2005/7/26
    From: Madrid
    Calicoelectronico, very good comics!
    :) JC
    PowerMac G4 MDD 1,25 dual (Registered)
    Pegasos II G4 (not working)
    Powerbook G4 1.0 15"
    -=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=
    http://amigalandia.blogspot.com.es/
  • »12.04.07 - 22:22
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Korni
    Posts: 472 from 2006/2/23
    From: the Planet of ...
    Kraszman comics is a waaaay better, and it isn't in ugly flash :P

    http://alpine.ovh.org/kraszman/
    http://korni.ppa.pl/modkowypaczek/ | My Rifle, My Bunny, and Me
  • »13.04.07 - 00:11
    Profile Visit Website
  • Cocoon
    Cocoon
    imax
    Posts: 41 from 2004/9/20
    From: Russia
    Quote:


    jcmarcos wrote:
    So, what's the problem? Very poor performance, mainly sound wise: It hiccups so much it's unbearable. The system monitor window shows almost 100% CPU usage. I have MorphOS 1.4.5 in my 600 Mhz G3 Pegasos I (april 2).
    My question is: Does FlashPlayer really need that much CPU? This same animations use little power from this 933 Mhz Pentium III box. I've learned that FlashPlayer uses "guigfx.library", which has some mysterious settings in "ENV:". Does anybody know if there's something to tweak, in order to improve performance?

    We talked to Mike on a theme of speed.
    The main problem in redraw all bitmap.
    The decision of a problem in copying only seen area or a part of the screen. But it need rewrite swf.lib.
  • »13.04.07 - 08:49
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    jcmarcos
    Posts: 1178 from 2003/3/13
    From: Pinto, Madrid ...
    Quote:

    imax wrote:
    We talked to Mike on a theme of speed.
    The main problem in redraw all bitmap.
    The decision of a problem in copying only seen area or a part of the screen. But it need rewrite swf.lib.

    Do you mean that you've actually talked with the programmer about this? Does this mean that he is considering an update? That would be awesome. Like I said, this little FlashPlayer works better that some might expect.
  • »13.04.07 - 12:27
    Profile