Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
06417 Crash/Freeze Critical (emulator) Always Oct 29, 2016, 20:41 Oct 30, 2016, 23:08
Tester M.A.S.H. View Status Public Platform MAME (Self-compiled)
Assigned To Jezze Resolution Fixed OS Windows XP
Status [?] Resolved Driver
Version 0.179 Fixed in Version 0.180 Build Normal
Fixed in Git Commit Github Pull Request #
Summary 06417: MAME crashed with UI and HLSL
Description MAME crashed with UI and HLSL:

Unable to create the Direct3D device (8876086C)
Unable to initialize Direct3D 9
Fatal error: Unable to complete window creation
Steps To Reproduce Start mame and select any game in the UI. Enable HLSL Post-Processing with Alt+Ctrl+F5 or enable it
in the mame.ini (hlsl_enable = 1) before. Press escape. Game crashed and didn't return to UI.
This happend not in MAME 0.178. Crashed only in UI and not if you start with mame 'game'.
Additional Information
Github Commit
Flags
Regression Version 0.179
Affected Sets / Systems
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
7
User avatar
No.13295
Tafoid
Administrator
Oct 30, 2016, 01:27
What happens with MAMEDEV.org's 0.179 32 or 64-bit binary?
You show self compiled and when 0.179 was released we had 3+ days of development already any of which may be the cause.

You said, Windows XP - what Video Card do you have? System Stats?
User avatar
No.13296
M.A.S.H.
Senior Tester
Oct 30, 2016, 01:40
Test official MAME 0.179 32-bit - crashed also. My Video Card: NVIDIA GeForce 9500 GT
User avatar
No.13298
B2K24
Senior Tester
Oct 30, 2016, 02:08
I can confirm this behavior with baseline 64-bit build @ mamedev.org

Basically when HLSL is in use you're unable to return to MAME's Internal UI. It happen for me both ways either running with -video d3d -hlsl_enable or using Alt+Ctrl+F5 in-game.
User avatar
No.13300
Jezze
Developer
Oct 30, 2016, 20:00
I can reproduce this in full screen mode, window mode seems fine.
User avatar
No.13301
Jezze
Developer
Oct 30, 2016, 20:32
Broken in https://github.com/mamedev/mame/commit/390e6bd43d3f9f429e100b5cf65caf7836e85a4a
User avatar
No.13302
Jezze
Developer
Oct 30, 2016, 21:23
Fixed in https://github.com/mamedev/mame/commit/c4b8e48b579c68fc5a095eb7524ece378bfa5248
User avatar
No.13303
M.A.S.H.
Senior Tester
Oct 30, 2016, 23:08
Did a clean compile. Bug is fixed. Thanks Jezze.