When SDL is enabled in Dolphin, and configuring a Gamepad (xbox 360 in my case) to use SDL, the emulator crashes on exit, if a gamepad is attached. Detaching it before exiting fixes it. I reported the bug upstream here: https://bugs.dolphin-emu.org/issues/11399. They say that SDL support is legacy, and this matches with a discussion I had in their IRC channel, where they said that SDL support is generally only present for *BSD, and Linux should be using evdev instead. Maybe the SDL use-flag should be default-disabled (or even masked) so that evdev is used instead.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e58cf552ba60b6401242ee5e07de53659d34ee56 commit e58cf552ba60b6401242ee5e07de53659d34ee56 Author: Simon Levermann <simon@slevermann.de> AuthorDate: 2018-09-19 14:14:14 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2018-09-19 22:17:05 +0000 games-emulation/dolphin: Disable SDL by default The desktop profile enables SDL by default, and it's likely that the desktop profile is being used on a computer that uses dolphin. SDL is legacy according to upstream and evdev should be used instead. Package-Manager: Portage-2.3.49, Repoman-2.3.10 Closes: https://bugs.gentoo.org/666558 Signed-off-by: Simon Levermann <simon@slevermann.de> Closes: https://github.com/gentoo/gentoo/pull/9914 games-emulation/dolphin/dolphin-9999.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=239230b6fe0340b39e7e9cd51037eb826a009d74 commit 239230b6fe0340b39e7e9cd51037eb826a009d74 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2018-09-22 16:34:15 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2018-09-22 17:04:30 +0000 games-emulation/dolphin: drop unsupported USE=sdl, bug #666558 As reported by Simon Levermann in https://bugs.gentoo.org/666558 SDL backend handles justicks weaker than default evdev and is there only for *BSDs. Reported-by: Simon Levermann Bug: https://bugs.dolphin-emu.org/issues/11399 Bug: https://bugs.gentoo.org/666558 Package-Manager: Portage-2.3.49, Repoman-2.3.10 games-emulation/dolphin/dolphin-9999.ebuild | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)