alex-evans42
2010-May-25  10:38 UTC
[Wine] Dungeon Keeper 2 graphics crash? (probably a quick fix)
I switched to Ubuntu last week and have been trying to get some old classics
running, and I'm working on Dungeon Keeper 2. I'm very new to Wine and
to debugging, so I apologise if this problem is in bugzilla; I was unable to
find it as I didn't know which part of the error to focus on!
I'm using Wine 1.1.42, Ubuntu 10.04 and DK2 is patched and cracked to the
max.
When I prompt DKII to run with Wine, the screen goes black (taunting me as if
the game's about to load...) until I move the mouse or strike a key, when a
scrambled version of my wallpaper flickers around the screen for a couple of
seconds, ending up with the black screen again. I have to kill the process with
system monitor to get control of the system back.
The application seems to be ignoring my winecfg command to emulate a virtual
desktop (it sets resolution to the lowest setting every time I try - incredibly
annoying). I set up Wine according to the how-to for DKII in appdb. This is
what's left in Terminal:
Code:
alex at alex-laptop:~/Games/dk2$ fixme:d3d_caps:wined3d_guess_card No card
selector available for GL vendor 3 and card vendor 8086.
fixme:win:EnumDisplayDevicesW ((null),0,0x33c1f4,0x00000000), stub!
fixme:d3d_caps:wined3d_guess_card No card selector available for GL vendor 3 and
card vendor 8086.
fixme:win:EnumDisplayDevicesW ((null),0,0x33c720,0x00000000), stub!
fixme:d3d_caps:wined3d_guess_card No card selector available for GL vendor 3 and
card vendor 8086.
fixme:win:EnumDisplayDevicesW ((null),0,0x33c7c4,0x00000000), stub!
fixme:d3d_caps:wined3d_guess_card No card selector available for GL vendor 3 and
card vendor 8086.
fixme:win:EnumDisplayDevicesW ((null),0,0x33c694,0x00000000), stub!
fixme:dinput:SysMouseAImpl_Acquire Clipping cursor to (0,0)-(800,600)
err:ole:CoGetClassObject class {92fa2c24-253c-11d2-90fb-006008a1f441} not
registered
err:ole:CoGetClassObject no class object {92fa2c24-253c-11d2-90fb-006008a1f441}
could be created for context 0x1
err:ddraw:IDirectDrawImpl_QueryInterface (0x1272f8) The App is requesting a D3D
device, but a non-OpenGL surface type was choosen. Prepare for trouble!
err:ddraw:IDirectDrawImpl_QueryInterface  (0x1272f8) You may want to contact
wine-devel for help
Calculating Julian date for today (25/5/2010)
Today's Julian date is 2455341 + 0.906852
The moon is 11.351920 days old
err:ole:CoGetClassObject class {92fa2c24-253c-11d2-90fb-006008a1f441} not
registered
err:ole:CoGetClassObject no class object {92fa2c24-253c-11d2-90fb-006008a1f441}
could be created for context 0x1
fixme:dplay:DirectPlay3WImpl_EnumConnections
(0x139260)->((nil),0x10008750,0x33cefc,0x00000001): stub
err:d3d:swapchain_setup_fullscreen_window Changing the window style for window
0xa010e, but another style (94080000, 00000008) is already stored.
fixme:d3d:swapchain_init Add OpenGL context recreation support to
context_validate_onscreen_formats
err:wgl:internal_SetPixelFormat Invalid iPixelFormat: 104
err:d3d:context_set_pixel_format Failed to set pixel format 104 on device
context 0x200, last error 0.
err:d3d:context_create Failed to set pixel format 104 on device context 0x200.
fixme:ddraw:device_parent_CreateSwapChain (0x12731c) CreateSwapChain failed,
returning 0x8876086a
err:ddraw:IDirectDrawImpl_CreateSurface IDirectDrawImpl_AttachD3DDevice failed,
hr = 8876086a
wine: Unhandled page fault on read access to 0x00000000 at address 0x4a089089
(thread 003e), starting debugger...
couldn't load main module (2)
Process of pid=0044 has terminated
No process loaded, cannot execute 'echo Modules:'
Cannot get info on module while no process is loaded
No process loaded, cannot execute 'echo Threads:'
process  tid      prio (all id:s are in hex)
00000008 spotify.exe
	00000033    0
	00000032    0
	00000031    0
	00000030    2
	0000002f    2
	0000002e    2
	0000002d    2
	0000002c    2
	0000002b    2
	0000002a    2
	00000029    2
	00000028    2
	00000027    2
	00000026    2
	00000025    2
	00000024    2
	00000023    2
	00000022    2
	00000021    2
	00000020    0
	0000001f    0
	0000001e    0
	0000001d    0
	0000001c    0
	0000001b    0
	0000001a    0
	00000019    0
	00000009    0
0000000e services.exe
	00000014    0
	00000010    0
	0000000f    0
00000011 winedevice.exe
	00000018    0
	00000017    0
	00000013    0
	00000012    0
00000035 explorer.exe
	00000036    0
You must be attached to a process to run this command.
No process loaded, cannot execute 'detach'
Why it's mentioning Spotify I have no idea, I uninstalled it in order to
have a clean reinstall of Wine (the first thing I tried...)
Again, I'm still learning the ropes and if I've missed anything major, I
apologise.
Frédéric Delanoy
2010-May-25  13:06 UTC
[Wine] Dungeon Keeper 2 graphics crash? (probably a quick fix)
On Tue, May 25, 2010 at 12:38, alex-evans42 <wineforum-user at winehq.org> wrote:> I switched to Ubuntu last week and have been trying to get some old classics running, and I'm working on Dungeon Keeper 2. I'm very new to Wine and to debugging, so I apologise if this problem is in bugzilla; I was unable to find it as I didn't know which part of the error to focus on! > > I'm using Wine 1.1.42, Ubuntu 10.04 and DK2 is patched and cracked to the max.Could you try with latest wine version (wine1.2-rc1) and tell if it makes a difference ?
alex-evans42
2010-May-25  14:26 UTC
[Wine] Re: Dungeon Keeper 2 graphics crash? (probably a quick fix)
Thanks for the quick response. I'd only installed software using apt-get until now, so installing 1.2-rc1 from source code is proving to be a bit more of a barrier than it probably should. When I run $ make (after $ ./config and $ make depend), the last 5 lines it spits out are: Code: winebuild: comctl_Bg.res is an empty file winegcc: ../../tools/winebuild/winebuild failed make[1]: *** [comctl32.dll.so] Error 2 make[1]: Leaving directory `/home/alex/Documents/wine-1.2-rc1/dlls/comctl32' make: *** [dlls/comctl32] Error 2 what's going on there? (eager to get Wine working properly alongside my pressing concern to be a dungeon keeper)
alex-evans42
2010-May-25  19:09 UTC
[Wine] Re: Dungeon Keeper 2 graphics crash? (probably a quick fix)
Okay, so everything's a lot more promising with 1.2
Now I can run the game, but the graphics are very choppy and the host cursor is
still visible as well as the game's cursor. On starting a campaign game
(which should work according to appdb) I can hear but not see the game with the
screen stuck on the briefing screen.
Terminal output:
Code:
fixme:d3d_caps:select_card_intel_mesa Card selection not handled for Mesa Intel
driver
fixme:d3d_caps:init_driver_info Unhandled vendor 8086.
fixme:win:EnumDisplayDevicesW ((null),0,0x32c1d4,0x00000000), stub!
fixme:d3d_caps:select_card_intel_mesa Card selection not handled for Mesa Intel
driver
fixme:d3d_caps:init_driver_info Unhandled vendor 8086.
fixme:win:EnumDisplayDevicesW ((null),0,0x32c700,0x00000000), stub!
fixme:d3d_caps:select_card_intel_mesa Card selection not handled for Mesa Intel
driver
fixme:d3d_caps:init_driver_info Unhandled vendor 8086.
fixme:win:EnumDisplayDevicesW ((null),0,0x32c7a4,0x00000000), stub!
fixme:d3d_caps:select_card_intel_mesa Card selection not handled for Mesa Intel
driver
fixme:d3d_caps:init_driver_info Unhandled vendor 8086.
fixme:win:EnumDisplayDevicesW ((null),0,0x32c674,0x00000000), stub!
fixme:dinput:SysMouseAImpl_Acquire Clipping cursor to (0,0)-(800,600)
err:ole:CoGetClassObject class {92fa2c24-253c-11d2-90fb-006008a1f441} not
registered
err:ole:CoGetClassObject no class object {92fa2c24-253c-11d2-90fb-006008a1f441}
could be created for context 0x1
err:ddraw:IDirectDrawImpl_QueryInterface (0x14ab28) The App is requesting a D3D
device, but a non-OpenGL surface type was choosen. Prepare for trouble!
err:ddraw:IDirectDrawImpl_QueryInterface  (0x14ab28) You may want to contact
wine-devel for help
Calculating Julian date for today (25/5/2010)
Today's Julian date is 2455342 + 0.294225
The moon is 11.739293 days old
fixme:dplay:DirectPlay3WImpl_EnumConnections
(0x2896cc0)->((nil),0x10008750,0x32cefc,0x00000001): stub
err:d3d:swapchain_setup_fullscreen_window Changing the window style for window
0x3004c, but another style (94080000, 00000008) is already stored.
err:ole:CoGetClassObject class {92fa2c24-253c-11d2-90fb-006008a1f441} not
registered
err:ole:CoGetClassObject no class object {92fa2c24-253c-11d2-90fb-006008a1f441}
could be created for context 0x1
err:ddraw:IDirectDrawImpl_QueryInterface (0x14ab28) The App is requesting a D3D
device, but a non-OpenGL surface type was choosen. Prepare for trouble!
err:ddraw:IDirectDrawImpl_QueryInterface  (0x14ab28) You may want to contact
wine-devel for help
fixme:dplay:DirectPlay3WImpl_EnumConnections
(0x1c3ed0)->((nil),0x10008750,0x32cce0,0x00000001): stub
err:d3d:swapchain_setup_fullscreen_window Changing the window style for window
0x3004c, but another style (94080000, 00000008) is already stored.
fixme:d3d:swapchain_init Add OpenGL context recreation support to
context_validate_onscreen_formats
err:ole:CoGetClassObject class {92fa2c24-253c-11d2-90fb-006008a1f441} not
registered
err:ole:CoGetClassObject no class object {92fa2c24-253c-11d2-90fb-006008a1f441}
could be created for context 0x1
err:d3d_surface:IWineGDISurfaceImpl_UnLoad (0x1c3d90): UnLoad is not supported
on X11 surfaces!
err:d3d_surface:IWineGDISurfaceImpl_UnLoad (0x1c3d90): Most likely the parent
library did something wrong.
err:d3d_surface:IWineGDISurfaceImpl_UnLoad (0x1c3d90): Please report to
wine-devel
err:d3d_surface:IWineGDISurfaceImpl_UnLoad (0x2896ac8): UnLoad is not supported
on X11 surfaces!
err:d3d_surface:IWineGDISurfaceImpl_UnLoad (0x2896ac8): Most likely the parent
library did something wrong.
err:d3d_surface:IWineGDISurfaceImpl_UnLoad (0x2896ac8): Please report to
wine-devel
err:d3d:swapchain_setup_fullscreen_window Changing the window style for window
0x3004c, but another style (94080000, 00000008) is already stored.
err:ole:CoGetClassObject class {92fa2c24-253c-11d2-90fb-006008a1f441} not
registered
err:ole:CoGetClassObject no class object {92fa2c24-253c-11d2-90fb-006008a1f441}
could be created for context 0x1
err:ddraw:IDirectDrawImpl_QueryInterface (0x14ab28) The App is requesting a D3D
device, but a non-OpenGL surface type was choosen. Prepare for trouble!
err:ddraw:IDirectDrawImpl_QueryInterface  (0x14ab28) You may want to contact
wine-devel for help
fixme:dinput:SysMouseAImpl_Acquire Clipping cursor to (0,0)-(1024,768)
err:d3d:swapchain_setup_fullscreen_window Changing the window style for window
0x3004c, but another style (94080000, 00000008) is already stored.
err:ole:CoGetClassObject class {92fa2c24-253c-11d2-90fb-006008a1f441} not
registered
err:ole:CoGetClassObject no class object {92fa2c24-253c-11d2-90fb-006008a1f441}
could be created for context 0x1
err:ddraw:IDirectDrawImpl_QueryInterface (0x14ab28) The App is requesting a D3D
device, but a non-OpenGL surface type was choosen. Prepare for trouble!
err:ddraw:IDirectDrawImpl_QueryInterface  (0x14ab28) You may want to contact
wine-devel for help
err:d3d:swapchain_setup_fullscreen_window Changing the window style for window
0x3004c, but another style (94080000, 00000008) is already stored.
err:ole:CoGetClassObject class {92fa2c24-253c-11d2-90fb-006008a1f441} not
registered
err:ole:CoGetClassObject no class object {92fa2c24-253c-11d2-90fb-006008a1f441}
could be created for context 0x1
err:ddraw:IDirectDrawImpl_QueryInterface (0x14ab28) The App is requesting a D3D
device, but a non-OpenGL surface type was choosen. Prepare for trouble!
err:ddraw:IDirectDrawImpl_QueryInterface  (0x14ab28) You may want to contact
wine-devel for help
fixme:dplay:DirectPlay3WImpl_EnumConnections
(0x29ffbf8)->((nil),0x10008750,0x32cce0,0x00000001): stub
err:d3d:swapchain_setup_fullscreen_window Changing the window style for window
0x3004c, but another style (94080000, 00000008) is already stored.
fixme:d3d:swapchain_init Add OpenGL context recreation support to
context_validate_onscreen_formats
err:ole:CoGetClassObject class {92fa2c24-253c-11d2-90fb-006008a1f441} not
registered
err:ole:CoGetClassObject no class object {92fa2c24-253c-11d2-90fb-006008a1f441}
could be created for context 0x1
err:d3d_surface:IWineGDISurfaceImpl_UnLoad (0x29ffab8): UnLoad is not supported
on X11 surfaces!
err:d3d_surface:IWineGDISurfaceImpl_UnLoad (0x29ffab8): Most likely the parent
library did something wrong.
err:d3d_surface:IWineGDISurfaceImpl_UnLoad (0x29ffab8): Please report to
wine-devel
err:d3d_surface:IWineGDISurfaceImpl_UnLoad (0x288f208): UnLoad is not supported
on X11 surfaces!
err:d3d_surface:IWineGDISurfaceImpl_UnLoad (0x288f208): Most likely the parent
library did something wrong.
err:d3d_surface:IWineGDISurfaceImpl_UnLoad (0x288f208): Please report to
wine-devel
err:d3d_surface:IWineGDISurfaceImpl_UnLoad (0x2896398): UnLoad is not supported
on X11 surfaces!
err:d3d_surface:IWineGDISurfaceImpl_UnLoad (0x2896398): Most likely the parent
library did something wrong.
err:d3d_surface:IWineGDISurfaceImpl_UnLoad (0x2896398): Please report to
wine-devel
err:d3d_surface:IWineGDISurfaceImpl_UnLoad (0x1c3d90): UnLoad is not supported
on X11 surfaces!
err:d3d_surface:IWineGDISurfaceImpl_UnLoad (0x1c3d90): Most likely the parent
library did something wrong.
err:d3d_surface:IWineGDISurfaceImpl_UnLoad (0x1c3d90): Please report to
wine-devel
err:d3d_surface:IWineGDISurfaceImpl_UnLoad (0x2896ac8): UnLoad is not supported
on X11 surfaces!
err:d3d_surface:IWineGDISurfaceImpl_UnLoad (0x2896ac8): Most likely the parent
library did something wrong.
err:d3d_surface:IWineGDISurfaceImpl_UnLoad (0x2896ac8): Please report to
wine-devel
fixme:d3d:IWineD3DDeviceImpl_Release (0x151b90) Device released with resources
still bound, acceptable but unexpected
fixme:d3d:IWineD3DDeviceImpl_Release Leftover resource 0x2947cf8 with type
WINED3DRTYPE_SURFACE (0x1).
fixme:d3d:IWineD3DDeviceImpl_Release Leftover resource 0x29ffab8 with type
WINED3DRTYPE_SURFACE (0x1).
fixme:d3d:IWineD3DDeviceImpl_Release Leftover resource 0x288f208 with type
WINED3DRTYPE_SURFACE (0x1).
fixme:d3d:IWineD3DDeviceImpl_Release Leftover resource 0x2896398 with type
WINED3DRTYPE_SURFACE (0x1).
fixme:d3d:IWineD3DDeviceImpl_Release Leftover resource 0x1be9d8 with type
WINED3DRTYPE_SURFACE (0x1).
fixme:d3d:IWineD3DDeviceImpl_Release Leftover resource 0x1c3d90 with type
WINED3DRTYPE_SURFACE (0x1).
fixme:d3d:IWineD3DDeviceImpl_Release Leftover resource 0x2896ac8 with type
WINED3DRTYPE_SURFACE (0x1).