https://bugs.winehq.org/show_bug.cgi?id=21796
Dreamkey ghost_anarky@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ghost_anarky@hotmail.com
--- Comment #57 from Dreamkey ghost_anarky@hotmail.com --- I think I found something interesting. If I create a virtual desktop, depending of its resolution, the game doesn't always work in windowed mode.
If the virtual desktop is set to at least 803x622, the game window resizes it to 806x625, and the game works fine, otherwise it's a black screen but the music works. With "WINEDEBUG=warn+all" I was able to find the interesting parts.
On a working instance:
0009:warn:d3d:wined3d_enum_adapter_modes Invalid mode_idx 21. 0009:warn:d3d:wined3d_enum_adapter_modes Invalid mode_idx 21. 0009:warn:d3d:wined3d_enum_adapter_modes Invalid mode_idx 21.
... (more common init lines)
0032:fixme:d3d:texture2d_blt Can't handle WINED3D_BLT_DO_NOT_WAIT flag. 0032:warn:d3d:wined3d_texture_gl_load_texture Trying to load a texture from sysmem, but no simple location is valid. 0032:warn:d3d:wined3d_texture_load_location Operation requires 0x2 access, but texture only has 0x1. 0032:warn:d3d_perf:wined3d_debug_callback 0x12e1728: "CPU mapping a busy "isl-miptree" BO stalled and took 0.514 ms.\n".
On a black-window, windowed instance:
0009:warn:d3d:wined3d_enum_adapter_modes Invalid mode_idx 20. 0009:warn:d3d:wined3d_enum_adapter_modes Invalid mode_idx 20. 0009:warn:d3d:wined3d_enum_adapter_modes Invalid mode_idx 20.
... (more common init lines)
0009:warn:d3d:wined3d_texture_check_box_dimensions Box (3, 22, 0)-(803, 609, 1) is invalid.
Those lines are also repeated multiple times:
0009:warn:d3d:wined3d_texture_check_box_dimensions Box (3, 22, 0)-(803, 609, 1) is invalid. 0032:warn:d3d_perf:wined3d_debug_callback 0x12d1208: "Flushing before mapping a referenced bo.\n". 0032:warn:d3d_perf:wined3d_debug_callback 0x12d1208: "CPU mapping a busy "isl-miptree" BO stalled and took 0.098 ms.\n".
On a black-window, fullscreen instance:
0009:warn:d3d:wined3d_enum_adapter_modes Invalid mode_idx 38. 0009:warn:d3d:wined3d_enum_adapter_modes Invalid mode_idx 38. 0009:warn:d3d:wined3d_enum_adapter_modes Invalid mode_idx 38.
... (more common init lines)
0009:fixme:ddraw:ddraw_surface7_Flip Ignoring flags 0x28.
The last line is also repeated multiple times.
Hope this helps!