Post subject: BizHawk.Client.EmuHawk has stopped working error
Joined: 9/13/2014
Posts: 62
Location: Canada
I've been unable to open the EmuHawk application from BizHawk 1.8.1. Before the emulator even opens I receive an "application" has stopped working message. I have run the prereq installer a few times, have completely uninstalled the program and reinstalled it etc. I am unsure if my system meets the requirements but I was able to run EmuHawk in BizHawk 1.7.4. Are there any basic things I should have done that I might have missed? Also I apologize if this question stems from a lack of basic knowledge or research, I'm kind of computer illiterate but I can follow online instructions fairly well.
Editor, Emulator Coder
Joined: 8/7/2008
Posts: 1156
upgrade/downgrade your video drivers. read the thread " [Notice] If BizHawk failes to launch correctly " Check for relevant messages in windows application log
Joined: 9/13/2014
Posts: 62
Location: Canada
I don't know why I missed this, I actually read that thread. My graphics driver doesn't support OpenGl 2.0 so I guess it's time for an upgrade.
Editor, Emulator Coder
Joined: 8/7/2008
Posts: 1156
I thought bizhawk 1.7.4 would be having the same opengl requirement, so I'm not sure why that would have worked for you. However, opengl 2.0 is the intended requirement. In the future, bizhawk's opengl requirement will be lifted, but don't hold your breath. What video card do you have? Please look for some option in the video driver settings like multicore optimizations and try changing its setting. To clarify: we really expect any systems which ran 1.7.4 to run 1.8.1, so we're interested in debugging why this isnt happening.
Joined: 9/13/2014
Posts: 62
Location: Canada
Sorry for the misinformation zeromus,I went into the bizhawk version history when I made the post and for not being able to remember I assumed the version I last used was the version prior to 1.8. However it would have been an earlier one, probably 1.6a. Do you know which version the requirement became applicable? Or if it was always a requirement then I'm even more confused.
adelikat
He/Him
Emulator Coder, Site Developer, Site Owner, Expert player (3574)
Joined: 11/3/2004
Posts: 4754
Location: Tennessee
We switched from directx to opengl during the 1.6.0 release. Can you confirm what your old version was? Because we would still be interested in what changed for you, if you in fact had 1.6.x.
It's hard to look this good. My TAS projects
Joined: 7/30/2014
Posts: 145
Location: マーベリックハンターベース
having same error too but it just happens randomly when playing using 1.7.4 too
ロックマンX7は? 私はそのクソゲームを憎む
Editor, Emulator Coder
Joined: 8/7/2008
Posts: 1156
then it's an entirely different problem. look in windows application log for clues, and say which games youre playing.
Joined: 9/13/2014
Posts: 62
Location: Canada
This may not be a driver issue, as I can't run instances of bizhawk prior to 1.6 anymore either, or any version for that matter. Do the recent versions after the switch require gl 2.0? Because my driver does support up to 1.5.. Also I can't pull up details as to why the app stops working, how can I access the application log?
Editor, Emulator Coder
Joined: 8/7/2008
Posts: 1156
every opengl version of bizhawk has been requiring 2.0 run eventvwr.msc. theres no guarantee theres anything interesting there, but look for things with a timestamp matching when bizhawk crashed
Joined: 9/13/2014
Posts: 62
Location: Canada
I think I've figured out what I was doing wrong. I can run versions of bizhawk prior to 1.6 now, I just hadn't been extracting the files to a new folder. I can't run anything later than that due to my old graphics driver. Thanks for the info though, otherwise I might still have been troubleshooting 1.8.1.
Editor, Emulator Coder
Joined: 8/7/2008
Posts: 1156
This was the first suggestion "Extracted to a new folder with nothing in it?" in the thread mentioned in the first reply to your question.
Joined: 9/13/2014
Posts: 62
Location: Canada
And I had been extracting almost every time, I just realized and caught that I hadn't extracted the last few times I had tried the versions prior to 1.6. I'll try and be more accurate with posting though and actually look at what I'm doing, I realize that was kind of hard to follow. I suppose this thread isn't needed anymore.
adelikat
He/Him
Emulator Coder, Site Developer, Site Owner, Expert player (3574)
Joined: 11/3/2004
Posts: 4754
Location: Tennessee
So to be clear, the verdict is that you can use pre-1.6 BizHawk releases. But you can NOT use 1.6 or later due to lack of opengl 2.0 support on your system?
It's hard to look this good. My TAS projects
Joined: 9/13/2014
Posts: 62
Location: Canada
As far as I can tell yes, I have 1.5.3 installed and it runs fine now. The snag I was running into was that I had forgotten to extract 1.5.3 as I had been doing with 1.8.1. This is the general error log appearing in event viewer when attempting to open 1.8.1. Application: EmuHawk.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.AccessViolationException Stack: at OpenTK.Graphics.OpenGL.GL.LinkProgram(Int32) at BizHawk.Bizware.BizwareGL.Drivers.OpenTK.IGL_TK.CreatePipeline(BizHawk.Bizware.BizwareGL.VertexLayout, BizHawk.Bizware.BizwareGL.Shader, BizHawk.Bizware.BizwareGL.Shader, Boolean) at BizHawk.Bizware.BizwareGL.GuiRenderer..ctor(BizHawk.Bizware.BizwareGL.IGL) at BizHawk.Client.EmuHawk.DisplayManager..ctor(BizHawk.Client.EmuHawk.PresentationPanel) at BizHawk.Client.EmuHawk.MainForm..ctor(System.String[]) at BizHawk.Client.EmuHawk.Program.SubMain(System.String[]) at BizHawk.Client.EmuHawk.Program.Main(System.String[])
Joined: 10/6/2014
Posts: 4
Location: France
Hi, I've noticed something: Bizhawk crashes at startup if screen is not set to 32bits colors. Maybe color depth is not ok for people noticing issues at startup even if they have OpenGL 2.0 at least. Regards
Editor
Joined: 3/31/2010
Posts: 1466
Location: Not playing Puyo Tetris
capitaineflam25 wrote:
Hi, I've noticed something: Bizhawk crashes at startup if screen is not set to 32bits colors. Maybe color depth is not ok for people noticing issues at startup even if they have OpenGL 2.0 at least. Regards
I set my Windows 7 machine to 16 Bit color mode. No problems here.
When TAS does Quake 1, SDA will declare war. The Prince doth arrive he doth please.
Joined: 10/6/2014
Posts: 4
Location: France
Maybe the issue is driver dependant: I've made a test on 2 computers: on the first one (Win 7 x32) with an integrated intel video card, it runs fine on 32b in 16b here is the crash i get:
Application : EmuHawk.exe
Version du Framework : v4.0.30319
Description : le processus a été arrêté en raison d'une exception non gérée.
Informations sur l'exception : System.AccessViolationException
Pile :
   à OpenTK.Graphics.OpenGL.GL.CreateShader(OpenTK.Graphics.OpenGL.ShaderType)
   à BizHawk.Bizware.BizwareGL.Drivers.OpenTK.IGL_TK.CreateShader(OpenTK.Graphics.OpenGL.ShaderType, System.String, Boolean)
   à BizHawk.Bizware.BizwareGL.Drivers.OpenTK.IGL_TK.CreateVertexShader(System.String, Boolean)
   à BizHawk.Bizware.BizwareGL.GuiRenderer..ctor(BizHawk.Bizware.BizwareGL.IGL)
   à BizHawk.Client.EmuHawk.DisplayManager..ctor(BizHawk.Client.EmuHawk.PresentationPanel)
   à BizHawk.Client.EmuHawk.MainForm..ctor(System.String[])
   à BizHawk.Client.EmuHawk.Program.SubMain(System.String[])
   à BizHawk.Client.EmuHawk.Program.Main(System.String[])
On the 2nd one (Win 7 x64) with a GeForce card, it runs fine on 32b depth, when switching to 16b i got no crash but the Bizhawk windows never shows, but the exe is visible on the task manager