Bug#500314: libsdl1.2: cannot handle multiple monitors (XRandR) in full-screen

Bas Wijnen wijnen at debian.org
Sat Sep 27 08:51:06 UTC 2008


Package: libsdl1.2
Version: 1.2.13-3
Severity: important

I have two monitors configured on my machine, and SDL programs that go
to full screen behave weird: their (borderless) window is positioned
halfway the second screen, so that I can see only the left half.

I suppose the idea was to put it in the middle of the total viewport.
However, it seems left and right have been reversed, and so the right
half of the window doesn't show on any screen.

If that would happen, I would indeed see the entire window, but with a
physical bar in the middle.  I prefer it to use the same method as Gtk+,
which makes the window full-screen on one monitor and ignores the other.

As a workaround, I can disable one monitor before starting an SDL
program, and re-enable it afterwards.  This is annoying, though.

I just tried reversing the screens (putting VGA-0 left of DVI-0), and
that resulted in the same image on both screens, which is also
acceptable (but because of physical limitations I don't want to reverse
the screens, so it's not a permanant solution for me).

Also, when exiting such a program, the screens are not restored to their
original resolution.

For completeness, here's my xrandr output:

Screen 0: minimum 320 x 200, current 2880 x 1200, maximum 4000 x 4000
VGA-0 connected 1280x1024+1600+0 (normal left inverted right x axis y
axis) 338mm x 270mm
   1280x1024      60.0*+   75.0     59.9     60.0* 
   1600x1024      60.0  
   1400x1050      60.0  
   1440x900       60.2  
   1280x960       74.9     70.0     60.0     59.9  
   1280x800       60.0  
   1152x864       75.0     74.8     69.8     60.0  
   1280x768       60.0  
   1152x768       54.8  
   1024x768       75.1     70.1     60.0  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   640x480        75.0     72.8     72.8     75.0     66.7     60.0
59.9  
   720x400        70.1  
DVI-0 connected 1600x1200+0+0 (normal left inverted right x axis y axis)
408mm x 306mm
   1600x1200      60.0*+   59.9  
   1680x1050      60.0  
   1600x1024      60.0  
   1400x1050      74.9     70.0     60.0     60.0  
   1280x1024      75.0     59.9     60.0  
   1440x900       60.2  
   1280x960       60.0     59.9  
   1280x800       60.0  
   1152x864       75.0     74.8  
   1280x768       60.0  
   1024x768       75.1     70.1     60.0  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   640x480        75.0     72.8     72.8     75.0     66.7     60.0
59.9  
   720x400        70.1  
S-video disconnected (normal left inverted right x axis y axis)

-- 
I encourage people to send encrypted e-mail (see http://www.gnupg.org).
If you have problems reading my e-mail, use a better reader.
Please send the central message of e-mails as plain text
   in the message body, not as HTML and definitely not as MS Word.
Please do not use the MS Word format for attachments either.
For more information, see http://a82-93-13-222.adsl.xs4all.nl/e-mail.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-sdl-maintainers/attachments/20080927/a33078a5/attachment.pgp 


More information about the Pkg-sdl-maintainers mailing list