I have updated retropie-setup to use a custom sdl2 for X11 targets now, which should hopefully solve this issue without having to manually build a SDL. Feedback welcome.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.