<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>
		<title>Cycling 74  &#187;  Topic: Fullscreen Slab Stuttering</title>
		<atom:link href="http://cycling74.com/forums/topic/fullscreen-slab-stuttering/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/fullscreen-slab-stuttering/feed</link>
		<description></description>
		<pubDate>Thu, 20 Jun 2013 04:20:41 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/fullscreen-slab-stuttering/#post-45685</guid>
					<title><![CDATA[Fullscreen Slab Stuttering]]></title>
					<link>http://cycling74.com/forums/topic/fullscreen-slab-stuttering/#post-45685</link>
					<pubDate>Thu, 01 Oct 2009 16:10:50 +0000</pubDate>
					<dc:creator>DiGiTaLFX</dc:creator>

					<description>
						<![CDATA[
						<p>Hello!</p>
<p>I have recently started learning Max/Jitter and thought a nice little project to get to grips with everything would be to make my own video player. I started off just outputting a jit.qt.movie directly to a jit.window, listened for a few keys to control it and allowed the video to go fullscreen. Everything was great. Then I moved on to outputting the jit.qt.movie to a jit.gl.videoplane with all the necessary adjustments. Again great! However I have now implemented a jit.gl.slab before the videoplane and now when I play video fullscreen I probably get a framerate of about 2 or 3fps. After a bit of experimenting I found out that this was only occuring when fsmenubar was set to 0 on the jit.window. However tabbing out so it is still fullscreen but has a window on top of it results in normal playback once more.</p>
<p>Any ideas? I&#8217;m running a MacBook Pro with 9400M graphics on Snow Leopard.</p>
<p>Many thanks</p>
<p>DiGiTaLFX</p>
<p>edit: corrected graphics chipset</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/fullscreen-slab-stuttering/#post-164735</guid>
					<title><![CDATA[Re: Fullscreen Slab Stuttering]]></title>
					<link>http://cycling74.com/forums/topic/fullscreen-slab-stuttering/#post-164735</link>
					<pubDate>Thu, 01 Oct 2009 16:41:01 +0000</pubDate>
					<dc:creator>Rob Ramirez</dc:creator>

					<description>
						<![CDATA[
						<p>bizarre. thanks for the report.<br />
can you please provide a simple patch that demonstrates what you are talking about, as well as your OS and max 5 versions?</p>
<p>thanks.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/fullscreen-slab-stuttering/#post-164736</guid>
					<title><![CDATA[Re: Fullscreen Slab Stuttering]]></title>
					<link>http://cycling74.com/forums/topic/fullscreen-slab-stuttering/#post-164736</link>
					<pubDate>Thu, 01 Oct 2009 17:12:42 +0000</pubDate>
					<dc:creator>DiGiTaLFX</dc:creator>

					<description>
						<![CDATA[
						<p>Hi I&#8217;m on OS X 10.6.1 using Max 5.0.8. The test videos I have been using are 640&#215;360 h.264 files in an mpeg4 container (exported from iMovie I believe but I didn&#8217;t create them)</p>
<p>I have attached a simple patch. Read a file in, then press &#8216;f&#8217; for fullscreen. Now press &#8216;s&#8217; to enable the opengl slab and on my system at least, the video starts to stutter. &#8216;s&#8217; again disables the slab.</p>
<p>I have tried the attached patch with the erasing being triggered directly by the qmetro rather than by the output of the matrix from jit.qt.movie, but there&#8217;s no difference.</p>
<p>DiGiTaLFX</p>
<p>edit: Additionally, I have just tried the patch above on an older MacBook with Intel Graphics (still running 10.6.1 but with Max 5.0.7) and I get exactly the same problem.</p>
<p>edit2: Just to show fsmenubar affects this, I&#8217;ve uploaded a newer version that now if you press &#8216;m&#8217; (has to be when not in fullscreen) it toggles fsmenubar on and off. When fsmenubar enabled I get no stuttering with the slab enabled or disabled. With fsmenubar disabled and the slab enabled I do get stuttering until i tab a different window on top and then with the output in the background, all is smooth!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/fullscreen-slab-stuttering/#post-164737</guid>
					<title><![CDATA[Re: Fullscreen Slab Stuttering]]></title>
					<link>http://cycling74.com/forums/topic/fullscreen-slab-stuttering/#post-164737</link>
					<pubDate>Thu, 01 Oct 2009 19:29:45 +0000</pubDate>
					<dc:creator>mattias.arvastsson</dc:creator>

					<description>
						<![CDATA[
						<p>Hello</p>
<p>This seems very similar to the problems I have with full screen on a second monitor after installing snow leopard, every thing works fine as long there is no jit.slab objects in the patch, but as soon there is I get 0-2fps and max becomes really unresponsive.<br />
I have even contacted support about it but still no solution.</p>
<p>Macbook pro unibody 2.53 ghz<br />
4gb ram<br />
Nvidia Geforce 9600M GT 512m Vram ( mainly used )<br />
Nvidia Geforce 9400M    256m Vram</p>
<p>Mac Os 10.6.1</p>
<p>Max 5.0.8</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/fullscreen-slab-stuttering/#post-164738</guid>
					<title><![CDATA[Re: Fullscreen Slab Stuttering]]></title>
					<link>http://cycling74.com/forums/topic/fullscreen-slab-stuttering/#post-164738</link>
					<pubDate>Fri, 02 Oct 2009 00:30:44 +0000</pubDate>
					<dc:creator>laserpilot</dc:creator>

					<description>
						<![CDATA[
						<p>whew..glad i saw this post..i was planning on upgrading to snow leopard soon, but my entire video performance patch relies on like 25 different slabs..so i may be waiting for a little while</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/fullscreen-slab-stuttering/#post-164739</guid>
					<title><![CDATA[Re: Fullscreen Slab Stuttering]]></title>
					<link>http://cycling74.com/forums/topic/fullscreen-slab-stuttering/#post-164739</link>
					<pubDate>Fri, 02 Oct 2009 19:59:14 +0000</pubDate>
					<dc:creator>Rob Ramirez</dc:creator>

					<description>
						<![CDATA[
						<p>we are taking a look at this. stay tuned.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/fullscreen-slab-stuttering/#post-164740</guid>
					<title><![CDATA[Re: Fullscreen Slab Stuttering]]></title>
					<link>http://cycling74.com/forums/topic/fullscreen-slab-stuttering/#post-164740</link>
					<pubDate>Sat, 03 Oct 2009 11:26:47 +0000</pubDate>
					<dc:creator>Wesley Smith</dc:creator>

					<description>
						<![CDATA[
						<p>As a possible workaround that seems to be fine on my 10.6 machine, use jit.window @rect and @border 0 to simulate fullscreen windowing.</p>
<p>wes</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/fullscreen-slab-stuttering/#post-164741</guid>
					<title><![CDATA[Re: Fullscreen Slab Stuttering]]></title>
					<link>http://cycling74.com/forums/topic/fullscreen-slab-stuttering/#post-164741</link>
					<pubDate>Sat, 03 Oct 2009 13:58:29 +0000</pubDate>
					<dc:creator>FP</dc:creator>

					<description>
						<![CDATA[
						<p>no news for this ?</p>
<p>i&#8217;got the same problem with a new mbp13&#8242;.<br />
what can i do please ?</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/fullscreen-slab-stuttering/#post-164742</guid>
					<title><![CDATA[Re: Fullscreen Slab Stuttering]]></title>
					<link>http://cycling74.com/forums/topic/fullscreen-slab-stuttering/#post-164742</link>
					<pubDate>Sat, 03 Oct 2009 18:32:27 +0000</pubDate>
					<dc:creator>FP</dc:creator>

					<description>
						<![CDATA[
						<p>hi,</p>
<p>wes : using your method works. but if you set rect exactly at the size of the main screen the fps fall down.</p>
<p>i mean, the mbd&#8217;s screen is 1280. if i set &#8220;rect 1280 0 3204 768&#8243;, it doesn&#8217;t work ; but if i set &#8220;rect 1279 0 3203 768&#8243;, it works.</p>
<p>hope this help to resolve the problem.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/fullscreen-slab-stuttering/#post-164743</guid>
					<title><![CDATA[Re: Fullscreen Slab Stuttering]]></title>
					<link>http://cycling74.com/forums/topic/fullscreen-slab-stuttering/#post-164743</link>
					<pubDate>Sat, 03 Oct 2009 20:52:51 +0000</pubDate>
					<dc:creator>MJ</dc:creator>

					<description>
						<![CDATA[
						<p>yeah got same problem here<br />
mbp with th2g<br />
 fullscreen gives bad fps<br />
rect does it better but only if i shift it one pixel</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/fullscreen-slab-stuttering/#post-164744</guid>
					<title><![CDATA[Re: Fullscreen Slab Stuttering]]></title>
					<link>http://cycling74.com/forums/topic/fullscreen-slab-stuttering/#post-164744</link>
					<pubDate>Sun, 04 Oct 2009 12:34:25 +0000</pubDate>
					<dc:creator>DiGiTaLFX</dc:creator>

					<description>
						<![CDATA[
						<p>
<table border="0" align="center" width="90%" cellpadding="3" cellspacing="1">
<tr>
<td class="SmallText"><b>robtherich wrote on Fri, 02 October 2009 20:59</b></td>
</tr>
<tr>
<td class="quote">we are taking a look at this. stay tuned.</td>
</tr>
</table>
</p><p>
Fab <img src="images/smiley_icons/icon_biggrin.gif" border=0 alt="Very Happy"/></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/fullscreen-slab-stuttering/#post-164745</guid>
					<title><![CDATA[Re: Fullscreen Slab Stuttering]]></title>
					<link>http://cycling74.com/forums/topic/fullscreen-slab-stuttering/#post-164745</link>
					<pubDate>Tue, 13 Oct 2009 06:13:44 +0000</pubDate>
					<dc:creator>Wesley Smith</dc:creator>

					<description>
						<![CDATA[
						<p>Can&#8217;t believe I didn&#8217;t think of this before, but if you set glreadback to &#8220;fbo&#8221;, things will work smoothly.  Seems to be a difference in pixelformat from the main context to the pbuffer in rtt mode.  Try this in your patch to get normal speeds:</p>
<p>
<div><span id="toggle164745-0" class="patchtoggle" onmousedown="toggleMaxPatch('post164745-0', 'er164745-0');">&#8211; Pasted Max <span id="maxversion164745-0"></span> Patch, click to <span id="er164745-0">expand</span>. &#8211;</span> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"  width="110" height="14" class="clippy" ><param name="allowScriptAccess" value="always" /><param name="quality" value="high" /><param name="scale" value="noscale" /><param NAME="FlashVars" value="copied=copied!&#038;copyto=copy to clipboard"/><param name="bgcolor" value="#FFFFFF"/><param name="wmode" value="opaque"/><embed src="/wp-content/plugins/bbpress-copy-compressed/clippy.swf"  width="110" height="14"   name="clippy"  quality="high"  allowScriptAccess="always"  type="application/x-shockwave-flash"  pluginspage="http://www.macromedia.com/go/getflashplayer"  FlashVars="text=----------begin_max5_patcher----------%0A202.3ocSOFraCCBCF9L7Tf74toRi5zz1o9bzVUQHNYzQfJvQJsU8cuABYqW.%0A4u%2BOrw24Ln1OhQP7kXufwtyYrLJAXkZFzqF0VULqA8XLp5PX0bFgiTl%2B8gvY%0ACQXPzYCnpoVo%2BUzV6WDsFGp8Ctr8lBzMzabVjhuBa8NJZtgIlby6q%2B20OPKx%0AxBcFQWufyKA.hiknKJR%2Biw0cJfZZNsRtcpehpO%2BHcIKUSy3uGYZxaiu97aUR%0A3kejS0mGArKXTVHE7fySGhi7G7m.ZR8SyB%0A-----------end_max5_patcher-----------&#038;copied=copied!&#038;;copyto=copy to clipboard"  bgcolor="#ffffff"  wmode="opaque" /> </object></div>
<div id="post164745-0" style="display:none;visibility:hidden;" >
<div class="patchtoggleInfo"><small>Copy <b>all</b> of the following text.Then, in Max, select <em>New From Clipboard</em>.</small></div>
<div class="patchtogglediv">
<pre><code id="pastedcode164745-0">----------begin_max5_patcher----------
202.3ocSOFraCCBCF9L7Tf74toRi5zz1o9bzVUQHNYzQfJvQJsU8cuABYqW.
4u+Orw24Ln1OhQP7kXufwtyYrLJAXkZFzqF0VULqA8XLp5PX0bFgiTl+8gvY
CQXPzYCnpoVo+UzV6WDsFGp8Ctr8lBzMzabVjhuBa8NJZtgIlby6q+20OPKx
xBcFQWufyKA.hiknKJR+iw0cJfZZNsRtcpehpO+HcIKUSy3uGYZxaiu97aUR
3kejS0mGArKXTVHE7fySGhi7G7m.ZR8SyB
-----------end_max5_patcher-----------</code></pre></div>
</div>
</p><p>
wes</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/fullscreen-slab-stuttering/#post-164746</guid>
					<title><![CDATA[Re: Fullscreen Slab Stuttering]]></title>
					<link>http://cycling74.com/forums/topic/fullscreen-slab-stuttering/#post-164746</link>
					<pubDate>Tue, 13 Oct 2009 12:07:22 +0000</pubDate>
					<dc:creator>mattias.arvastsson</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Wes</p>
<p>Your solution gives me amazing fps, but the resolution of my videos are extremely low.<br />
It´s seems to be fine with jit.gl.videoplane but in my main video patch I m using jit.gl.mesh objects ( for corner pin correction).</p>
<p>I have attached a (somewhat) cleaned up version of my patch.</p>
<p>any idea what might be going on?</p>
<p>
/mattias</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/fullscreen-slab-stuttering/#post-164747</guid>
					<title><![CDATA[Re: Fullscreen Slab Stuttering]]></title>
					<link>http://cycling74.com/forums/topic/fullscreen-slab-stuttering/#post-164747</link>
					<pubDate>Tue, 13 Oct 2009 15:30:20 +0000</pubDate>
					<dc:creator>DiGiTaLFX</dc:creator>

					<description>
						<![CDATA[
						<p><a href="mailto:wesley.hoke@gmail.com">wesley.hoke@gmail.com</a> wrote on Tue, 13 October 2009 07:13Can&#8217;t believe I didn&#8217;t think of this before, but if you set glreadback to &#8220;fbo&#8221;, things will work smoothly.  Seems to be a difference in pixelformat from the main context to the pbuffer in rtt mode.  Try this in your patch to get normal speeds:</p>
<p>
<div><span id="toggle164747-0" class="patchtoggle" onmousedown="toggleMaxPatch('post164747-0', 'er164747-0');">&#8211; Pasted Max <span id="maxversion164747-0"></span> Patch, click to <span id="er164747-0">expand</span>. &#8211;</span> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"  width="110" height="14" class="clippy" ><param name="allowScriptAccess" value="always" /><param name="quality" value="high" /><param name="scale" value="noscale" /><param NAME="FlashVars" value="copied=copied!&#038;copyto=copy to clipboard"/><param name="bgcolor" value="#FFFFFF"/><param name="wmode" value="opaque"/><embed src="/wp-content/plugins/bbpress-copy-compressed/clippy.swf"  width="110" height="14"   name="clippy"  quality="high"  allowScriptAccess="always"  type="application/x-shockwave-flash"  pluginspage="http://www.macromedia.com/go/getflashplayer"  FlashVars="text=----------begin_max5_patcher----------%0A202.3ocSOFraCCBCF9L7Tf74toRi5zz1o9bzVUQHNYzQfJvQJsU8cuABYqW.%0A4u%2BOrw24Ln1OhQP7kXufwtyYrLJAXkZFzqF0VULqA8XLp5PX0bFgiTl%2B8gvY%0ACQXPzYCnpoVo%2BUzV6WDsFGp8Ctr8lBzMzabVjhuBa8NJZtgIlby6q%2B20OPKx%0AxBcFQWufyKA.hiknKJR%2Biw0cJfZZNsRtcpehpO%2BHcIKUSy3uGYZxaiu97aUR%0A3kejS0mGArKXTVHE7fySGhi7G7m.ZR8SyB%0A-----------end_max5_patcher-----------&#038;copied=copied!&#038;;copyto=copy to clipboard"  bgcolor="#ffffff"  wmode="opaque" /> </object></div>
<div id="post164747-0" style="display:none;visibility:hidden;" >
<div class="patchtoggleInfo"><small>Copy <b>all</b> of the following text.Then, in Max, select <em>New From Clipboard</em>.</small></div>
<div class="patchtogglediv">
<pre><code id="pastedcode164747-0">----------begin_max5_patcher----------
202.3ocSOFraCCBCF9L7Tf74toRi5zz1o9bzVUQHNYzQfJvQJsU8cuABYqW.
4u+Orw24Ln1OhQP7kXufwtyYrLJAXkZFzqF0VULqA8XLp5PX0bFgiTl+8gvY
CQXPzYCnpoVo+UzV6WDsFGp8Ctr8lBzMzabVjhuBa8NJZtgIlby6q+20OPKx
xBcFQWufyKA.hiknKJR+iw0cJfZZNsRtcpehpO+HcIKUSy3uGYZxaiu97aUR
3kejS0mGArKXTVHE7fySGhi7G7m.ZR8SyB
-----------end_max5_patcher-----------</code></pre></div>
</div>
</p><p>
wes</p>
<p>You sir, are a genius! Seems like the best temporary fix for the time being. I don&#8217;t suppose you could explain (or point me to where I could find out) what glreadback is and the difference between fbo and rtt (and anything else). Googling it only seems to return threads that say use one or the other but no actual explanation.</p>
<p>DiGiTaLFX</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/fullscreen-slab-stuttering/#post-164748</guid>
					<title><![CDATA[Re: Fullscreen Slab Stuttering]]></title>
					<link>http://cycling74.com/forums/topic/fullscreen-slab-stuttering/#post-164748</link>
					<pubDate>Thu, 15 Oct 2009 04:57:28 +0000</pubDate>
					<dc:creator>Wesley Smith</dc:creator>

					<description>
						<![CDATA[
						<p>It&#8217;s a bit obfuscated based on the names rtt and fbo.  Here are the details:</p>
<p>- rtt = use pbuffers for render to texture<br />
- fbo = use frame buffer objects for render to texture</p>
<p>jit.gl.slab renders to texture internally in order to do its GPU pixel processing.  When Jitter first added this capability, graphics card drivers were just on the verge of supporting fbos (pbuffers being the older technique and Jitter default).  This was 5 or 6 years ago <img src="images/smiley_icons/icon_smile.gif" border=0 alt="Smile"/> .  Now, graphics cards all support fbos and for a number of technical reasons, this is the most efficient on newer GPUs.</p>
<p>Snow Leopard has a lot of under the hood changes, so I imagine something with pbuffers got whacked in the process since they&#8217;re not the technique of choice these days.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/fullscreen-slab-stuttering/#post-164749</guid>
					<title><![CDATA[Re: Fullscreen Slab Stuttering]]></title>
					<link>http://cycling74.com/forums/topic/fullscreen-slab-stuttering/#post-164749</link>
					<pubDate>Fri, 16 Oct 2009 12:25:35 +0000</pubDate>
					<dc:creator>DiGiTaLFX</dc:creator>

					<description>
						<![CDATA[
						<p>OK thanks that makes more sense now (although I will do a bit of googling around the subject too!). I guess the only Jitter related question I still have is that you seemed to give a pretty convincing argument to always set the glreadback to fbo. Would you agree or have I just read into it wrongly?</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

