Aloshi / EmulationStation

A flexible emulator front-end supporting keyboardless navigation and custom system themes.
MIT License
2.08k stars 905 forks source link

Emulationstation crashes when i exit the emulator #693

Open McSteer opened 7 years ago

McSteer commented 7 years ago

When i open an emulator in Es it works just fine, however when i close the emulator Es crashes. I use Retroarch as my emulator.

mkgvb commented 7 years ago

Having the same problem. Windows 10 as OS. Games with retroarch and dolphin both crash ES on exit. Nothing in the log shows any indication of why.

okcomputer8x commented 7 years ago

Hi,same problem. I realize that probably was a problem with amd radeon drivers. I got a r9 380 4gb and my friend a rx 470. same problem when press ESC in the middle of a game or try exit . When I install older drivers works fine, but there is another problem becouse newer games need the update drivers. If someone found a solution plz tell me. thks

eduardo-pagoto commented 7 years ago

Hi people! Same problem here. All emulators working well, but when I close anyone of them ES crashes. Using Windows 10 and AMD Radeon HD 7770. Any help for this problem?

malakai97 commented 7 years ago

Same issue. I can confirm it's not due to the rom itself. Also occurs with %ROM% rather than %ROM_RAW%

config

<systemList>
    <system>
        <name>snes</name>
        <fullname>Super Nintendo</fullname>
        <path>D:/Emulation/Roms/SNES</path>
        <extension>.srm .sfc .zip</extension>
        <command>C:\Utilities\RetroArch\retroarch.exe -f -L "C:\Utilities\RetroArch\cores\bsnes_balanced_libretro.dll" "%ROM_RAW%"</command>
        <platform>snes</platform>
        <theme>snes</theme>
    </system>
</systemList>

es log

lvl2:   EmulationStation - v2.0.1a, built Mar  8 2015 - 16:10:39
lvl2:   Creating surface...
lvl2:   Created window successfully.
lvl2:   Checking available OpenGL extensions...
lvl2:    ARB_texture_non_power_of_two: ok
lvl2:   Loading system config file C:/Users/Malakai/.emulationstation/es_systems.cfg...
lvl2:    req sound [basic.launch]
lvl2:      (missing)
lvl2:   Attempting to launch game...
lvl2:    getting volume as 56 ( from float 0.560984)
lvl2:       C:\Utilities\RetroArch\retroarch.exe -f -L "C:\Utilities\RetroArch\cores\bsnes_balanced_libretro.dll" "D:\Emulation\Roms\SNES\Super Mario All-Stars + Super Mario World (USA).sfc"
lvl2:   Creating surface...
lvl2:   Created window successfully.
lvl2:    req sound [basic.launch]
lvl2:      (missing)

windows event

Faulting application name: emulationstation.exe, version: 2.0.1.0, time stamp: 0x54fcbb08
Faulting module name: atioglxx.dll, version: 22.19.162.4, time stamp: 0x58fe9ecb
Exception code: 0xc0000005
Fault offset: 0x00d7c4ce
Faulting process id: 0x1fc0
Faulting application start time: 0x01d360a3d9f773fa
Faulting application path: C:\Utilities\EmulationStation\emulationstation.exe
Faulting module path: C:\WINDOWS\System32\DriverStore\FileRepository\c0313676.inf_amd64_96bbc33bec5c7fae\atioglxx.dll
Report Id: a8f62984-01f7-422a-beb2-4917dc124f45
Faulting package full name: 
Faulting package-relative application ID: 

windows event xml

- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
  <Provider Name="Application Error" /> 
  <EventID Qualifiers="0">1000</EventID> 
  <Level>2</Level> 
  <Task>100</Task> 
  <Keywords>0x80000000000000</Keywords> 
  <TimeCreated SystemTime="2017-11-18T19:49:18.107360000Z" /> 
  <EventRecordID>3639</EventRecordID> 
  <Channel>Application</Channel> 
  <Computer>Azula</Computer> 
  <Security /> 
  </System>
- <EventData>
  <Data>emulationstation.exe</Data> 
  <Data>2.0.1.0</Data> 
  <Data>54fcbb08</Data> 
  <Data>atioglxx.dll</Data> 
  <Data>22.19.162.4</Data> 
  <Data>58fe9ecb</Data> 
  <Data>c0000005</Data> 
  <Data>00d7c4ce</Data> 
  <Data>1fc0</Data> 
  <Data>01d360a3d9f773fa</Data> 
  <Data>C:\Utilities\EmulationStation\emulationstation.exe</Data> 
  <Data>C:\WINDOWS\System32\DriverStore\FileRepository\c0313676.inf_amd64_96bbc33bec5c7fae\atioglxx.dll</Data> 
  <Data>a8f62984-01f7-422a-beb2-4917dc124f45</Data> 
  <Data /> 
  <Data /> 
  </EventData>
  </Event>
PittStone commented 6 years ago

Still have the Problem, too! I close a fba game and ES crashes. After a few restart of Windows, its not crash after closing a game. But its repeat crash on next day im longer on Windows. After restart Windows it Works again a few times. No Solution yet?

jonded94 commented 6 years ago

I can confirm that problem too, with: Win 10 Pro i5 6500 R9 290

Every emulator starts without problems, but exiting/closing the emulator yields a crash (reproducable every time).

eduardo-pagoto commented 6 years ago

Hi again!

I've changed my video card (AMD Radeon HD 7770 to AMD Radeon RX 550) and problem is gone. Maybe this issue is only for specific video card drivers.

davrob01 commented 1 year ago

5 years late, but I had similar issues on a machine with an old AMD card (AMD Radeon HD 6800 Series). The Emulation Station interface would not re-display after exiting an emulator, but the emulationstation.exe process would still be running in the background (seen in task manager).

After looking at some of the command line options in the README, I realized there is an option to disable v-sync, so I figured I would try it and that fixed the issue. The ES interface now re-displays after exiting a game/emulator.

You can include the vsync option everytime you run ES by modifying your shortcut file. Example target:

"PATH\emulationstation.exe" --vsync 0

Also, there is a --debug option for more logging. In case you need it. And experimenting with the --windowed option could possibly be a workaround also if disabling vsync doesn't fix it.