[Wine] No any D3D works

gkv311 wineforum-user at winehq.org
Sat Jun 7 13:11:34 CDT 2008


Sorry, if I miss my question, but I can't find any answer in the web.
It SEEMS, that wine CAN run many D3D applications (and even D3D8 and 9), but I can't launch any  :( 
Firstly my system:
OS: Ubuntu 8.04 AMD64
kernel: 2.6.24-18-generic #1 SMP Wed May 28 19:28:38 UTC 2008 x86_64 GNU/Linux
wine: wine-1.0-rc4 (installed by DEB from winhq repository)
GPU: AMD/ATi RadeOn HD3870 512MB
GPU driver: Catalyst 8.5
Driver worked property - means native OpenGL appl. (TuxRacer, Doom3) and Compiz worked well.
Also some OpenGL appl. worked on wine as well (like TuxRacer for windows).
Most of non 3D applications on wine worked well ;-)

BUT I have no any success to run any D3D game in my base, even if this game listed in 'wine work well' db:
Mafia
Setup.exe (configuration appl.) opened ok;
Game.exe open window and show me "trash" in it. Also Hard Disk intensive work I hear all time. I tried to wait without any success.
I tried to run it on ext3 partion without any difference
My log is:

Code:
 wine Game.exe 
err:alsa:ALSA_CheckSetVolume Could not find 'PCM Playback Volume' element
err:alsa:ALSA_CheckSetVolume Could not find 'PCM Playback Volume' element
fixme:mixer:ALSA_MixerInit No master control found on HDA ATI HDMI, disabling mixer
fixme:d3d:IWineD3DImpl_FillGLCaps OpenGL implementation supports 16 vertex samplers and 16 total samplers
fixme:d3d:IWineD3DImpl_FillGLCaps Expected vertex samplers + MAX_TEXTURES(=8) > combined_samplers
fixme:win:EnumDisplayDevicesW ((null),0,0x32e798,0x00000000), stub!
fixme:d3d:test_pbo_functionality >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from Loading the PBO test texture
 @ directx.c / 3526
fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support to SetDepthStencilSurface
err:d3d:WineD3D_ChoosePixelFormat Can't find a suitable iPixelFormat
fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support to SetDepthStencilSurface
err:d3d:CreateContext Cannot activate context to set up defaults
fixme:d3d_shader:vshader_set_limits Unrecognized vertex shader version 0
fixme:d3d_shader:vshader_set_limits Unrecognized vertex shader version 0
fixme:d3d_shader:vshader_set_limits Unrecognized vertex shader version 0
err:d3d:CreateIndexBufferVBO Creating a vbo failed with error GL_NO_ERROR (0), continuing without vbo for this buffer
fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot



Evil Islands (T&L game)
starer.exe (configuration and launch appl.) log:

Code:
wine starter.exe 
err:alsa:ALSA_CheckSetVolume Could not find 'PCM Playback Volume' element
err:alsa:ALSA_CheckSetVolume Could not find 'PCM Playback Volume' element
fixme:mixer:ALSA_MixerInit No master control found on HDA ATI HDMI, disabling mixer



It return so clean...

AxySnake
start.exe - configuration worked fine, but on game start resolution changes and no any output just application freeze in console:

Code:
kirill at kirill-desktop:/home/games/AxySnake$ wine start.exe
err:alsa:ALSA_CheckSetVolume Could not find 'PCM Playback Volume' element
err:alsa:ALSA_CheckSetVolume Could not find 'PCM Playback Volume' element
fixme:mixer:ALSA_MixerInit No master control found on HDA ATI HDMI, disabling mixer
kirill at kirill-desktop:/home/games/AxySnake$ fixme:d3d:IWineD3DImpl_FillGLCaps OpenGL implementation supports 16 vertex samplers and 16 total samplers
fixme:d3d:IWineD3DImpl_FillGLCaps Expected vertex samplers + MAX_TEXTURES(=8) > combined_samplers
fixme:win:EnumDisplayDevicesW ((null),0,0x33e96c,0x00000000), stub!
fixme:d3d:test_pbo_functionality >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from Loading the PBO test texture
 @ directx.c / 3526
