<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>ex_fs_resize crash</title>
		<link>http://www.allegro.cc/forums/view/605938</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Sat, 15 Jan 2011 00:09:09 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>ex_fs_resize crashes only when running it on my second display (nvidia cards) on Ubuntu 10.10.</p><p>It looks like <span class="source-code">s-&gt;xrandr_outputs<span class="k2">[</span><span class="n">1</span><span class="k2">]</span></span> is bogus.</p><pre class="terminal scroll">Program received signal SIGSEGV, Segmentation fault.
0x00000000004f1cbd in _al_xsys_xrandr_get_display_offset (s=0x75d6e0, 
    adapter=1, x=0x7fffffffe11c, y=0x7fffffffe118)
    at /home/matthew/src/5.0/src/x/xfullscreen.c:394
394	      XRRCrtcInfo *crtc_info = XRRGetCrtcInfo(s-&gt;x11display, s-&gt;xrandr_res, s-&gt;xrandr_outputs[adapter]-&gt;crtc);
(gdb) bt
#0  0x00000000004f1cbd in _al_xsys_xrandr_get_display_offset (s=0x75d6e0, 
    adapter=1, x=0x7fffffffe11c, y=0x7fffffffe118)
    at /home/matthew/src/5.0/src/x/xfullscreen.c:394
#1  0x00000000004f373d in _al_xglx_get_display_offset (s=0x75d6e0, adapter=1, 
    x=0x7fffffffe11c, y=0x7fffffffe118)
    at /home/matthew/src/5.0/src/x/xfullscreen.c:1004
#2  0x00000000004eecc4 in xdpy_create_display (w=640, h=480)
    at /home/matthew/src/5.0/src/x/xdisplay.c:352
#3  0x0000000000457bb7 in al_create_display (w=640, h=480)
    at /home/matthew/src/5.0/src/display.c:47
#4  0x000000000042baa4 in main (argc=1, argv=0x7fffffffe308)
    at /home/matthew/src/5.0/examples/ex_fs_resize.c:118
(gdb) p s
$1 = (ALLEGRO_SYSTEM_XGLX *) 0x75d6e0
(gdb) p s-&gt;x11display
$2 = (Display *) 0x73f8d0
(gdb) p s-&gt;xrandr_outputs[0]
$4 = (XRROutputInfo *) 0x7fffe40231a0
(gdb) p s-&gt;xrandr_outputs[1]
$5 = (XRROutputInfo *) 0x2c
(gdb) p s-&gt;xrandr_outputs[1]-&gt;crtc
Cannot access memory at address 0x34
(gdb) </pre><p>

Also, when running it on the primary display, the secondary display sometimes gets goofed up. The second display is 1/4th its size, and crammed in the lower left of the screen. But the mouse still acts like the display is its proper size.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Matthew Leverton)</author>
		<pubDate>Fri, 31 Dec 2010 11:46:03 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Don&#39;t trust anything to work properly with the nvidia binary driver and TwinView. It&#39;s version of XRandR is a complete and total hack, and does not support changing the modes of individual monitors separately. What it does instead, is switch to a separate BigDesktop mode that happens to match the resolutions you&#39;re asking for. And if you don&#39;t happen to have them setup, well too bad, you don&#39;t get any. It also doesn&#39;t have separate outputs. Only one single output. Its annoying, but hey thats what you&#39;re stuck with.</p><p>Probably should fix the crash though. I&#39;ll look into it in a bit. I assume you&#39;re using TwinView?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Fri, 31 Dec 2010 11:51:24 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/605938/896770#target">Thomas Fjellstrom</a> said:</div><div class="quote"><p> I assume you&#39;re using TwinView?
