http://bugs.winehq.org/show_bug.cgi?id=25045
Summary: Regression: "Act of War: Direct Action" game crashes on loading screen Product: Wine Version: 1.3.6 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: pp@siedziba.pl
Created an attachment (id=31744) --> (http://bugs.winehq.org/attachment.cgi?id=31744) Terminal output
The game crashes when starting a mission, on the loading screen.
Bisect result:
ef82681d59ec264b981bb3653ea774044f02fa9c is the first bad commit commit ef82681d59ec264b981bb3653ea774044f02fa9c Author: Henri Verbeet hverbeet@codeweavers.com Date: Mon Feb 1 13:52:57 2010 +0100
wined3d: Handle a zero source value for WINED3DSIH_RCP.
:040000 040000 631cf1be997a0ae11b2feaca92a987fdff47c935 ab263cdcbc9159b5748ba4ec13bdb50172816ef3 M dlls
Software: Ubuntu 10.10 x86_64 Kernel 2.6.35-22 Nvidia driver 260.19.12
http://bugs.winehq.org/show_bug.cgi?id=25045
--- Comment #1 from Piotr Pawlow pp@siedziba.pl 2010-11-06 09:13:17 CDT --- Created an attachment (id=31752) --> (http://bugs.winehq.org/attachment.cgi?id=31752) a hack to make the game work
Looks like the game doesn't like shader outputs to be clamped.
Attaching a patch, with the least amount of changes that still make the game work. Removing anything from this patch breaks the game.
http://bugs.winehq.org/show_bug.cgi?id=25045
Piotr Pawlow pp@siedziba.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, regression URL| |http://www.gamershell.com/d | |ownload_8049.shtml
--- Comment #2 from Piotr Pawlow pp@siedziba.pl 2010-11-06 10:19:41 CDT --- Downloadable demo version exhibit the same problem.
http://bugs.winehq.org/show_bug.cgi?id=25045
--- Comment #3 from Henri Verbeet hverbeet@gmail.com 2010-11-06 10:37:58 CDT --- It actually looks like an (obscure) driver bug, 0x7ae002ce is inside libnvidia-glcore.so.260.19.12. It looks like it's trying to set the FPU control word, but doesn't clear the FPU exception flags before doing that. Since FLT_MAX is a rather large floating point number, it's possible this causes the driver to generate an invalid operation exception in some earlier code.
http://bugs.winehq.org/show_bug.cgi?id=25045
--- Comment #4 from Piotr Pawlow pp@siedziba.pl 2010-11-06 11:48:06 CDT --- Good catch, thank you. Indeed, setting the FLT_MAX to a much lower value makes the game work. The highest still working is somewhere between 9e18 and 1e19.
Will send a bug report to NVidia.
http://bugs.winehq.org/show_bug.cgi?id=25045
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Regression: "Act of War: |"Act of War: Direct Action" |Direct Action" game crashes |game crashes on loading |on loading screen |screen
http://bugs.winehq.org/show_bug.cgi?id=25045
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #5 from Dan Kegel dank@kegel.com 2010-11-08 12:56:47 CST --- I see the post http://www.nvnews.net/vbulletin/showthread.php?s=433b8244124a5c905530893e569... Did you send a bug report to linux-bugs@nvidia.com with the output of nvidia-bug-report.sh, too?
http://bugs.winehq.org/show_bug.cgi?id=25045
--- Comment #6 from Piotr Pawlow pp@siedziba.pl 2010-11-10 05:15:50 CST --- Forum only. The nvidia-bug-report tool mentioned reporting via forum or mail, so I chose forum.
There is a new release of NVidia driver available (260.19.21), so when I get some time I'll retest against the new version. If it still crashes, should I send bug report via email too?
http://bugs.winehq.org/show_bug.cgi?id=25045
--- Comment #7 from Dan Kegel dank@kegel.com 2010-11-10 07:24:41 CST --- Yes, please. But either way, your bug report to nvidia will probably be ignored by them until you include a tiny test case in C that reproduces the problem without Wine. If you want their attention, please add that to your forum post without waiting for the next driver release.
If you get a response with a tracking number, please add it here.
http://bugs.winehq.org/show_bug.cgi?id=25045
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|regression | CC| |mstefani@redhat.com
--- Comment #8 from Michael Stefaniuc mstefani@redhat.com 2010-11-12 16:29:01 CST --- Removing the "regression" keyword as this is a GL driver bug that just happened to be exposed by a change in Wine.
http://bugs.winehq.org/show_bug.cgi?id=25045
--- Comment #9 from Piotr Pawlow pp@siedziba.pl 2010-11-14 15:05:43 CST --- Still there in 260.19.21:
wine: Unhandled exception 0xc0000090 at address 0x0000:0x7adffa4a (thread 0009), starting debugger... [...] ELF 7a14f000-7b800000 Deferred libnvidia-glcore.so.260.19.21
This time I sent a bug report via email. Will post if I get a response.
My attempt to make a test case ended at trying to compile BuGLe to trace OpenGL calls, and I doubt I will ever go back to it, as it's very low on my to-do list.
http://bugs.winehq.org/show_bug.cgi?id=25045
Dennis Schridde devurandom@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |devurandom@gmx.net
--- Comment #10 from Dennis Schridde devurandom@gmx.net 2011-02-20 14:38:11 CST --- I think I experience the same bug in Baldur's Gate 1 and nVidia drivers 270.18 as well as 260.19.36: --- fixme:ntoskrnl:KeInitializeTimerEx stub: 0x110fb8 0 wine: Unhandled page fault on read access to 0xfffffff8 at address 0x7b67e465 (thread 0009), starting debugger... Unhandled exception: page fault on read access to 0xfffffff8 in 32-bit code (0x7b67e465). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:7b67e465 ESP:0032ac88 EBP:7de44d70 EFLAGS:00010202( R- -- I - - - ) EAX:00000001 EBX:7de2ce70 ECX:00000001 EDX:7de68bb0 ESI:00000000 EDI:fffffff8 Stack dump: 0x0032ac88: 0000000a 7de44d70 f746e1c1 f75733a0 0x0032ac98: 7de2ce70 00000000 7de68bb0 7b938f7e 0x0032aca8: 00000000 00000000 7de44d70 7b4e2931 0x0032acb8: 7de2ce70 00000003 7cd40c40 7b4846d5 0x0032acc8: 7de68bb0 00000000 7be677c8 7b943bd7 0x0032acd8: 7ccf1000 7ccf1000 7be677c8 7b4919e2 Backtrace: =>0 0x7b67e465 in libnvidia-glcore.so.270.18 (+0xe86465) (0x7de44d70) 1 0x7ccb1008 (0x7ccb1008) 0x7b67e465: movl 0xfffffff8(%esi),%edx Modules: Module Address Debug info Name (90 modules) PE 400000- 8db000 Deferred bgmain2 ELF 7a7f8000-7bf00000 Dwarf libnvidia-glcore.so.270.18 ELF 7bf00000-7bf04000 Deferred <wine-loader> ELF 7da0c000-7dad9000 Deferred libgl.so.1 ELF 7db4f000-7db5a000 Deferred libnss_nis.so.2 ELF 7db5a000-7db75000 Deferred libnsl.so.1 ELF 7db75000-7db7e000 Deferred libnss_compat.so.2 ELF 7db7e000-7db8a000 Deferred libnss_files.so.2 ELF 7db8a000-7dba3000 Deferred libresolv.so.2 ELF 7dba3000-7dba7000 Deferred libkeyutils.so.1 ELF 7dba7000-7dbaf000 Deferred libkrb5support.so.0 ELF 7dbaf000-7dbd2000 Deferred libk5crypto.so.3 ELF 7dbd2000-7dc82000 Deferred libkrb5.so.3 ELF 7dc82000-7dcb1000 Deferred libgssapi_krb5.so.2 ELF 7dcb1000-7dce6000 Deferred libcups.so.2 ELF 7dce6000-7dd01000 Deferred spoolss<elf> -PE 7dcf0000-7dd01000 \ spoolss ELF 7dd01000-7dd22000 Deferred localspl<elf> -PE 7dd10000-7dd22000 \ localspl ELF 7dd7d000-7dd83000 Deferred libxfixes.so.3 ELF 7dd83000-7dd8d000 Deferred libxcursor.so.1 ELF 7de8d000-7de91000 Deferred libxcomposite.so.1 ELF 7de91000-7de99000 Deferred libxrandr.so.2 ELF 7de99000-7dea3000 Deferred libxrender.so.1 ELF 7dea3000-7dea9000 Deferred libxxf86vm.so.1 ELF 7dea9000-7dead000 Deferred libxinerama.so.1 ELF 7dead000-7dece000 Deferred imm32<elf> -PE 7deb0000-7dece000 \ imm32 ELF 7dece000-7dee8000 Deferred libxcb.so.1 ELF 7dee8000-7df00000 Deferred libice.so.6 ELF 7df00000-7e01e000 Deferred libx11.so.6 ELF 7e01e000-7e0c7000 Deferred winex11<elf> -PE 7e030000-7e0c7000 \ winex11 ELF 7e0c7000-7e14d000 Deferred libfreetype.so.6 ELF 7e14d000-7e18f000 Deferred libncurses.so.5 ELF 7e193000-7e197000 Deferred libcom_err.so.2 ELF 7e197000-7e1cb000 Deferred uxtheme<elf> -PE 7e1a0000-7e1cb000 \ uxtheme ELF 7e1cb000-7e303000 Deferred wined3d<elf> -PE 7e1d0000-7e303000 \ wined3d ELF 7e33f000-7e345000 Deferred libxdmcp.so.6 ELF 7e345000-7e358000 Deferred libz.so.1 ELF 7e358000-7e3b5000 Deferred ddraw<elf> -PE 7e360000-7e3b5000 \ ddraw ELF 7e3b5000-7e3fd000 Deferred dsound<elf> -PE 7e3c0000-7e3fd000 \ dsound ELF 7e3fd000-7e471000 Deferred rpcrt4<elf> -PE 7e410000-7e471000 \ rpcrt4 ELF 7e471000-7e573000 Deferred ole32<elf> -PE 7e490000-7e573000 \ ole32 ELF 7e573000-7e5b1000 Deferred winmm<elf> -PE 7e580000-7e5b1000 \ winmm ELF 7e5b1000-7e5e6000 Deferred dplayx<elf> -PE 7e5c0000-7e5e6000 \ dplayx ELF 7e5e6000-7e61d000 Deferred winspool<elf> -PE 7e5f0000-7e61d000 \ winspool ELF 7e61d000-7e70c000 Deferred comctl32<elf> -PE 7e630000-7e70c000 \ comctl32 ELF 7e70c000-7e76f000 Deferred shlwapi<elf> -PE 7e720000-7e76f000 \ shlwapi ELF 7e76f000-7e931000 Deferred shell32<elf> -PE 7e780000-7e931000 \ shell32 ELF 7e931000-7e9cf000 Deferred comdlg32<elf> -PE 7e940000-7e9cf000 \ comdlg32 ELF 7e9cf000-7e9e8000 Deferred version<elf> -PE 7e9d0000-7e9e8000 \ version ELF 7e9e8000-7ea44000 Deferred advapi32<elf> -PE 7e9f0000-7ea44000 \ advapi32 ELF 7ea44000-7eacf000 Deferred gdi32<elf> -PE 7ea50000-7eacf000 \ gdi32 ELF 7eacf000-7ebfe000 Deferred user32<elf> -PE 7eae0000-7ebfe000 \ user32 ELF 7edfe000-7eee2000 Deferred kernel32<elf> -PE 7ee10000-7eee2000 \ kernel32 ELF 7eee2000-7ef09000 Deferred libm.so.6 ELF 7ef09000-7ef0b000 Deferred libnvidia-tls.so.270.18 ELF 7ef0c000-7ef10000 Deferred libxau.so.6 ELF 7ef10000-7ef15000 Deferred libuuid.so.1 ELF 7ef15000-7ef45000 Deferred ws2_32<elf> -PE 7ef20000-7ef45000 \ ws2_32 ELF 7ef45000-7f000000 Deferred ntdll<elf> -PE 7ef60000-7f000000 \ ntdll ELF f73e0000-f73ef000 Deferred libxext.so.6 ELF f73f1000-f73f5000 Deferred libdl.so.2 ELF f73f5000-f7576000 Deferred libc.so.6 ELF f7576000-f7590000 Deferred libpthread.so.0 ELF f75c3000-f75cc000 Deferred libsm.so.6 ELF f75cc000-f770d000 Dwarf libwine.so.1 ELF f770e000-f772e000 Deferred ld-linux.so.2 ELF f772e000-f772f000 Deferred [vdso].so Threads: process tid prio (all id:s are in hex) 00000008 (D) C:\Program Files\Black Isle\Baldur's Gate\BGMain2.exe 00000029 0 00000009 0 <== 0000000e services.exe 00000027 0 00000022 0 0000001d 0 00000018 0 00000017 0 00000014 0 00000010 0 0000000f 0 00000011 winedevice.exe 00000019 0 00000013 0 00000012 0 00000015 explorer.exe 00000016 0 0000001a winedevice.exe 0000001e 0 0000001c 0 0000001b 0 0000001f winedevice.exe 00000023 0 00000021 0 00000020 0 00000024 plugplay.exe 00000028 0 00000026 0 00000025 0 Backtrace: =>0 0x7b67e465 in libnvidia-glcore.so.270.18 (+0xe86465) (0x7de44d70) 1 0x7ccb1008 (0x7ccb1008)
http://bugs.winehq.org/show_bug.cgi?id=25045
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #11 from joaopa jeremielapuree@yahoo.fr 2011-05-15 17:48:20 CDT --- INVALID: nvidia driver bug.
http://bugs.winehq.org/show_bug.cgi?id=25045
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #12 from Juan Lang juan_lang@yahoo.com 2011-05-15 18:50:46 CDT --- Indeed, invalid.
http://bugs.winehq.org/show_bug.cgi?id=25045
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #13 from Juan Lang juan_lang@yahoo.com 2011-05-15 18:50:57 CDT --- Closing invalid.