[Bug 15717] New: Far Cry 2 quits when OffscreenRenderingMode=fbo
http://bugs.winehq.org/show_bug.cgi?id=15717 Summary: Far Cry 2 quits when OffscreenRenderingMode=fbo Product: Wine Version: 1.1.6 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs(a)winehq.org ReportedBy: andras(a)csevego.net Created an attachment (id=16801) --> (http://bugs.winehq.org/attachment.cgi?id=16801) +d3d,+d3d_caps,+d3d_draw,+d3d9 fbo mode When I start Far Cry 2 with OffscreenRenderingMode registry setting to fbo, it quits without any error message, but if the setting is pbuffer, it launches successfully. I provide +d3d,+d3d_caps,+d3d_draw,+d3d9 debug in both mode for comparsion. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15717 --- Comment #1 from Andras Kovacs <andras(a)csevego.net> 2008-10-22 14:04:53 --- Created an attachment (id=16802) --> (http://bugs.winehq.org/attachment.cgi?id=16802) +d3d,+d3d_caps,+d3d_draw,+d3d9 pbuffer mode `head 20000` of the full log in gzip -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15717 --- Comment #2 from Lei Zhang <thestig(a)google.com> 2008-10-27 14:26:23 --- What video card / driver version are you using? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15717 --- Comment #3 from Andras Kovacs <andras(a)csevego.net> 2008-10-27 16:45:36 --- OpenGL renderer string: GeForce 8800 GTS/PCI/SSE2 OpenGL version string: 2.1.2 NVIDIA 169.12 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15717 Jeff Zaroyko <jeffz(a)jeffz.name> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jeffz(a)jeffz.name --- Comment #4 from Jeff Zaroyko <jeffz(a)jeffz.name> 2008-10-27 18:08:03 --- I can also reproduce this, wine-1.1.7, setting OffscreenRenderingMode to fbo then launching FarCry2.exe ends with: wine client error:9: write: Bad file descriptor OpenGL renderer string: GeForce 8800 GTS/PCI/SSE2 OpenGL version string: 2.1.2 NVIDIA 177.13 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15717 --- Comment #5 from Jeff Zaroyko <jeffz(a)jeffz.name> 2008-10-27 19:32:28 --- Created an attachment (id=16940) --> (http://bugs.winehq.org/attachment.cgi?id=16940) backtrace showing crash If I run from winedbg then this is the backtrace which is generated. I'm going to try upgrading my nvidia drivers to 177.80 to see if there's any improvement. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15717 --- Comment #6 from Jeff Zaroyko <jeffz(a)jeffz.name> 2008-10-27 20:05:31 --- (In reply to comment #5)
Created an attachment (id=16940) --> (http://bugs.winehq.org/attachment.cgi?id=16940) [details] backtrace showing crash
If I run from winedbg then this is the backtrace which is generated. I'm going to try upgrading my nvidia drivers to 177.80 to see if there's any improvement.
same crash with 177.80 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15717 --- Comment #7 from Jeff Zaroyko <jeffz(a)jeffz.name> 2008-11-28 02:29:48 --- same crash occurs with 180.06 too. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15717 --- Comment #8 from Jeff Zaroyko <jeffz(a)jeffz.name> 2009-01-28 07:48:07 --- (In reply to comment #7)
same crash occurs with 180.06 too.
Tested again With 180.25 fbo, wine-1.1.13-272-gf63d950, just that when you approach water everything is shrouded in brown. Can you retest also Andras? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15717 --- Comment #9 from Andras Kovacs <andras(a)csevego.net> 2009-01-28 13:46:23 --- (In reply to comment #8)
(In reply to comment #7)
same crash occurs with 180.06 too.
Tested again With 180.25 fbo, wine-1.1.13-272-gf63d950, just that when you approach water everything is shrouded in brown.
Can you retest also Andras?
When I'll have access a computer capable running of it, i'll test. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15717 Warren Dumortier <nwarrenfl(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nwarrenfl(a)gmail.com --- Comment #10 from Warren Dumortier <nwarrenfl(a)gmail.com> 2009-03-19 15:36:40 --- Can some dev help to debug the problem? Maybe that if it would work in fbo, the game would run quite fast, so what can we (users) do to help you (devs)? Thanks in advance! ;) -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15717 --- Comment #11 from Jeff Zaroyko <jeffz(a)jeffz.name> 2009-03-19 16:56:16 --- (In reply to comment #10)
Can some dev help to debug the problem? Maybe that if it would work in fbo, the game would run quite fast, so what can we (users) do to help you (devs)?
Thanks in advance! ;)
Did you test it? It works fine for me as per comment #8. nvidia 180.37 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15717 --- Comment #12 from Warren Dumortier <nwarrenfl(a)gmail.com> 2009-03-22 05:46:37 --- (In reply to comment #11)
(In reply to comment #10)
Can some dev help to debug the problem? Maybe that if it would work in fbo, the game would run quite fast, so what can we (users) do to help you (devs)?
Thanks in advance! ;)
Did you test it? It works fine for me as per comment #8. nvidia 180.37
I can't test ATM, but are the FPS/performances better with fbo? Is the game playable? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15717 Jeff Zaroyko <jeffz(a)jeffz.name> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED --- Comment #13 from Jeff Zaroyko <jeffz(a)jeffz.name> 2009-03-22 06:46:58 --- (In reply to comment #12)
(In reply to comment #11)
(In reply to comment #10)
Can some dev help to debug the problem? Maybe that if it would work in fbo, the game would run quite fast, so what can we (users) do to help you (devs)?
Thanks in advance! ;)
Did you test it? It works fine for me as per comment #8. nvidia 180.37
I can't test ATM, but are the FPS/performances better with fbo? Is the game playable?
If you have nothing to add, please do not post to bugzilla. It runs fine on low settings otherwise it runs out of memory and there is some sort of error that occurs near water where the entire screen turns brown. Marking fixed. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15717 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #14 from Alexandre Julliard <julliard(a)winehq.org> 2009-03-27 13:54:17 --- Closing bugs fixed in 1.1.18. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15717 --- Comment #15 from Warren Dumortier <nwarrenfl(a)gmail.com> 2009-03-28 07:38:30 --- Tried today with Wine 1.1.18 and Nvidia 180.37 driver and it still crashes with fbo. I have attached the log, are you sure this bug is fixed? I've installed the game in a clean prefix and added the two missing dll's, with the no-cd of course, but it only doesn't work in fbo! -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15717 --- Comment #16 from Warren Dumortier <nwarrenfl(a)gmail.com> 2009-03-28 07:39:11 --- Created an attachment (id=20159) --> (http://bugs.winehq.org/attachment.cgi?id=20159) Output when using fbo. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15717 Jeff Zaroyko <jeffz(a)jeffz.name> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |UNCONFIRMED Resolution|FIXED | --- Comment #17 from Jeff Zaroyko <jeffz(a)jeffz.name> 2009-03-28 07:49:27 --- hmm, strange, I can't reproduce my earlier success, reopening then -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15717 NSLW <lukasz.wojnilowicz(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lukasz.wojnilowicz(a)gmail.co | |m --- Comment #18 from NSLW <lukasz.wojnilowicz(a)gmail.com> 2009-05-28 10:50:06 --- GFX=NVIDIA 9xxx (drivers 185.18.14) Race Driver : GRID had the same issue but now in Wine 1.1.22 (on Fedora 10 32bit) it works good with ORM=fbo. Could someone check Far Cry 2 if it's fixed too? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15717 --- Comment #19 from Warren Dumortier <nwarrenfl(a)gmail.com> 2009-06-01 06:14:23 --- It still crashes with the "bad file descriptor" error, but i have no idea what causes that. If some skilled wine developer could help us, it would be appreciated. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15717 Radosław Ciechowski <wilczur102(a)o2.pl> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wilczur102(a)o2.pl --- Comment #20 from Radosław Ciechowski <wilczur102(a)o2.pl> 2009-07-06 08:38:06 --- Far Cry 2 is still crashing with OFM=fbo in Wine 1.1.25 (works with pbuffer and backbuffer) -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15717 --- Comment #21 from Henri Verbeet <hverbeet(a)gmail.com> 2009-07-07 07:27:10 --- Most of those logs are missing proper backtraces.
=>1 0x7e79495b IDirect3DDevice9Impl_SetRenderTarget+0x4b(iface=0x1cbdb8, RenderTargetIndex=6, pRenderTarget=0x10f19c) [/home/jeffz/git/wine/dlls/d3d9/device.c:684] in d3d9 (0x7a8cb77c)
0x10f19c doesn't look like a valid surface pointer, and it does appear to crash while dereferencing that. Could you try limiting max_buffers to 4 at http://source.winehq.org/git/wine.git/?a=blob;f=dlls/wined3d/directx.c;h=ff6... and could someone check the value of the NumSimultaneousRTs cap with GF8 and higher cards on Windows? Also, this doesn't have a demo with the same problem, right? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15717 sub.mesa(a)gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sub.mesa(a)gmail.com --- Comment #22 from sub.mesa(a)gmail.com 2009-08-05 05:15:34 --- Confirming: Wine 1.1.26 on clean .wine dir, no registery tweaks used. FBO exits without a real error message (leaving the screen resolution in low state), while with pbuffer registry setting the game launches. I also set the video memory size in the registery. No other tweaks used. Using nVidia GF8600GT 256MB. 180.44 drivers. Running Ubuntu 9.04 amd64. This game runs much slower than Call of Duty 4 under Wine; so i would be keen on testing with fbo as soon as this bug is fixed. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15717 Jeff Zaroyko <jeffz(a)jeffz.name> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 --- Comment #23 from Jeff Zaroyko <jeffz(a)jeffz.name> 2009-08-28 21:35:36 --- (In reply to comment #21)
Most of those logs are missing proper backtraces.
=>1 0x7e79495b IDirect3DDevice9Impl_SetRenderTarget+0x4b(iface=0x1cbdb8, RenderTargetIndex=6, pRenderTarget=0x10f19c) [/home/jeffz/git/wine/dlls/d3d9/device.c:684] in d3d9 (0x7a8cb77c)
0x10f19c doesn't look like a valid surface pointer, and it does appear to crash while dereferencing that. Could you try limiting max_buffers to 4 at http://source.winehq.org/git/wine.git/?a=blob;f=dlls/wined3d/directx.c;h=ff6... and could someone check the value of the NumSimultaneousRTs cap with GF8 and higher cards on Windows?
Also, this doesn't have a demo with the same problem, right?
Limiting max_buffers to 4 at that line lets the game start and run with OffscreenRenderingMode set to fbo. NumSimultaneousRTs is 4 with my nVidia 9600M GT 186.03 on Vista. There is no demo. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15717 --- Comment #24 from Jeff Zaroyko <jeffz(a)jeffz.name> 2009-09-19 04:41:52 --- (In reply to comment #23)
NumSimultaneousRTs is 4 with my nVidia 9600M GT 186.03 on Vista. There is no demo.
It's also 4 with a nvidia 8800 GTS, 180.48 on Vista. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15717 --- Comment #25 from Henri Verbeet <hverbeet(a)gmail.com> 2009-09-19 15:26:44 --- Created an attachment (id=23661) --> (http://bugs.winehq.org/attachment.cgi?id=23661) patch Does this patch work? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15717 --- Comment #26 from Jeff Zaroyko <jeffz(a)jeffz.name> 2009-09-19 16:31:01 --- (In reply to comment #25)
Created an attachment (id=23661) --> (http://bugs.winehq.org/attachment.cgi?id=23661) [details] patch
Does this patch work?
Yes, that fixes it. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15717 --- Comment #27 from Henri Verbeet <hverbeet(a)gmail.com> 2009-09-23 04:18:54 --- Should be fixed by 359acf2461b62373827f6c4e617646718175352e. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15717 Jeff Zaroyko <jeffz(a)jeffz.name> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #28 from Jeff Zaroyko <jeffz(a)jeffz.name> 2009-09-23 04:26:34 --- (In reply to comment #27)
Should be fixed by 359acf2461b62373827f6c4e617646718175352e.
Yep - fixed. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15717 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #29 from Alexandre Julliard <julliard(a)winehq.org> 2009-09-25 12:25:01 --- Closing bugs fixed in 1.1.30. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org