Skip to content
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

BizHawk 2.3.1 instantly crashes when selecting the OpenGL display method. #1424

Closed
fsvgm777 opened this issue Jan 6, 2019 · 5 comments
Closed
Labels

Comments

@fsvgm777
Copy link

fsvgm777 commented Jan 6, 2019

Reproducing it is pretty simple. From a clean config, just select the OpenGL display method, then restart BizHawk. Upon restarting it, you'll almost instantly get this exception message:

System.MissingMethodException: Méthode introuvable : 'Void OpenTK.Graphics.IGraphicsContext.set_VSync(Boolean)'.
à OpenTK.GLControl.set_VSync(Boolean value)
à BizHawk.Client.EmuHawk.DisplayManager.UpdateSourceDrawingWork(JobInfo job)
à BizHawk.Client.EmuHawk.DisplayManager.UpdateSourceInternal(JobInfo job)
à BizHawk.Client.EmuHawk.MainForm.Render()
à BizHawk.Client.EmuHawk.MainForm.ProgramRunLoop()
à BizHawk.Client.EmuHawk.Program.Win32MainLoopCrashHandler.TryCatchFinally(String[] args)

It should be noted that the Direct3D and GDI+ display methods are fine.

EDIT: Forgot to mention that I didn't have this issue on BizHawk 2.3.0.

@YoshiRulz
Copy link
Member

Reproducible on Win10 Home 1709, please try the dev build and confirm that the crash does not occur.

@NarryG
Copy link
Contributor

NarryG commented Jan 6, 2019

This looks like it's the OpenTK issue making its way in? The release build doesn't have #1380 merged in, but that commit fixed #1384

@YoshiRulz
Copy link
Member

@NarryG Exactly what I was thinking.

@fsvgm777
Copy link
Author

fsvgm777 commented Jan 6, 2019

Reproducible on Win10 Home 1709, please try the dev build and confirm that the crash does not occur.

Can confirm that the OpenGL display method does not instantly crash on the latest dev build.

(I'm on Win10 Home 1803, btw)

@vadosnaprimer
Copy link
Contributor

vadosnaprimer commented Jan 6, 2019

We decided not to include the monster unix PR into release just yet, and I felt like squashing it, so we can't extract the commit that fixes this bug without conflicts I guess.

vadosnaprimer pushed a commit that referenced this issue Jan 6, 2019
@YoshiRulz YoshiRulz added App: EmuHawk Relating to EmuHawk frontend Repro: Affects 2.3/2.3.1/2.3.2 (2.3.3 has its own label) Repro: Regression from ??? I don't remember when exactly this used to work, but I swear it did labels Feb 2, 2019
@YoshiRulz YoshiRulz pinned this issue May 30, 2019
@YoshiRulz YoshiRulz unpinned this issue May 30, 2019
@YoshiRulz YoshiRulz added Repro: Fixed/added as of 2.3/2.3.1/2.3.2 (2.3.3 has its own label) Repro: Regression from 2.3 and removed Repro: Regression from ??? I don't remember when exactly this used to work, but I swear it did Repro: Affects 2.3/2.3.1/2.3.2 (2.3.3 has its own label) labels Dec 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants