D3d and buffering errors

Questions about Wine on Linux
Locked
alex6
Level 2
Level 2
Posts: 16
Joined: Sun Jul 24, 2011 1:40 pm

D3d and buffering errors

Post by alex6 »

When I launch Anno 1404 with wine 1.4.1 or wine 1.2.3, I get the following Output :
wine Anno4.exe
fixme:ntoskrnl:KeInitializeTimerEx stub: 0x110fb0 0
wine: cannot find L"C:\\windows\\system32\\plugplay.exe"
fixme:font:WineEngAddFontResourceEx Ignoring flags 10
fixme:system:SystemParametersInfoW Unimplemented action: 59 (SPI_SETSTICKYKEYS)
fixme:system:SystemParametersInfoW Unimplemented action: 51 (SPI_SETFILTERKEYS)
fixme:system:SetProcessDPIAware stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x33f158,0x00000000), stub!
fixme:d3d:swapchain_init The application requested more than one back buffer, this is not properly supported.
Please configure the application to use double buffering (1 back buffer) if possible.
fixme:d3d:debug_d3dformat Unrecognized 909200449 (as fourcc: AL16) WINED3DFORMAT!
fixme:d3d:getFormatDescEntry Can't find format unrecognized(909200449) in the format lookup table
fixme:d3d:debug_d3dformat Unrecognized 909201952 (as fourcc: R16) WINED3DFORMAT!
fixme:d3d:getFormatDescEntry Can't find format unrecognized(909201952) in the format lookup table
fixme:d3d_surface:IWineD3DVolumeImpl_LockBox (0x69ffd50) : pBox=(nil) stub
fixme:win:EnumDisplayDevicesW ((null),0,0x33f014,0x00000000), stub!
fixme:d3d9:Direct3DShaderValidatorCreate9 stub
Everything works fine but the application is lagging more and more, and I have to close and open again every hour.

I tried to set these Direct 3d options :
UseGLSL to disabled because the lag is even worse with this options enabled
OffScreenRendering mode to fbo, because setting it to backbuffer only freeze the game before loading
PixelShaderMode to enabled because the game can't run without it
Multisampling to enabled (it was disabled by default) : I dont see any difference and the terminal ouput doesn't have any difference too without or with this option
VideoMemory size : it was 1024 by default, I tried 2048 (in case it was related to "double buffering") but I dont see any difference
DirectDrawRenderer : opengl, didn't tried any other option

I also tried a dll override on d3d9 (because it's on the terminal output errors)

I run with gentoo, my graphical drivers are installed (ati proprietary driver)

With wine 1.4.1 there is even more errors in the terminal output and the sound doesn't work with jack or oss or ossv4 options and dbghelp override doesn't seem to be supported anymore.With 1.2.3 the sound work both with jack and oss. (sound lags with jack, no lag with oss)

But my real questions are :
- Do you have any idea about how to correct some of these errors, or any idea of a dll override who could fix that d3d errors or any dll file to copy somewhere, or other Direct3D options ?
- It seems related to buffering and Shaders, no ? Maybe related to the fact the game can run only with directX9 instead of Directx10 (missing libraries in Dx9) ?

I googled these error messages one by one and it seems to be reccurrents errors with wine and various games but I didn't found any solutions (that why I post here)
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: D3d and buffering errors

Post by dimesio »

alex6 wrote:When I launch Anno 1404 with wine 1.4.1 or wine 1.2.3,
Try the latest development release.
Everything works fine but the application is lagging more and more, and I have to close and open again every hour.
http://wiki.winehq.org/Performance
With wine 1.4.1 there is even more errors in the terminal output and the sound doesn't work with jack or oss or ossv4 options
Jack support was removed with the sound system rewrite, and OSS versions older than 4 are also no longer supported. OSSv4 should work in current Wine. If you are using PulseAudio, please read the sticky "Note to PulseAudio Users" at the top of the forum.
Locked