Bug 127254

Summary: sdl resolution switching is broken
Product: [Fedora] Fedora Reporter: Kurt Erickson <kerickson>
Component: SDLAssignee: Thomas Woerner <twoerner>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 2   
Target Milestone: ---   
Target Release: ---   
Hardware: powerpc   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-07-09 15:21:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
xorg.conf file
none
patch to fix sdl 1.2.7 x11modes on ppc
none
binary rpm with patch applied; for convenience of users 'til fix migrates to rawhide none

Description Kurt Erickson 2004-07-05 10:50:00 UTC
Description of problem:

SDL resolution switching doesn't work.

Version-Release number of selected component (if applicable):

SDL-1.2.7-3

How reproducible:

Every time.

Steps to Reproduce:
1. Open chromium (or any other sdl app)
2. Switch to fullscreen.
3.
  
Actual results:

Game has a large black border, instead of switching to fullscreen.

Expected results:

Game switches resolutions.

Additional info:

I have installed debian on this same machine and didn't have this
problem, so I know that it's not hardware. This is a known bug in ppc
sdl, with a patch available. See this post for more info:

http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&threadm=SX4Z.2Qb.19%40gated-at.bofh.it&rnum=8&prev=/groups%3Fq%3Dsdl%2Bresolution%26hl%3Den%26lr%3D%26ie%3DUTF-8%26selm%3DSX4Z.2Qb.19%2540gated-at.bofh.it%26rnum%3D8

The patch is:

-#if defined(__alpha__) || defined(__sparc64__) || defined(__powerpc__)
+#if defined(__alpha__) || defined(__sparc64__)

I can't verify that it works. I do know that working sdl fullscreen
resolution switching is possible under ppc, as debian currently has
it. Someone should investigate this, it's a serious bug.

Comment 1 Kurt Erickson 2004-07-05 10:53:03 UTC
Created attachment 101636 [details]
xorg.conf file

This this my xorg.conf file. I have tried this same file under debian, renamed
to XF86Config-4, and sdl resolution switching still worked. So I am confident
that it is not an xorg configuration problem.

Comment 2 Kurt Erickson 2004-07-09 13:52:57 UTC
Created attachment 101746 [details]
patch to fix sdl 1.2.7 x11modes on ppc

OK, I made a patch, applyed it to SDL-1.2.7-6.src.rpm (from rawhide) and
rebuilt the rpm. I can confirm that it works, bug is fixed with no bad effects!
Patch and rpm are attached; would someone please alert the SDL maintainer, I'd
like to see this patch in rawhide asac.

Comment 3 Kurt Erickson 2004-07-09 13:57:01 UTC
Created attachment 101747 [details]
binary rpm with patch applied; for convenience of users 'til fix migrates to rawhide

Comment 4 Thomas Woerner 2004-07-09 15:21:37 UTC
Fixed in rawhide in rpm  or newer.