<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>AllegroGL bug on OSX with ATI Radeon 9200</title>
		<link>http://www.allegro.cc/forums/view/486887</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Fri, 06 May 2005 21:47:03 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>AllegroGL acts up on the mac mini&#39;s internal ATI Radeon 9200 w. 32 ram. Im not sure why exactly, It worked fine on the other mac with the ATI Rage 128.</p><p>ALL of the example programs, including my game experience tons of graphical artifacts from the desktop and there is LOTS of flickering. This isnt good.</p><p>Ive tested the following versions so far:<br />Allegro 4.2 beta 2 w/ AllegroGL latest CVS<br />Allegro 4.1.15 w/ AllegroGL CVS from a few months ago (sorry I cannot specify an exact version, but iirc the cvs isnt marked. Please correct me if I am wrong.)</p><p>Both work on the Rage 128 but not the 9200 (which experiences severe artifacts).</p><p>None of the artifacts appear in any other programs except for the allegrogl ones <img src="http://www.allegro.cc/forums/smileys/sad.gif" alt=":(" /> So im pretty sure its a problem with allegrogl
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Gnatinator)</author>
		<pubDate>Wed, 04 May 2005 14:30:59 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>What graphics mode and color depth do the examples use? From my experience (non AGL) certain modes combined with certain color depths are impossible for my PowerBook to do. Allegro will return an error. Maybe AGL does not or it <i>thinks</i> it can but it really can&#39;t.</p><p>The only suggestion I can give is to play around with these combinations. I haven&#39;t played around much with AGL on OSX.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Ultio)</author>
		<pubDate>Wed, 04 May 2005 17:00:00 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>My ibook had the same problem. It wouldnt do certain depths and resolutions</p><p>But this is a different case, every mode/res/depth I try acts the same (lots of scrambled, flashing desktop artifacts) <img src="http://www.allegro.cc/forums/smileys/sad.gif" alt=":(" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Gnatinator)</author>
		<pubDate>Wed, 04 May 2005 19:49:41 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I found some bugs in the OS X code in Allegro GL, and I posted a fix as a patch on the SourceForge page. <br /><a href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1194759&amp;group_id=4105&amp;atid=104105">here</a><br />I&#39;m waiting for Bob to comment on these (Bob rules!) but in the meantime, maybe you could try it and see if it fixes any problems that you&#39;ve been having.</p><p>OpenGL is pretty simple under Cocoa - you just need to make a Window&#39;s view (a subclass of) NSOpenGLView, and then make its context the active one. I noticed that single buffered OpenGL contexts seem to be updated immediately (no waiting for glFlush()) so, if you use single buffered, the image is very flickery. The example program &#39;test&#39; does this, IIRC.</p><p>Hope this helps,</p><p>Pete
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Peter Hull)</author>
		<pubDate>Wed, 04 May 2005 21:51:32 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I just tried out your patch peter. No change <img src="http://www.allegro.cc/forums/smileys/sad.gif" alt=":(" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Gnatinator)</author>
		<pubDate>Thu, 05 May 2005 11:09:09 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Well, I found some problems with my patch (the infamous &#39;invalid drawable&#39; <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" />, Thomas Harte has seen it too...) so I&#39;ll work on a new better one and let you know. In the meantime, can you confirm that non-AllegroGL programs work OK, e.g. the samples in the /Developer directory?</p><p>Pete
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Peter Hull)</author>
		<pubDate>Fri, 06 May 2005 03:05:15 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I forgot to note that the buggy crap only happens when you go into any of the fullscreen modes. Nothing bugs if you keep it in windowed.</p><p>About testing the developer examples. None of them have the option for a fullscreen mode, and the problem is in fullscreen. <img src="http://www.allegro.cc/forums/smileys/sad.gif" alt=":(" /> Although I <s>have</s> been able to test with the GLFW examples and a few opengl games. And those all work fine in fullscreen. Whatever the problem is, its something specific to allegrogl.</p><p>The desktop artifacts only show while allegrogl is totally in control of the blitting (ie they dont show while the os is fading the program black when quitting) The problem probably lies somewhere in the allegrogl mac fullscreen blitting routines.</p><p>Also I want to confirm that I am applying your patch correctly.<br />The command is patch &lt; macosx.diff right?</p><p>Would it be worth waiting for a patch? It is a pretty simple fix isnt it? I really would like to help out but checking out the lib source files makes me think its a little out of the scope of my talents.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Gnatinator)</author>
		<pubDate>Fri, 06 May 2005 15:01:58 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Can you try this attached program?</p><p>Pete
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Peter Hull)</author>
		<pubDate>Fri, 06 May 2005 21:19:32 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>IT WORKS!!! No artifacts! <img src="http://www.allegro.cc/forums/smileys/grin.gif" alt=";D" /><img src="http://www.allegro.cc/forums/smileys/grin.gif" alt=";D" /><img src="http://www.allegro.cc/forums/smileys/grin.gif" alt=";D" /></p><p>Thank you Peter! Could you please release the patch? <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p><p>EDIT:<br />I gotta mow the lawn now. bbl
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Gnatinator)</author>
		<pubDate>Fri, 06 May 2005 21:47:03 +0000</pubDate>
	</item>
</rss>
