Here's a patch that enables videomode switching on ppc. It also includes a safety check a few lines higher up, that could be necessary for people with bad XF86Config files. You could either include it or not. I think it should depend on >=xfree-4.3.0, since they changed the behaviour of the modeline functions a bit there. This is the evil code: #if defined(__alpha__) || defined(__sparc64__) || defined(__powerpc__) /* The alpha, sparc64 and PPC XFree86 servers are also buggy */ buggy_X11 = 1; #endif /* Enumerate the available fullscreen modes */ if ( ! buggy_X11 ) { SDL Mode Switching Code. } Reproducible: Always Steps to Reproduce:
Created attachment 18573 [details] New ebuild.
plz only make plain text attachments
Sorry, it didn't say anywhere. Anyway, the patch works great with Maelstrom, Abuse, LGeneral and mplayer. I've also contacted LGP and they will include it in the next update of Majesty. But it will probably take a while before the patch shows up in SDL's cvs or a stable release.
Created attachment 18894 [details, diff] Only the sdl patch.
is this patch for libsdl-1.2.5 or libsdl-1.2.6 ?
Created attachment 23175 [details, diff] Better patch.
This patch is for libsdl-1.2.6 (Iv
This patch is for libsdl-1.2.6 (Iv´e made it -4 on my comp). Should look something like this: src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/${P}-fullscreen.patch #31235 epatch ${FILESDIR}/${PV}-alsa-1.0.0.patch #35049 epatch ${FILESDIR}/sdl_x11vm_ppc.diff There are no buggy Xservers.
Debian (finally) included this patch about 2 weeks ago. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=210406
roger, i'll take a look at this
sparc guys: if you dont know of any issues with libsdl-1.2.6-r3 could you please push it to stable ? you're the last one :P
The entire OpenGL/SDL stuff is horrible broken on sparc AFAIK. Not a big deal at all because there are only a small number of good working acclerated graphic cards for sparc machines. If anyone gets an sdl application to work on sparc, give him a hug and a cookie.
so it doesnt matter one way or the other if 1.2.6 is stable over 1.2.5 ? :) libsdl doesnt just work with OpenGL ... it has other backends it can use ...