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
http://bugs.winehq.org/show_bug.cgi?id=17216
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|directx-d3d |-unknown
--- Comment #1 from Vitaliy Margolen vitaliy@kievinfo.com 2009-02-01 11:45:30 --- What part of not pasting logs wasn't clear? ATTACH ALL LOGS INSTEAD! Upgrade Wine to wine-1.1.14 and try again. What video card? What driver version?
http://bugs.winehq.org/show_bug.cgi?id=17216
--- Comment #2 from thefirstkeet@gmail.com 2009-02-01 15:58:27 --- Created an attachment (id=19171) --> (http://bugs.winehq.org/attachment.cgi?id=19171) Log of d3d errors
http://bugs.winehq.org/show_bug.cgi?id=17216
thefirstkeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #19171|0 |1 is obsolete| |
--- Comment #3 from thefirstkeet@gmail.com 2009-02-01 15:59:58 --- Created an attachment (id=19172) --> (http://bugs.winehq.org/attachment.cgi?id=19172) d3d errors
http://bugs.winehq.org/show_bug.cgi?id=17216
--- Comment #4 from thefirstkeet@gmail.com 2009-02-01 16:01:21 --- Created an attachment (id=19173) --> (http://bugs.winehq.org/attachment.cgi?id=19173) Backtrace of Crysis 1.1
http://bugs.winehq.org/show_bug.cgi?id=17216
--- Comment #5 from thefirstkeet@gmail.com 2009-02-02 19:23:57 --- Created an attachment (id=19220) --> (http://bugs.winehq.org/attachment.cgi?id=19220) Crysis log with wine-1.1.14, nvidia-drivers-160.27, 9800GTK+
http://bugs.winehq.org/show_bug.cgi?id=17216
--- Comment #6 from thefirstkeet@gmail.com 2009-02-02 19:24:37 --- (In reply to comment #1)
Upgrade Wine to wine-1.1.14 and try again. What video card? What driver version?
I upgraded to wine-1.1.14 (which is in the unstable/untested branch of Gentoo portage). I have an EVGA NVidia 9800 GTX+ am using x11-drivers/nvidia-drivers-180.27 .
I tried loading the game again, and it still doesn't go past the introduction. However, I did see graphics -- what looked like a dark blue background, and I see the outline of the alien ship during the introduction. After the screen turns white, the game crashes. I've attached another log.
http://bugs.winehq.org/show_bug.cgi?id=17216
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE
--- Comment #7 from Vitaliy Margolen vitaliy@kievinfo.com 2009-03-24 10:09:04 --- Duplicate
*** This bug has been marked as a duplicate of bug 16456 ***
http://bugs.winehq.org/show_bug.cgi?id=17216
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Vitaliy Margolen vitaliy@kievinfo.com 2009-03-24 10:10:36 --- Closing dup