



When I have some free time to test and verify everything's ok, I'll send the atexit patch as a PR to your repo, but if you think my change isn't good enough, let me know and I can take a look at the code again (or you could do it yourself, perhaps). I've only had time to check basic functionality (mostly to verify that bypassing the atexit calls prevents the segfault on exit).
#Sdl2 image mixer driver
It's necessary to avoid the use of atexit for SDL_Quit() due to a conflict between SDL2 and the Mesa driver's usage of atexit see: Īdditionally, it's necessary to enable vsync for kmsdrm contexts due to a driver bug causing a drastic performance reduction when vsync is disabled. Without any changes to your source, the build is segfaulting on exit - but I know the cause. I've started work on updating the scriptmodule to use your fork, commit is here (not yet submitted as a PR):
#Sdl2 image mixer install
Is someone working on this, or is there someone who'd like a (neater) patch? What would be the preferred format? A git push to the HerbFargus git tree, a manual diff to it in the Retropie install script? but I'm trying to track down a segfault-at-exit but it doesn't affect gameplay at all and isn't visible when used from ES. It works and I've played four-player games with joypads, sound, fullscreen video etc.
