<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Inconsistent framerates or am I crazy?</title>
	<atom:link href="http://dispatchevent.org/mims/inconsistent-framerates-or-am-i-crazy/feed" rel="self" type="application/rss+xml" />
	<link>http://dispatchevent.org/mims/inconsistent-framerates-or-am-i-crazy/</link>
	<description>Collective thoughts of the New York Flash community</description>
	<pubDate>Wed, 19 Nov 2008 12:03:30 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: nate</title>
		<link>http://dispatchevent.org/mims/inconsistent-framerates-or-am-i-crazy/#comment-76514</link>
		<dc:creator>nate</dc:creator>
		<pubDate>Fri, 01 Feb 2008 22:12:16 +0000</pubDate>
		<guid isPermaLink="false">http://mimswright.com/blog/?p=165#comment-76514</guid>
		<description>can someone go into more detail with setting the wmode parameter in the html file? I'm sort of new and don't understand. thanks</description>
		<content:encoded><![CDATA[<p>can someone go into more detail with setting the wmode parameter in the html file? I&#8217;m sort of new and don&#8217;t understand. thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://dispatchevent.org/mims/inconsistent-framerates-or-am-i-crazy/#comment-14766</link>
		<dc:creator>John</dc:creator>
		<pubDate>Mon, 25 Jun 2007 20:23:33 +0000</pubDate>
		<guid isPermaLink="false">http://mimswright.com/blog/?p=165#comment-14766</guid>
		<description>the flash player for the mac is notoriously slow.  pretty much useless for any complex animation.</description>
		<content:encoded><![CDATA[<p>the flash player for the mac is notoriously slow.  pretty much useless for any complex animation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joel</title>
		<link>http://dispatchevent.org/mims/inconsistent-framerates-or-am-i-crazy/#comment-11681</link>
		<dc:creator>Joel</dc:creator>
		<pubDate>Tue, 05 Jun 2007 13:53:36 +0000</pubDate>
		<guid isPermaLink="false">http://mimswright.com/blog/?p=165#comment-11681</guid>
		<description>It has to do with how the plugins/browser access the system clock. I found firefox giving consistently lower FPS than IE. Setting the wmode parameter in the html file to 'opaque' fixed this issue for the most part.</description>
		<content:encoded><![CDATA[<p>It has to do with how the plugins/browser access the system clock. I found firefox giving consistently lower FPS than IE. Setting the wmode parameter in the html file to &#8216;opaque&#8217; fixed this issue for the most part.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Todd Anderson</title>
		<link>http://dispatchevent.org/mims/inconsistent-framerates-or-am-i-crazy/#comment-11160</link>
		<dc:creator>Todd Anderson</dc:creator>
		<pubDate>Mon, 04 Jun 2007 13:53:01 +0000</pubDate>
		<guid isPermaLink="false">http://mimswright.com/blog/?p=165#comment-11160</guid>
		<description>Hey Mims,

If you are looking for a stable framerate, this workaround by Andre Michelle has done quite nicely for me:

http://blog.andre-michelle.com/2006/stable-fps-test/

The only downfall is that simply running that with eat up some CPU...</description>
		<content:encoded><![CDATA[<p>Hey Mims,</p>
<p>If you are looking for a stable framerate, this workaround by Andre Michelle has done quite nicely for me:</p>
<p><a href="http://blog.andre-michelle.com/2006/stable-fps-test/" rel="nofollow">http://blog.andre-michelle.com/2006/stable-fps-test/</a></p>
<p>The only downfall is that simply running that with eat up some CPU&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mims Wright</title>
		<link>http://dispatchevent.org/mims/inconsistent-framerates-or-am-i-crazy/#comment-11007</link>
		<dc:creator>Mims Wright</dc:creator>
		<pubDate>Mon, 04 Jun 2007 06:50:27 +0000</pubDate>
		<guid isPermaLink="false">http://mimswright.com/blog/?p=165#comment-11007</guid>
		<description>another comment that was emailed to me, this one from Deepa at Adobe

Tinic's blog entry that Ryan referred to in the comments section explains the crux of the issue in nice, clear, Tinic prose. OS's handle timeslicing differently and browsers add their own processing overhead (as well as garbage collection in  the release/debug players and debug processing in the debug player) that all result in major frame rate undulation.

Nice app, btw.</description>
		<content:encoded><![CDATA[<p>another comment that was emailed to me, this one from Deepa at Adobe</p>
<p>Tinic&#8217;s blog entry that Ryan referred to in the comments section explains the crux of the issue in nice, clear, Tinic prose. OS&#8217;s handle timeslicing differently and browsers add their own processing overhead (as well as garbage collection in  the release/debug players and debug processing in the debug player) that all result in major frame rate undulation.</p>
<p>Nice app, btw.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Dowdell</title>
		<link>http://dispatchevent.org/mims/inconsistent-framerates-or-am-i-crazy/#comment-10945</link>
		<dc:creator>John Dowdell</dc:creator>
		<pubDate>Mon, 04 Jun 2007 03:40:19 +0000</pubDate>
		<guid isPermaLink="false">http://mimswright.com/blog/?p=165#comment-10945</guid>
		<description>Browsers definitely differ in how frequently they let plugins access the processor. Further, such implementation details are rarely described in documentation. Longtime issue; little resolution.

Safari is very interesting, in that it chokes off plugins in pages in background tabs... links here:
http://weblogs.macromedia.com/jd/archives/2007/02/browser_cycles.cfm

We can't predict the processor we run on, and we can't predict what else will be competing for that processor during rendering. If you'd like to try for one hundred redraws per second (100 fps), then you certainly can, but if you'd like to make sure all machines play at the same speed, then choosing maybe a dozen or two redraws per second gets more predictable.

jd/adobe</description>
		<content:encoded><![CDATA[<p>Browsers definitely differ in how frequently they let plugins access the processor. Further, such implementation details are rarely described in documentation. Longtime issue; little resolution.</p>
<p>Safari is very interesting, in that it chokes off plugins in pages in background tabs&#8230; links here:<br />
<a href="http://weblogs.macromedia.com/jd/archives/2007/02/browser_cycles.cfm" rel="nofollow">http://weblogs.macromedia.com/jd/archives/2007/02/browser_cycles.cfm</a></p>
<p>We can&#8217;t predict the processor we run on, and we can&#8217;t predict what else will be competing for that processor during rendering. If you&#8217;d like to try for one hundred redraws per second (100 fps), then you certainly can, but if you&#8217;d like to make sure all machines play at the same speed, then choosing maybe a dozen or two redraws per second gets more predictable.</p>
<p>jd/adobe</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mims Wright</title>
		<link>http://dispatchevent.org/mims/inconsistent-framerates-or-am-i-crazy/#comment-10882</link>
		<dc:creator>Mims Wright</dc:creator>
		<pubDate>Mon, 04 Jun 2007 01:06:09 +0000</pubDate>
		<guid isPermaLink="false">http://mimswright.com/blog/?p=165#comment-10882</guid>
		<description>So it sounds like the ultimate answer is that the browsers (especially Firefox) are throttling the processor bandwidth of the Flash Player causing the inconsistencies and slowness. The bad news is, there doesn't seem to be much that can be done about this. The good news is, there probably wasn't a problem with my code. :D

However, since I was able to exceed 24fps by setting the frameRate to 60 or 100, it might be possible to automatically increase the frame rate until the desired framerate is reached. 
I imagine this will require some kind of &lt;a href="http://en.wikipedia.org/wiki/Process_control" rel="nofollow"&gt;process control&lt;/a&gt; algorithm . I'll post again if I make any progress.</description>
		<content:encoded><![CDATA[<p>So it sounds like the ultimate answer is that the browsers (especially Firefox) are throttling the processor bandwidth of the Flash Player causing the inconsistencies and slowness. The bad news is, there doesn&#8217;t seem to be much that can be done about this. The good news is, there probably wasn&#8217;t a problem with my code. :D</p>
<p>However, since I was able to exceed 24fps by setting the frameRate to 60 or 100, it might be possible to automatically increase the frame rate until the desired framerate is reached.<br />
I imagine this will require some kind of <a href="http://en.wikipedia.org/wiki/Process_control" rel="nofollow">process control</a> algorithm . I&#8217;ll post again if I make any progress.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mims Wright</title>
		<link>http://dispatchevent.org/mims/inconsistent-framerates-or-am-i-crazy/#comment-10880</link>
		<dc:creator>Mims Wright</dc:creator>
		<pubDate>Mon, 04 Jun 2007 00:58:32 +0000</pubDate>
		<guid isPermaLink="false">http://mimswright.com/blog/?p=165#comment-10880</guid>
		<description>Thanks for all the responses guys. I'd like to also post Gabriel's post here (which he emailed to me).

hey mims,

i ran your test files on my linux laptop (a dell with a 2ghz
processor, 1 gig ram running debian) and got fairly consistent
results.

on my firefox (fps don't show on the browser because of the default
font is not being available on my machine, but you can see on the
console to the left the traces):

http://ranchonotorious.org/gabriel/mims/debian_iceweasel.png

the bumps on the framerate coincide to my bringing up the small prompt
to call the screenshot program.

and, for your collection of screenshots, a couple of screenshots of IE
6 and 5 (running over wine), which perform only very slightly
better(!):

http://ranchonotorious.org/gabriel/mims/debian_ie5.png
http://ranchonotorious.org/gabriel/mims/debian_ie6.png

i know this has absolutely nothing to do, but this made me remember a
long time ago when i worked making cheesy casino banners that there
was a limit per browser on gif animation rates.    if i ran the gif on
a graphics program (i don't remember which was it.. ), i could get it
to run as fast as my computer would go, but on browsers, i could only
get it to run up to a max frame rate.  I know nothing of each
browsers' inner mechanics, but i think that your bottleneck/weird
differences in fps could be caused by them, not by the player itself.
-- 
gabriel montagné láscaris comneno</description>
		<content:encoded><![CDATA[<p>Thanks for all the responses guys. I&#8217;d like to also post Gabriel&#8217;s post here (which he emailed to me).</p>
<p>hey mims,</p>
<p>i ran your test files on my linux laptop (a dell with a 2ghz<br />
processor, 1 gig ram running debian) and got fairly consistent<br />
results.</p>
<p>on my firefox (fps don&#8217;t show on the browser because of the default<br />
font is not being available on my machine, but you can see on the<br />
console to the left the traces):</p>
<p><a href="http://ranchonotorious.org/gabriel/mims/debian_iceweasel.png" rel="nofollow">http://ranchonotorious.org/gabriel/mims/debian_iceweasel.png</a></p>
<p>the bumps on the framerate coincide to my bringing up the small prompt<br />
to call the screenshot program.</p>
<p>and, for your collection of screenshots, a couple of screenshots of IE<br />
6 and 5 (running over wine), which perform only very slightly<br />
better(!):</p>
<p><a href="http://ranchonotorious.org/gabriel/mims/debian_ie5.png" rel="nofollow">http://ranchonotorious.org/gabriel/mims/debian_ie5.png</a><br />
<a href="http://ranchonotorious.org/gabriel/mims/debian_ie6.png" rel="nofollow">http://ranchonotorious.org/gabriel/mims/debian_ie6.png</a></p>
<p>i know this has absolutely nothing to do, but this made me remember a<br />
long time ago when i worked making cheesy casino banners that there<br />
was a limit per browser on gif animation rates.    if i ran the gif on<br />
a graphics program (i don&#8217;t remember which was it.. ), i could get it<br />
to run as fast as my computer would go, but on browsers, i could only<br />
get it to run up to a max frame rate.  I know nothing of each<br />
browsers&#8217; inner mechanics, but i think that your bottleneck/weird<br />
differences in fps could be caused by them, not by the player itself.<br />
&#8211;<br />
gabriel montagné láscaris comneno</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Stewart - Rich Internet Application Mountaineer</title>
		<link>http://dispatchevent.org/mims/inconsistent-framerates-or-am-i-crazy/#comment-10867</link>
		<dc:creator>Ryan Stewart - Rich Internet Application Mountaineer</dc:creator>
		<pubDate>Mon, 04 Jun 2007 00:35:59 +0000</pubDate>
		<guid isPermaLink="false">http://mimswright.com/blog/?p=165#comment-10867</guid>
		<description>&lt;strong&gt;Flash Player and Framerate Inconsistencies Between Browsers...&lt;/strong&gt;

Mims Wright over at dispatchEvent has a post about inconsistent framerates in the Flash Player and different browsers. He&#8217;s got some sample code and results for people to try out. Tinic Uro addressed this back before Player 9 was released, and hi...</description>
		<content:encoded><![CDATA[<p><strong>Flash Player and Framerate Inconsistencies Between Browsers&#8230;</strong></p>
<p>Mims Wright over at dispatchEvent has a post about inconsistent framerates in the Flash Player and different browsers. He&#8217;s got some sample code and results for people to try out. Tinic Uro addressed this back before Player 9 was released, and hi&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dazzer</title>
		<link>http://dispatchevent.org/mims/inconsistent-framerates-or-am-i-crazy/#comment-10806</link>
		<dc:creator>Dazzer</dc:creator>
		<pubDate>Sun, 03 Jun 2007 22:10:21 +0000</pubDate>
		<guid isPermaLink="false">http://mimswright.com/blog/?p=165#comment-10806</guid>
		<description>Okay now excuse me for I'm considered a rather newbie flasher.

My first guess is 

1) your framerate is set too high and cpu cannot cope

2nd guess is 

2) your cpu cannot cope because it is being restricted from doing so.

Most browsers (firefox being one of the major offenders) restrict processing time to its plugins. Its a major pain, but nothing much you can do. At least, if you do figure something out, do let me know yeh? Kudos mate.

Hope I helped.</description>
		<content:encoded><![CDATA[<p>Okay now excuse me for I&#8217;m considered a rather newbie flasher.</p>
<p>My first guess is </p>
<p>1) your framerate is set too high and cpu cannot cope</p>
<p>2nd guess is </p>
<p>2) your cpu cannot cope because it is being restricted from doing so.</p>
<p>Most browsers (firefox being one of the major offenders) restrict processing time to its plugins. Its a major pain, but nothing much you can do. At least, if you do figure something out, do let me know yeh? Kudos mate.</p>
<p>Hope I helped.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erik Westra</title>
		<link>http://dispatchevent.org/mims/inconsistent-framerates-or-am-i-crazy/#comment-10776</link>
		<dc:creator>Erik Westra</dc:creator>
		<pubDate>Sun, 03 Jun 2007 20:44:49 +0000</pubDate>
		<guid isPermaLink="false">http://mimswright.com/blog/?p=165#comment-10776</guid>
		<description>What i know about it, is that the Flash player can only go to the next frame after it has completed all actions on the current frame. 

Greetz Erik</description>
		<content:encoded><![CDATA[<p>What i know about it, is that the Flash player can only go to the next frame after it has completed all actions on the current frame. </p>
<p>Greetz Erik</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug McCune</title>
		<link>http://dispatchevent.org/mims/inconsistent-framerates-or-am-i-crazy/#comment-10763</link>
		<dc:creator>Doug McCune</dc:creator>
		<pubDate>Sun, 03 Jun 2007 20:15:37 +0000</pubDate>
		<guid isPermaLink="false">http://mimswright.com/blog/?p=165#comment-10763</guid>
		<description>A little Flex app to chart framerate fluctuations: http://dougmccune.com/FPS_test.swf

Obviously the framerate is influenced by the components in the app. The graph updating takes up some CPU power, and it gets slower and slower as the graph contains more and more data points.</description>
		<content:encoded><![CDATA[<p>A little Flex app to chart framerate fluctuations: <a href="http://dougmccune.com/FPS_test.swf" rel="nofollow">http://dougmccune.com/FPS_test.swf</a></p>
<p>Obviously the framerate is influenced by the components in the app. The graph updating takes up some CPU power, and it gets slower and slower as the graph contains more and more data points.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
