We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 710

Summary: SDL fullscreen with portrait screen offset
Product: SDL Reporter: cuervjos
Component: videoAssignee: Sam Lantinga <slouken>
Status: RESOLVED WONTFIX QA Contact: Sam Lantinga <slouken>
Severity: blocker    
Priority: P2 CC: icculus
Version: HG 1.2   
Hardware: x86   
OS: Linux   

Description cuervjos 2009-02-28 10:52:49 UTC
Running an SDL app in fullscreen having my display in portrait mode (using xrandr  -o left), the frames seems to be affected by an offset of hundreds of pixels. It looks like my frame is prerendered into a square surface which is then drawn on the display (producing then this offset). I'm using SDL 1.2 on debian lenny.
Comment 1 Sam Lantinga 2009-09-28 00:38:06 UTC
XRandR isn't supported on SDL 1.2, for a variety of reasons.

FYI, on my laptop it sets the proper video mode, albeit not in portrait mode, and then spews an X error on shutdown.

If you really want to try it, you can set the SDL_VIDEO_X11_XRANDR environment variable to 1 and see what happens. :)