http://bugs.winehq.org/show_bug.cgi?id=17216
Summary: Crysis crashes before 3D gameplay Product: Wine Version: 1.1.11 Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: thefirstkeet@gmail.com
I'm using Gentoo Linux AMD64, and wine version 1.1.11. I installed DirectX 9C using this guide:
http://www.wine-reviews.net/microsoft/directx-90c-march-2008-redistributable...
I also edited my registry as follows:
OffscreenRenderingMode=fbo
Then I installed Crysis from the CD and tried running it with a no-cd patch, with "r_glow = 0" in game.cfg, setting all detail settings to high. When I run this:
wine crysis.exe -DEVMODE +map island +exec benchmark_gpu
Then the level loads and I see graphics which look mostly accurate but have bright squares and less-bright squares going like a checkerboard on the screen. Wine gives these messages in the console:
fixme:d3d_surface:surface_load_ds_location (0x1592e8) Not supported with fixed up depth stencil fixme:d3d:context_attach_surface_fbo >>>>>>>>>>>>>>>>> GL_OUT_OF_MEMORY (0x505) from glFramebufferTexture2DEXT() @ context.c / 176 fixme:d3d:color_fill_fbo >>>>>>>>>>>>>>>>> GL_INVALID_FRAMEBUFFER_OPERATION_EXT (0x506) from glClear @ device.c / 6060 fixme:d3d:context_bind_fbo >>>>>>>>>>>>>>>>> GL_OUT_OF_MEMORY (0x505) from glBindFramebuffer() @ context.c / 53 fixme:d3d:context_attach_surface_fbo >>>>>>>>>>>>>>>>> GL_OUT_OF_MEMORY (0x505) from glFramebufferTexture2DEXT() @ context.c / 176 fixme:d3d:color_fill_fbo >>>>>>>>>>>>>>>>> GL_INVALID_FRAMEBUFFER_OPERATION_EXT (0x506) from glClear @ device.c / 6060 fixme:d3d:apply_draw_buffer >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from glDrawBuffers() @ context.c / 1422 fixme:d3d_surface:surface_load_ds_location (0x1592e8) Not supported with fixed up depth stencil fixme:d3d:context_bind_fbo >>>>>>>>>>>>>>>>> GL_OUT_OF_MEMORY (0x505) from glBindFramebuffer() @ context.c / 53 fixme:d3d_surface:surface_load_ds_location (0x1592e8) Not supported with fixed up depth stencil
over and over again.
When I load the normal game, the opening videos play, but with no sound. However, the menu works fine with sound, and the game loads the level successfully. The introduction plays with sound and no video (I think that there is no video during this part, anyway), but it crashes before the 3D visual of the main characters inside the aircraft, so I never actually see any 3D graphics. My settings are all set to high, and I tried it with all set to medium except for Pixel Shaders (high).
While/after the introduction plays, it repeats errors like this over and over:
fixme:d3d:stretch_rect_fbo >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from glBlitFramebuffer() @ device.c / 6452 fixme:d3d_surface:surface_load_ds_location (0x159350) Not supported with fixed up depth stencil fixme:d3d_shader:shader_glsl_select >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from glUseProgramObjectARB @ glsl_shader.c / 3567
Then it crashes with this error:
Backtrace: =>0 0x7bb54e1d in libglcore.so.1 (+0xabfe1d) (0x6747e168) 1 0x00000ca6 (0x00000002) 2 0x00000000 (0x00000000) fixme:ntdll:FILE_GetNtStatus Converting errno 12 to STATUS_UNSUCCESSFUL err:module:load_builtin_dll failed to load .so lib for builtin L"FaultRep.dll": /usr/bin/../lib32/wine/faultrep.dll.so: failed to map segment from shared object: Cannot allocate memory Segmentation fault