Mesa-3D icon indicating copy to clipboard operation
Mesa-3D copied to clipboard

Risen won't start under gallium nine

Open karolherbst opened this issue 9 years ago • 6 comments

After starting risen ins team I get this log output:

Native Direct3D 9 is active.
For more information visit https://wiki.ixit.cz/d3d9
fixme:wbemprox:client_security_SetBlanket 0x7d66c780, 0x1e5018, 10, 0, (null), 3, 3, (nil), 0x00000000
fixme:wbemprox:client_security_Release 0x7d66c780
fixme:wbemprox:enum_class_object_Next timeout not supported
fixme:wbemprox:wbem_services_CreateInstanceEnum unsupported flags 0x00000030
fixme:dsound:IKsPrivatePropertySetImpl_Get unsupported property: {f2957840-260c-11d1-a4d8-00c04fc28aca}
ATTENTION: default value of option vblank_mode overridden by environment.
fixme:d3d9:d3dadapter9_new 
Native Direct3D 9 is active.
For more information visit https://wiki.ixit.cz/d3d9
ATTENTION: default value of option vblank_mode overridden by environment.
fixme:ddraw:ddraw7_Initialize Ignoring guid {67685559-3106-11d0-b971-00aa00342f9f}.
ATTENTION: default value of option vblank_mode overridden by environment.
fixme:d3d9:d3dadapter9_new 
Native Direct3D 9 is active.
For more information visit https://wiki.ixit.cz/d3d9
fixme:wbemprox:client_security_SetBlanket 0x7d66c780, 0x1e50f0, 10, 0, (null), 3, 3, (nil), 0x00000000
fixme:wbemprox:client_security_Release 0x7d66c780
fixme:wbemprox:wbem_services_CreateInstanceEnum unsupported flags 0x00000030
fixme:dsound:IKsPrivatePropertySetImpl_Get unsupported property: {f2957840-260c-11d1-a4d8-00c04fc28aca}
ATTENTION: default value of option vblank_mode overridden by environment.
fixme:d3d9:d3dadapter9_new 
Native Direct3D 9 is active.
For more information visit https://wiki.ixit.cz/d3d9
fixme:ddraw:ddraw7_Initialize Ignoring guid {67685559-3106-11d0-b971-00aa00342f9f}.
fixme:gameux:GameExplorerImpl_VerifyAccess (0x1e50f0, L"C:\\Program Files (x86)\\Steam\\steamapps\\common\\Risen\\bin\\Risen.exe", 0xd4e964)
ATTENTION: default value of option vblank_mode overridden by environment.
fixme:d3d9:d3dadapter9_new 
Native Direct3D 9 is active.
For more information visit https://wiki.ixit.cz/d3d9
fixme:wbemprox:client_security_SetBlanket 0x7d66c780, 0x39840d8, 10, 0, (null), 3, 3, (nil), 0x00000000
fixme:wbemprox:client_security_Release 0x7d66c780
fixme:wbemprox:wbem_services_CreateInstanceEnum unsupported flags 0x00000030
fixme:dsound:IKsPrivatePropertySetImpl_Get unsupported property: {f2957840-260c-11d1-a4d8-00c04fc28aca}
ATTENTION: default value of option vblank_mode overridden by environment.
fixme:d3d9:d3dadapter9_new 
Native Direct3D 9 is active.
For more information visit https://wiki.ixit.cz/d3d9
fixme:ddraw:ddraw7_Initialize Ignoring guid {67685559-3106-11d0-b971-00aa00342f9f}.
fixme:d3dadapter:DRI3PresentGroup_GetMultiheadCount (0x3984078), stub!
fixme:d3dadapter:DRI3PresentGroup_GetMultiheadCount (0x3984078), stub!
fixme:avrt:AvSetMmThreadCharacteristicsW (L"Audio",0xc16e9d4): stub
fixme:d3d9:Direct3DShaderValidatorCreate9 stub
Resourcecompiler - parsing commandline...
fixme:dbghelp:elf_search_auxv can't find symbol in module

and then the crash

karolherbst avatar Dec 08 '15 20:12 karolherbst

Hi, can you compile mesa with --enable-debug and post the log with NINE_DEBUG=all. Also, make sure you are using native d3d9 dlls.

sarnex avatar Dec 08 '15 20:12 sarnex

well it works with payday 2, so I think my nine setup works, will check the debug stuff later

karolherbst avatar Dec 08 '15 23:12 karolherbst

well here is the log: http://filebin.ca/2PLjSocSKv6H/output.log.xz

karolherbst avatar Dec 09 '15 11:12 karolherbst

It creates a rendertarget as source for StretchRect and draws to it: nine:device9:CreateTexture: This=0x7d518fc0 Width=1920 Height=1080 Levels=1 Usage=RT Format=D3DFMT_R32F Pool=DEFAULT ppOut=0x104e60ac pSharedHandle=(nil)

It creates a rendertarget as destination for StretchRect: nine:device9:CreateTexture: This=0x7d518fc0 Width=480 Height=270 Levels=1 Usage=RT Format=D3DFMT_R32F Pool=DEFAULT ppOut=0x104e2dac pSharedHandle=(nil)

It looks like it crashes in StretchRect: ... nine:device9:SetRenderTarget: This=0x7d518fc0 RenderTargetIndex=0 pRenderTarget=0x70231a00 nine:device9:SetDepthStencilSurface: This=0x7d518fc0 pNewZStencil=(nil) nine:device9:SetViewport: X=0 Y=0 W=480 H=270 MinZ=0.000000 MaxZ=1.000000 nine:device9:StretchRect: This=0x7d518fc0 pSourceSurface=0x7adfa730 pSourceRect=(nil) pDestSurface=0x70231a00 pDestRect=0xd4ee60 Filter=1 nine:device9:StretchRect: pDestRect=(0,0)-(480,270) nine:device9:StretchRect: using pipe->blit() fixme:dbghelp:elf_search_auxv can't find symbol in module

siro20 avatar Dec 23 '15 07:12 siro20

Is it still failing ? We had quite some patches since.

axeldavy avatar Sep 15 '18 17:09 axeldavy

I installed the RisenDemo from Steam and tried it. I was able to start NewGame without issue, using wine-3.18 and current git mesa (soon to be mesa-18.3.0)

It works on r600, please test on RadeonSi and Nouveau.

iiv3 avatar Oct 27 '18 19:10 iiv3