[Solved]SNES emulator crashes after a while with bluetooth controller
-
@krozty2112 okay. Is the SNES emulator the only one which crashes the Pi? Is your power supply rated at 2.5amps and 5volts?
-
@RetroResolution only with snes emulators and power supply is rated at 2.5amps and 5v
-
This post is deleted! -
@krozty2112 unfortunately not much else is springing to mind immediately, as the SNES isn't an emulator I make much use of having never owned the original machine
In case it assists another forum member to help you:- which SNES emulator are you using?
- is anything reported in
/tmp/runccomand.log
after the emulator crashes? - what memory split do you have set up?
My hunch is the bluetooth controller / stack could be the cause, but I don't use bluetooth myself so can't test this. Do you have a wired usb controller you could use instead (or just use your usb keyboard for test purposes)?
[n.b. an error occurred during posting, leading to a double-post, hence my deletion of the preceding post]
-
@RetroResolution "What memory split do you have set up?"
I don't know, how can I know that?. I'm using the whole sdcard space"which SNES emulator are you using?"
I try with lr-armsnes, lr-catsfc, lr-pocketsnes and lr-snes9x-next.I think it looks like is a controller/retroarch issue. I was trying to play using keyboard and occurs the same error so, remap my keyboard and it works fine. I do the same thing with the controller and works fine too, but after a while and from nowhere, retroarch menu appears.
-
it exit just like when someone regulaty exits from the emulator.
I was trying to play using keyboard and occurs the same error so, remap my keyboard and it works fine.
Is it at all possible that your controller mapping is conflicting with the hotkey assigned to quit RetroArch?
-
@krozty2112 'memory split' refers to Ram, rather than SD card space, however it doesn't sdound like it's the problem.
As you're getting the issue with several SNES emulators, it's likely either a specific game ROM, or the bluetooth controller.
I reckon it's the controller, but as I don't use Bluetooth controllers myself, I'm afraid I can't help. I'd recommend searching this forum for Bluetooth controller issues in general.
Best of luck. -
@mediamogul definitely sounds like this is an issue
-
@mediamogul said in SNES emulator crashes after a while:
it exit just like when someone regulaty exits from the emulator.
I was trying to play using keyboard and occurs the same error so, remap my keyboard and it works fine.
Is it at all possible that your controller mapping is conflicting with the hotkey assigned to quit RetroArch?
@RetroResolution said in SNES emulator crashes after a while:
@mediamogul definitely sounds like this is an issue
After a while and testing the new remap, the issue still happen. Then, I made a test with an USB gamepad (wired) and, after 3 hours, works fine.
I think it's clear the issue, in my case, is the using bluethooth connection.Searching on google, I found a couple of posts that I think it's same issue happen to me but with ps3 controllers: https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=142481 and https://www.raspberrypi.org/forums/viewtopic.php?f=78&t=145807
I will buy a bluetooth dongle this weekend and test it.Any suggestions?
-
@krozty2112 said in SNES emulator crashes after a while:
I will buy a bluetooth dongle this weekend and test it.
Any suggestions?I read those two links and it looks like a solid candidate for your problem. Good find. Let us know how it works out.
-
I bought a bluetooth dongle and after testing and playing the whole weekend, finally, no crashes or weird exits on emulators.
First of all, I had to edit /boot/config.txt with nano and add dtoverlay=pi3-disable-bt at the end of the file, with this disable bluetooth on board, save the file and then turn off Retropie.
Then, I connected the bluetooth dongle, turn on retropie and add the controller to Retropie as wiki says https://github.com/RetroPie/RetroPie-Setup/wiki/Setting-up-a-Bluetooth-controller
Thank everyone!
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.