<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Overlays problem</title>
		<link>http://www.allegro.cc/forums/view/381282</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Thu, 08 Jul 2004 04:33:32 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hi</p><p>I have the following problem:</p><p>message box:<br />Unable to set any graphic mode<br />overlays not supported</p><p>Code:</p><p>    set_color_depth(16); <br />    if (set_gfx_mode(GFX_AUTODETECT, 800, 600, 0, 0) != 0) {<br />       set_color_depth(15);      <br />       if (set_gfx_mode(GFX_AUTODETECT, 800, 600, 0, 0) != 0) {      <br />          set_gfx_mode(GFX_TEXT, 0, 0, 0, 0);<br />          allegro_message(&quot;Error setting a 15 or 16 bpp 800x600 video mode\n%s\n&quot;, allegro_error);<br />          exit(1);<br />       }<br />    }</p><p>what happens?</p><p>Sorry for my english.</p><p>Gerardo.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Gerardo Romero)</author>
		<pubDate>Wed, 07 Jul 2004 02:51:33 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Are you using Linux? Can you set another graphic mode? Do you have the latest drivers for your card? Which is yours?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ReyBrujo)</author>
		<pubDate>Wed, 07 Jul 2004 02:55:04 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>No, I am using win98.<br />I try with set_color_depth(8) and he does not work either.<br />Before repairing the monitor, worked well; <br />but I try in another monitor and I obtain the same problem.</p><p>Gerardo
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Gerardo Romero)</author>
		<pubDate>Wed, 07 Jul 2004 04:33:51 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>What video card do you have? Because even my old voodoo3 supports overlay surfaces. I&#39;m surprissed</p><p>[edit]<br />changed <img src="http://www.allegro.cc/forums/smileys/shocked.gif" alt=":o" /> smily with I&#39;m surprissed.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Oscar Giner)</author>
		<pubDate>Wed, 07 Jul 2004 04:43:53 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
even my old voodoo3 supports overlay surfaces
</p></div></div><p>

mine doesn&#39;t... <img src="http://www.allegro.cc/forums/smileys/huh.gif" alt="???" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (LSd016)</author>
		<pubDate>Wed, 07 Jul 2004 04:49:24 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I have a Cirrus Logic 5436 PCI, 1MB of memory, without Direct 3D.<br />I try in another PC (AMD 500, Win98), and I obtain the same problem.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Gerardo Romero)</author>
		<pubDate>Wed, 07 Jul 2004 07:15:21 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>What exactly is overlay anyways?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Cody Harris)</author>
		<pubDate>Wed, 07 Jul 2004 07:35:28 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I don&#39;t know.<br />The message box only say: ...overlays not supported. <img src="http://www.allegro.cc/forums/smileys/sad.gif" alt=":(" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Gerardo Romero)</author>
		<pubDate>Wed, 07 Jul 2004 07:43:44 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Try setting something like 24 or 32 bitdepths...
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Cody Harris)</author>
		<pubDate>Wed, 07 Jul 2004 07:45:48 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><div class="quote_container"><div class="title">I said:</div><div class="quote"><p>
even my old voodoo3 supports overlay surfaces
</p></div></div><p>
mine doesn&#39;t... <img src="http://www.allegro.cc/forums/smileys/huh.gif" alt="???" />
</p></div></div><p>
Only at 16bpp.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Oscar Giner)</author>
		<pubDate>Wed, 07 Jul 2004 07:51:59 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hey you, why havn&#39;t you posted about my problem? I'm dumb!...</p><p>What&#39;s only at 16?</p><p>What if you turned off overlay and tried something from <a href="http://alleg.sourceforge.net/onlinedocs/en/index035.html">http://alleg.sourceforge.net/onlinedocs/en/index035.html</a> like: GFX_DIRECTX_WIN
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Cody Harris)</author>
		<pubDate>Wed, 07 Jul 2004 07:56:05 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>set_color_depth(24 or 32), it does not work, sorry.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Gerardo Romero)</author>
		<pubDate>Wed, 07 Jul 2004 08:02:36 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I believe the Voodoo cards only support 16-bit overlays. So as Oscar said, try 16-bit color.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kitty Cat)</author>
		<pubDate>Wed, 07 Jul 2004 08:05:38 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>He did that at the beginning, and it failed.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Cody Harris)</author>
		<pubDate>Wed, 07 Jul 2004 08:12:25 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>ok, Cody, I try with GFX_DIRECTX_WIN, it didn&#39;t work either
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Gerardo Romero)</author>
		<pubDate>Wed, 07 Jul 2004 08:13:32 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Try GFX_SAFE
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Cody Harris)</author>
		<pubDate>Wed, 07 Jul 2004 08:14:03 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Oh wait, he&#39;s using a 1MB Cirrus Logic. <img src="http://www.allegro.cc/forums/smileys/shocked.gif" alt=":o" /> No, I doubt that would have any overlays. Create an allegro.cfg file and add this to it:
</p><div class="source-code snippet"><div class="inner"><pre><span class="k2">[</span>graphics<span class="k2">]</span>
gfx_card <span class="k3">=</span> DXAC
</pre></div></div><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kitty Cat)</author>
		<pubDate>Wed, 07 Jul 2004 08:16:25 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>it didn&#39;t work either, sorry<br />I try with all GFX_...
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Gerardo Romero)</author>
		<pubDate>Wed, 07 Jul 2004 08:29:39 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>
Do any of the Allegro examples work?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Richard Phipps)</author>
		<pubDate>Wed, 07 Jul 2004 08:35:39 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>if GFX_SAFE isn&#39;t getting you a graphics mode, there&#39;s a problem. What resolution is your desktop?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kitty Cat)</author>
		<pubDate>Wed, 07 Jul 2004 08:36:09 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>800x600, 16 bits.<br />Before repairing the monitor, worked well with the examples and my progs. But not in another PC.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Gerardo Romero)</author>
		<pubDate>Wed, 07 Jul 2004 08:42:29 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Have you updated your monitor drivers? What does repairing a monitor mean? Changing some inner chipset, replacing it, changing the Windows configuration? Can you play any commercial game, or any of the games downloaded from the Depot?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ReyBrujo)</author>
		<pubDate>Wed, 07 Jul 2004 09:00:33 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>yes, only with my allegro progs.<br />they changed to him the tube (TRC, tubo de rayos catodicos)
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Gerardo Romero)</author>
		<pubDate>Wed, 07 Jul 2004 09:09:19 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>With only 1 MB of Video RAM, you likely don&#39;t have enough memory to hold the framebuffer at all.</p><p>Allegro will create 3 screen-sized pages in video RAM. This means that in 640x480x16, you&#39;ll need 640*480*(16/8)*3 == 1.75 MB of VRAM. I&#39;m not sure what Allegro does in that case. Does it just abort, or prevent page flipping/triple buffering?</p><p>Try a lower resolution, like 320x200.</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>Before repairing the monitor, worked well;<br />but I try in another monitor and I obtain the same problem.</p></div></div><p>
This is odd. I suppose you didn&#39;t change your drivers / Allegro version? I guess something in your (fixed) monitor affected / broke your video card.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Bob)</author>
		<pubDate>Wed, 07 Jul 2004 09:10:09 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Yeah, that is CRT in english (though I like you speak spanish, we are more and more!).</p><p>Cannot think about a solution right now.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ReyBrujo)</author>
		<pubDate>Wed, 07 Jul 2004 09:11:17 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>i try with 320x200 and it didn&#39;t work either.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Gerardo Romero)</author>
		<pubDate>Wed, 07 Jul 2004 09:20:56 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Try 320x200, 8bpp only (not 16).
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ReyBrujo)</author>
		<pubDate>Wed, 07 Jul 2004 09:22:43 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>
If none of these work and you are using Windows then I cannot understand how you get a desktop or other programs to work at all..?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Richard Phipps)</author>
		<pubDate>Wed, 07 Jul 2004 15:58:46 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>You didn&#39;t post your full code, so I can only guess, but do you call allegro_init()?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Surt)</author>
		<pubDate>Wed, 07 Jul 2004 16:13:07 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I have uninstalls the dev-c++ 4.9, and re-installs the older 4.0<br />and finally worked well!!!</p><p>surely is a configuration problem.</p><p>thank you.</p><p>Gerardo
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Gerardo Romero)</author>
		<pubDate>Thu, 08 Jul 2004 04:33:32 +0000</pubDate>
	</item>
</rss>