fixme:d3d:IWineD3DDeviceImpl_CreateSurface Trying to create a render target that isn't in the default pool
fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support to SetDepthStencilSurface
err:d3d:WineD3D_ChoosePixelFormat Can't find a suitable iPixelFormat
fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support to SetDepthStencilSurface
fixme:d3d:IWineD3DDeviceImpl_CreateSurface Trying to create a render target that isn't in the default pool
fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support to SetDepthStencilSurface
err:d3d:WineD3D_ChoosePixelFormat Can't find a suitable iPixelFormat
fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support to SetDepthStencilSurface
fixme:d3d:IWineD3DDeviceImpl_CreateSurface Trying to create a render target that isn't in the default pool
fixme:d3d7:IDirect3DImpl_7_CreateDevice (0x154d78): Only one Direct3D device per DirectDraw object supported
fixme:d3d:IWineD3DDeviceImpl_CreateSurface Trying to create a render target that isn't in the default pool
fixme:d3d7:IDirect3DImpl_7_CreateDevice (0x154d78): Only one Direct3D device per DirectDraw object supported
fixme:d3d:IWineD3DDeviceImpl_CreateSurface Trying to create a render target that isn't in the default pool
fixme:d3d7:IDirect3DImpl_7_CreateDevice (0x154d78): Only one Direct3D device per DirectDraw object supported
fixme:d3d:IWineD3DDeviceImpl_CreateSurface Trying to create a render target that isn't in the default pool
fixme:d3d7:IDirect3DImpl_7_CreateDevice (0x154d78): Only one Direct3D device per DirectDraw object supported
fixme:d3d:IWineD3DDeviceImpl_CreateSurface Trying to create a render target that isn't in the default pool
fixme:d3d7:IDirect3DImpl_7_CreateDevice (0x154d78): Only one Direct3D device per DirectDraw object supported
fixme:d3d:IWineD3DDeviceImpl_CreateSurface Trying to create a render target that isn't in the default pool
fixme:d3d7:IDirect3DImpl_7_CreateDevice (0x154d78): Only one Direct3D device per DirectDraw object supported
fixme:d3d:IWineD3DDeviceImpl_CreateSurface Trying to create a render target that isn't in the default pool
fixme:d3d7:IDirect3DImpl_7_CreateDevice (0x154d78): Only one Direct3D device per DirectDraw object supported
fixme:d3d:IWineD3DDeviceImpl_CreateSurface Trying to create a render target that isn't in the default pool
fixme:d3d7:IDirect3DImpl_7_CreateDevice (0x154d78): Only one Direct3D device per DirectDraw object supported
fixme:d3d:IWineD3DDeviceImpl_CreateSurface Trying to create a render target that isn't in the default pool
fixme:d3d7:IDirect3DImpl_7_CreateDevice (0x154d78): Only one Direct3D device per DirectDraw object supported
fixme:d3d_surface:IWineD3DSurfaceImpl_PreLoad >>>>>>>>>>>>>>>>> GL_INVALID_ENUM (0x500) from glGenTextures @ surface.c / 513
fixme:d3d_surface:IWineD3DSurfaceImpl_PreLoad >>>>>>>>>>>>>>>>> GL_INVALID_ENUM (0x500) from glBindTexture @ surface.c / 517
fixme:d3d_surface:surface_allocate_surface >>>>>>>>>>>>>>>>> GL_INVALID_ENUM (0x500) from glTexImage2D @ surface.c / 340
fixme:d3d_surface:read_from_framebuffer_texture >>>>>>>>>>>>>>>>> GL_INVALID_ENUM (0x500) from glCopyTexSubImage2D @ surface.c / 928
fixme:xrandr:X11DRV_XRandR_SetCurrentMode Cannot change screen BPP from 32 to 16
fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support to SetDepthStencilSurface
err:d3d:WineD3D_ChoosePixelFormat Can't find a suitable iPixelFormat
fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support to SetDepthStencilSurface
fixme:d3d7:IDirect3DImpl_7_CreateDevice (0x13acf8): Only one Direct3D device per DirectDraw object supported
fixme:d3d7:IDirect3DImpl_7_CreateDevice (0x13acf8): Only one Direct3D device per DirectDraw object supported
fixme:d3d7:IDirect3DImpl_7_CreateDevice (0x13acf8): Only one Direct3D device per DirectDraw object supported
fixme:d3d7:IDirect3DImpl_7_CreateDevice (0x13acf8): Only one Direct3D device per DirectDraw object supported
fixme:d3d7:IDirect3DImpl_7_CreateDevice (0x13acf8): Only one Direct3D device per DirectDraw object supported
fixme:d3d7:IDirect3DImpl_7_CreateDevice (0x13acf8): Only one Direct3D device per DirectDraw object supported
fixme:d3d7:IDirect3DImpl_7_CreateDevice (0x13acf8): Only one Direct3D device per DirectDraw object supported
fixme:d3d7:IDirect3DImpl_7_CreateDevice (0x13acf8): Only one Direct3D device per DirectDraw object supported
fixme:d3d7:IDirect3DImpl_7_CreateDevice (0x13acf8): Only one Direct3D device per DirectDraw object supported
fixme:d3d_surface:IWineD3DSurfaceImpl_PreLoad >>>>>>>>>>>>>>>>> GL_INVALID_ENUM (0x500) from glGenTextures @ surface.c / 513
fixme:d3d_surface:IWineD3DSurfaceImpl_PreLoad >>>>>>>>>>>>>>>>> GL_INVALID_ENUM (0x500) from glBindTexture @ surface.c / 517
fixme:d3d_surface:surface_allocate_surface >>>>>>>>>>>>>>>>> GL_INVALID_ENUM (0x500) from glTexImage2D @ surface.c / 340
fixme:d3d_surface:read_from_framebuffer_texture >>>>>>>>>>>>>>>>> GL_INVALID_ENUM (0x500) from glCopyTexSubImage2D @ surface.c / 928
fixme:d3d7:IDirect3DImpl_7_CreateDevice (0x13acf8): Only one Direct3D device per DirectDraw object supported
fixme:d3d7:IDirect3DImpl_7_CreateDevice (0x13acf8): Only one Direct3D device per DirectDraw object supported
fixme:d3d7:IDirect3DImpl_7_CreateDevice (0x13acf8): Only one Direct3D device per DirectDraw object supported
fixme:d3d7:IDirect3DImpl_7_CreateDevice (0x13acf8): Only one Direct3D device per DirectDraw object supported
fixme:d3d7:IDirect3DImpl_7_CreateDevice (0x13acf8): Only one Direct3D device per DirectDraw object supported
fixme:d3d7:IDirect3DImpl_7_CreateDevice (0x13acf8): Only one Direct3D device per DirectDraw object supported
fixme:d3d7:IDirect3DImpl_7_CreateDevice (0x13acf8): Only one Direct3D device per DirectDraw object supported
fixme:d3d7:IDirect3DImpl_7_CreateDevice (0x13acf8): Only one Direct3D device per DirectDraw object supported
fixme:d3d7:IDirect3DImpl_7_CreateDevice (0x13acf8): Only one Direct3D device per DirectDraw object supported
fixme:d3d_surface:IWineD3DSurfaceImpl_PreLoad >>>>>>>>>>>>>>>>> GL_INVALID_ENUM (0x500) from glGenTextures @ surface.c / 513
fixme:d3d_surface:IWineD3DSurfaceImpl_PreLoad >>>>>>>>>>>>>>>>> GL_INVALID_ENUM (0x500) from glBindTexture @ surface.c / 517
fixme:d3d_surface:surface_allocate_surface >>>>>>>>>>>>>>>>> GL_INVALID_ENUM (0x500) from glTexImage2D @ surface.c / 340
fixme:d3d_surface:read_from_framebuffer_texture >>>>>>>>>>>>>>>>> GL_INVALID_ENUM (0x500) from glCopyTexSubImage2D @ surface.c / 928
wine: Unhandled page fault on execute access to 0x7c0a7570 at address 0x7c0a7570 (thread 0017), starting debugger...
Unhandled exception: page fault on execute access to 0x7c0a7570 in 32-bit code (0x7c0a7570).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:7c0a7570 ESP:0033f890 EBP:0033f8dc EFLAGS:00010202(   - 00      - -RI1)
 EAX:0033f8c0 EBX:7e2d1124 ECX:0013bf90 EDX:7e2d1dc0
 ESI:00000000 EDI:7e2be267
