[Bug 640407] New: SDL: erroneously uses xrandr-style mode switching
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@forge.provo.novell.com ReportedBy: jengelh@medozas.de QAContact: xorg-maintainer-bugs@forge.provo.novell.com 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.
https://bugzilla.novell.com/show_bug.cgi?id=640407 https://bugzilla.novell.com/show_bug.cgi?id=640407#c1 --- Comment #1 from Jan Engelhardt <jengelh@medozas.de> 2010-09-19 19:09:59 UTC --- UT uses its own SDL .so file (by means of LD_LIBRARY_PATH trick) so it did at first not turn up. As for the remaining issue, $ hg bisect -b The first bad revision is: changeset: 4313:8ec3036098df branch: SDL-1.2 user: Sam Lantinga <slouken@libsdl.org> date: Sat Oct 10 10:14:01 2009 +0000 summary: Adapted from Debian patch: 320_activate_xrandr_on_default.diff -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=640407 https://bugzilla.novell.com/show_bug.cgi?id=640407#c2 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lnussel@novell.com Component|X.Org |Other AssignedTo|bnc-team-xorg-bugs@forge.pr |prusnak@novell.com |ovo.novell.com | QAContact|xorg-maintainer-bugs@forge. |qa@suse.de |provo.novell.com | --- Comment #2 from Stefan Dirsch <sndirsch@novell.com> 2010-09-20 07:46:31 UTC --- Reassigning to Pavol as maintainer of SDL. Adding Ludwig to Cc, since he worked on the update to 1.2.14. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=640407 https://bugzilla.novell.com/show_bug.cgi?id=640407#c3 --- Comment #3 from Ludwig Nussel <lnussel@novell.com> 2010-09-20 10:30:06 CEST --- Well, I too think that this behavior sucks but somehow people think using the vidmode extension is uncool. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=640407 https://bugzilla.novell.com/show_bug.cgi?id=640407#c4 --- Comment #4 from Ludwig Nussel <lnussel@novell.com> 2010-09-20 10:38:22 CEST --- one can set SDL_VIDEO_X11_XRANDR=0 to avoid xrandr in sdl -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=640407 https://bugzilla.novell.com/show_bug.cgi?id=640407#c5 --- Comment #5 from Pavol Rusnak <prusnak@novell.com> 2010-09-23 18:45:36 CEST --- Shouldn't this issue be reported to upstream? -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=640407 https://bugzilla.novell.com/show_bug.cgi?id=640407#c6 --- Comment #6 from Jan Engelhardt <jengelh@medozas.de> 2010-09-24 00:03:44 UTC --- (At first as I had suspected xorg-server.) Now there: http://bugzilla.libsdl.org/show_bug.cgi?id=1058 -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=640407 https://bugzilla.novell.com/show_bug.cgi?id=640407#c7 Pavol Rusnak <prusnak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED URL| |http://bugzilla.libsdl.org/ | |show_bug.cgi?id=1058 Resolution| |UPSTREAM --- Comment #7 from Pavol Rusnak <prusnak@novell.com> 2010-09-24 14:56:44 CEST --- thanks for reporting to upstream! -- 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.
http://bugzilla.novell.com/show_bug.cgi?id=640407 http://bugzilla.novell.com/show_bug.cgi?id=640407#c8 Jan Engelhardt <jengelh@inai.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED --- Comment #8 from Jan Engelhardt <jengelh@inai.de> --- . -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com