New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pi freezes after exiting exiting and returning to game selection menu. #73

Closed
nerdwad opened this Issue May 20, 2013 · 7 comments

Comments

Projects
None yet
2 participants
@nerdwad

nerdwad commented May 20, 2013

Hello - I tried searching for this particular issue but was unable to find anything relevant, so kindly point me in the right direction if this has already been solved.

ES loads up fine (currently only have NES emulator installed) and allows me to select a game and play it. However, once I exit the game (tap ESC on the keyboard) and return to the game list menu the Pi completely freezes and I have to do a power cycle. This seems to happen every time and is reproducible. It doesn't seem to be a crash after a specific amount of time, as I can play various games for various time frames and as soon as I exit back to the game list it locks up.

Has anyone else experienced this?

Thank you in advance for any assistance with this matter.

@Aloshi

This comment has been minimized.

Show comment
Hide comment
@Aloshi

Aloshi May 20, 2013

Owner

Are you using HDMI or Composite? Is there anything in ~/.emulationstation/es_log.txt after a reboot?

(Just as a note, I can't seem to reproduce this on my HDMI-based setup.)

Owner

Aloshi commented May 20, 2013

Are you using HDMI or Composite? Is there anything in ~/.emulationstation/es_log.txt after a reboot?

(Just as a note, I can't seem to reproduce this on my HDMI-based setup.)

@nerdwad

This comment has been minimized.

Show comment
Hide comment
@nerdwad

nerdwad May 20, 2013

I'm using HDMI.. I loaded one game, played it for a few minutes then escaped back to the game selection menu, it allows me to scroll to choose another game, but as soon as I press "A" to load it, the system freezes. The es_log.txt file contains the following after a reboot:

lvl2: Attempting to launch game...
lvl2: /home/pi/RetroPie/supplementary/runcommand/runcommand.sh 1 "retroarch -L /home/pi/RetroPie/emulatorcores/fceu-next/fceumm-code/fceumm_libretro.so --config /home/pi/RetroPie/configs/all/retroarch.cfg --appendconfig /home/pi/RetroPie/configs/nes/retroarch.cfg /home/pi/RetroPie/roms/nes/Alpha\ Mission\ (U).nes"
lvl2: Starting SDL...
lvl2: Creating surface...
lvl2: Resolution: 1920x1080...
lvl2: Created surface successfully!

And that's it. I'm going to try using different controllers and such to see if I can rule out any specific hardware issues.

EDIT: It freezes whether I'm using a USB controller or a keyboard as an input device. Also I noticed that the game selection sounds also stopped working once I open a game and go back to the menu before the freeze.

nerdwad commented May 20, 2013

I'm using HDMI.. I loaded one game, played it for a few minutes then escaped back to the game selection menu, it allows me to scroll to choose another game, but as soon as I press "A" to load it, the system freezes. The es_log.txt file contains the following after a reboot:

lvl2: Attempting to launch game...
lvl2: /home/pi/RetroPie/supplementary/runcommand/runcommand.sh 1 "retroarch -L /home/pi/RetroPie/emulatorcores/fceu-next/fceumm-code/fceumm_libretro.so --config /home/pi/RetroPie/configs/all/retroarch.cfg --appendconfig /home/pi/RetroPie/configs/nes/retroarch.cfg /home/pi/RetroPie/roms/nes/Alpha\ Mission\ (U).nes"
lvl2: Starting SDL...
lvl2: Creating surface...
lvl2: Resolution: 1920x1080...
lvl2: Created surface successfully!

And that's it. I'm going to try using different controllers and such to see if I can rule out any specific hardware issues.

EDIT: It freezes whether I'm using a USB controller or a keyboard as an input device. Also I noticed that the game selection sounds also stopped working once I open a game and go back to the menu before the freeze.

@Aloshi

This comment has been minimized.

Show comment
Hide comment
@Aloshi

Aloshi May 20, 2013

Owner

I have a theory that this is related to the AudioManager not reinitializing after returning from a game. I fixed that just this morning - could you try updating ES and see if that fixed it?

(To update, cd into your EmulationStation directory (~/RetroPie/supplementary/EmulationStation with RetroPie), run git pull then make.)

Owner

Aloshi commented May 20, 2013

I have a theory that this is related to the AudioManager not reinitializing after returning from a game. I fixed that just this morning - could you try updating ES and see if that fixed it?

(To update, cd into your EmulationStation directory (~/RetroPie/supplementary/EmulationStation with RetroPie), run git pull then make.)

@nerdwad

This comment has been minimized.

Show comment
Hide comment
@nerdwad

nerdwad May 21, 2013

Once again, that did the trick! 👍 You rock!

The only thing I noticed now is that the "bong" and "coin" sounds that are used when navigating games and selecting them, respectively, are much louder than the volume of the game output. Is there a way to adjust these volumes?

Thanks again, Aloshi!

nerdwad commented May 21, 2013

Once again, that did the trick! 👍 You rock!

The only thing I noticed now is that the "bong" and "coin" sounds that are used when navigating games and selecting them, respectively, are much louder than the volume of the game output. Is there a way to adjust these volumes?

Thanks again, Aloshi!

@Aloshi

This comment has been minimized.

Show comment
Hide comment
@Aloshi

Aloshi May 21, 2013

Owner

Excellent!

The current mixing function doesn't take individual sound volume into account. Until that gets added, there's not much to do other than lower the volume in the sounds themselves, I'm afraid.

Owner

Aloshi commented May 21, 2013

Excellent!

The current mixing function doesn't take individual sound volume into account. Until that gets added, there's not much to do other than lower the volume in the sounds themselves, I'm afraid.

@Aloshi Aloshi closed this May 21, 2013

@nerdwad

This comment has been minimized.

Show comment
Hide comment
@nerdwad

nerdwad May 21, 2013

Understood! That works fine for now. Thanks again!

nerdwad commented May 21, 2013

Understood! That works fine for now. Thanks again!

@ghost

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost Sep 9, 2013

Hell guys, try this: Open /etc/kbd/config and set BLANK_TIME=0 and POWERDOWN_TIME=0

ghost commented Sep 9, 2013

Hell guys, try this: Open /etc/kbd/config and set BLANK_TIME=0 and POWERDOWN_TIME=0

joolswills added a commit to joolswills/EmulationStation that referenced this issue Dec 2, 2016

Merge pull request #73 from joolswills/scroll_tiers
emulationstation - add additional scroll speed tier, and slow down fastest speed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment