カテゴリ | 重要度 | ステータス | 解決状況 | 登録日時 | 最終更新 |
---|---|---|---|---|---|
クラッシュ/フリーズ | 重要 (本体) | 解決済み | 修正済み | 2008-01-31 10:23 | 2016-05-25 22:56 |
テスター | -Misc Reporters- | 担当者 |   | ソース | |
バージョン | 0.117u3 | 発生バージョン | 修正バージョン | ||
修正コミット | プルリク | ||||
フラグ | 旧BugID | d3dwindow0117u3red | |||
セット | |||||
セット詳細 | |||||
概 要 | d3dモードとディスプレイモードの切り替え問題。 | ||||
詳 細 | デフォルトのmame.ini(d3d有効でフルスクリーン表示)でMAMEを起動し、ALT+ENTERを押してウィンドウモードに切り替えると、空のウィンドウが表示される。コマンドプロンプトには"Unable to create the Direct3D device (88760868)"のメッセージが出力され続ける。 -video ddraw、または-video gdiでは問題ない。また、0.117では起きず、0.117u2から発生した(u1は未チェック)。 MAMEを -d3d -windowでスタートし、フルスクリーンに切り替え、さらにウィンドウへ戻した場合は正常に動作する。 D:\mame>mame pacman -nowindow -verbose Video: Monitor 00010001 = "\\.\DISPLAY1" (primary) Direct3D: Using Direct3D 9 Direct3D: Configuring adapter #0 = NVIDIA GeForce 7600 GS Direct3D: Using dynamic textures Direct3D: YUV format = RGB Direct3D: Device created at 1280x1024 DirectSound: Primary buffer: 48000 Hz, 16 bits, 2 channels RawInput: APIs detected Input: Adding Mouse #1: \??\HID#Vid_046d&Pid_c50e#6&988371&0&0000#{378de44c-56ef -11d1-bc8c-00a0c91405dd} Input: Adding Gun #1: \??\HID#Vid_046d&Pid_c50e#6&988371&0&0000#{378de44c-56ef-1 1d1-bc8c-00a0c91405dd} Input: Adding Kbd #1: \??\HID#Vid_0e6a&Pid_6000#6&3a05a86b&0&0000#{884b96c3-56ef -11d1-bc8c-00a0c91405dd} DirectInput: Using DirectInput 7 Input: Adding Joy #1: 3 ??? 8 ?a??e??a? ?e??ao?en?e??aa?eu?aa?e? ?aA?aa?ae ?e??e n?aa?au??y?ui Input: Changing default joystick map = s8.4s8.44s8.4445 s8888888s 4s88888s6 44s888s66 444555666 444555666 444555666 44s222s66 4s22222s6 s2222222s Direct3D: Configuring adapter #0 = NVIDIA GeForce 7600 GS Direct3D: Using dynamic textures Direct3D: YUV format = RGB Unable to create the Direct3D device (88760868) Direct3D: Using dynamic textures Direct3D: YUV format = RGB Unable to create the Direct3D device (88760868) Direct3D: Using dynamic textures Direct3D: YUV format = RGB ... | ||||
再現手順 | Tafoid: Switching works when starting windowed but not when starting fullscreen. I tried -d3dversion 8 as well with no change. Radeon All-In-Wonder 9600, Windows 2000 w/latest W2k ATI Driver downloaded. DXDIAG output available if requested. Using 0.122u7: Here is a test run, with -verbose. I let it reach the Title screen, then hit LeftAlt+Enter. This brings up a window, but does not draw anything in it - my command window shows fast scrolling text. The 1st output is when I hit ESC soon after the LeftAlt+Enter I could (edited for repeating commands). d:\emulator\arcade\mame>mame -verbose pacman Parsing mame.ini Parsing mame.ini Video: Monitor 00010001 = "\\.\DISPLAY1" (primary) Direct3D: Using Direct3D 9 Direct3D: Configuring adapter #0 = ALL-IN-WONDER 9600 SERIES Direct3D: Using dynamic textures Direct3D: YUV format = UYVY Direct3D: Device created at 1152x864 DirectSound: Primary buffer: 48000 Hz, 16 bits, 2 channels DirectInput: Using DirectInput 7 Input: Adding Kbd #1: Keyboard Input: Adding Mouse #1: Mouse Input: Adding Gun #1: Mouse Input: Adding Joy #1: USB Game Device Input: Adding Joy #2: USB Game Device Input: Changing default joystick map = s8.4s8.44s8.4445 s8888888s 4s88888s6 44s888s66 444555666 444555666 444555666 44s222s66 4s22222s6 s2222222s Direct3D: Configuring adapter #0 = ALL-IN-WONDER 9600 SERIES Direct3D: Using dynamic textures Direct3D: YUV format = UYVY Unable to create the Direct3D device (88760868) Direct3D: Using dynamic textures -------------------------------------------- continues those 3 messages until ESC is hit: -------------------------------------------- Average speed: 94.98% (7 seconds) Sound: buffer overflows=3 underflows=0 The 2nd is when the window appears but doesn't populate with graphics and instead of pressing ESC, I clicked on or otherwise gained control of the command prompt window, MAME seems to promptly give me a window resolution to use - the window contents get drawn, the messages stop and the game plays as normal. d:\emulator\arcade\mame>mame -verbose pacman Parsing mame.ini Parsing mame.ini Video: Monitor 00010001 = "\\.\DISPLAY1" (primary) Direct3D: Using Direct3D 9 Direct3D: Configuring adapter #0 = ALL-IN-WONDER 9600 SERIES Direct3D: Using dynamic textures Direct3D: YUV format = UYVY Direct3D: Device created at 1152x864 DirectSound: Primary buffer: 48000 Hz, 16 bits, 2 channels DirectInput: Using DirectInput 7 Input: Adding Kbd #1: Keyboard Input: Adding Mouse #1: Mouse Input: Adding Gun #1: Mouse Input: Adding Joy #1: USB Game Device Input: Adding Joy #2: USB Game Device Input: Changing default joystick map = s8.4s8.44s8.4445 s8888888s 4s88888s6 44s888s66 444555666 444555666 444555666 44s222s66 4s22222s6 s2222222s Direct3D: Configuring adapter #0 = ALL-IN-WONDER 9600 SERIES Direct3D: Using dynamic textures Direct3D: YUV format = UYVY Unable to create the Direct3D device (88760868) -------------------------------------------------------------- continues those 3 messages until I get command window control: -------------------------------------------------------------- Direct3D: Device created at 651x837 Finally, this is what I get when I redo LeftAlt+Enter to go back to fullscreen. Direct3D: Configuring adapter #0 = ALL-IN-WONDER 9600 SERIES Direct3D: Using dynamic textures Direct3D: YUV format = UYVY Unable to create the Direct3D device (88760868) Unable to initialize Direct3D. I can do more testing if needed, but the issue from where I stand seems to indicate focus is not being given to MAME when the window switch is being made, so it sits waiting... possible? | ||||
追加情報 | Posted by r0ast3r | ||||
添付ファイル |