</p></div></div><p>I don&#39;t know what&#39;s running... It&#39;s just the default Ubuntu setup with the NVIDIA drivers. </p><p>I have two physical graphics cards, each with one monitor. Each display is separate (cannot drag windows from one to the other).</p><p>(Edit: For what it&#39;s worth, ex_dualies claims I only have a single adapter and won&#39;t let me run it.)</p><p>(Edit 2: ex_monitorinfo says one adapter... The modes it lists depends on the display I run it from.)
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Matthew Leverton)</author>
		<pubDate>Fri, 31 Dec 2010 12:00:36 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Ah, you&#39;re also using dual X Screen mode. Something I almost never bother testing. I can&#39;t imagine most people would happily use a system setup like that.</p><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/605938/896771#target">Matthew Leverton</a> said:</div><div class="quote"><p>(Edit: For what it&#39;s worth, ex_dualies claims I only have a single adapter and won&#39;t let me run it.)</p></div></div><p>There is only one in dual screen mode. But it changes depending on the screen you&#39;re on <img src="http://www.allegro.cc/forums/smileys/grin.gif" alt=";D" /> as your second edit hints at.</p><p>X is fun.</p><p>Now if you want a temporary fix, use TwinView, or enable Xinerama (fake or real).
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Fri, 31 Dec 2010 12:12:59 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Shouldn&#39;t these facts be listed in the equivalent of allegro.txt or whatever?  So further questions along these lines could be answered with RTFM.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Arthur Kalliokoski)</author>
		<pubDate>Fri, 31 Dec 2010 12:16:23 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/605938/896773#target">Arthur Kalliokoski</a> said:</div><div class="quote"><p>Shouldn&#39;t these facts be listed in the equivalent of allegro.txt or whatever? So further questions along these lines could be answered with RTFM.</p></div></div><p>The ones about how X behaves probably. Though is it really our job to document X?</p><p>But at the very least the bug should get fixed.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Fri, 31 Dec 2010 12:19:01 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/605938/896772#target">Thomas Fjellstrom</a> said:</div><div class="quote"><p> There is only one in dual screen mode. But it changes depending on the screen you&#39;re on  as your second edit hints at.
</p></div></div><p>That&#39;s understandable and not surprising. But it seems that Allegro sees two adapters in ex_fs_resize, as the crash involves adapter #1 in what I assume is a 0 based array.</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p> I can&#39;t imagine most people would happily use a system setup like that.
</p></div></div><p>For what it&#39;s worth, I like it because a) it gives me less attitude than other setups I&#39;ve tried and b) I can effectively disable the second screen by just turning off the monitor.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Matthew Leverton)</author>
		<pubDate>Fri, 31 Dec 2010 12:21:22 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/605938/896774#target">Thomas Fjellstrom</a> said:</div><div class="quote"><p> Though is it really our job to document X?</p></div></div><p>Perhaps	<a href="http://en.wikipedia.org/wiki/Principle_of_least_surprise">the principle of least surprise</a> wouldn&#39;t be too much to ask.  Just the common gotchas.  Just look at all the warnings about &quot;Windows will do this...&quot; in programming docs.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Arthur Kalliokoski)</author>
		<pubDate>Fri, 31 Dec 2010 12:25:39 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/605938/896775#target">Matthew Leverton</a> said:</div><div class="quote"><p> But it seems that Allegro sees two adapters in ex_fs_resize, as the crash involves adapter #1 in what I assume is a 0 based array.</p></div></div><p>I&#39;ll take a look at it in a bit. I just hate rejiging my desktop&#39;s config. Such a pain.</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>For what it&#39;s worth, I like it because a) it gives me less attitude than other setups I&#39;ve tried and b) I can effectively disable the second screen by just turning off the monitor.</p></div></div><p>Even tried just enabling real Xinerama? It increases video/Xorg memory use a bit (anything stored for one screen is stored again for the other as well, since the two screens are completely separate and have their own frame buffer), at least with separate physical adapters, not entirely sure thats the case when its one adapter, and two screens...</p><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/605938/896776#target">Arthur Kalliokoski</a> said:</div><div class="quote"><p>Perhaps	the principle of least surprise [en.wikipedia.org] wouldn&#39;t be too much to ask. Just the common gotchas.</p></div></div><p>Given A5&#39;s age, we&#39;re not even aware of most of them yet <img src="http://www.allegro.cc/forums/smileys/grin.gif" alt=";D" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Fri, 31 Dec 2010 12:26:27 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/605938/896777#target">Thomas Fjellstrom</a> said:</div><div class="quote"><p> Even tried just enabling real Xinerama? 
