[Bug 9584] New: Mame will not start due to missing Direct3D functionality

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Sep 4 10:08:26 CDT 2007


           Summary: Mame will not start due to missing Direct3D
           Product: Wine
           Version: CVS/GIT
          Platform: PC
               URL: http://mame.net
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: wine-directx-d3d
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: jpakkane at yahoo.com

The windows version of MAME will not start. The following error text is printed
when using Mame's verbose mode.

Video: Monitor 00000001 = "\\.\DISPLAY1" (primary)
fixme:win:EnumDisplayDevicesW ((null),0,0x2a6f7c0,0x00000000), stub!
Direct3D: Using Direct3D 9
Direct3D: Configuring adapter #0 = Direct3D HAL
Direct3D: Error - Device does not support per-refresh presentations
Direct3D: Using dynamic textures
Error: Device does not meet minimum requirements for Direct3D rendering
Unable to initialize Direct3D.
Unable to complete window creation

I quickly went through Mame's source code. This text is printed in function
device_create in src/osd/windows/drawd3d.c. The actual test for capabilities is
done in the function device_verify_caps: tempcaps & D3DPRESENT_INTERVAL_ONE.

Steps to reproduce:

1. Download Mame (I used version 118)
2. Download e.g. Gridlee rom set from http://www.mamedev.org/roms/
3. Install Mame, place gridlee.zip to the roms subdirectory
4. cd to mame directory
5. wine mame.exe -v roms/gridlee.zip

The rom file is not strictly necessary but having one is the common use case.

Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the wine-bugs mailing list