Status of Multi-Monitor Fullscreen Support in SDL 1.3 for X11

I’m currently in the process of porting a game engine that uses SDL 1.2 to
use 1.3, mainly because of the multi-monitor support and improved speed. My
desktop here is an Ubuntu Linux computer with two monitors (not the same
resolution) running via Nvidia TwinView.
I am currently having the engine spit out some debugging information,
including all the Displays and each Display’s modes. However, unless I apply
the patch from 702 in Bugzilla, it only spits out the one huge virtual
desktop resolution. If I do apply the patch, it doesn’t help much, just a
few more modes with the same large resolution.
However, if I also enable Xinerama support and X11 debugging, I can see that
it recognizes (as in, the debugging mode outputs it) the two modes of each
monitor (1280x1024 and 1680x1050), but they are not included in any of the
modes given by SDL_GetDisplayMode(). So I guess my real question is, is
there a reason why I can’t access those modes given by Xinerama?

Eddie Ringle
@Eddie_Ringle
http://eddieringle.com/

After a little hacking in SDL_x11modes.c, I was able to get the resolutions
of each display added, but I still need to offsets. So, I suppose I’ll just
have to wait until multiple monitors are really supported.

Eddie Ringle
@Eddie_Ringle
http://eddieringle.com/On Sun, May 9, 2010 at 7:58 PM, Eddie Ringle <@Eddie_Ringle> wrote:

I’m currently in the process of porting a game engine that uses SDL 1.2 to
use 1.3, mainly because of the multi-monitor support and improved speed. My
desktop here is an Ubuntu Linux computer with two monitors (not the same
resolution) running via Nvidia TwinView.
I am currently having the engine spit out some debugging information,
including all the Displays and each Display’s modes. However, unless I apply
the patch from 702 in Bugzilla, it only spits out the one huge virtual
desktop resolution. If I do apply the patch, it doesn’t help much, just a
few more modes with the same large resolution.
However, if I also enable Xinerama support and X11 debugging, I can see
that it recognizes (as in, the debugging mode outputs it) the two modes of
each monitor (1280x1024 and 1680x1050), but they are not included in any of
the modes given by SDL_GetDisplayMode(). So I guess my real question is, is
there a reason why I can’t access those modes given by Xinerama?

Eddie Ringle
@Eddie_Ringle
http://eddieringle.com/