Red Hat Bugzilla – Bug 127254
sdl resolution switching is broken
Last modified: 2007-11-30 17:10:45 EST
Description of problem:
SDL resolution switching doesn't work.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Open chromium (or any other sdl app)
2. Switch to fullscreen.
Game has a large black border, instead of switching to fullscreen.
Game switches resolutions.
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:
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.
Created attachment 101636 [details]
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.
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.
Created attachment 101747 [details]
binary rpm with patch applied; for convenience of users 'til fix migrates to rawhide
Fixed in rawhide in rpm or newer.