- --
Viewing Issue Advanced Details
[ Jump to Notes ]
ID | Category [?] | Severity [?] | Reproducibility | Date Submitted | Last Update |
---|---|---|---|---|---|
02751 | Core | Major | Always | Dec 19, 2008, 21:22 | Nov 28, 2016, 16:14 |
Tester | mfeingol | View Status | Public | Platform | MAME (Official Binary) |
Assigned To | Resolution | Suspended | OS | Windows XP/Vista 64-bit | |
Status [?] | Closed | Driver | |||
Version | 0.128 | Fixed in Version | Build | 64-bit | |
Fixed in Git Commit | Github Pull Request # | ||||
Summary | 02751: D3D full screen fails with 0x8876086C - Unable to create the Direct3D device | ||||
Description |
I have a new Vista x64 installation with updated Intel INF, nVidia video and RealTek audio drivers. On this system, Mame runs perfectly in windowed mode using D3D, but fails in full-screen mode. For what it's worth, this system is connected via DVI to an LCD TV. I haven't tested this issue with a standard LCD monitor. I'll also note that I have another Vista x64 installation on which full-screen mode works just fine (with the same version of the nVidia drivers). So I'm not sure what's special here - e.g. it doesn't seem to be a 64-bit only issue. |
||||
Steps To Reproduce |
The bug looks like this:C:\Users\Public\Mame>vmame64 pacman -nowindow -verbose Parsing mame.ini Parsing mame.ini Video: Monitor 0000000000010001 = "\.\DISPLAY1" (primary) Direct3D: Using Direct3D 9 Direct3D: Configuring adapter #0 = NVIDIA GeForce 7600 GT Direct3D: Using dynamic textures Direct3D: YUV format = RGB Unable to create the Direct3D device (8876086C) Unable to initialize Direct3D. Unable to complete window creationContrast with... C:\Users\Public\Mame>vmame64 pacman -verbose Parsing mame.ini Parsing mame.ini Video: Monitor 0000000000010001 = "\.\DISPLAY1" (primary) Direct3D: Using Direct3D 9 Direct3D: Configuring adapter #0 = NVIDIA GeForce 7600 GT DirectSound: Primary buffer: 44100 Hz, 16 bits, 2 channels RawInput: APIs detected Input: Adding Mouse #1: Microsoft PS/2 Port Mouse (IntelliPoint) Input: Adding Gun #1: Microsoft PS/2 Port Mouse (IntelliPoint) Input: Adding Mouse #2: HID-compliant mouse Input: Adding Gun #2: HID-compliant mouse Input: Adding Kbd #1: Standard PS/2 Keyboard Input: Adding Kbd #2: Microsoft eHome Remote Control Keyboard keys Input: Adding Kbd #3: Microsoft eHome MCIR Keyboard Input: Adding Kbd #4: Microsoft eHome MCIR 109 Keyboard DirectInput: Using DirectInput 7 Input: Changing default joystick map = s8.4s8.44s8.4445 s8888888s 4s88888s6 44s888s66 444555666 444555666 444555666 44s222s66 4s22222s6 s2222222s Input: Changing default joystick map = s8.4s8.44s8.4445 s8888888s 4s88888s6 44s888s66 444555666 444555666 444555666 44s222s66 4s22222s6 s2222222s Direct3D: Using dynamic textures Direct3D: YUV format = RGB Direct3D: Device created at 671x895 Direct3D: Max texture size = 4096x4096... which works just fine. |
||||
Additional Information | I'm happy to help with debugging this. Just let me know what information you'll need or send me debug binaries / PDBs / breakpoints / whatever. | ||||
Github Commit | |||||
Flags | |||||
Regression Version | |||||
Affected Sets / Systems | |||||
Attached Files
|
mame.ini (4,633 bytes) Dec 19, 2008, 23:19 [Show Content] [Hide Content]<UNADORNED0> # # CORE CONFIGURATION OPTIONS # readconfig 1 # # CORE SEARCH PATH OPTIONS # rompath roms samplepath samples artpath artwork ctrlrpath ctrlr inipath ini fontpath . cheatpath cheat # # CORE OUTPUT DIRECTORY OPTIONS # cfg_directory cfg nvram_directory nvram memcard_directory memcard input_directory inp state_directory sta snapshot_directory snap diff_directory diff comment_directory comments # # CORE STATE/PLAYBACK OPTIONS # state autosave 1 playback record mngwrite aviwrite wavwrite snapname %g/%i snapsize auto snapview internal # # CORE PERFORMANCE OPTIONS # autoframeskip 1 frameskip 0 seconds_to_run 0 throttle 1 sleep 1 speed 1.0 refreshspeed 0 # # CORE ROTATION OPTIONS # rotate 1 ror 0 rol 0 autoror 0 autorol 0 flipx 0 flipy 0 # # CORE ARTWORK OPTIONS # artwork_crop 0 use_backdrops 1 use_overlays 1 use_bezels 0 # # CORE SCREEN OPTIONS # brightness 1.0 contrast 1.0 gamma 1.0 pause_brightness 0.65 # # CORE VECTOR OPTIONS # antialias 1 beam 1.0 flicker 0 # # CORE SOUND OPTIONS # sound 1 samplerate 44100 samples 1 volume 0 # # CORE INPUT OPTIONS # coin_lockout 1 ctrlr mouse 0 joystick 1 lightgun 0 multikeyboard 0 multimouse 0 steadykey 0 offscreen_reload 0 joystick_map auto joystick_deadzone 0.3 joystick_saturation 0.85 # # CORE INPUT AUTOMATIC ENABLE OPTIONS # paddle_device keyboard adstick_device keyboard pedal_device keyboard dial_device joystick trackball_device keyboard lightgun_device keyboard positional_device keyboard mouse_device mouse # # CORE DEBUGGING OPTIONS # log 0 verbose 0 update_in_pause 0 debug 0 debugscript # # CORE MISC OPTIONS # bios cheat 1 skip_gameinfo 1 # # WINDOWS DEBUGGING OPTIONS # oslog 0 watchdog 0 # # WINDOWS PERFORMANCE OPTIONS # priority 1 multithreading 1 # # WINDOWS VIDEO OPTIONS # video d3d numscreens 1 window 1 maximize 1 keepaspect 1 prescale 1 effect none waitvsync 1 syncrefresh 0 # # DIRECTDRAW-SPECIFIC OPTIONS # hwstretch 1 # # DIRECT3D-SPECIFIC OPTIONS # d3dversion 9 filter 1 # # PER-WINDOW VIDEO OPTIONS # aspect auto resolution auto screen0 auto aspect0 auto resolution0 auto view0 auto screen1 auto aspect1 auto resolution1 auto view1 auto screen2 auto aspect2 auto resolution2 auto view2 auto screen3 auto aspect3 auto resolution3 auto view3 auto # # FULL SCREEN OPTIONS # triplebuffer 1 switchres 0 full_screen_brightness 1.0 full_screen_contrast 1.0 full_screen_gamma 1.0 # # WINDOWS SOUND OPTIONS # audio_latency 2 # # INPUT DEVICE OPTIONS # dual_lightgun 0 | ||||
Relationships
There are no relationship linked to this issue. |
Notes
12
No.03337
Robbbert Senior Tester
Dec 19, 2008, 21:30
|
Make sure in your cmd options, that it is set as "Window" rather than "Full Screen". The game will still run fullscreen. If I set it the cmd option to "Full Screen" I get the same error (XP, 32-bit), and the bug (if it is a bug) has been there for a long time. |
---|---|
No.03339
Tafoid Administrator
Dec 19, 2008, 22:14
edited on: May 17, 2009, 19:39 |
Sounds suspiciously like the other inconsistent D3D bug which happens when changing Full Screen to Window for some users. 00574 |
No.03340
mfeingol Tester
Dec 19, 2008, 23:21
|
Robbbert: I've attached my ini\mame.ini file. I think my settings are okay. You can see in the repro steps what my cmd line looks like. Tafoid: I saw that. Again, if this is intermittent/inconsistent, what I have here is a 100% repro. I'd be glad to help in getting to the bottom of this. |
No.03393
aaron Developer
Dec 25, 2008, 01:46
|
The error code says "invalid call", so there is little information to go on. Try it with -window and -nowindow to see if it makes a difference. Also try it with -triplebuffer and -notriplebuffer. Beyond that, I have no other ideas. |
No.03398
mfeingol Tester
Dec 25, 2008, 19:27
|
Aaron: -window always works, regardless of the triplebuffer settings. -nowindow always fails with the same error, regardless of the triplebuffer settings. If you have a 64-bit debug build, a pdb and a suggested breakpoint, I'd be happy to investigate further, send you a dump, etc. |
No.03401
aaron Developer
Dec 26, 2008, 07:33
|
Does the 32-bit version work or fail with the exact same settings? |
No.03403
Haze Senior Tester
Dec 26, 2008, 11:15
|
I've seen similar happen on Vista with Aero turned on, where turning it off fixed the problem. I've also seen it with other apps which attempt to use high resolutions (non-mame) if it doesn't 'like' the monitor (Secure display path or whatever it's called / DRM failure?) Can't remember what it was now, but it would simply fail to start with an 'unknown error' even if the monitor was perfectly capable of that resoltuion. |
No.03408
mfeingol Tester
Dec 26, 2008, 19:17
edited on: Dec 26, 2008, 19:17 |
I tried three things: 1) 32-bit vs. 64-bit makes no difference. 2) Changing resolutions makes no difference (I went down as far as 1024x768 on my 1080P TV). 3) When I turn off Aero, mamepp -nowindow suddenly starts working. So Haze is on the money here. Any ideas on why Aero would make a difference to Mame's usage of D3D? |
No.03448
Iaspis Tester
Dec 31, 2008, 19:09
edited on: Dec 31, 2008, 19:12 |
Have you tried connecting another monitor to your system? I used to have a similar problem (bug #00574) when switching (Alt-Enter) between fullscreen and window and when I used another monitor the problem was gone. |
No.07155
rwolfman3000 Tester
Jan 29, 2011, 09:47
|
Hi all...just want to enter into this discussion... I'm getting the "D3D full screen fails with 0x8876086C - Unable to create the Direct3D device' error. My System: Windows 98 SE with the 'unofficial' service packs & updates from http://www.mdgx.com/upd98me.php#010711 ..with an older gfx card: nvidia g-force fx 5500 the win98 updates contain a lot of hotfixes from micro$oft and perhaps therein lies the problem....will try and run a fresh install of win98 and see if Mame still throws up on me. |
No.08833
RubberBekki Tester
Jul 31, 2012, 06:29
|
I've had problems with that "Unable to create the Direct3D device" error. And I'd get that with FCEUX fullscreen as well. I just chalk it up as a D3D corruption after having my desktop on all the time (it's set up running a background FTP daemon and P2P). A reboot usually allows D3D to start clean on this XP-Pro SP3 system and I don't get the error again for a month or so. It's not a perfect fix but I'm willing to dump my sysinfo and dxdiag logs for further analysis on request. |
No.13434
Fujix Administrator
Nov 28, 2016, 16:14
|
This report is too old to test. Closing. |