Stack dump:
0x0033f890:  7e2602b9 00008775 0033f8c0 00000000
0x0033f8a0:  00000002 00000002 00000001 00000001
0x0033f8b0:  7e260731 7e2be267 3f800000 7e2be267
0x0033f8c0:  00000000 00000000 00000000 00000000
0x0033f8d0:  7e2d1124 00000006 00000043 0033f95c
0x0033f8e0:  7e20491c 000000d8 0016afe0 00177d88
Backtrace:
=>1 0x7c0a7570 (0x0033f8dc)
  2 0x7e20491c ActivateContext+0x4fc() in wined3d (0x0033f95c)
  3 0x7e23950b drawPrimitive+0x17b() in wined3d (0x0033fc6c)
  4 0x7e21119b in wined3d (+0x2119b) (0x0033fcdc)
  5 0x7eb7ad37 in ddraw (+0x1ad37) (0x0033fd4c)
  6 0x1000c979 in proton (+0xc979) (0x0033fd78)
  7 0x00408ed7 in axysnake (+0x8ed7) (0x0033fdf8)
  8 0x004155a8 in axysnake (+0x155a8) (0x1000baf0)
  9 0x1003cb4c in proton (+0x3cb4c) (0xa1ec8b55)
0x7c0a7570: movl	0x7e1ccc60,%eax
Modules:
Module	Address			Debug info	Name (79 modules)
PE	  400000-  500000	Export          axysnake
PE	10000000-10143000	Export          proton
ELF	7b800000-7b92d000	Deferred        kernel32<elf>
  \-PE	7b820000-7b92d000	\               kernel32
