qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] SDL fullscreen window dislikes being resized past the screen size
@ 2010-05-25 15:53 Michael Tokarev
  2010-05-25 16:02 ` Anthony Liguori
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Tokarev @ 2010-05-25 15:53 UTC (permalink / raw)
  To: qemu-devel

Initially it were a bugreport on #kvm IRC, someone
asked why his kvm exits when entering fullscreen mode,
saying the famous
  "Could not open SDL display"
and nothing more.

I added a bit of debug output and here's what I see:

...
resizing to 1440x900 0 0x115
resizing to 1440x900 32 0x80000115
Could not open SDL display for 1440x900, bpp=32, flags=0x80000115

flag=0x80000000 means fullscreen.  My screen size is
1280x1024, -- 1440 is more than 1280.

It works just fine if I choose resolution less or equal
to my screen size.

And it works just fine (as seen in the example output
above) that it works with larger resolutions but not
fullscreen (in that case SDL window will be scaled to
fit the actual desktop size).

It looks to me like an incorrect usage or assumptions
about SDL window, or maybe SDL bug.  Mine is
libsdl1.2debian 1.2.13-2.

And the error message is in usual qemu style - not at
all useful :)  But it's at least better than pure
exit without any messages at all, like was in hugetlbfs
code ;)

Thanks!

/mjt

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-05-25 16:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-25 15:53 [Qemu-devel] SDL fullscreen window dislikes being resized past the screen size Michael Tokarev
2010-05-25 16:02 ` Anthony Liguori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).