Am Samstag, 7. April 2007 22:23 schrieben Sie:
Am Samstag 07 April 2007 20:49 schrieb Klaus Layer:
Am Samstag, 7. April 2007 14:01 schrieb Stefan Dösinger:
when running an educational game, wine crashed and asked me to contact wine-devel. Below is the post mortem trace. Can anyone give me a hint what can be done?
err:ddraw:IDirectDrawImpl_QueryInterface (0x1bdd28) The App is requesting
a
D3D device, but a non-OpenGL surface type was choosen. Prepare for
trouble!
err:ddraw:IDirectDrawImpl_QueryInterface (0x1bdd28) You may want to contact wine-devel for help
Funky. Do you have any registry key like HKEY_CURRENT_USER/Software/Wine/Direct3D/DirectDrawRenderer = "gdi" set? I think no, because otherwise you should get a different warnding I think. If you have such a key set remove it, otherwise can you send a +ddraw trace? (compressed, preferably).
The fixme:d3d:IWineD3DImpl_FillGLCaps >>>>>>>>>>>>>>>>> 0x501 from extension are propably because you have an Intel graphics card. Those
are
fairly untested by the Direct3D developers. The other fixme's are not necessarilly unusual.
Hi Stefan,
the registry does not have the DirectDrawRenderer key. I activated the ddraw trace. Hope that helps to findout whats going on. I send the trace
to
your email address.
Looks like there is a bug in my ddraw usage detection code, but to be sure
I'd
need a +ddraw,+d3d7 trace.
You can override the detection in favor of Direct3D / OpenGL by setting the following registry key:
HKEY_CURRENT_USER/Software/Wine/Direct3D/DirectDrawRenderer = "opengl"
But yet the detection should be fixed.
I created the key, but with it wine crashes with the dump below. I therefore removed the key and recorded a +ddraw,+d3d7 trace I will send separately to you.
Thanks Klaus
xxx@yyy:~/make/wine/loader$ ./wine "C:\CSoft\Matheland2\Mathe2.exe" ALSA lib seq_hw.c:456:(snd_seq_hw_open) open /dev/snd/seq failed: No such file o r directory fixme:d3d:IWineD3DImpl_FillGLCaps >>>>>>>>>>>>>>>>> 0x501 from extension detecti on @ directx.c / 825 fixme:d3d:IWineD3DDeviceImpl_GetAvailableTextureMem (0x1be928) : stub, simulating 64MB for now, returning 64MB left fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x1bdd28)->(0x10026,00000011) fixme:xrandr:X11DRV_XRandR_SetCurrentMode Cannot change screen BPP from 32 to 8 fixme:d3d:IWineD3DImpl_FillGLCaps >>>>>>>>>>>>>>>>> 0x501 from extension detection @ directx.c / 825 wine: Unhandled page fault on read access to 0x00d20002 at address 0x7e42f2e9 (thread 0009), starting debugger... Unhandled exception: page fault on read access to 0x00d20002 in 32-bit code (0x7e42f2e9). Register dump: CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b EIP:7e42f2e9 ESP:0034f218 EBP:0034f2f0 EFLAGS:00010202( - 00 - -RI1) EAX:7d0806e4 EBX:7e55b118 ECX:00d20004 EDX:00000400 ESI:00000139 EDI:7d080200 Stack dump: 0x0034f218: 00000002 7c0a337c 00b40020 00000400 0x0034f228: 00000400 00001908 00001401 00000000 0x0034f238: 00000000 00000000 7e9c84a0 7e9c5bff 0x0034f248: b7e8fadc b7e91320 fffffff0 0034f270 0x0034f258: 01dca411 b7e91320 00400204 0155b118 0x0034f268: 00000200 7c6e63c8 0034f280 7e3fdb8d Backtrace: =>1 0x7e42f2e9 (0x0034f2f0) 2 0x7e433c7e (0x0034f350) 3 0x7e3b492c (0x0034f3a0) 4 0x7e422670 (0x0034f400) 5 0x7e59c4da (0x0034f430) 6 0x7d7c9213 (0x0034f470) 7 0x7d7d3ebb (0x0034f8f0) 8 0x7d7c9b8e (0x0034f940) 9 0x7d7cfd23 (0x0034f9a0) 10 0x7e9fe8c6 (0x0034f9f0) 11 0x7ea023ab (0x0034fa20) 12 0x0048153f in mathe2 (+0x8153f) (0x0034fb1c) 13 0x004224b8 in mathe2 (+0x224b8) (0x0034fb74) 14 0x0046635b in mathe2 (+0x6635b) (0x0034fc30) 15 0x00575e1a in mathe2 (+0x175e1a) (0x0034fc90) 16 0x0047d80e in mathe2 (+0x7d80e) (0x0034fd28) 17 0x0047d75c in mathe2 (+0x7d75c) (0x0034fd84) 18 0x0048838f in mathe2 (+0x8838f) (0x0034fdf8) 19 0x004d8ae8 in mathe2 (+0xd8ae8) (0x0034fe78) 20 0x0059a996 in mathe2 (+0x19a996) (0x0034ff08) 21 0x7ee5050f in kernel32 (+0x5050f) (0x0034ffe8) 22 0xb7ec8397 (0x00000000) 0x7e42f2e9: movzbl 0xfffffffe(%ecx),%edx Modules: Module Address Debug info Name (11 modules) PE 400000-6f4000 Export mathe2 PE 7e760000-7e764000 Deferred dsound PE 7e7d0000-7e7d4000 Deferred rpcrt4 PE 7e830000-7e8b8000 Deferred ole32 PE 7e9e0000-7e9e4000 Deferred ddraw PE 7ea30000-7ea78000 Deferred winmm PE 7eab0000-7eab4000 Deferred advapi32 PE 7eb00000-7eb04000 Deferred gdi32 PE 7eba0000-7ebb1000 Deferred user32 PE 7ee00000-7ee6c000 Export kernel32 PE 7ef80000-7ef84000 Deferred ntdll Threads: process tid prio (all id:s are in hex) 0000000b 0000000c 0 00000008 (D) C:\CSoft\Matheland2\Mathe2.exe 0000000f 0 0000000e 0 0000000d 15 0000000a 0 00000009 0 <== xxx@yyy:~/make/wine/loader$