</p></div></div><p>No. I&#39;m not really trying to do anything other than verify that the example programs all work. So for that, I might as well just use a different configuration than what most people may be testing with.</p><p>Regarding documentation, it would probably be sufficient to add something to <span class="source-code"><a href="http://www.allegro.cc/manual/al_get_num_video_adapters"><span class="a">al_get_num_video_adapters</span></a></span> that just says something about what setup is required under Linux for it to report multiple adapters.</p><p>Windows and (I assume) OS X are probably more consistent in there only being one way that multiple displays are handled.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Matthew Leverton)</author>
		<pubDate>Fri, 31 Dec 2010 12:41:02 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/605938/896779#target">Matthew Leverton</a> said:</div><div class="quote"><p>Regarding documentation, it would probably be sufficient to add something to al_get_num_video_adapters that just says something about what setup is required under Linux for it to report multiple adapters.</p></div></div><p>Makes sense. At the very least Xinerama, or XRandR support of some kind is needed.</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>Windows and (I assume) OS X are probably more consistent in there only being one way that multiple displays are handled.</p></div></div><p>X is fun that way. There are 4 ways to get multiple screens with X. Three of which we try to support.</p><p>1. Separate X server connections (not going to attempt this, mesa apparently doesn&#39;t even like this anyhow so it&#39;s not likely to work well)<br />2. Separate X Screen&#39;s (the one we&#39;ve had the most issues with so far)<br />3. Xinerama<br />3a. Real Xinerama<br />3b. Fake Xinerama (on TwinView or whatever the fglrx driver does)<br />4. XRandR</p><p>XRandR is where everything is heading, except the binary blob drivers.</p><p>append:</p><p>I&#39;ve managed to fix that crash, and ex_fs_resize seems to work fine now with a separate X screen setup. I&#39;m attaching the patch, its a fairly large change just to fix a small bug, so I&#39;m not sure its something should go into 5.0.0 or not. I have yet to test the code in Xinerama or TwinView, but I&#39;ll do that asap.</p><p>I would like you (Matthew) to test this code on your box, see if it works. Especially in ex_dualies where, on my machine, it seems to hang, and not show the window for one of the monitors.. Not sure whats going on there.</p><p>append2: I see another bug, woo.</p><p>append3: I fixed the bug in ex_dualies. and that other bug. I think its ready. Attached at x-fs-separate-screens-2.patch</p><p>append4: some basic testing on my part shows no regressions, and a few problems in xf86vm, xinerama, and plain x screen mode are fixed.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Fri, 31 Dec 2010 15:09:15 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>It reports two adapters now, and the initial crash is fixed.</p><p>However, the behavior is still buggy. There are no crashes, but the screens get messed up, and aren&#39;t restored properly upon the program exit.</p><p>It&#39;s hard to describe all the glitches, but basically every full screen does something to my primary display that renders it useless. </p><p>Running ex_fs_resize on the second display seems to correct any garbled condition (on second display) on exit. But no luck with the first.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Matthew Leverton)</author>
		<pubDate>Sat, 01 Jan 2011 01:42:52 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/605938/896818#target">Matthew Leverton</a> said:</div><div class="quote"><p>However, the behavior is still buggy. There are no crashes, but the screens get messed up, and aren&#39;t restored properly upon the program exit.</p></div></div><p>Yeah, I noticed that, but I&#39;m not sure what to do about it. We&#39;re trying to restore the modes when windows close. So it may just be that the XF86vm extension is broken and has been for quite some time (it actually is, some drivers don&#39;t bother to make it work properly, not sure if thats the case for the nvidia module).</p><p>I&#39;ll try and do some more testing today, see if maybe some reset is just not getting run.</p><p>Can you give me your allegro.log from running ex_fs_resize? I want to see which mode its running in for you.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Sat, 01 Jan 2011 03:51:51 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I attached two logs, one for each display. When running on the second display, it exits fine. But when running on the first display (fs_resize0.log), it does not.</p><p>For what it&#39;s worth, in both cases, the GNOME panels at the top and bottom of the screen are still present over top the Allegro screen while the program is running.</p><p><b>Update:</b> I&#39;ve been playing around with it remotely so I can easily kill X and restart. One very strange thing is that if there are no open windows, then ex_fs_resize does not work. But if I have at least one window open then it does. <img src="http://www.allegro.cc/forums/smileys/huh.gif" alt="???" /></p><p>Disabling compiz gets rid of the toolbar-on-top problem, but otherwise it seems to act the same way.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Matthew Leverton)</author>
		<pubDate>Sat, 01 Jan 2011 06:07:25 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I have a new patch for you. It applies on the same version of 5.0 you applied that last patch on. I haven&#39;t updated my checkout yet. Just &quot;svn revert&quot; and then apply <a href="http://www.allegro.cc/files/attachment/602981">this patch</a>.</p><p>I&#39;ve only tested it under &quot;multi head&quot; xrandr mode, which seems to be the one you&#39;re testing out. I&#39;ll be testing xinerama, and pure xrandr latter tonight.</p><p>I do not see any modes not being reset, or toolbars hovering over the window, but I had to switch to xfce4, due to kde4 really sucking in multi-head X mode (its horribly broken, almost no one runs in this mode, so things often don&#39;t work, but allegro seems to now! \o/).</p><p>Please test, get back to me asap <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Sun, 02 Jan 2011 12:32:35 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>It seems to run the same as the second patch.</p><ul><li><p>ex_fs_resize works at least once per monitor, but after subsequent times, it eventually stops working. I don&#39;t know if there&#39;s any additional on-exit routines that could help out with that. Log files didn&#39;t seem to show anything useful. When it errs out, the X process hits 99% CPU usage.</p><br /></li><li><p>ex_dualies doesn&#39;t ever work.</p><br /></li><li><p>ex_fs_windowed works fine.</p></li></ul><p>So there&#39;s no crashes, but the behavior is still buggy.</p><p>But occasionally, X will lock up after being idle for a while (mouse freezes, 99% usage)... So while I generally don&#39;t think it&#39;s wise to pass the blame around elsewhere, it could simply be something that just isn&#39;t reliable.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Matthew Leverton)</author>
		<pubDate>Mon, 03 Jan 2011 02:02:59 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/605938/897005#target">Matthew Leverton</a> said:</div><div class="quote"><p>So there&#39;s no crashes, but the behavior is still buggy.</p></div></div><p>I see none of those issues with ex_fs_resize on my system. It always properly sets the mode back. No crashes, no hanging processes, nothing.</p><p>I did not try ex_dualies, but I see no reason why it shouldn&#39;t work as well as ex_fs_resize.</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>But occasionally, X will lock up after being idle for a while (mouse freezes, 99% usage)... So while I generally don&#39;t think it&#39;s wise to pass the blame around elsewhere, it could simply be something that just isn&#39;t reliable.</p></div></div><p>I think maybe your driver or X is just hosed.</p><p>Can you tell me more about your system? Which driver version, which X version, which gnome version etc? Is it running in a VM etc?</p><p>append:</p><p>Been testing with compiz, and the only thing I can think is compiz is <i>horribly</i> broken. It likes to either ignore xrandr events, or get them spectacularly wrong. It is <i>nothing</i> allegro is doing wrong as far as I can tell.</p><p>I&#39;ve fixed the panel on top bug, but when allegro sets the mode back, compiz seems to scale the desktop down to like 1/4 to 1/8th of the total screen size. The mode IS set back properly, compiz is just crap.</p><p>I can confirm however that ex_dualies is completely broken. looking into it.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Mon, 03 Jan 2011 05:03:44 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Don&#39;t have the numbers off hand, but it&#39;s a generic Ubuntu 10.10 setup with two NVIDIA cards with compiz enabled.</p><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/605938/897008#target">Thomas Fjellstrom</a> said:</div><div class="quote"><p> compiz seems to scale the desktop down to like 1/4 to 1/8th of the total screen size.
