Mercurial > sdl-ios-xcode
annotate README.SVN @ 4106:12bb6311fd5d SDL-1.2
Hans de Goede fixed bug #495
When running boswars: http://www.boswars.org/ on a machine with intel
integrathed graphics it crashes when it tries to play the initial theora
splashscreen video:
X Error of failed request: BadAlloc (insufficient resources for operation)
Major opcode of failed request: 140 (XVideo)
Minor opcode of failed request: 19 ()
Serial number of failed request: 25
Current serial number in output stream: 26
boswars: xcb_xlib.c:41: xcb_xlib_lock: Assertion `!c->xlib.lock' failed.
Aborted
I recognized this problem from a few years back, when I encountered it while
working on the Xv blitter for xmame. The problem is that for some reason
creation the Xvport and XvImage succeeds, and failure (lack of resources / hw
capability?) is only indicated during the first XvPut[Shm]Image. I've written a
patch for SDL using the work around for this I developed for xmame (and which
is still used successfully in xmame after many years of usage).
I'll admit it isn't very pretty, but after investigating several possibilities
this was the best option, any other fixes would need changes to the SDL api and
abi.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 29 Dec 2007 02:23:48 +0000 |
parents | 1c291c47cf1e |
children | dc726b233f5f |
rev | line source |
---|---|
1652
dc219ba4cf45
Info on Subversion repository access.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
1 |
dc219ba4cf45
Info on Subversion repository access.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
2 The latest development version of SDL is available via Subversion. |
dc219ba4cf45
Info on Subversion repository access.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
3 Subversion allows you to get up-to-the-minute fixes and enhancements; |
dc219ba4cf45
Info on Subversion repository access.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
4 as a developer works on a source tree, you can use svn to mirror that |
dc219ba4cf45
Info on Subversion repository access.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
5 source tree instead of waiting for an official release. Please look |
dc219ba4cf45
Info on Subversion repository access.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
6 at the Subversion website ( http://subversion.tigris.org/ ) for more |
dc219ba4cf45
Info on Subversion repository access.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
7 information on using svn, where you can also download software for |
dc219ba4cf45
Info on Subversion repository access.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
8 MacOS, Windows, and Unix systems. |
dc219ba4cf45
Info on Subversion repository access.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
9 |
4041
1c291c47cf1e
Updated SVN checkout instructions
Sam Lantinga <slouken@libsdl.org>
parents:
1759
diff
changeset
|
10 svn checkout http://svn.libsdl.org/branches/SDL-1.2 |
1652
dc219ba4cf45
Info on Subversion repository access.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
11 |
1759
724cca1bda2d
Added instructions for copying SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
1652
diff
changeset
|
12 If you are building SDL with an IDE, you will need to copy the file |
724cca1bda2d
Added instructions for copying SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
1652
diff
changeset
|
13 include/SDL_config.h.default to include/SDL_config.h before building. |
1652
dc219ba4cf45
Info on Subversion repository access.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
14 |
1759
724cca1bda2d
Added instructions for copying SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
1652
diff
changeset
|
15 If you are building SDL via configure, you will need to run autogen.sh |
724cca1bda2d
Added instructions for copying SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
1652
diff
changeset
|
16 before running configure. |
1652
dc219ba4cf45
Info on Subversion repository access.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
17 |
1759
724cca1bda2d
Added instructions for copying SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
1652
diff
changeset
|
18 There is a web interface to the subversion repository at: |
724cca1bda2d
Added instructions for copying SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
1652
diff
changeset
|
19 http://www.libsdl.org/cgi/viewvc.cgi |
724cca1bda2d
Added instructions for copying SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
1652
diff
changeset
|
20 |