Mailinglist Archive: opensuse-bugs (4671 mails)

< Previous Next >
[Bug 640407] New: SDL: erroneously uses xrandr-style mode switching
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Sun, 19 Sep 2010 17:20:11 +0000
  • Message-id: <bug-640407-21960@xxxxxxxxxxxxxxxxxxxxxxxx/>

https://bugzilla.novell.com/show_bug.cgi?id=640407

https://bugzilla.novell.com/show_bug.cgi?id=640407#c0


Summary: SDL: erroneously uses xrandr-style mode switching
Classification: openSUSE
Product: openSUSE 11.3
Version: Final
Platform: x86
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: P5 - None
Component: X.Org
AssignedTo: bnc-team-xorg-bugs@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: jengelh@xxxxxxxxxx
QAContact: xorg-maintainer-bugs@xxxxxxxxxxxxxxxxxxxxxx
Found By: Beta-Customer
Blocker: ---


Starting with 11.3, I am seeing a new issue with my "oversize" desktop
(2944x2208 VirtualSize on a 1280x1024 resolution).

Problem:

SDL-1.2.14.

When SDL switches to fullscreen 640x480 - for example, because the game is
configured to run in such resolution - or back, it changes the desktop size too
by means of xrandr or something along the lines of that.

Actual results:

Windows on my desktop are reordered, which is usually a result of the WM being
forced to do so because the desktop size (virtualsize) changed.

Resolution switching also takes significantly longer than it did before — this
is another sign that it switches desktop size (too), not just resolution.

First the screen goes black-with-backlight and after roughly 500ms, the TFT
screen finally gets the new 640x480 mode signal (I use VGA), which is evidenced
by the backlight going briefly off.

Expected results:

Previous behavior. In other worsd, leave desktop size as-is (and subsequently
keep my windows where they are) and _only_ change the resolution. The old
switching style is also way faster in that there is no black-with-backlight
delay.

Additional information:

Not all programs are affected. The entire group of Doom engines exhibits the
behavior for example, though I found that UnrealTournament99 does not. Both
Doom and UT use libSDL-1.2.so.0 (no static SDL as far as I can see).

Overriding the system SDL 1.2.14 libraries and using LD_LIBRARY_PATH to point
to SDL-1.2.13 libraries brings back the desired behavior.

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
< Previous Next >