I guess this is http://bugs.winehq.org/show_bug.cgi?id=10221
Ya, as Henri said this is most likely a driver bug and we can't do anything against it.
../../../tools/runtest -q -P wine -M ddraw.dll -T ../../.. -p ddraw_test.exe.so visual.c && touch visual.ok fixme:win:EnumDisplayDevicesW ((null),0,0x32ed78,0x00000000), stub! fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support to Set DepthStencilSurface fixme:d3d_draw:drawPrimitive Using software emulation because manual fog coordin ates are provided fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support to Set DepthStencilSurface visual.c:1194: Test failed: Got color 00efebe7, expected 00000080 or near visual.c:1200: Test failed: Got color 00efebe7, expected 000000ff or near
I have run the tests in valgrind, and there's a crash somewhere. Could be related