http://bugs.winehq.org/show_bug.cgi?id=31078
Bug #: 31078 Summary: Need For Speed Hot Pursuit (2010) performance is unacceptable Product: Wine Version: unspecified Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: [email protected] ReportedBy: [email protected] Classification: Unclassified
After fixing the crash http://bugs.winehq.org/show_bug.cgi?id=31031 I was able to run NFS11 (via Launcher.exe).
The performance, however, is unacceptable.
Running WINEDEBUG=fps reveals 5 fps on car selection screen. Setting UseGLSL to disabled makes it 6 fps. AlwaysOffsceen=enabled makes it 4 fps.
When actually playing the game I see a mere 4 fps when UseGLSL=disabled and minimal settings.
trace:fps:swapchain_gl_present 0x15e280 @ approx 4.35fps trace:fps:glxdrv_SwapBuffers @ approx 4.52fps, total 14.99fps trace:fps:swapchain_gl_present 0x15e280 @ approx 4.52fps trace:fps:glxdrv_SwapBuffers @ approx 4.45fps, total 14.96fps trace:fps:swapchain_gl_present 0x15e280 @ approx 4.45fps trace:fps:glxdrv_SwapBuffers @ approx 4.52fps, total 14.93fps trace:fps:swapchain_gl_present 0x15e280 @ approx 4.52fps trace:fps:glxdrv_SwapBuffers @ approx 4.39fps, total 14.90fps trace:fps:swapchain_gl_present 0x15e280 @ approx 4.39fps trace:fps:glxdrv_SwapBuffers @ approx 4.42fps, total 14.87fps trace:fps:swapchain_gl_present 0x15e280 @ approx 4.42fps trace:fps:glxdrv_SwapBuffers @ approx 4.29fps, total 14.85fps trace:fps:swapchain_gl_present 0x15e280 @ approx 4.29fps trace:fps:glxdrv_SwapBuffers @ approx 3.79fps, total 14.81fps trace:fps:swapchain_gl_present 0x15e280 @ approx 3.79fps trace:fps:glxdrv_SwapBuffers @ approx 3.85fps, total 14.78fps trace:fps:swapchain_gl_present 0x15e280 @ approx 3.85fps
I have nvidia GeForce 8600 which is enough according to http://www.game-debate.com/games/index.php?g_id=1099&game=Need%20for%20S...
Appreciate any suggestions on improving the game performance.
http://bugs.winehq.org/show_bug.cgi?id=31078
--- Comment #1 from John Yani [email protected] 2012-06-29 18:42:38 CDT --- Setting OffscreenRenderingMode to backbuffer makes the game very fast, but cars are not rendered. And the console is flooded with:
err:d3d_shader:arbfp_blit_set >>>>>>>>>>>>>>>>> GL_INVALID_ENUM (0x500) from glEnable(textype) @ arb_program_shader.c / 7218
http://bugs.winehq.org/show_bug.cgi?id=31078
--- Comment #2 from John Yani [email protected] 2012-06-29 19:23:23 CDT --- the textype at glEnable(textype) is 34072, which is GL_TEXTURE_CUBE_MAP_NEGATIVE_Y
So, glEnable(GL_TEXTURE_CUBE_MAP_NEGATIVE_Y) fails for some reason.
http://bugs.winehq.org/show_bug.cgi?id=31078
--- Comment #3 from John Yani [email protected] 2012-06-29 19:28:20 CDT --- There are also 34070,34071,34073 and 34074 (GL_TEXTURE_CUBE_MAP_NEGATIVE_X GL_TEXTURE_CUBE_MAP_POSITIVE_Y GL_TEXTURE_CUBE_MAP_POSITIVE_Z GL_TEXTURE_CUBE_MAP_NEGATIVE_Z)
http://bugs.winehq.org/show_bug.cgi?id=31078
John Yani [email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] Component|directx-d3d |directx-d3dx9
http://bugs.winehq.org/show_bug.cgi?id=31078
--- Comment #4 from John Yani [email protected] 2012-06-30 20:24:48 CDT --- Tested on wine-1.4 with cherry-picked wbemprox commits (that fixed a crash). Still 4-6 fps. So it's not a regression, at least since 1.4.
http://bugs.winehq.org/show_bug.cgi?id=31078
--- Comment #5 from John Yani [email protected] 2012-07-01 07:14:49 CDT --- Created attachment 40816 --> http://bugs.winehq.org/attachment.cgi?id=40816 partial +d3d output
This output is from +d3d on car selection screen.
http://bugs.winehq.org/show_bug.cgi?id=31078
--- Comment #6 from John Yani [email protected] 2012-07-01 10:09:44 CDT --- At last, I was able to run the game via gdb. I had to use the latest gdb from svn 7.4.50.20120630, because of the bug http://sourceware.org/bugzilla/show_bug.cgi?id=13653 and multiprocess debugging. Then I had to run the following commands in gdb concole:
handle SIGHUP nopass handle all nostop
I.e. prevent SIGHUP signals from being passed to the game and don't stop on signals.
However, I can't load kernel debug symbols. Since I build wine under chrooting into 32bit using this manual http://wiki.winehq.org/WineOn64bit.
http://bugs.winehq.org/show_bug.cgi?id=31078
RealGecko [email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected]
--- Comment #7 from RealGecko [email protected] 2012-07-04 15:28:48 CDT --- I can confirm the bug. Low FPS makes game completely unplayable. Wine 1.5.8, Arch Linux 32-bit, Nvidia GT430, AMD Athlon 5000 Dual-Core, 2GB RAM, tested in XP and Win7 modes.
http://bugs.winehq.org/show_bug.cgi?id=31078
--- Comment #8 from John Yani [email protected] 2012-07-07 06:54:53 CDT --- After running the game under gdb and stopping it several times I see the following backtrace the most often:
#0 0xf7716430 in __kernel_vsyscall () #1 0xf74a1380 in poll () from /lib/i386-linux-gnu/libc.so.6 #2 0x7daa4120 in ?? () from /usr/lib/i386-linux-gnu/libxcb.so.1 #3 0x7daa5a50 in ?? () from /usr/lib/i386-linux-gnu/libxcb.so.1 #4 0x7daa5d07 in xcb_wait_for_reply () from /usr/lib/i386-linux-gnu/libxcb.so.1 #5 0x7db0e6f2 in _XReply () from /usr/lib/i386-linux-gnu/libX11.so.6 #6 0x7d7d0976 in ?? () from /usr/lib32/nvidia-current/libGL.so.1
http://bugs.winehq.org/show_bug.cgi?id=31078
--- Comment #9 from Rico [email protected] 2012-08-10 06:16:53 CDT --- Is there a demo available which has the same problem? Does this only happen on nvidia cards? Are there any users with an ati card and the same problem?
http://bugs.winehq.org/show_bug.cgi?id=31078
--- Comment #10 from John Yani [email protected] 2012-08-10 06:35:03 CDT --- No demo available. Can't see the full stacktrace because libGL.so is closed source (nvidia). Running the game with open source drivers (nouveau) causes the game to hang.
http://bugs.winehq.org/show_bug.cgi?id=31078
Alexander B [email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected]
--- Comment #11 from Alexander B [email protected] 2012-09-13 12:25:45 CDT --- Seems like duplicate of Bug 23802
Running on wine-1.5.12 patched with http://bugs.winehq.org/attachment.cgi?id=30073
car selection screen:
trace:fps:swapchain_gl_present 0x1508d0 @ approx 31.19fps trace:fps:wglSwapBuffers @ approx 31.81fps, total 50.19fps trace:fps:swapchain_gl_present 0x1508d0 @ approx 31.81fps trace:fps:wglSwapBuffers @ approx 33.77fps, total 49.98fps trace:fps:swapchain_gl_present 0x1508d0 @ approx 33.77fps
actual game:
trace:fps:wglSwapBuffers @ approx 13.60fps, total 35.34fps trace:fps:swapchain_gl_present 0x1508c0 @ approx 13.60fps trace:fps:wglSwapBuffers @ approx 14.08fps, total 35.19fps trace:fps:swapchain_gl_present 0x1508c0 @ approx 14.08fps trace:fps:wglSwapBuffers @ approx 13.84fps, total 35.05fps trace:fps:swapchain_gl_present 0x1508c0 @ approx 13.84fps
nvidia 9800gt, blob 304.37, glsl=disabled
http://bugs.winehq.org/show_bug.cgi?id=31078
--- Comment #12 from John Yani [email protected] 2012-09-13 14:32:24 CDT --- Wow, considerable improvement with the mentioned patch:
car selection:
trace:fps:swapchain_gl_present 0x1659f0 @ approx 15.66fps trace:fps:wglSwapBuffers @ approx 16.11fps, total 43.66fps trace:fps:swapchain_gl_present 0x1659f0 @ approx 16.11fps trace:fps:wglSwapBuffers @ approx 16.49fps, total 43.37fps
game:
trace:fps:wglSwapBuffers @ approx 10.46fps, total 32.13fps trace:fps:swapchain_gl_present 0x1659f0 @ approx 10.46fps trace:fps:wglSwapBuffers @ approx 10.97fps, total 32.00fps trace:fps:swapchain_gl_present 0x1659f0 @ approx 10.97fps
http://bugs.winehq.org/show_bug.cgi?id=31078
--- Comment #13 from John Yani [email protected] 2012-11-25 08:12:45 CST --- After I updated my nvidia drivers to experimental 310, without a patch with maximum settings (GeForce 9600 GSO):
trace:fps:wglSwapBuffers @ approx 14.44fps, total 36.50fps trace:fps:swapchain_gl_present 0x1693d0 @ approx 14.44fps trace:fps:wglSwapBuffers @ approx 15.26fps, total 36.28fps trace:fps:swapchain_gl_present 0x1693d0 @ approx 15.25fps trace:fps:wglSwapBuffers @ approx 14.78fps, total 36.07fps
Thanks to NVIDIA: http://www.phoronix.com/scan.php?page=news_item&px=MTIyODE
http://bugs.winehq.org/show_bug.cgi?id=31078
--- Comment #14 from RealGecko [email protected] 2012-12-03 02:36:51 CST --- Arch x86, GT430, wine 1.5.18. Those new nvidia-310.19 drivers increased performance, however it is still not very good. Lowering ingame graphics settings do not give any performance increase at all. Maybe the patch mentioned above should be included in main devel branch?
http://bugs.winehq.org/show_bug.cgi?id=31078
--- Comment #15 from John Yani [email protected] 2012-12-03 09:19:14 CST --- What's your definition of "not very good"? What's your WINEDEBUG=fps output?
For me, applying the mentioned patch didn't improve performance when using 310 drivers.
http://bugs.winehq.org/show_bug.cgi?id=31078
--- Comment #16 from RealGecko [email protected] 2012-12-31 10:51:47 CST --- (In reply to comment #15)
What's your definition of "not very good"? What's your WINEDEBUG=fps output?
For me, applying the mentioned patch didn't improve performance when using 310 drivers.
Sorry, I moved to another city and left my PC behind, so I can`t tell you exact values, but fps was approximately 5-7 which is not really good for racing game :D
http://bugs.winehq.org/show_bug.cgi?id=31078
--- Comment #17 from John Yani [email protected] 2013-01-19 09:43:21 CST --- It's strange, but even with GeForce GTX 660 (and the latest nvidia drivers) I get not much better results:
trace:fps:swapchain_gl_present 0x16a478 @ approx 10.89fps trace:fps:swapchain_gl_present 0x16a478 @ approx 13.57fps trace:fps:swapchain_gl_present 0x16a478 @ approx 13.54fps trace:fps:swapchain_gl_present 0x16a478 @ approx 13.87fps trace:fps:swapchain_gl_present 0x16a478 @ approx 14.22fps trace:fps:swapchain_gl_present 0x16a478 @ approx 12.97fps
Can it be that fps measurement is incorrect?
http://bugs.winehq.org/show_bug.cgi?id=31078
Jarkko K [email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected]
--- Comment #18 from Jarkko K [email protected] 2013-06-10 13:16:32 CDT --- How did you manage to run it anyway? I have problem getting it work at all. It works at the advertising screens, but when it says something about network play possibility or when you see this image, don't restart your computer (orsomethingsimilar)
The game just halts.
Using kubuntu 13.10, amd drivers.
https://bugs.winehq.org/show_bug.cgi?id=31078
--- Comment #19 from Austin English [email protected] --- This is your friendly reminder that there has been no bug activity for over a year. Is this still an issue in current (1.7.37 or newer) wine? If so, please attach the terminal output in 1.7.37 (see http://wiki.winehq.org/FAQ#get_log).
https://bugs.winehq.org/show_bug.cgi?id=31078
Matteo Bruni [email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|directx-d3dx9 |directx-d3d
https://bugs.winehq.org/show_bug.cgi?id=31078
tokktokk [email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected]
https://bugs.winehq.org/show_bug.cgi?id=31078
[email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected]
https://bugs.winehq.org/show_bug.cgi?id=31078
Adrien Fernandes [email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] | |om
--- Comment #20 from Adrien Fernandes [email protected] --- Created attachment 60492 --> https://bugs.winehq.org/attachment.cgi?id=60492 Output running Need for Speed Hot Pursuit on FreeBSD
GTX 765m Core i7 4700HQ 12 GB RAM
The games can run perfectly on a real Windows so my config can, of course, handle this game.
-------
I'm using FreeBSD 11.1 and Wine 3.0 (this is the repository's version cause I have troubles building mine). I'm using the nvidia driver version 384.98
-------
So my game is very slow, around 15 FPS. I don't know if GNU/Linux users still have this issue or not but I do on BSD.
https://bugs.winehq.org/show_bug.cgi?id=31078
[email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected]
--- Comment #21 from [email protected] --- Tips say to update the nvidia drivers to 310, but I'm on 378.05.05 already! Getting 10 - 20 FPS, no matter what resolution.
i7 870 GTX 560 Ti 8 GB RAM
Wine 3.4
https://bugs.winehq.org/show_bug.cgi?id=31078
--- Comment #22 from [email protected] --- (In reply to grupaposter from comment #21)
Tips say to update the nvidia drivers to 310, but I'm on 378.05.05 already! Getting 10 - 20 FPS, no matter what resolution.
i7 870 GTX 560 Ti 8 GB RAM
Wine 3.4
Forgot to mention: macOS Sierra running PlayOnMac
https://bugs.winehq.org/show_bug.cgi?id=31078
--- Comment #23 from [email protected] --- (In reply to grupaposter from comment #22)
(In reply to grupaposter from comment #21)
Tips say to update the nvidia drivers to 310, but I'm on 378.05.05 already! Getting 10 - 20 FPS, no matter what resolution.
i7 870 GTX 560 Ti 8 GB RAM
Wine 3.4
Forgot to mention: macOS Sierra running PlayOnMac
In my case this game improve so much with pba (but pba is non supported for wine devs)
Vanilla
https://www.youtube.com/watch?v=YJjzE27RCZY
Vanilla + PBA
https://www.youtube.com/watch?v=E8vSNwivFKM
System Specs Used in Test
Nvidia Drivers 390.25 (run package from nvidia drivers homepage)
Xubuntu 16.04 x64 - Kernel 4.13.0-16 generic (ubuntu mainline) - CPUFreq: Performance
CPU: INTEL Pentium G3258 (Haswell 22nm) 4.1Ghz + Artic Cooling Alpine 11 Plus
MEMORY: 8GB DDR3 1333 (2x4) Patriot value (dual channel: 21.3 gb/s)
GPU: Gigabyte Nvidia Geforce GTX 1050 OC (GP107 14nm: 640 Shaders / 40 TMUS / 32 ROPS) Windforce 2GB DDR5 7000Mhz 128Bit (110Gb/s)
MAINBOARD: MSI H81M E33
https://bugs.winehq.org/show_bug.cgi?id=31078
joaopa [email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected]
--- Comment #24 from joaopa [email protected] --- Does the bug still occur with wine-5.0-rc4?
https://bugs.winehq.org/show_bug.cgi?id=31078
Olivier F. R. Dierick [email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |performance CC| |[email protected]
https://bugs.winehq.org/show_bug.cgi?id=31078
--- Comment #25 from Andrey Gusev [email protected] --- Performance is still bad with wine-5.19-88-gf4a66ad257d
https://bugs.winehq.org/show_bug.cgi?id=31078
Anya [email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected]
https://bugs.winehq.org/show_bug.cgi?id=31078
soredake [email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|broaden_acid002@simplelogin | |.com |
https://bugs.winehq.org/show_bug.cgi?id=31078
Aida Jonikienė [email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected]
--- Comment #26 from Aida Jonikienė [email protected] --- Is this performance issue still present in Wine 9.0 (or 9.12)?
https://bugs.winehq.org/show_bug.cgi?id=31078
--- Comment #27 from RealGecko [email protected] --- I've tried it with Wine 9.14, Nvidia proprietary driver 555.58.02 and GTX 1070. Game starts with DXVK 2.4 and I get 60 FPS in main menu, when race starts I get ~40 FPS in 1920x1080 resolution which is kinda playable, but at the same time very low for the game from 2010.
https://bugs.winehq.org/show_bug.cgi?id=31078
--- Comment #28 from RealGecko [email protected] --- Tried with https://github.com/GloriousEggroll/proton-ge-custom: got stable 60 FPS in race, also tried Steam version with builtin Steam Proton: got stable 60 FPS.
https://bugs.winehq.org/show_bug.cgi?id=31078
--- Comment #29 from [email protected] --- in my case normally stay around 60fps with dxvk 2.4, however i remember have fps issue when i had nvidia gpu (propietary drivers) but now with amd gpu (mesa 24.x opensource drivers) this problem in most cases are gone
https://i.imgur.com/jWakhJR.png
https://i.imgur.com/NGfqqoz.png
https://i.imgur.com/pkBIiDt.png
big timber forest is a heavy scenary in my case (rain scenary)
https://i.imgur.com/geMAOns.png
https://i.imgur.com/MGDOrqK.png
https://i.imgur.com/lecXxxG.png
most time stay around 60fps however in some parts down to 50fps (a few parts of big timber forest scenary)