ELF	7bc00000-7bca4000	Deferred        ntdll<elf>
  \-PE	7bc10000-7bca4000	\               ntdll
ELF	7bf00000-7bf03000	Deferred        <wine-loader>
ELF	7d08d000-7d096000	Deferred        librt.so.1
ELF	7d0ab000-7e14d000	Deferred        fglrx_dri.so
ELF	7e14d000-7e158000	Deferred        libgcc_s.so.1
ELF	7e158000-7e1d2000	Export          libgl.so.1
ELF	7e1d2000-7e2d5000	Export          wined3d<elf>
  \-PE	7e1f0000-7e2d5000	\               wined3d
ELF	7e32f000-7e362000	Deferred        uxtheme<elf>
  \-PE	7e340000-7e362000	\               uxtheme
ELF	7e362000-7e376000	Deferred        midimap<elf>
  \-PE	7e370000-7e376000	\               midimap
ELF	7e376000-7e39c000	Deferred        msacm32<elf>
  \-PE	7e380000-7e39c000	\               msacm32
ELF	7e39c000-7e3b3000	Deferred        msacm32<elf>
  \-PE	7e3a0000-7e3b3000	\               msacm32
ELF	7e3b4000-7e477000	Deferred        libasound.so.2
ELF	7e477000-7e4ad000	Deferred        winealsa<elf>
  \-PE	7e480000-7e4ad000	\               winealsa
ELF	7e4af000-7e4b4000	Deferred        libxfixes.so.3
ELF	7e4b4000-7e4bd000	Deferred        libxcursor.so.1
ELF	7e4bd000-7e4c3000	Deferred        libxrandr.so.2
ELF	7e4c3000-7e4cb000	Deferred        libxrender.so.1
ELF	7e4cb000-7e4ce000	Deferred        libxinerama.so.1
ELF	7e4ce000-7e4ee000	Deferred        imm32<elf>
  \-PE	7e4d0000-7e4ee000	\               imm32
ELF	7e4ee000-7e4f3000	Deferred        libxdmcp.so.6
ELF	7e4f3000-7e50b000	Deferred        libxcb.so.1
ELF	7e50b000-7e50e000	Deferred        libxau.so.6
ELF	7e50e000-7e5f5000	Deferred        libx11.so.6
ELF	7e5f5000-7e603000	Deferred        libxext.so.6
ELF	7e603000-7e608000	Deferred        libxxf86vm.so.1
ELF	7e608000-7e69f000	Deferred        winex11<elf>
  \-PE	7e620000-7e69f000	\               winex11
ELF	7e6ee000-7e70f000	Deferred        libexpat.so.1
ELF	7e70f000-7e739000	Deferred        libfontconfig.so.1
ELF	7e739000-7e7a9000	Deferred        libfreetype.so.6
ELF	7e7a9000-7e868000	Deferred        comctl32<elf>
  \-PE	7e7b0000-7e868000	\               comctl32
