Snowcat
2011-Oct-25 07:28 UTC
[Wine] Civilization 4 OpenGL problem, Wine 1.3.31 on Mac OS Lion
Hello, all. I have a two Mac mini 4.1 (mid 2010: Intel Core 2 Duo P8600, 4Gb RAM, NVIDIA GeForce 320M, Intel HDA) One has Snowleopard 10.6.8 (32-bit) installed, another - Lion 10.7.2 (64-bit). I have installed Wine 1.3.31 from MacPorts repository on both of them and attempts to run Civilization 4 Complete Edition. I've made dll substitution specific for this game using winetrics (msxml3, vcrun2005). On Snowleopard installation game runs just fine, but on Lion it produces a lot of d3d errors after intro movie/logo are shown. Most of problems reported are: fixme:d3d:debug_fbostatus Unrecognied FBO status 0x00000000 err:d3d:buffer_create_buffer_object Failed to create a VBO with error GL_NO_ERROR (0) The begining of errors log is: ? Code: Mac:~/.wine/drive_c/Relax/Civilization4.Complete/Beyond the Sword$ wine Civ4BeyondSword.exe & [1] 809 fixme:system:SystemParametersInfoW Unimplemented action: 55 (SPI_SETMOUSEKEYS) fixme:system:SystemParametersInfoW Unimplemented action: 59 (SPI_SETSTICKYKEYS) fixme:gameux:GameExplorerImpl_VerifyAccess (0x13c090, L"C:\\Relax\\Civilization4.Complete\\Beyond the Sword\\Civ4BeyondSword.exe", 0x32fb58) fixme:wtsapi:WTSRegisterSessionNotification Stub 0x200f6 0x00000000 'import site' failed; use -v for traceback fixme:win:EnumDisplayDevicesW ((null),0,0x32ef10,0x00000000), stub! fixme:win:EnumDisplayDevicesW ((null),0,0x32f450,0x00000000), stub! fixme:win:EnumDisplayDevicesW ((null),0,0x32f460,0x00000000), stub! fixme:d3d:resource_check_usage Unhandled usage flags 0x8. fixme:d3d:resource_check_usage Unhandled usage flags 0x8. fixme:d3d:resource_check_usage Unhandled usage flags 0x8. fixme:d3d:resource_check_usage Unhandled usage flags 0x8. fixme:win:EnumDisplayDevicesW ((null),0,0x32efa0,0x00000000), stub! fixme:d3d:debug_fbostatus Unrecognied FBO status 0x00000000 fixme:d3d:context_check_fbo_status FBO status unrecognized (0) fixme:d3d:context_check_fbo_status Location SFLAG_INRB_MULTISAMPLE (0x200000). fixme:d3d:context_check_fbo_status Color attachment 0: (0x1809b728) WINED3DFMT_B8G8R8X8_UNORM 1024x768 2 samples. fixme:d3d:context_check_fbo_status Depth attachment: (0x18097628) WINED3DFMT_D24_UNORM_S8_UINT 1024x768 2 samples. fixme:d3d:debug_fbostatus Unrecognied FBO status 0x00000000 fixme:d3d:context_check_fbo_status FBO status unrecognized (0) fixme:d3d:context_check_fbo_status Location SFLAG_INRB_MULTISAMPLE (0x200000). fixme:d3d:context_check_fbo_status Color attachment 0: (0x1809b728) WINED3DFMT_B8G8R8X8_UNORM 1024x768 2 samples. fixme:d3d:context_check_fbo_status Depth attachment: (0x18097628) WINED3DFMT_D24_UNORM_S8_UINT 1024x768 2 samples. fixme:d3d:resource_check_usage Unhandled usage flags 0x8. err:d3d:buffer_create_buffer_object Failed to create a VBO with error GL_NO_ERROR (0) err:d3d:buffer_create_buffer_object Failed to create a vertex buffer object. Continuing, but performance issues may occur fixme:d3d_shader:gen_arbfp_ffp_shader Fragment program error at position 1121140005: (null) fixme:d3d_shader:shader_arb_dump_program_source !!ARBfp1.0 fixme:d3d_shader:shader_arb_dump_program_source PARAM const = {1, 2, 4, 0.5}; fixme:d3d_shader:shader_arb_dump_program_source TEMP TMP; fixme:d3d_shader:shader_arb_dump_program_source TEMP ret; fixme:d3d_shader:shader_arb_dump_program_source TEMP arg0; fixme:d3d_shader:shader_arb_dump_program_source TEMP arg1; fixme:d3d_shader:shader_arb_dump_program_source TEMP arg2; fixme:d3d_shader:shader_arb_dump_program_source PARAM specular_enable = program.env[1]; fixme:d3d_shader:shader_arb_dump_program_source MOV ret, fragment.color.primary; fixme:d3d_shader:shader_arb_dump_program_source MAD result.color, fragment.color.secondary, specular_enable, ret; fixme:d3d_shader:shader_arb_dump_program_source END fixme:d3d_shader:shader_arb_dump_program_source Can anyone give a clue how to solve this problem ?
James McKenzie
2011-Oct-25 16:51 UTC
[Wine] Civilization 4 OpenGL problem, Wine 1.3.31 on Mac OS Lion
On Tue, Oct 25, 2011 at 12:28 AM, Snowcat <wineforum-user at winehq.org> wrote:> Hello, all. > > I have a two Mac mini 4.1 (mid 2010: Intel Core 2 Duo P8600, 4Gb RAM, NVIDIA GeForce 320M, Intel HDA) > > One has Snowleopard 10.6.8 (32-bit) installed,What kind of video card does this system have?> another - Lion 10.7.2 (64-bit).And this one? Also are you using XQuartz on the 10.6.8 system? It might have been installed by MacPorts. James
Snowcat
2011-Oct-26 05:01 UTC
[Wine] Re: Civilization 4 OpenGL problem, Wine 1.3.31 on Mac OS Lion
jjmckenzie wrote:> On Tue, Oct 25, 2011 at 12:28 AM, Snowcat <wineforum-user at winehq.org> wrote: > > What kind of video card does this system have? >Writiing 'two Mac mini' i meant: two IDENTICAL mac mini. So both of them have a NVIDIA GeForce 320M integrated chipset, which uses up to 256Mb of RAM memory and supports DirectX 10.1, Shader 4.1. jjmckenzie wrote:> > Also are you using XQuartz on the 10.6.8 system? >Both versions of Mac OS uses XQuartz as system default (i.e. installed by OS). Snowleopard (10.6.8 ) utilizes XQuartz 2.3.6 (xorg-server 1.4.2-apple56), while Lion (10.7.2) uses XQuartz 2.6.3 (xorg-server 1.10.3) On both OS wine executable is a 'Mach-O executable i386' but OpenGL errors occur only on Lion.
doh123
2011-Oct-26 13:05 UTC
[Wine] Re: Civilization 4 OpenGL problem, Wine 1.3.31 on Mac OS Lion
make sure you've run the recent nvidia graphics update from Apple for 10.7.2 also if you have not. nvidia cards have had some minor issues with drivers so far in 10.7
Snowcat
2011-Nov-09 05:03 UTC
[Wine] Re: Civilization 4 OpenGL problem, Wine 1.3.31 on Mac OS Lion
> Don't. Stick with 2.6.3. At least, for now. > ChipYou were right. As i finally discovered the problematic packages are: libpixman and xrender. Applying recent patches to them solves the problem. I've used MacPorts packages: libpixman-0.24.0_0+universal.darwin_11.i386-x86_64. xrender-0.9.6_1+universal.darwin_11.i386-x86_64