http://bugs.winehq.org/show_bug.cgi?id=19848
Summary: Arma 2: Crash on startup Product: Wine Version: 1.1.27 Platform: PC URL: http://www.arma2.com/ OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: telliangun@gmail.com
Created an attachment (id=23261) --> (http://bugs.winehq.org/attachment.cgi?id=23261) Terminal output and backtrace
Arma 2 version 1.03 starts up in fullscreen mode (black screen) and crashes 2 seconds later with the 'this program has encountered an error and must close' dialog.
I've attached the output given by wine.
http://bugs.winehq.org/show_bug.cgi?id=19848
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #23261|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=19848
--- Comment #1 from Juan Lang juan_lang@yahoo.com 2009-08-26 18:16:01 --- Try installing a native d3dx9_36.dll with: wget http://www.kegel.com/wine/winetricks sh winetricks d3dx9
http://bugs.winehq.org/show_bug.cgi?id=19848
--- Comment #2 from Bontas Marcel telliangun@gmail.com 2009-08-26 19:21:55 --- (In reply to comment #1)
Try installing a native d3dx9_36.dll with: wget http://www.kegel.com/wine/winetricks sh winetricks d3dx9
Yeah, I've tried that already. That only removes this line: "wine: Unimplemented function d3dx9_36.dll.D3DXFloat32To16Array called at address 0x7b841e48 (thread 0009), starting debugger... "
It does nothing else, game still crashes on startup.
http://bugs.winehq.org/show_bug.cgi?id=19848
--- Comment #3 from Juan Lang juan_lang@yahoo.com 2009-08-26 19:28:44 --- Please attach the terminal output and backtrace with d3dx9_36.dll installed, then.
http://bugs.winehq.org/show_bug.cgi?id=19848
Bontas Marcel telliangun@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #23261|0 |1 is obsolete| |
--- Comment #4 from Bontas Marcel telliangun@gmail.com 2009-08-26 20:03:54 --- Created an attachment (id=23263) --> (http://bugs.winehq.org/attachment.cgi?id=23263) Terminal output and backtrace with d3dx9_36.dll
http://bugs.winehq.org/show_bug.cgi?id=19848
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #23263|application/octet-stream |text/plain mime type| | Attachment #23263|arma2_dx9 |arma2_dx9.txt filename| |
--- Comment #5 from Austin English austinenglish@gmail.com 2009-08-26 21:23:29 --- (From update of attachment 23263) Use .txt in the future
http://bugs.winehq.org/show_bug.cgi?id=19848
--- Comment #6 from Vitaliy Margolen vitaliy@kievinfo.com 2009-08-26 21:49:13 --- What video card and driver? Is this problem present in free demo?
http://bugs.winehq.org/show_bug.cgi?id=19848
--- Comment #7 from Bontas Marcel telliangun@gmail.com 2009-08-26 21:52:57 --- (In reply to comment #6)
What video card and driver? Is this problem present in free demo?
Asus 9800 GTX OC2, driver is nvidia version 190.18
2.45 GB for a demo. Wow, ok downloading now.
http://bugs.winehq.org/show_bug.cgi?id=19848
--- Comment #8 from Vitaliy Margolen vitaliy@kievinfo.com 2009-08-26 22:17:40 --- Thanks, one more question:
Z:\win\root\Program Files\Bohemia Interactive\ArmA 2\arma2.exe
Are you running it off of windows partition? If so, this bug would be invalid. Reinstall under Linux on Linux native FS (not ntfs, not fat, not nfs).
http://bugs.winehq.org/show_bug.cgi?id=19848
--- Comment #9 from Bontas Marcel telliangun@gmail.com 2009-08-26 22:22:15 --- (In reply to comment #8)
Thanks, one more question:
Z:\win\root\Program Files\Bohemia Interactive\ArmA 2\arma2.exe
Are you running it off of windows partition? If so, this bug would be invalid. Reinstall under Linux on Linux native FS (not ntfs, not fat, not nfs).
The game was not installed under Windows, it's installed using Wine but on a ntfs partition so I can access it both under linux and windows. Besides, my linux fs on this computer only has 20 gb as compared to the 600 gb ntfs.
If it's installed using wine but on a ntfs filesystem, would this bug be considered invalid?
http://bugs.winehq.org/show_bug.cgi?id=19848
--- Comment #10 from Bontas Marcel telliangun@gmail.com 2009-08-26 22:35:13 --- Created an attachment (id=23265) --> (http://bugs.winehq.org/attachment.cgi?id=23265) Terminal output for Arma 2 DEMO
http://bugs.winehq.org/show_bug.cgi?id=19848
--- Comment #11 from Bontas Marcel telliangun@gmail.com 2009-08-26 22:35:51 --- Created an attachment (id=23266) --> (http://bugs.winehq.org/attachment.cgi?id=23266) Arma 2 DEMO Menu (corrupted)
http://bugs.winehq.org/show_bug.cgi?id=19848
--- Comment #12 from Bontas Marcel telliangun@gmail.com 2009-08-26 22:37:36 --- The DEMO on an ext3 filesystem crashed the first two times, but now it seems to start, and show a corrupted main menu (see image).
The menu will not accept any input. Also check the terminal output.
Also, I can install ArmA 2 1.03 fullgame on an ext3 partition instead of ntfs if it really is a big deal.
http://bugs.winehq.org/show_bug.cgi?id=19848
--- Comment #13 from Henri Verbeet hverbeet@gmail.com 2009-08-27 04:11:15 --- Is that the complete output? If so, could you try with current git (preferred) or 1.1.28 and attach the output when run with WINEDEBUG="+d3d,+d3d9"?
http://bugs.winehq.org/show_bug.cgi?id=19848
--- Comment #14 from Bontas Marcel telliangun@gmail.com 2009-08-27 04:12:50 --- (In reply to comment #13)
Is that the complete output? If so, could you try with current git (preferred) or 1.1.28 and attach the output when run with WINEDEBUG="+d3d,+d3d9"?
Just installed 1.1.28, but should I run ArmA 2 1.03 full or ArMa 2 Demo ?
http://bugs.winehq.org/show_bug.cgi?id=19848
--- Comment #15 from Bontas Marcel telliangun@gmail.com 2009-08-27 04:16:05 --- Created an attachment (id=23267) --> (http://bugs.winehq.org/attachment.cgi?id=23267) ArmA 2 Demo startup fail 1.1.28
http://bugs.winehq.org/show_bug.cgi?id=19848
--- Comment #16 from Bontas Marcel telliangun@gmail.com 2009-08-27 04:17:05 --- Apparently I can't run ArmA 2 Demo anymore now after upgrading to 1.1.28 as it gives me a dialog with an error message.
I've attached an image.
http://bugs.winehq.org/show_bug.cgi?id=19848
--- Comment #17 from Henri Verbeet hverbeet@gmail.com 2009-08-27 04:18:05 --- (In reply to comment #14)
Just installed 1.1.28, but should I run ArmA 2 1.03 full or ArMa 2 Demo ?
The demo, since we can relatively easily test that one ourselves if needed.
http://bugs.winehq.org/show_bug.cgi?id=19848
--- Comment #18 from Henri Verbeet hverbeet@gmail.com 2009-08-27 04:18:56 --- (In reply to comment #16)
Apparently I can't run ArmA 2 Demo anymore now after upgrading to 1.1.28 as it gives me a dialog with an error message.
I've attached an image.
Probably a regression, could you do a regression test?
http://bugs.winehq.org/show_bug.cgi?id=19848
--- Comment #19 from Bontas Marcel telliangun@gmail.com 2009-08-27 04:27:02 --- (In reply to comment #18)
(In reply to comment #16)
Apparently I can't run ArmA 2 Demo anymore now after upgrading to 1.1.28 as it gives me a dialog with an error message.
I've attached an image.
Probably a regression, could you do a regression test?
Downgraded to 1.1.27 but strangely enough I get the same dialog error now.
http://bugs.winehq.org/show_bug.cgi?id=19848
Bontas Marcel telliangun@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #23263|Terminal output and |Terminal output and description|backtrace with d3dx9_36.dll |backtrace with d3dx9_36.dll | |(1.1.27)
http://bugs.winehq.org/show_bug.cgi?id=19848
Bontas Marcel telliangun@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #23261|Terminal output and |Terminal output and description|backtrace |backtrace (1.1.27)
http://bugs.winehq.org/show_bug.cgi?id=19848
Bontas Marcel telliangun@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #23265|Terminal output for Arma 2 |Terminal output for Arma 2 description|DEMO |DEMO (1.1.27)
http://bugs.winehq.org/show_bug.cgi?id=19848
Bontas Marcel telliangun@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #23266|Arma 2 DEMO Menu |Arma 2 DEMO Corrupted Menu description|(corrupted) |(1.1.27)
http://bugs.winehq.org/show_bug.cgi?id=19848
Bontas Marcel telliangun@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #23267|ArmA 2 Demo startup fail |ArmA 2 Demo startup fail description|1.1.28 |(1.1.28)
http://bugs.winehq.org/show_bug.cgi?id=19848
Bontas Marcel telliangun@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #23267|ArmA 2 Demo startup fail |ArmA 2 DEMO startup fail description|(1.1.28) |(1.1.28)
http://bugs.winehq.org/show_bug.cgi?id=19848
--- Comment #20 from Bontas Marcel telliangun@gmail.com 2009-08-27 04:56:06 --- I think I know why it's giving me that error dialog. When I ran Arma 2 full/DEMO I was using a patch for crysis that fixed crashes for that game. That could've fixed a couple of things or two with Arma 2.
1.1.27 with crysis patch -> arma 2 demo entered the main menu with graphical glitches, arma 2 1.03 full crashes
1.1.28 or 1.1.27 without patch -> arma 2 demo and arma 2 1.03 full give the startup fail dialog error.
-- I'm still not sure of this, let me recompile wine with that patch and see if it changes anything. If it does, I'll attach the patch here.
http://bugs.winehq.org/show_bug.cgi?id=19848
--- Comment #21 from Bontas Marcel telliangun@gmail.com 2009-08-27 05:05:30 --- Created an attachment (id=23268) --> (http://bugs.winehq.org/attachment.cgi?id=23268) Crysis Patch that fixes arma 2 error dialog in attachment #23267
http://bugs.winehq.org/show_bug.cgi?id=19848
--- Comment #22 from Bontas Marcel telliangun@gmail.com 2009-08-27 05:10:59 --- Yeah, confirmed, the crysis patch fixes the error dialog in attachment #23267. I can now get to the main menu in the DEMO in both 1.1.27 and 1.1.28
I would attach the debug output of +d3d,+d3d9 but it's very very large (>100mb)
http://bugs.winehq.org/show_bug.cgi?id=19848
--- Comment #23 from Henri Verbeet hverbeet@gmail.com 2009-08-27 05:14:24 --- Up to the first GL_INVALID_OPERATION should be enough.
http://bugs.winehq.org/show_bug.cgi?id=19848
--- Comment #24 from Bontas Marcel telliangun@gmail.com 2009-08-27 05:19:17 --- (In reply to comment #23)
Up to the first GL_INVALID_OPERATION should be enough.
The first GL_INVALID_OPERATION pops up about 60 mb from the start of the output.
http://bugs.winehq.org/show_bug.cgi?id=19848
--- Comment #25 from Bontas Marcel telliangun@gmail.com 2009-08-27 05:51:06 --- Created an attachment (id=23269) --> (http://bugs.winehq.org/attachment.cgi?id=23269) Arma 2 DEMO +d3d,+d3d9 Chunk #1 (1.1.28)
http://bugs.winehq.org/show_bug.cgi?id=19848
--- Comment #26 from Bontas Marcel telliangun@gmail.com 2009-08-27 05:52:48 --- I've created an attachment with a chunk of the +d3d,+d3d9 output from the start to about ~3800 lines.
I don't know if it's enough to isolate the problem or a part of the problem, but the full output is way to large for an upload.
http://bugs.winehq.org/show_bug.cgi?id=19848
--- Comment #27 from Henri Verbeet hverbeet@gmail.com 2009-08-27 07:10:01 --- It should compress pretty well, but if it's still too large after that you can also just send me an email.
http://bugs.winehq.org/show_bug.cgi?id=19848
Bontas Marcel telliangun@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #23269|0 |1 is obsolete| |
--- Comment #28 from Bontas Marcel telliangun@gmail.com 2009-08-27 14:41:00 --- Created an attachment (id=23283) --> (http://bugs.winehq.org/attachment.cgi?id=23283) Arma 2 DEMO +d3d,+d3d9 Full Output (1.1.28)
http://bugs.winehq.org/show_bug.cgi?id=19848
Bontas Marcel telliangun@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #23283|application/octet-stream |application/x-7z-compressed mime type| |
http://bugs.winehq.org/show_bug.cgi?id=19848
--- Comment #29 from Bontas Marcel telliangun@gmail.com 2009-08-27 14:43:21 --- (In reply to comment #27)
It should compress pretty well, but if it's still too large after that you can also just send me an email.
You were right. The full 170mb output compressed well into 463kb 7zip archive.
Sorry I couldn't upload a tar.bz2 archive, but it had 1.4mb and the bugzilla wouldn't let me.
http://bugs.winehq.org/show_bug.cgi?id=19848
--- Comment #30 from Henri Verbeet hverbeet@gmail.com 2009-08-27 16:20:34 ---
(In reply to comment #28)
fixme:d3d_shader:print_glsl_info_log Error received from GLSL shader #21: fixme:d3d_shader:print_glsl_info_log Fragment info fixme:d3d_shader:print_glsl_info_log ------------- fixme:d3d_shader:print_glsl_info_log (0) : error C6001: Temporary register limit of 2 exceeded; 3 registers needed to compile program fixme:d3d_shader:set_glsl_shader_program >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from Find glsl program uniform locations @ glsl_shader.c / 4151 fixme:d3d_shader:set_glsl_shader_program >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from glUseProgramObjectARB(programId) @ glsl_shader.c / 4165 fixme:d3d_shader:hardcode_local_constants >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from Hardcoding local constants @ glsl_shader.c / 3702 fixme:d3d_shader:shader_glsl_select >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from glUseProgramObjectARB @ glsl_shader.c / 4293 fixme:d3d_shader:shader_glsl_load_constants >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from glUniform4fvARB @ glsl_shader.c / 667 fixme:d3d_shader:shader_glsl_load_constants >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from glUniform4fvARB @ glsl_shader.c / 667
This wasn't there in the previous log. Regardless, could you add +d3d_shader and +d3d_caps? (i.e., WINEDEBUG="+d3d9,+d3d,+d3d_shader,+d3d_caps" wine arma2.exe &> debug.log). Note that you can use "&>" to redirect Wine debug output to a file.
Are you no longer seeing the crash from http://bugs2.winehq.org/attachment.cgi?id=23265 ? That part is probably the same as bug 18636.
http://bugs.winehq.org/show_bug.cgi?id=19848
--- Comment #31 from Bontas Marcel telliangun@gmail.com 2009-08-27 16:37:26 --- (In reply to comment #30)
(In reply to comment #28)
fixme:d3d_shader:print_glsl_info_log Error received from GLSL shader #21: fixme:d3d_shader:print_glsl_info_log Fragment info fixme:d3d_shader:print_glsl_info_log ------------- fixme:d3d_shader:print_glsl_info_log (0) : error C6001: Temporary register limit of 2 exceeded; 3 registers needed to compile program fixme:d3d_shader:set_glsl_shader_program >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from Find glsl program uniform locations @ glsl_shader.c / 4151 fixme:d3d_shader:set_glsl_shader_program >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from glUseProgramObjectARB(programId) @ glsl_shader.c / 4165 fixme:d3d_shader:hardcode_local_constants >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from Hardcoding local constants @ glsl_shader.c / 3702 fixme:d3d_shader:shader_glsl_select >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from glUseProgramObjectARB @ glsl_shader.c / 4293 fixme:d3d_shader:shader_glsl_load_constants >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from glUniform4fvARB @ glsl_shader.c / 667 fixme:d3d_shader:shader_glsl_load_constants >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from glUniform4fvARB @ glsl_shader.c / 667
This wasn't there in the previous log. Regardless, could you add +d3d_shader and +d3d_caps? (i.e., WINEDEBUG="+d3d9,+d3d,+d3d_shader,+d3d_caps" wine arma2.exe &> debug.log). Note that you can use "&>" to redirect Wine debug output to a file.
Are you no longer seeing the crash from http://bugs2.winehq.org/attachment.cgi?id=23265 ? That part is probably the same as bug 18636.
I haven't applied any patch for source games.
http://bugs2.winehq.org/attachment.cgi?id=23265 isn't a crash. It's the output of wine as it shows the corrupted menu in attachment http://bugs2.winehq.org/attachment.cgi?id=23266 That backtrace is probably from an irrelevant crash on exit.
I have, on the other hand applied http://bugs2.winehq.org/attachment.cgi?id=23268 from bug 18799. The Crysis patch is the one that fixes http://bugs2.winehq.org/attachment.cgi?id=23267
This probably sounds confusing :/
http://bugs.winehq.org/show_bug.cgi?id=19848
--- Comment #32 from Henri Verbeet hverbeet@gmail.com 2009-08-27 17:19:45 --- (In reply to comment #31)
Are you no longer seeing the crash from http://bugs2.winehq.org/attachment.cgi?id=23265 ? That part is probably the same as bug 18636.
I haven't applied any patch for source games.
http://bugs2.winehq.org/attachment.cgi?id=23265 isn't a crash. It's the output of wine as it shows the corrupted menu in attachment http://bugs2.winehq.org/attachment.cgi?id=23266 That backtrace is probably from an irrelevant crash on exit.
I have, on the other hand applied http://bugs2.winehq.org/attachment.cgi?id=23268 from bug 18799. The Crysis patch is the one that fixes http://bugs2.winehq.org/attachment.cgi?id=23267
This probably sounds confusing :/
No, that makes sense. Bug 18636 isn't really specific to source engine games, it sometimes happens when a D3D device is use after its associated window is destroyed, usually on exit. I initially thought you had that crash while running the game, in addition to the broken menu.
The broken menu is most likely related to the shader error mentioned above. On that subject, 2 seems rather low as a limit on the amount of temporary registers, so there's a chance this is just a bug in the driver's GLSL compiler.
http://bugs.winehq.org/show_bug.cgi?id=19848
--- Comment #33 from Bontas Marcel telliangun@gmail.com 2009-08-27 18:25:26 --- I can't attach this file because it's too large, so I've uploaded it to megaupload.
Arma 2 DEMO +d3d,+d3d9,+d3d_shader,+d3d_caps Full Output (1.1.28):
http://www.megaupload.com/?d=78SRUQWF
http://bugs.winehq.org/show_bug.cgi?id=19848
--- Comment #34 from Bontas Marcel telliangun@gmail.com 2009-09-08 05:31:34 --- I have tried running Arma 2 Full/Demo again, this time with wine 1.1.29. Same shader errors and same corrupted menu.
http://bugs.winehq.org/show_bug.cgi?id=19848
Eelis bugs.winehq.org@contacts.eelis.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bugs.winehq.org@contacts.ee | |lis.net
--- Comment #35 from Eelis bugs.winehq.org@contacts.eelis.net 2009-12-26 16:59:02 --- Still fails with wine-1.1.35, same errors.
http://bugs.winehq.org/show_bug.cgi?id=19848
qaridarium@googlemail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |qaridarium@googlemail.com
--- Comment #36 from qaridarium@googlemail.com 2010-05-12 19:49:12 --- this bug is fixed the new problem is that bug : http://bugs.winehq.org/show_bug.cgi?id=21253
http://bugs.winehq.org/show_bug.cgi?id=19848
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #37 from Jeff Zaroyko jeffz@jeffz.name 2010-05-12 20:12:32 --- Reported fixed.
http://bugs.winehq.org/show_bug.cgi?id=19848
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #38 from Alexandre Julliard julliard@winehq.org 2010-05-21 14:39:26 --- Closing bugs fixed in 1.2-rc1.