</p></div></div><p>I noticed that more with the second patch, I think. With the latest patch, it seems to just lock up on running one of those examples after a few tries.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Matthew Leverton)</author>
		<pubDate>Mon, 03 Jan 2011 05:22:41 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/605938/897025#target">Matthew Leverton</a> said:</div><div class="quote"><p>Don&#39;t have the numbers off hand, but it&#39;s a generic Ubuntu 10.10 setup with two NVIDIA cards with compiz enabled.</p></div></div><p>Is each display on a separate card? Or are both displays on one of the cards? I&#39;ve been testing the latter.. Not that there should be that much difference between the two.</p><p>ex_dualies hangs in/durring glXCreateNewContext. I assume multi-head X plus glX is just broken at this point. I have heard people say that Mesa/glX doesn&#39;t like two separate DISPLAY&#39;s and that might extend to multi-head mode, and any glX implementation.</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
Thread 1 (Thread 0x7f9a1009dac0 (LWP 31983)):<br />#0  __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:136<br />#1  0x00007f9a0ed000e9 in _L_lock_953 () from /lib/libpthread.so.0<br />#2  0x00007f9a0ecfff0b in __pthread_mutex_lock (mutex=0x22e51c0) at pthread_mutex_lock.c:61<br />#3  0x00007f9a0e5d50d6 in _XrmInternalStringToQuark () from /usr/lib/libX11.so.6<br />#4  0x00007f9a0e5e7500 in XrmInitialize () from /usr/lib/libX11.so.6<br />#5  0x00007f9a0e5bee15 in XGetErrorDatabaseText () from /usr/lib/libX11.so.6<br />#6  0x00007f9a0e5bf00b in XGetErrorText () from /usr/lib/libX11.so.6<br />#7  0x00007f9a0e5e0508 in ?? () from /usr/lib/libX11.so.6<br />#8  0x00007f9a0e5e0a83 in _XDefaultError () from /usr/lib/libX11.so.6<br />#9  0x00007f9a0d6c9b94 in ?? () from /usr/lib/libGL.so.1<br />#10 0x00007f9a0e5e0b6c in _XError () from /usr/lib/libX11.so.6<br />#11 0x00007f9a0e5e7f8c in ?? () from /usr/lib/libX11.so.6<br />#12 0x00007f9a0e5e8630 in _XReply () from /usr/lib/libX11.so.6<br />#13 0x00007f9a0e5dc113 in XSync () from /usr/lib/libX11.so.6<br />#14 0x00007f9a0d6ceceb in ?? () from /usr/lib/libGL.so.1<br />#15 0x00007f9a0d6c381c in glXCreateNewContext () from /usr/lib/libGL.so.1<br />#16 0x00007f9a0fa40129 in _al_xglx_config_create_context (glx=0x2551640) at /home/moose/projects/allegro-5.0/src/x/xglx_config.c:514<br />#17 0x00007f9a0fa38b54 in xdpy_create_display (w=640, h=480) at /home/moose/projects/allegro-5.0/src/x/xdisplay.c:433<br />#18 0x00007f9a0f9d4ed7 in al_create_display (w=640, h=480) at /home/moose/projects/allegro-5.0/src/display.c:47<br />#19 0x00000000004019cf in go () at /home/moose/projects/allegro-5.0/examples/ex_dualies.c:29<br />#20 0x0000000000401ba7 in main () at /home/moose/projects/allegro-5.0/examples/ex_dualies.c:86</p></div></div><p>

