Backbuffer problem troubles SimCity4 RH/Deluxe

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
A Nonny Moose
Level 4
Level 4
Posts: 217
Joined: Sun May 09, 2010 5:53 pm

Backbuffer problem troubles SimCity4 RH/Deluxe

Post by A Nonny Moose »

SimCity 4 has a lot of problems of its own that cause it to Crash to the Desktop quite often. However, the failure to provide more than one back buffer makes it hard to run large cities, and has gotten past annoyance for me, at least.

Here is my latest log, from initiation of the game to the point where I finally killed it because the graphics had gone crazy again. My system has
MB of graphics adadpter memory. Something is going radically wrong, and the wine monitor is aware of it, but does nothing.

fixme:system:SystemParametersInfoW Unimplemented action: 94 (SPI_GETMOUSETRAILS)
fixme:win:EnumDisplayDevicesW ((null),0,0x32efd8,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32ef04,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32f5bc,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32f2e4,0x00000000), stub!
fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 16
[u]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.[/u]
fixme:d3d:swapchain_init Add OpenGL context recreation support to context_validate_onscreen_formats
fixme:mixer:ALSA_MixerInit No master control found on HDA ATI HDMI, disabling mixer
fixme:mixer:ALSA_MixerInit No master control found on USB Device 0x46d:0x8ad, disabling mixer
err:alsa:ALSA_CheckSetVolume Could not find 'PCM Playback Volume' element
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x21bab8,0x21bee0): stub
fixme:d3d_surface:IWineD3DSurfaceImpl_BltZ (0x229ebb8): Unsupp depthstencil blit
fixme:d3d_surface:surface_load_location Unimplemented location SFLAG_INSYSMEM for depth/stencil buffers.
fixme:d3d_surface:surface_load_location Unimplemented location SFLAG_INSYSMEM for depth/stencil buffers.
fixme:d3d_surface:IWineD3DBaseSurfaceImpl_Blt Can't handle WINEDDBLT_ASYNC flag right now.
fixme:d3d_surface:IWineD3DSurfaceImpl_Unmap Depth Stencil buffer locking is not implemented
fixme:d3d_surface:IWineD3DSurfaceImpl_BltZ (0x1d2318): Unsupp depthstencil blit
fixme:d3d_surface:surface_load_location Unimplemented location SFLAG_INSYSMEM for depth/stencil buffers.
fixme:d3d_surface:surface_load_location Unimplemented location SFLAG_INSYSMEM for depth/stencil buffers.
fixme:d3d_surface:surface_load_location Unimplemented location SFLAG_INSYSMEM for depth/stencil buffers.
fixme:d3d_surface:IWineD3DSurfaceImpl_Unmap Depth Stencil buffer locking is not implemented
fixme:d3d_surface:IWineD3DSurfaceImpl_Unmap Depth Stencil buffer locking is not implemented
fixme:win:EnumDisplayDevicesW ((null),0,0x32f538,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32f538,0x00000000), stub!
fixme:imm:ImmGetOpenStatus (0x130830): semi-stub
fixme:imm:ImmReleaseContext (0x20020, 0x130830): stub
fixme:d3d:state_zfunc D3DCMP_NOTEQUAL and D3DCMP_EQUAL do not work correctly yet.
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory
err:d3d:resource_init Out of adapter memory

O/S UBUNTU 10.10 x86_64 wine 1.3.8
A Nonny Moose
Level 4
Level 4
Posts: 217
Joined: Sun May 09, 2010 5:53 pm

Additional comment

Post by A Nonny Moose »

Is there any chance that this backbuffer stuff will be fixed in this iteration?
User avatar
DanKegel
Moderator
Moderator
Posts: 1164
Joined: Wed May 14, 2008 11:44 am

Post by DanKegel »

Maybe Wine just doesn't know how much memory your
graphics card has.

http://appdb.winehq.org/objectManager.p ... &iId=10515
suggests setting this manually.

What does
lspci | grep -i vga
say?
A Nonny Moose
Level 4
Level 4
Posts: 217
Joined: Sun May 09, 2010 5:53 pm

Post by A Nonny Moose »

lspci says
01:05.0 VGA compatible controller: ATI Technologies Inc 760G [Radeon 3000]
This is one of the apparently new AMD/ATI fusion chip sets.

I have already tried setting the size in the registry per the instruction on the wiki page.

I do have a work around, and just played without interruption for two hours. I set the program into software rendering. My machine is fast enough so that there is no appreciable difference, except there are no more Crash to Desktop events.

Before the graphics related CTD's I often get error codes from the game. I wish I knew what they are: L"6" and L"7". the L"7" appears to indicate a fatal error and a dump is taken (useless thing, no good info without a load map).

Should it befall, auspiciously, that someone has a list of the programs error codes with their meaning, I would be forever grateful.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

A Nonny Moose wrote:I have already tried setting the size in the registry per the instruction on the wiki page.
Set it larger. Wine won't be supporting multiple backbuffers any time soon.
Locked