ELF	7e868000-7e8c1000	Deferred        shlwapi<elf>
  \-PE	7e880000-7e8c1000	\               shlwapi
ELF	7e8c1000-7e9d3000	Deferred        shell32<elf>
  \-PE	7e8d0000-7e9d3000	\               shell32
ELF	7e9d3000-7ea1d000	Deferred        dsound<elf>
  \-PE	7e9e0000-7ea1d000	\               dsound
ELF	7ea1d000-7ea30000	Deferred        libresolv.so.2
ELF	7ea30000-7ea4e000	Deferred        iphlpapi<elf>
  \-PE	7ea40000-7ea4e000	\               iphlpapi
ELF	7ea4e000-7eaaf000	Deferred        rpcrt4<elf>
  \-PE	7ea60000-7eaaf000	\               rpcrt4
ELF	7eaaf000-7eb53000	Deferred        ole32<elf>
  \-PE	7eac0000-7eb53000	\               ole32
ELF	7eb53000-7ebaa000	Export          ddraw<elf>
  \-PE	7eb60000-7ebaa000	\               ddraw
ELF	7ebaa000-7ebfc000	Deferred        advapi32<elf>
  \-PE	7ebc0000-7ebfc000	\               advapi32
ELF	7ebfc000-7ec97000	Deferred        gdi32<elf>
  \-PE	7ec10000-7ec97000	\               gdi32
ELF	7ec97000-7edde000	Deferred        user32<elf>
  \-PE	7ecb0000-7edde000	\               user32
ELF	7edde000-7ee70000	Deferred        winmm<elf>
  \-PE	7edf0000-7ee70000	\               winmm
ELF	7ee70000-7ee88000	Deferred        libnsl.so.1
ELF	7ee88000-7ee91000	Deferred        libnss_compat.so.2
ELF	7ee91000-7eea6000	Deferred        libz.so.1
ELF	7efc6000-7efeb000	Deferred        libm.so.6
ELF	7eff5000-7f000000	Deferred        libnss_files.so.2
ELF	f7cf0000-f7cf2000	Deferred        libxcb-xlib.so.0
ELF	f7cf7000-f7cfb000	Deferred        libdl.so.2
ELF	f7cfb000-f7e4a000	Deferred        libc.so.6
ELF	f7e4a000-f7e62000	Deferred        libpthread.so.0
ELF	f7e64000-f7e6e000	Deferred        libnss_nis.so.2
ELF	f7e78000-f7fae000	Deferred        libwine.so.1
ELF	f7fb0000-f7fcf000	Deferred        ld-linux.so.2
Threads:
process  tid      prio (all id:s are in hex)
0000000c 
	00000012    0
	0000000e    0
	0000000d    0
0000000f 
	00000015    0
	00000014    0
	00000011    0
	00000010    0
00000016 (D) Z:\home\games\AxySnake\AxySnake.exe
	00000040    2
	0000003f   15
	00000017    0 <==
00000018 
	00000019    0
Backtrace:
=>1 0x7c0a7570 (0x0033f8dc)
  2 0x7e20491c ActivateContext+0x4fc() in wined3d (0x0033f95c)
  3 0x7e23950b drawPrimitive+0x17b() in wined3d (0x0033fc6c)
  4 0x7e21119b in wined3d (+0x2119b) (0x0033fcdc)
  5 0x7eb7ad37 in ddraw (+0x1ad37) (0x0033fd4c)
  6 0x1000c979 in proton (+0xc979) (0x0033fd78)
  7 0x00408ed7 in axysnake (+0x8ed7) (0x0033fdf8)
  8 0x004155a8 in axysnake (+0x155a8) (0x1000baf0)
  9 0x1003cb4c in proton (+0x3cb4c) (0xa1ec8b55)
fixme:d3d:IWineD3DDeviceImpl_Release (0x13bf90) Device released with resources still bound, acceptable but unexpected
fixme:d3d:dumpResources Leftover resource 0x13a9d0 with type 6,WINED3DRTYPE_VERTEXBUFFER
fixme:d3d:dumpResources Leftover resource 0x13a8b0 with type 1,WINED3DRTYPE_SURFACE




AirXonix - same as AxySnake.

Also I tried Settles2.

What can I miss? Help me please :)







More information about the wine-users mailing list