[Scummvm-tracker] [ScummVM :: Bugs] #14445: libTAS crashes SCI with fullscreen video

ScummVM :: Bugs trac at scummvm.org
Sun Jul 16 13:27:28 UTC 2023


#14445: libTAS crashes SCI with fullscreen video
----------------------------------------+-------------------------------
Reporter:  darkshoxx                    |       Owner:  (none)
    Type:  defect                       |      Status:  new
Priority:  normal                       |   Component:  Graphics
 Version:  gsoc                         |  Resolution:
Keywords:  LibTAS OpenGL GLXBadContext  |        Game:  Phantasmagoria 1
----------------------------------------+-------------------------------
Comment (by clementgallet):

 Looking at this issue: when the Phantasmagoria 1 intro cutscene starts,
 scummvm is calling `SDL_DestroyRenderer()` then `SDL_CreateRenderer()` on
 the current window, which calls the underlying `glXDestroyContext()` and
 `glXCreateContext()` functions.

 When a savestate is saved before the cutscene, we play the cutscene, the
 savestate is loaded and we play again the cutscene, the SDL renderer is
 destroyed a second time. This is no problem for SDL because the old
 context was recovered as part of the savestate loading. However, GLX
 contexts are shared with X server, so when a request is sent to destroy
 the context, the server reports that the context is bad (already
 destroyed).
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/14445#comment:5>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list