Closed steemandlinux closed 9 years ago
I 'probably' same issue with Need for Speed Porshe (over nGlide)
$ NINE_DEBUG=all wine Porsche.exe driver=voodoo2z
fixme:ras:RasEnumConnectionsA (0xcb1980,0x32f938,0x32f93c),stub!
fixme:ras:RasEnumConnectionsA RAS support is not implemented! Configure program to use LAN connection/winsock instead!
fixme:winediag:AUDDRV_GetAudioEndpoint Winepulse is not officially supported by the wine project
fixme:winediag:AUDDRV_GetAudioEndpoint For sound related feedback and support, please visit http://ubuntuforums.org/showthread.php?t=1960599
fixme:dsound:DSOUND_WaveFormat Limiting channels to 2 due to lack of multichannel support
Initializing rendering
fixme:win:EnumDisplayDevicesW ((null),0,0x3227fc8,0x00000000), stub!
nine:get_bus_info: DRM Device BusID: pci:0000:00:01.0
nine:get_bus_info: PCI info: vendor=0x1002, device=0x9640, subsys=0x84c81043, rev=0
nine:adapter9:ctor: This=0x7cf55ac8 pParams=0x3227d9c pCTX=0x7cf25690
nine:nine_dump_D3DADAPTER_IDENTIFIER9: D3DADAPTER_IDENTIFIER9(0x7cf25698):
Driver: nvd3dum.dll
Description: NVIDIA GeForce GTX 680
DeviceName: AMD SUMO
DriverVersion: 000c1a02.0006000f
VendorId: 1002
DeviceId: 9640
SubSysId: 0
Revision: 0
GUID: aeb2cdd4.6e41.43ea.94.1c.83.61.cc.76.07.81
WHQLLevel: 0
fixme:win:EnumDisplayDevicesW (L"\.\DISPLAY1",0,0x3227fc8,0x00000000), stub!
fixme:win:EnumDisplayDevicesW (L"\.\DISPLAY1",1,0x3227fc8,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),1,0x3227fc8,0x00000000), stub!
fixme:d3d9:d3dadapter9_new
Native Direct3D 9 is active.
For more informations visit https://wiki.ixit.cz/d3d9
nine:adapter9:GetDeviceCaps: This=0x7cf55ac8 DeviceType=HAL pCaps=0x32285d4
nine:adapter9:CheckDeviceFormat: This=0x7cf55ac8 DeviceType=HAL AdapterFormat=D3DFMT_X8R8G8B8
nine:adapter9:CheckDeviceFormat: Format=D3DFMT_D32F_LOCKABLE/PIPE_FORMAT_Z32_FLOAT Usage/Bind=2/PIPE_BIND_DEPTH_STENCIL RType/Target=1/2d
nine:adapter9:CheckDeviceFormat: This=0x7cf55ac8 DeviceType=HAL AdapterFormat=D3DFMT_X8R8G8B8
nine:adapter9:CheckDeviceFormat: Format=D3DFMT_DF16/PIPE_FORMAT_NONE Usage/Bind=2/PIPE_BIND_DEPTH_STENCIL|SAMPLER_VIEW RType/Target=3/2d
nine:adapter9:CheckDeviceFormat: NOT AVAILABLE
nine:adapter9:CheckDeviceFormat: This=0x7cf55ac8 DeviceType=HAL AdapterFormat=D3DFMT_X8R8G8B8
nine:adapter9:CheckDeviceFormat: Format=D3DFMT_DF24/PIPE_FORMAT_NONE Usage/Bind=2/PIPE_BIND_DEPTH_STENCIL|SAMPLER_VIEW RType/Target=3/2d
nine:adapter9:CheckDeviceFormat: NOT AVAILABLE
nine:adapter9:CheckDeviceFormat: This=0x7cf55ac8 DeviceType=HAL AdapterFormat=D3DFMT_X8R8G8B8
nine:adapter9:CheckDeviceFormat: Format=D3DFMT_INTZ/PIPE_FORMAT_Z24_UNORM_S8_UINT Usage/Bind=2/PIPE_BIND_DEPTH_STENCIL|SAMPLER_VIEW RType/Target=3/2d
(L"\.\DISPLAY1",0,0x3227fb8,0x00000000), stub!
nine:adapter9:CreateDevice: This=0x7cf55ac8 RealAdapter=0 DeviceType=HAL hFocusWindow=0x2005a BehaviourFlags=82 pD3D9=0x16f7f8 pPresentationGroup=0x16ed70 ppReturnedDeviceInterface=0xdb57064
nine:adapter9:GetDeviceCaps: This=0x7cf55ac8 DeviceType=HAL pCaps=0x32281bc
fixme:d3dadapter:DRI3PresentGroup_GetMultiheadCount (0x16ed70), stub!
fixme:d3dadapter:DRI3PresentGroup_GetMultiheadCount (0x16ed70), stub!
nine:swapchain9:ctor: This=0x7cf66c28 pDevice=0x7cf55c78 pPresent=0x171118 pCTX=0x7cf25690 hFocusWindow=0x2005a
nine:swapchain9:Resize: This=0x7cf66c28 pParams=0x3227fe8
nine:swapchain9:Resize: pParams(0x3227fe8):
BackBufferWidth: 1920
BackBufferHeight: 1080
BackBufferFormat: D3DFMT_A8R8G8B8
BackBufferCount: 1
MultiSampleType: 0
MultiSampleQuality: 0
SwapEffect: 1
hDeviceWindow: 0x2005a
Windowed: 0
EnableAutoDepthStencil: 1
AutoDepthStencilFormat: D3DFMT_D24X8
Flags:
FullScreen_RefreshRateInHz: 60
PresentationInterval: 1
nine:surface9:ctor: This=0x7cf681c0 pDevice=0x7cf55c78 pResource=0x7cf672e0 Level=0 Layer=0 pDesc=0x3227f90
nine:surface9:Dump:
NineSurface9(0x7cf681c0->0x7cf672e0/(nil)): Pool=DEFAULT Type=SURFACE Usage=RT
Dims=1920x1080 Format=D3DFMT_A8R8G8B8 Stride=7680 Lockable=0
Level=0(0), Layer=0
nine:surface9:ctor: This=0x7cf69220 pDevice=0x7cf55c78 pResource=0x7cf68340 Level=0 Layer=0 pDesc=0x3227f90
nine:surface9:Dump:
NineSurface9(0x7cf69220->0x7cf68340/(nil)): Pool=DEFAULT Type=SURFACE Usage=RT
Dims=1920x1080 Format=D3DFMT_A8R8G8B8 Stride=7680 Lockable=0
Level=0(0), Layer=0
nine:surface9:ctor: This=0x7cf6a260 pDevice=0x7cf55c78 pResource=0x7cf69380 Level=0 Layer=0 pDesc=0x3227f90
nine:surface9:Dump:
NineSurface9(0x7cf6a260->0x7cf69380/(nil)): Pool=DEFAULT Type=SURFACE Usage=DS
Dims=1920x1080 Format=D3DFMT_D24X8 Stride=7680 Lockable=0
Level=0(0), Layer=0
nine:device9:SetDepthStencilSurface: This=0x7cf55c78 pNewZStencil=0x7cf6a260
nine:nine_update_state: changed state groups: 7017f | 1f8fe80
nine:nine_ff_update: vs=(nil) ps=(nil)
nine:update_framebuffer:
nine:update_vertex_buffers: mask=ffff
nine:nine_update_state: finished
nine:adapter9:CreateDevice: NineDevice9 created successfully.
fixme:win:EnumDisplayDevicesW ((null),0,0x3227da8,0x00000000), stub!
nine:device9:GetDisplayMode: This=0x7cf55c78 iSwapChain=0 pMode=0x3227cac
nine:adapter9:CheckDeviceFormat: This=0x7cf55ac8 DeviceType=HAL AdapterFormat=D3DFMT_X8R8G8B8
nine:adapter9:CheckDeviceFormat: Format=D3DFMT_R8G8B8/PIPE_FORMAT_NONE Usage/Bind=0/PIPE_BIND_SAMPLER_VIEW RType/Target=3/2d
nine:adapter9:CheckDeviceFormat: NOT AVAILABLE
nine:adapter9:CheckDeviceFormat: This=0x7cf55ac8 DeviceType=HAL AdapterFormat=D3DFMT_X8R8G8B8
nine:adapter9:CheckDeviceFormat: Format=D3DFMT_A8R8G8B8/PIPE_FORMAT_B8G8R8A8_UNORM Usage/Bind=0/PIPE_BIND_SAMPLER_VIEW RType/Target=3/2d
nine:device9:CreateTexture: This=0x7cf55c78 Width=640 Height=480 Levels=1 Usage= Format=D3DFMT_A8R8G8B8 Pool=SYSTEMMEM ppOut=0x3228318 pSharedHandle=(nil)
nine:texture9:ctor: (0x7ba57d80) Width=640 Height=480 Levels=1 Usage= Format=D3DFMT_A8R8G8B8 Pool=SYSTEMMEM pSharedHandle=(nil)
nine:surface9:ctor: This=0x7ba57e58 pDevice=0x7cf55c78 pResource=(nil) Level=0 Layer=0 pDesc=0x3227d18
nine:surface9:AllocateData: (0x7ba57d80(This=0x7ba57e58),level=0) Allocating 0x12c000 bytes of system memory.
nine:surface9:Dump:
NineSurface9(0x7ba57e58->(nil)/0x7235a008): Pool=SYSTEMMEM Type=SURFACE Usage=
Dims=640x480 Format=D3DFMT_A8R8G8B8 Stride=2560 Lockable=0
Level=0(0), Layer=0
nine:basetexture9:Dump:
NineBaseTexture9(0x7ba57d80->(nil)/(nil)): Pool=SYSTEMMEM Type=TEXTURE Usage=
Format=D3DFMT_A8R8G8B8 Dims=640x480x1/1 LastLevel=0 Lod=0(4294967295)
nine:surface9:LockRect: This=0x7ba57e58 pLockedRect=0x3227d14 pRect=(nil)[0..0,0..0] Flags=NOSYSLOCK|
nine:surface9:Dump:
NineSurface9(0x7ba57e58->(nil)/0x7235a008): Pool=SYSTEMMEM Type=SURFACE Usage=
Dims=640x480 Format=D3DFMT_A8R8G8B8 Stride=2560 Lockable=0
Level=0(0), Layer=0
nine:basetexture9:Dump:
NineBaseTexture9(0x7ba57d80->(nil)/(nil)): Pool=SYSTEMMEM Type=TEXTURE Usage=
Format=D3DFMT_A8R8G8B8 Dims=640x480x1/1 LastLevel=0 Lod=0(4294967295)
nine:surface9:LockRect: returning system memory
nine:surface9:UnlockRect: This=0x7ba57e58 lock_count=1
nine:device9:GetDisplayMode: This=0x7cf55c78 iSwapChain=0 pMode=0x3227cac
nine:adapter9:CheckDeviceFormat: This=0x7cf55ac8 DeviceType=HAL AdapterFormat=D3DFMT_X8R8G8B8
nine:adapter9:CheckDeviceFormat: Format=D3DFMT_R8G8B8/PIPE_FORMAT_NONE Usage/Bind=200/PIPE_BIND_SAMPLER_VIEW RType/Target=3/2d
nine:adapter9:CheckDeviceFormat: NOT AVAILABLE
nine:adapter9:CheckDeviceFormat: This=0x7cf55ac8 DeviceType=HAL AdapterFormat=D3DFMT_X8R8G8B8
nine:adapter9:CheckDeviceFormat: Format=D3DFMT_A8R8G8B8/PIPE_FORMAT_B8G8R8A8_UNORM Usage/Bind=200/PIPE_BIND_SAMPLER_VIEW RType/Target=3/2d
nine:device9:CreateTexture: This=0x7cf55c78 Width=640 Height=480 Levels=1 Usage=DYNAMIC Format=D3DFMT_A8R8G8B8 Pool=DEFAULT ppOut=0x3228318 pSharedHandle=(nil)
nine:texture9:ctor: (0x7ba57f50) Width=640 Height=480 Levels=1 Usage=DYNAMIC Format=D3DFMT_A8R8G8B8 Pool=DEFAULT pSharedHandle=(nil)
nine:resource9:ctor: (0x7ba57f50) Creating pipe_resource.
nine:surface9:ctor: This=0x7ba58f00 pDevice=0x7cf55c78 pResource=0x7ba58018 Level=0 Layer=0 pDesc=0x3227d18
nine:surface9:Dump:
NineSurface9(0x7ba58f00->0x7ba58018/(nil)): Pool=DEFAULT Type=SURFACE Usage=DYNAMIC
Dims=640x480 Format=D3DFMT_A8R8G8B8 Stride=2560 Lockable=1
Level=0(0), Layer=0
nine:basetexture9:Dump:
NineBaseTexture9(0x7ba57f50->0x7ba58018/(nil)): Pool=DEFAULT Type=TEXTURE Usage=DYNAMIC
Format=D3DFMT_A8R8G8B8 Dims=640x480x1/1 LastLevel=0 Lod=0(4294967295)
nine:surface9:LockRect: This=0x7ba58f00 pLockedRect=0x3227d14 pRect=(nil)[0..0,0..0] Flags=DISCARD|NOSYSLOCK|
nine:surface9:Dump:
NineSurface9(0x7ba58f00->0x7ba58018/(nil)): Pool=DEFAULT Type=SURFACE Usage=DYNAMIC
Dims=640x480 Format=D3DFMT_A8R8G8B8 Stride=2560 Lockable=1
Level=0(0), Layer=0
nine:basetexture9:Dump:
NineBaseTexture9(0x7ba57f50->0x7ba58018/(nil)): Pool=DEFAULT Type=TEXTURE Usage=DYNAMIC
Format=D3DFMT_A8R8G8B8 Dims=640x480x1/1 LastLevel=0 Lod=0(4294967295)
nine:surface9:LockRect: mapping pipe_resource 0x7ba58018 (level=0 usage=102)
nine:surface9:UnlockRect: This=0x7ba58f00 lock_count=1
nine:device9:GetDisplayMode: This=0x7cf55c78 iSwapChain=0 pMode=0x32281ac
nine:adapter9:CheckDeviceFormat: This=0x7cf55ac8 DeviceType=HAL AdapterFormat=D3DFMT_X8R8G8B8
nine:adapter9:CheckDeviceFormat: Format=D3DFMT_R8G8B8/PIPE_FORMAT_NONE Usage/Bind=0/PIPE_BIND_SAMPLER_VIEW RType/Target=3/2d
nine:adapter9:CheckDeviceFormat: NOT AVAILABLE
nine:adapter9:CheckDeviceFormat: This=0x7cf55ac8 DeviceType=HAL AdapterFormat=D3DFMT_X8R8G8B8
nine:adapter9:CheckDeviceFormat: Format=D3DFMT_A8R8G8B8/PIPE_FORMAT_B8G8R8A8_UNORM Usage/Bind=0/PIPE_BIND_SAMPLER_VIEW RType/Target=3/2d
nine:device9:CreateTexture: This=0x7cf55c78 Width=1 Height=1 Levels=1 Usage= Format=D3DFMT_A8R8G8B8 Pool=MANAGED ppOut=0x588dd74 pSharedHandle=(nil)
nine:texture9:ctor: (0x7ba59050) Width=1 Height=1 Levels=1 Usage= Format=D3DFMT_A8R8G8B8 Pool=MANAGED pSharedHandle=(nil)
nine:surface9:ctor: This=0x7ba59158 pDevice=0x7cf55c78 pResource=(nil) Level=0 Layer=0 pDesc=0x322823c
nine:surface9:AllocateData: (0x7ba59050(This=0x7ba59158),level=0) Allocating 0x4 bytes of system memory.
nine:surface9:Dump:
NineSurface9(0x7ba59158->(nil)/0x7ba59270): Pool=MANAGED Type=SURFACE Usage=
Dims=1x1 Format=D3DFMT_A8R8G8B8 Stride=4 Lockable=0
Level=0(0), Layer=0
nine:basetexture9:Dump:
NineBaseTexture9(0x7ba59050->(nil)/(nil)): Pool=MANAGED Type=TEXTURE Usage=
Format=D3DFMT_A8R8G8B8 Dims=1x1x1/1 LastLevel=0 Lod=0(4294967295)
nine:device9:SetTexture: This=0x7cf55c78 Stage=0 pTexture=0x7ba59050
nine:device9:SetTexture: This=0x7cf55c78 Stage=1 pTexture=0x7ba59050
nine:device9:GetDisplayMode: This=0x7cf55c78 iSwapChain=0 pMode=0x32281ac
nine:adapter9:CheckDeviceFormat: This=0x7cf55ac8 DeviceType=HAL AdapterFormat=D3DFMT_X8R8G8B8
nine:adapter9:CheckDeviceFormat: Format=D3DFMT_R8G8B8/PIPE_FORMAT_NONE Usage/Bind=0/PIPE_BIND_SAMPLER_VIEW RType/Target=3/2d
nine:adapter9:CheckDeviceFormat: NOT AVAILABLE
nine:adapter9:CheckDeviceFormat: This=0x7cf55ac8 DeviceType=HAL AdapterFormat=D3DFMT_X8R8G8B8
nine:adapter9:CheckDeviceFormat: Format=D3DFMT_A8R8G8B8/PIPE_FORMAT_B8G8R8A8_UNORM Usage/Bind=0/PIPE_BIND_SAMPLER_VIEW RType/Target=3/2d
nine:device9:CreateTexture: This=0x7cf55c78 Width=32 Height=32 Levels=1 Usage= Format=D3DFMT_A8R8G8B8 Pool=MANAGED ppOut=0xdb5728c pSharedHandle=(nil)
nine:texture9:ctor: (0x7ba59280) Width=32 Height=32 Levels=1 Usage= Format=D3DFMT_A8R8G8B8 Pool=MANAGED pSharedHandle=(nil)
nine:surface9:ctor: This=0x7ba59388 pDevice=0x7cf55c78 pResource=(nil) Level=0 Layer=0 pDesc=0x322823c
nine:surface9:AllocateData: (0x7ba59280(This=0x7ba59388),level=0) Allocating 0x1000 bytes of system memory.
nine:surface9:Dump:
NineSurface9(0x7ba59388->(nil)/0x7ba59f30): Pool=MANAGED Type=SURFACE Usage=
Dims=32x32 Format=D3DFMT_A8R8G8B8 Stride=128 Lockable=0
Level=0(0), Layer=0
nine:basetexture9:Dump:
NineBaseTexture9(0x7ba59280->(nil)/(nil)): Pool=MANAGED Type=TEXTURE Usage=
Format=D3DFMT_A8R8G8B8 Dims=32x32x1/1 LastLevel=0 Lod=0(4294967295)
nine:device9:SetFVF: FVF = 000003c4
nine:vertexdeclaration9:ctor: VERTEXELEMENT[0]: Stream=0 Offset=0 Type=PIPE_FORMAT_R32G32B32A32_FLOAT DeclUsage=POSITIONT
nine:vertexdeclaration9:ctor: VERTEXELEMENT[1]: Stream=0 Offset=16 Type=PIPE_FORMAT_B8G8R8A8_UNORM DeclUsage=DIFFUSE
nine:vertexdeclaration9:ctor: VERTEXELEMENT[2]: Stream=0 Offset=20 Type=PIPE_FORMAT_B8G8R8A8_UNORM DeclUsage=SPECULAR
nine:vertexdeclaration9:ctor: VERTEXELEMENT[3]: Stream=0 Offset=24 Type=PIPE_FORMAT_R32G32_FLOAT DeclUsage=TEXCOORD0
nine:vertexdeclaration9:ctor: VERTEXELEMENT[4]: Stream=0 Offset=32 Type=PIPE_FORMAT_R32G32_FLOAT DeclUsage=TEXCOORD1
nine:vertexdeclaration9:ctor: VERTEXELEMENT[5]: Stream=0 Offset=40 Type=PIPE_FORMAT_R32G32_FLOAT DeclUsage=TEXCOORD2
nine:device9:SetVertexDeclaration: This=0x7cf55c78 pDecl=0x7ba594a0
nine:device9:SetRenderState: This=0x7cf55c78 State=206(D3DRS_SEPARATEALPHABLENDENABLE) Value=00000001
nine:device9:SetRenderState: This=0x7cf55c78 State=174(D3DRS_SCISSORTESTENABLE) Value=00000001
nine:create_zs_or_rt_surface: This=0x7cf55c78 type=0 Pool=DEFAULT Width=1920 Height=1080 Format=D3DFMT_A8R8G8B8 MS=0 Quality=0 Discard_or_Lockable=1 ppSurface=0xdb5706c pSharedHandle=(nil)
nine:surface9:ctor: This=0x7ba59690 pDevice=0x7cf55c78 pResource=0x7ba5af38 Level=0 Layer=0 pDesc=0x3228308
nine:surface9:Dump:
NineSurface9(0x7ba59690->0x7ba5af38/(nil)): Pool=DEFAULT Type=SURFACE Usage=RT
Dims=1920x1080 Format=D3DFMT_A8R8G8B8 Stride=7680 Lockable=1
Level=0(0), Layer=0
nine:create_zs_or_rt_surface: This=0x7cf55c78 type=0 Pool=DEFAULT Width=1920 Height=1080 Format=D3DFMT_A8R8G8B8 MS=0 Quality=0 Discard_or_Lockable=1 ppSurface=0xdb57070 pSharedHandle=(nil)
nine:surface9:ctor: This=0x7ba59858 pDevice=0x7cf55c78 pResource=0x7ba5bd68 Level=0 Layer=0 pDesc=0x3228308
nine:surface9:Dump:
NineSurface9(0x7ba59858->0x7ba5bd68/(nil)): Pool=DEFAULT Type=SURFACE Usage=RT
Dims=1920x1080 Format=D3DFMT_A8R8G8B8 Stride=7680 Lockable=1
Level=0(0), Layer=0
nine:create_zs_or_rt_surface: This=0x7cf55c78 type=1 Pool=DEFAULT Width=1920 Height=1080 Format=D3DFMT_D24X8 MS=0 Quality=0 Discard_or_Lockable=0 ppSurface=0xdb57074 pSharedHandle=(nil)
nine:surface9:ctor: This=0x7ba59a20 pDevice=0x7cf55c78 pResource=0x7ba5cb98 Level=0 Layer=0 pDesc=0x3228308
nine:surface9:Dump:
NineSurface9(0x7ba59a20->0x7ba5cb98/(nil)): Pool=DEFAULT Type=SURFACE Usage=DS
Dims=1920x1080 Format=D3DFMT_D24X8 Stride=7680 Lockable=0
Level=0(0), Layer=0
nine:device9:SetDepthStencilSurface: This=0x7cf55c78 pNewZStencil=0x7ba59a20
nine:device9:CreateOffscreenPlainSurface: This=0x7cf55c78 Width=640 Height=480 Format=D3DFMT_R5G6B5(0x17) Pool=2 ppSurface=0xdb5747c pSharedHandle=(nil)
nine:create_zs_or_rt_surface: This=0x7cf55c78 type=2 Pool=SYSTEMMEM Width=640 Height=480 Format=D3DFMT_R5G6B5 MS=0 Quality=0 Discard_or_Lockable=1 ppSurface=0xdb5747c pSharedHandle=(nil)
nine:surface9:ctor: This=0x7ba59b38 pDevice=0x7cf55c78 pResource=(nil) Level=0 Layer=0 pDesc=0x32282f0
nine:surface9:AllocateData: ((nil)(This=0x7ba59b38),level=0) Allocating 0x96000 bytes of system memory.
nine:surface9:Dump:
NineSurface9(0x7ba59b38->(nil)/0x7bf95008): Pool=SYSTEMMEM Type=SURFACE Usage=
Dims=640x480 Format=D3DFMT_R5G6B5 Stride=1280 Lockable=0
Level=0(0), Layer=0
nine:create_zs_or_rt_surface: This=0x7cf55c78 type=0 Pool=DEFAULT Width=640 Height=480 Format=D3DFMT_R5G6B5 MS=0 Quality=0 Discard_or_Lockable=1 ppSurface=0xdb57490 pSharedHandle=(nil)
nine:surface9:ctor: This=0x7ba59d00 pDevice=0x7cf55c78 pResource=0x7ba5d9c8 Level=0 Layer=0 pDesc=0x3228308
nine:surface9:Dump:
NineSurface9(0x7ba59d00->0x7ba5d9c8/(nil)): Pool=DEFAULT Type=SURFACE Usage=RT
Dims=640x480 Format=D3DFMT_R5G6B5 Stride=1280 Lockable=1
Level=0(0), Layer=0
nine:create_zs_or_rt_surface: This=0x7cf55c78 type=0 Pool=DEFAULT Width=1920 Height=1080 Format=D3DFMT_R32F MS=0 Quality=0 Discard_or_Lockable=1 ppSurface=0x55cdb08 pSharedHandle=(nil)
nine:surface9:ctor: This=0x7ba5f6a0 pDevice=0x7cf55c78 pResource=0x7ba5e7f8 Level=0 Layer=0 pDesc=0x3228308
nine:surface9:Dump:
NineSurface9(0x7ba5f6a0->0x7ba5e7f8/(nil)): Pool=DEFAULT Type=SURFACE Usage=RT
Dims=1920x1080 Format=D3DFMT_R32F Stride=7680 Lockable=1
Level=0(0), Layer=0
nine:device9:CreateOffscreenPlainSurface: This=0x7cf55c78 Width=640 Height=480 Format=D3DFMT_R32F(0x72) Pool=2 ppSurface=0x334d8c8 pSharedHandle=(nil)
nine:create_zs_or_rt_surface: This=0x7cf55c78 type=2 Pool=SYSTEMMEM Width=640 Height=480 Format=D3DFMT_R32F MS=0 Quality=0 Discard_or_Lockable=1 ppSurface=0x334d8c8 pSharedHandle=(nil)
nine:surface9:ctor: This=0x7ba5f7b8 pDevice=0x7cf55c78 pResource=(nil) Level=0 Layer=0 pDesc=0x32282f0
nine:surface9:AllocateData: ((nil)(This=0x7ba5f7b8),level=0) Allocating 0x12c000 bytes of system memory.
nine:surface9:Dump:
NineSurface9(0x7ba5f7b8->(nil)/0x72101008): Pool=SYSTEMMEM Type=SURFACE Usage=
Dims=640x480 Format=D3DFMT_R32F Stride=2560 Lockable=0
Level=0(0), Layer=0
nine:create_zs_or_rt_surface: This=0x7cf55c78 type=0 Pool=DEFAULT Width=640 Height=480 Format=D3DFMT_R32F MS=0 Quality=0 Discard_or_Lockable=1 ppSurface=0x334d8cc pSharedHandle=(nil)
nine:surface9:ctor: This=0x7ba60838 pDevice=0x7cf55c78 pResource=0x7ba5f8d0 Level=0 Layer=0 pDesc=0x3228308
nine:surface9:Dump:
NineSurface9(0x7ba60838->0x7ba5f8d0/(nil)): Pool=DEFAULT Type=SURFACE Usage=RT
Dims=640x480 Format=D3DFMT_R32F Stride=2560 Lockable=1
Level=0(0), Layer=0
nine:device9:SetRenderState: This=0x7cf55c78 State=22(D3DRS_CULLMODE) Value=00000001
nine:device9:SetScissorRect: x=(0..0) y=(1920..1080)
nine:device9:SetRenderState: This=0x7cf55c78 State=168(D3DRS_COLORWRITEENABLE) Value=0000000f
nine:device9:SetRenderState: This=0x7cf55c78 State=23(D3DRS_ZFUNC) Value=00000002
nine:device9:SetRenderState: This=0x7cf55c78 State=14(D3DRS_ZWRITEENABLE) Value=00000001
nine:device9:SetRenderState: This=0x7cf55c78 State=7(D3DRS_ZENABLE) Value=00000000
nine:device9:SetRenderState: This=0x7cf55c78 State=26(D3DRS_DITHERENABLE) Value=00000001
nine:device9:SetPixelShaderConstantF: This=0x7cf55c78 StartRegister=7 pConstantData=0x3228384 Vector4fCount=1
nine:device9:SetPixelShaderConstantF: This=0x7cf55c78 StartRegister=0 pConstantData=0x3228384 Vector4fCount=1
nine:device9:SetRenderState: This=0x7cf55c78 State=27(D3DRS_ALPHABLENDENABLE) Value=00000000
nine:device9:SetRenderState: This=0x7cf55c78 State=19(D3DRS_SRCBLEND) Value=00000002
nine:device9:SetRenderState: This=0x7cf55c78 State=20(D3DRS_DESTBLEND) Value=00000001
nine:device9:SetRenderState: This=0x7cf55c78 State=207(D3DRS_SRCBLENDALPHA) Value=00000002
nine:device9:SetRenderState: This=0x7cf55c78 State=208(D3DRS_DESTBLENDALPHA) Value=00000001
nine:device9:SetRenderState: This=0x7cf55c78 State=171(D3DRS_BLENDOP) Value=00000001
nine:device9:SetRenderState: This=0x7cf55c78 State=209(D3DRS_BLENDOPALPHA) Value=00000001
nine:device9:SetRenderState: This=0x7cf55c78 State=15(D3DRS_ALPHATESTENABLE) Value=00000000
nine:device9:SetRenderState: This=0x7cf55c78 State=25(D3DRS_ALPHAFUNC) Value=00000008
nine:device9:SetRenderState: This=0x7cf55c78 State=24(D3DRSALPHAREF) Value=00000000
nine:device9:SetSamplerState: This=0x7cf55c78 Sampler=1 Type=ADDRESSU Value=00000003
nine:device9:SetSamplerState: This=0x7cf55c78 Sampler=1 Type=ADDRESSV Value=00000003
nine:device9:SetSamplerState: This=0x7cf55c78 Sampler=0 Type=ADDRESSU Value=00000003
nine:device9:SetSamplerState: This=0x7cf55c78 Sampler=0 Type=ADDRESSV Value=00000003
nine:device9:SetSamplerState: This=0x7cf55c78 Sampler=1 Type=MIPFILTER Value=00000000
nine:device9:SetSamplerState: This=0x7cf55c78 Sampler=0 Type=MIPFILTER Value=00000000
nine:device9:SetSamplerState: This=0x7cf55c78 Sampler=1 Type=MINFILTER Value=00000001
nine:device9:SetSamplerState: This=0x7cf55c78 Sampler=1 Type=MAGFILTER Value=00000001
nine:device9:SetSamplerState: This=0x7cf55c78 Sampler=0 Type=MINFILTER Value=00000001
nine:device9:SetSamplerState: This=0x7cf55c78 Sampler=0 Type=MAGFILTER Value=00000001
PS2.0
DCL s0 2D
DCL A0.xy
TEX r0 A0 s0
MOV oC0 r0
PS2.0
DCL s0 2D
DCL A0.xy
DEF c6 { 1.000000 1.000000 1.000000 1.000000 }
TEX r0 A0 s0
ADD r0.xyz c6 -(r0)
MOV oC0 r0
nine:device9:SetGammaRamp: This=0x7cf55c78 iSwapChain=0 Flags=0 pRamp=0x3227da0
nine:device9:BeginScene: This=0x7cf55c78
nine:device9:SetRenderTarget: This=0x7cf55c78 RenderTargetIndex=0 pRenderTarget=0x7ba59690
nine:device9:Clear: This=0x7cf55c78 Count=0 pRects=(nil) Flags=3 Color=00000000 Z=0.000000 Stencil=0
nine:nine_update_state: changed state groups: 3f | 1e80
nine:update_framebuffer:
nine:nine_update_state: finished
nine:device9:Clear: fast path
nine:device9:SetRenderTarget: This=0x7cf55c78 RenderTargetIndex=0 pRenderTarget=0x7ba59858
nine:device9:Clear: This=0x7cf55c78 Count=0 pRects=(nil) Flags=3 Color=00000000 Z=0.000000 Stencil=0
nine:nine_update_state: changed state groups: 3f | 1e80
nine:update_framebuffer:
nine:nine_update_state: finished
nine:device9:Clear: fast path
nine:device9:EndScene: This=0x7cf55c78
nine:device9:StretchRect: This=0x7cf55c78 pSourceSurface=0x7ba59858 pSourceRect=(nil) pDestSurface=0x7cf681c0 pDestRect=(nil) Filter=0
nine:device9:StretchRect: Using resource_copy_region.
nine:present: >>>
present: This=0x7cf66c28 pSourceRect=(nil) pDestRect=(nil) pDirtyRegion=(nil)nine:nine_update_state: changed state groups: 3f | 1e80
nine:update_framebuffer:
nine:nine_update_state: finished
nine:device9:SetRenderTarget: This=0x7cf55c78 RenderTargetIndex=0 pRenderTarget=0x7ba59690
nine:device9:SetScissorRect: x=(0..0) y=(1920..1080)
nine:device9:BeginScene: This=0x7cf55c78
nine:device9:SetGammaRamp: This=0x7cf55c78 iSwapChain=0 Flags=0 pRamp=0x322e0ec
nine:device9:SetSamplerState: This=0x7cf55c78 Sampler=1 Type=MINFILTER Value=00000002
nine:device9:SetSamplerState: This=0x7cf55c78 Sampler=1 Type=MAGFILTER Value=00000002
nine:device9:SetRenderState: This=0x7cf55c78 State=15(D3DRS_ALPHATESTENABLE) Value=00000001
nine:device9:SetRenderState: This=0x7cf55c78 State=25(D3DRS_ALPHAFUNC) Value=00000005
nine:device9:SetRenderState: This=0x7cf55c78 State=15(D3DRS_ALPHATESTENABLE) Value=00000001
nine:device9:SetRenderState: This=0x7cf55c78 State=25(D3DRS_ALPHAFUNC) Value=00000007
nine:device9:SetRenderState: This=0x7cf55c78 State=24(D3DRS_ALPHAREF) Value=00000010
nine:device9:SetSamplerState: This=0x7cf55c78 Sampler=1 Type=MIPFILTER Value=00000000
nine:device9:SetSamplerState: This=0x7cf55c78 Sampler=0 Type=MIPFILTER Value=00000000
nine:device9:SetPixelShaderConstantF: This=0x7cf55c78 StartRegister=7 pConstantData=0x322e6c8 Vector4fCount=1
nine:device9:SetRenderState: This=0x7cf55c78 State=27(D3DRS_ALPHABLENDENABLE) Value=00000001
nine:device9:SetRenderState: This=0x7cf55c78 State=19(D3DRS_SRCBLEND) Value=00000005
nine:device9:SetRenderState: This=0x7cf55c78 State=20(D3DRS_DESTBLEND) Value=00000006
nine:device9:SetRenderState: This=0x7cf55c78 State=171(D3DRS_BLENDOP) Value=00000001
nine:device9:SetRenderState: This=0x7cf55c78 State=209(D3DRS_BLENDOPALPHA) Value=00000001
nine:device9:SetGammaRamp: This=0x7cf55c78 iSwapChain=0 Flags=0 pRamp=0x322e0d0
nine:device9:SetRenderState: This=0x7cf55c78 State=7(D3DRS_ZENABLE) Value=00000001
nine:device9:SetRenderState: This=0x7cf55c78 State=23(D3DRS_ZFUNC) Value=00000004
nine:device9:SetRenderTarget: This=0x7cf55c78 RenderTargetIndex=0 pRenderTarget=0x7ba59858
nine:device9:SetScissorRect: x=(0..0) y=(1920..1080)
nine:device9:StretchRect: This=0x7cf55c78 pSourceSurface=0x7ba59858 pSourceRect=0x32d8b0 pDestSurface=0x7ba59d00 pDestRect=(nil) Filter=0
nine:device9:StretchRect: pSourceRect=(0,0)-(1920,1080)
nine:device9:StretchRect: using pipe->blit()
nine:device9:GetRenderTargetData: This=0x7cf55c78 pRenderTarget=0x7ba59d00 pDestSurface=0x7ba59b38
nine:surface9:LockRect: This=0x7ba59b38 pLockedRect=0x32d89c pRect=(nil)[0..0,0..0] Flags=DISCARD|
nine:surface9:Dump:
NineSurface9(0x7ba59b38->(nil)/0x7bf95008): Pool=SYSTEMMEM Type=SURFACE Usage=
Dims=640x480 Format=D3DFMT_R5G6B5 Stride=1280 Lockable=0
Level=0(0), Layer=0
nine:surface9:LockRect: returning system memory
nine:surface9:UnlockRect: This=0x7ba59b38 lock_count=1
nine:surface9:LockRect: This=0x7ba57e58 pLockedRect=0x32d850 pRect=0x32d864[0..640,0..480] Flags=
nine:surface9:Dump:
NineSurface9(0x7ba57e58->(nil)/0x7235a008): Pool=SYSTEMMEM Type=SURFACE Usage=
Dims=640x480 Format=D3DFMT_A8R8G8B8 Stride=2560 Lockable=0
Level=0(0), Layer=0
nine:basetexture9:Dump:
NineBaseTexture9(0x7ba57d80->(nil)/(nil)): Pool=SYSTEMMEM Type=TEXTURE Usage=
Format=D3DFMT_A8R8G8B8 Dims=640x480x1/1 LastLevel=0 Lod=0(4294967295)
nine:surface9:LockRect: returning system memory
nine:surface9:UnlockRect: This=0x7ba57e58 lock_count=1
nine:device9:UpdateTexture: This=0x7cf55c78 pSourceTexture=0x7ba57d80 pDestinationTexture=0x7ba57f50
nine:device9:SetRenderTarget: This=0x7cf55c78 RenderTargetIndex=0 pRenderTarget=0x7ba59858
nine:device9:SetRenderState: This=0x7cf55c78 State=15(D3DRS_ALPHATESTENABLE) Value=00000001
nine:device9:SetRenderState: This=0x7cf55c78 State=25(D3DRS_ALPHAFUNC) Value=00000005
nine:device9:SetRenderState: This=0x7cf55c78 State=24(D3DRS_ALPHAREF) Value=00000000
nine:device9:SetRenderState: This=0x7cf55c78 State=27(D3DRS_ALPHABLENDENABLE) Value=00000001
nine:device9:SetRenderState: This=0x7cf55c78 State=19(D3DRS_SRCBLEND) Value=00000005
nine:device9:SetRenderState: This=0x7cf55c78 State=20(D3DRS_DESTBLEND) Value=00000006
nine:device9:SetRenderState: This=0x7cf55c78 State=207(D3DRS_SRCBLENDALPHA) Value=00000005
nine:device9:SetRenderState: This=0x7cf55c78 State=208(D3DRS_DESTBLENDALPHA) Value=00000006
nine:device9:SetRenderState: This=0x7cf55c78 State=7(D3DRS_ZENABLE) Value=00000000
nine:device9:SetRenderState: This=0x7cf55c78 State=14(D3DRS_ZWRITEENABLE) Value=00000001
nine:device9:SetRenderState: This=0x7cf55c78 State=23(D3DRS_ZFUNC) Value=00000008
nine:device9:SetRenderState: This=0x7cf55c78 State=22(D3DRS_CULLMODE) Value=00000001
nine:device9:SetRenderState: This=0x7cf55c78 State=28(D3DRS_FOGENABLE) Value=00000000
nine:device9:SetSamplerState: This=0x7cf55c78 Sampler=0 Type=ADDRESSU Value=00000003
nine:device9:SetSamplerState: This=0x7cf55c78 Sampler=0 Type=ADDRESSV Value=00000003
nine:device9:SetSamplerState: This=0x7cf55c78 Sampler=0 Type=MINFILTER Value=00000001
nine:device9:SetSamplerState: This=0x7cf55c78 Sampler=0 Type=MAGFILTER Value=00000001
nine:device9:SetTextureStageState: Stage=0 Type=11 Value=00000000
nine:nine_dump_D3DTSS_value: D3DTSS_TEXCOORDINDEX = PASSTHRU 0
nine:device9:SetPixelShader: This=0x7cf55c78 pShader=0x7ba60b58
nine:device9:SetTexture: This=0x7cf55c78 Stage=0 pTexture=0x7ba57f50
nine:device9:DrawPrimitiveUP: iface 0x7cf55c78, PrimitiveType 4, PrimitiveCount 2, data 0x32d8cc, stride 48
nine:nine_update_state: changed state groups: 13f | 801e80
nine:nine_ff_update: vs=(nil) ps=0x7ba60b58
nine:update_framebuffer:
nine:basetexture9:UpdateSamplerView: sampler view = 0x7d5be070(resource = 0x7ba58018)
nine:basetexture9:Dump:
NineBaseTexture9(0x7ba59050->(nil)/(nil)): Pool=MANAGED Type=TEXTURE Usage=
Format=D3DFMT_A8R8G8B8 Dims=1x1x1/1 LastLevel=0 Lod=0(4294967295)
basetexture9.c:438:NineBaseTexture9_UpdateSamplerView: Assertion `resource' failed.
nine:texture9:ctor: (0x7ba59050) Width=X Height=X Levels=1 Usage= Format=D3DFMT_XX Pool=MANAGED pSharedHandle=(nil)
nine:surface9:ctor: This=0x7ba59158 pDevice=0x7cf55c78 pResource=(nil) Level=0 Layer=0 pDesc=0x322823c
nine:surface9:AllocateData: (0x7ba59050(This=0x7ba59158),level=0) Allocating 0x4 bytes of system memory.
nine:surface9:Dump:
NineSurface9(0x7ba59158->(nil)/0x7ba59270): Pool=MANAGED Type=SURFACE Usage=
Dims=1x1 Format=D3DFMT_XX Stride=4 Lockable=0
Level=0(0), Layer=0
nine:basetexture9:Dump:
NineBaseTexture9(0x7ba59050->(nil)/(nil)): Pool=MANAGED Type=TEXTURE Usage=
Format=D3DFMT_XX Dims=1x1x1/1 LastLevel=0 Lod=0(4294967295)
nine:device9:SetTexture: This=0x7cf55c78 Stage=0 pTexture=0x7ba59050
nine:device9:SetTexture: This=0x7cf55c78 Stage=1 pTexture=0x7ba59050
from my NFS: Porshe with nGlide (XX are just padded things to fit into GuildWars log, these values shouldn't matter)
nine:texture9:ctor: (0xe0cf8f28) Width=X Height=X Levels=1 Usage= Format=D3DFMT_L8 Pool=MANAGED pSharedHandle=(nil)
nine:surface9:ctor: This=0xe0cb98c0 pDevice=0xeabe5350 pResource=(nil) Level=0 Layer=0 pDesc=0x37ce300
nine:surface9:AllocateData: (0xe0cf8f28(This=0xe0cb98c0),level=0) Allocating 0xX bytes of system memory.
nine:surface9:Dump:
NineSurface9(0xe0cb98c0->(nil)/0xe092a760): Pool=MANAGED Type=SURFACE Usage=
Dims=XxX Format=D3DFMT_XX Stride=X Lockable=0
Level=0(0), Layer=0
nine:basetexture9:Dump:
NineBaseTexture9(0xe0cf8f28->(nil)/(nil)): Pool=MANAGED Type=TEXTURE Usage=
Format=D3DFMT_L8 Dims=XxXx1/1 LastLevel=0 Lod=0(4294967295)
nine:device9:SetTexture: This=0xeabe5350 Stage=X pTexture=0xe0cf8f28
UPDATE: so it seems only difference between working examples and this is that SetTexture is used directly after creating texture. Not sure so seems like SetTexture could be guilty
Backtrace: =>0 0xf66a964b _debug_assert_fail+0x3e(expr="resource", file="basetexture9.c", line=0x1b6, function="NineBaseTexture9_UpdateSamplerView") [/home/abuild/rpmbuild/BUILD/Mesa-3D-master/src/gallium/auxiliary/util/u_debug.c:309] in libd3dadapter9.so.0 (0x00000000) 1 0xf67a022b NineBaseTexture9_UpdateSamplerView+0x6a(This=0xf0ec3ee8, sRGB=0) [/home/abuild/rpmbuild/BUILD/Mesa-3D-master/src/gallium/state_trackers/nine/basetexture9.c:438] in libd3dadapter9.so.0 (0x00000000) 2 0xf67f3ca6 update_textures_and_samplers+0xe7(device=0xf2949610) [/home/abuild/rpmbuild/BUILD/Mesa-3D-master/src/gallium/state_trackers/nine/basetexture9.h:120] in libd3dadapter9.so.0 (0x00000000) 3 0xf67f46a7 nine_update_state+0x552(device=0xf2949610, mask=0xffffffff) [/home/abuild/rpmbuild/BUILD/Mesa-3D-master/src/gallium/state_trackers/nine/nine_state.c:843] in libd3dadapter9.so.0 (0x01f037fe) 4 0xf67a72d6 NineDevice9_DrawIndexedPrimitive+0x11c(This=0xf2949610, PrimitiveType=D3DPT_TRIANGLELIST, BaseVertexIndex=0, MinVertexIndex=0, NumVertices=0x4a, StartIndex=0, PrimitiveCount=0x78) [/home/abuild/rpmbuild/BUILD/Mesa-3D-master/src/gallium/state_trackers/nine/device9.c:2465] in libd3dadapter9.so.0 (0x00000000) 5 0x0048a980 in gw2 (+0x8a97f) (0x037ce540) 6 0x0044737c in gw2 (+0x4737b) (0x037ce560) 7 0x004480e9 in gw2 (+0x480e8) (0x037ce56c) 8 0x00446a0a in gw2 (+0x46a09) (0x037ce608) 9 0x0044daee in gw2 (+0x4daed) (0x037ce650) 10 0x0044d770 in gw2 (+0x4d76f) (0x037ce674) 11 0x0044e573 in gw2 (+0x4e572) (0x037ce6a0) 12 0x00419d87 in gw2 (+0x19d86) (0x037ce754) 13 0x00814cae in gw2 (+0x414cad) (0x037ce784) 14 0x0081437b in gw2 (+0x41437a) (0x037ce794) 15 0x00813fb6 in gw2 (+0x413fb5) (0x037ce7b0) 16 0x008142ab in gw2 (+0x4142aa) (0x037ce7c0) 17 0x0101ca1b in gw2 (+0xc1ca1a) (0x037ce804) 18 0x0101cbe7 in gw2 (+0xc1cbe6) (0x037ce81c) 19 0x0100d5fc in gw2 (+0xc0d5fb) (0x037ce838) 20 0x0071bd49 in gw2 (+0x31bd48) (0x037ce864) 21 0x0071df3e in gw2 (+0x31df3d) (0x037ce90c) 22 0x005c9d39 in gw2 (+0x1c9d38) (0x037ce96c) 23 0x005cafb9 in gw2 (+0x1cafb8) (0x037ce9a4) 24 0x005c95df in gw2 (+0x1c95de) (0x037ce9c4) 25 0x00540e1f in gw2 (+0x140e1e) (0x037ce9fc) 26 0x00540f47 in gw2 (+0x140f46) (0x037cea08) 27 0x7bc798d0 call_thread_func_wrapper+0xb() in ntdll (0x037cea18) 28 0x7bc7c2b8 call_thread_func+0x4a(entry=0x540ecb, arg=0x23c44c8, frame=0x37ceb08) [/home/abuild/rpmbuild/BUILD/wine-master/dlls/ntdll/signal_i386.c:2637] in ntdll (0x037ceae8) 29 0x7bc798ae call_thread_entry_point+0x11() in ntdll (0x037ceb08) 30 0x7bc81ce7 start_thread+0xe6(info=0x81fb8fb8) [/home/abuild/rpmbuild/BUILD/wine-master/dlls/ntdll/thread.c:429] in ntdll (0x037cf358) 31 0xf751ef12 start_thread+0xd1() in libpthread.so.0 (0x037cf428) 32 0xf7452ebe clone+0x5d() in libc.so.6 (0x00000000) 33 0xf7452ebe clone+0x5d() in libc.so.6 (0x00000000) 34 0xf7452ebe __clone+0x5d() in libc.so.6 (0x00000000)
Our handling of POOL_MANAGED is very complex and has issues, I added a task to the trello to refactor the code and change some behaviour. This should fix this bug.
Can you retest recent git from iXit/Mesa ? Does still issue occur?
Ok, It`s all work :)
Why you do not close a bug?
because we only have workaround for it. Proper fix is not there yet
The proper fix is now on master. Closing.
When I try to run the Guild Wars 2, the nine shows the error:
basetexture9.c:438:NineBaseTexture9_UpdateSamplerView: Assertion `resource' failed.
Radeon 6850, last build of gallium-nine.
FULL LOG:
https://www.mediafire.com/?anydu0a6ibtrr4z