[Wine] Dungeon Keeper 2 graphics crash? (probably a quick fix)

alex-evans42 wineforum-user at winehq.org
Tue May 25 05:38:08 CDT 2010


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.







More information about the wine-users mailing list