It works fine without compositing, with one window. But the moment you try and create a second window with a glX context on another screen, things go belly up.</p><p>append:</p><p>I wonder if I shouldn&#39;t just blacklist multi-head mode. So you can only create windows on one &quot;adapter&quot;, the second you try to use more than one, bail...
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Mon, 03 Jan 2011 05:27:13 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/605938/897026#target">Thomas Fjellstrom</a> said:</div><div class="quote"><p> Is each display on a separate card?
</p></div></div><p>Each card has one monitor.</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p> I wonder if I shouldn&#39;t just blacklist multi-head mode. So you can only create windows on one &quot;adapter&quot;, the second you try to use more than one, bail...
</p></div></div><p>I think for the pending 5.0 release, it makes sense to do that if there are known problems.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Matthew Leverton)</author>
		<pubDate>Mon, 03 Jan 2011 05:36:45 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/605938/897028#target">Matthew Leverton</a> said:</div><div class="quote"><p>I think for the pending 5.0 release, it makes sense to do that if there are known problems.</p></div></div><p>Yeah, and the code I added is mostly required just to get proper display listing in multi-head mode, so its all needed anyhow. At least the work didn&#39;t go completely wasted.</p><p>Now what to do about compiz being braindead...</p><p>append:</p><p>There is nothing I can do about compiz being a pile of crap. Right now, I can&#39;t manage to find a combination of WM hints that make it behave with ex_dualies, so I just quit trying to fix it. Metacity, kwin and icewm all seems to work ok though.</p><p>I&#39;d like anyone willing to try, to try <a href="http://www.allegro.cc/files/attachment/603079">this new patch</a>. Got a bunch of shiny new code.</p><p>About the only problem I&#39;ve noticed with it in pure XRandR mode is the mouse behavior with ex_dualies, and that it currently isn&#39;t locking mouse movement to allegro displays anymore (not sure how to fix that at the moment, maybe add a A5 api call to grab/ungrab the mouse to a specific adapter). I&#39;m working on fixing the &quot;gap&quot; between screens in multi-mon when modes are set. Its one of the main reasons for the rewrite of the xrandr code.</p><p>Try dragging ex_display_options&#39;s window from one monitor to another for an extra bonus (make sure to press up or down afterwards to see it).</p><p>append2: I&#39;ve now applied the new code and changes to the Allegro 5.1 svn branch. It should get merged to 5.0, and released with 5.0.0-rc5, or 5.0.0 depending on Peter&#39;s preference.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Sat, 15 Jan 2011 00:09:09 +0000</pubDate>
	</item>
</rss>
