Bug 127254 - sdl resolution switching is broken
Summary: sdl resolution switching is broken
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: SDL
Version: 2
Hardware: powerpc
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Thomas Woerner
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-07-05 10:50 UTC by Kurt Erickson
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2004-07-09 15:21:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
xorg.conf file (2.27 KB, text/plain)
2004-07-05 10:53 UTC, Kurt Erickson
no flags Details
patch to fix sdl 1.2.7 x11modes on ppc (435 bytes, patch)
2004-07-09 13:52 UTC, Kurt Erickson
no flags Details | Diff
binary rpm with patch applied; for convenience of users 'til fix migrates to rawhide (204.89 KB, application/octet-stream)
2004-07-09 13:57 UTC, Kurt Erickson
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.