http://bugs.winehq.org/show_bug.cgi?id=4433
Summary: Can't set resolution in Icewind Dale II Product: Wine Version: CVS Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-directx-ddraw AssignedTo: wine-bugs@winehq.org ReportedBy: James.Trotter@gmail.com
The game Icewind Dale II fails to run when the resolution is set to anything other than the desktop resolution. The game uses DirectDraw.
The desktop resolution is 1600x1200, and the game is configured to run in 800x600. If I set the desktop resolution to 800x600 it runs fine, (though it's annoying to have to change resolution each time I run the game!). If I configure the game resolution to 1600x1200 it runs, but very slowly.
The game should be able to resize the desktop on startup.
Here is the output with WINEDEBUG=+ddraw:
0027:trace:ddraw:initialize enabling DirectDraw HAL 0027:trace:ddraw:d3ddevice_init_at_startup Initializing GL... 0027:trace:ddraw:d3ddevice_init_at_startup GL version 1.2.0 0027:trace:ddraw:d3ddevice_init_at_startup GL supports following extensions used by Wine : 0027:trace:ddraw:d3ddevice_init_at_startup - texture lod bias 0027:trace:ddraw:d3ddevice_init_at_startup - multi-texturing (8 stages) 0027:trace:ddraw:fill_caps : max texture size = 2048 0027:trace:ddraw:fill_caps : max active lights = 8 0027:trace:ddraw:fill_caps : max clipping planes = 6 0027:trace:ddraw:fill_caps : Z bits = 16 0027:trace:ddraw:DDRAW_bind_to_s3tc No S3TC software decompression library seems to be present (libtxc_dxtn.so).
BEGIN LOGGING SESSION 0027:trace:ddraw:DirectDrawCreate ((null),0x7faab868,(nil)) 0027:trace:ddraw:DDRAW_Create ((null),0x7faab868,(nil),0) 0027:trace:ddraw:DDRAW_FindDriver ((null)) 0027:trace:ddraw:HAL_DirectDraw_Create 0027:trace:ddraw:HAL_DirectDraw_Construct (0x7fdd2bb8,0) 0027:trace:ddraw:User_DirectDraw_Construct (0x7fdd2bb8,0) 0027:trace:ddraw:Main_DirectDraw_QueryInterface (0x7fdd2bb8)->({6c14db80-a733-11ce-a521-0020af0be560},0x7faab868) 0027:trace:ddraw:Main_DirectDraw_AddRef (0x7fdd2bb8)->() incrementing from 1. 0027:trace:ddraw:Main_DirectDraw_Release (0x7fdd2bb8)->() decrementing from 2. 0027:fixme:ddraw:Main_DirectDraw_SetCooperativeLevel (0x7fdd2bb8)->(0x190022,00000011) - DDSCL_FULLSCREEN DDSCL_EXCLUSIVE 0027:trace:ddraw:Main_DirectDraw_QueryInterface (0x7fdd2bb8)->({b3a6f3e0-2b43-11cf-a2de-00aa00b93356},0x7faab86c) 0027:trace:ddraw:Main_DirectDraw_AddRef (0x7fdd2bb8)->() incrementing from 1. 0027:trace:ddraw:User_DirectDraw_EnumDisplayModes (0x7fdd2bb8)->(0x00000001,0x7faaab5c,0x7faaab24,0x7f5915b0) 0027:trace:ddraw:User_DirectDraw_EnumDisplayModes Enumerate modes matching: 0027:trace:ddraw:User_DirectDraw_EnumDisplayModes - mode: 1600x1200 0027:trace:ddraw:User_DirectDraw_EnumDisplayModes - 32 bpp, R=00ff0000 G=0000ff00 B=000000ff 0027:trace:ddraw:HAL_DirectDraw_RestoreDisplayMode (0x7fdd2bb8) 0027:trace:ddraw:Main_DirectDraw_Release (0x7fdd2bb8)->() decrementing from 2. 0027:trace:ddraw:Main_DirectDraw_Release (0x7fdd2bb8)->() decrementing from 1.