donmanios / bizhawk

Automatically exported from code.google.com/p/bizhawk
0 stars 0 forks source link

Failure to initialize Direct3D. EmuHawk crashes when opening an N64 rom #182

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Downloaded newest release binary (1.6.1).
2. Started EmuHawk.
3. Opened Mario Kart 64 ROM (works with other emulators)

What is the expected output? What do you see instead?
Open opening the emulator, I get this message:
Failure to initialize Direct3D, reverting to GDI+ display method. Change the 
option in Config > GUI or install DirectX web update.

Then the main window shows black and white static (not sure if intended).

When I open the Mario Kart 64 ROM, the application crashes and I get this error:
System.IndexOutOfRangException: Index was outside the bounds of the array.
at BizHawk.Client.EmuHawk.DisplaySurface.ToBitmap(Boolean copy)
at BizHawk.Client.EmuHawk.SysdrawingRenderPanel.RenderInternal(DisplaySurface 
surface, Boolean transparent)
...
at BizHawk.Client.EmuHawk.DisplayManager.UpdateSourceEx(IVideoProvider 
videoProvider, IRenderer renderPanel)
at BizHawk.Client.EmuHawk.MainForm.Render()
...

After that error, there is still an EmuHawk process running on the machine, but 
the UI is gone.

DxDiag tells me:
DirectX 11 . Driver version 8.15.10.2778 (9/6/2012)
Direct3D Acceleration : Enabled
OS : Windows 7 Pro 64-bit

I have run the bizhawk prereqs application and still get the same results.

Original issue reported on code.google.com by sully71...@gmail.com on 24 May 2014 at 2:14

GoogleCodeExporter commented 8 years ago
When I go to the N64 tab in the emulator -> Video Plugin Settings , I get this 
exception.

System.NullReferenceException: Object reference not set to an instance of an 
object.
   at BizHawk.Client.EmuHawk.N64VideoPluginconfig.N64VideoPluginconfig_Load(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Original comment by sully71...@gmail.com on 24 May 2014 at 4:01

GoogleCodeExporter commented 8 years ago
Have you tried the SVN builds?  They may fix this issue.  I know N64 games work 
for me.

Original comment by hegyak on 24 May 2014 at 3:37

GoogleCodeExporter commented 8 years ago
Did you run the prereq installer?

Marking this as invalid as the next release will not use Directx anyway

Original comment by adeli...@tasvideos.org on 25 May 2014 at 1:45