https://bugs.freedesktop.org/show_bug.cgi?id=101278
Bug ID: 101278 Summary: Severe slowdown on Shadow of Mordor between 17.1.0 and 17.1.1 Product: Mesa Version: 17.1 Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: nagrigoriadis@gmail.com QA Contact: dri-devel@lists.freedesktop.org
Shadow of Mordor slowed down significantly for me on my notebook between Mesa 17.1.0 and 17.1.1
My system: Gentoo Linux 64-bit Dell Precision M4700 Intel i7-3720QM quad-core 16 Gig RAM AMD FirePro M4000 (Cape Verde, 512su, 1GB DDR5 RAM, 675Mhz)
I then did a bisect to find the commit where the slowdown happened (used the built-in benchmark tool manually, some custom medium-low settings): 35ec26bb00536639b9571f31d8e3f2bcbcfc32fb 30.31fps ad3b5b7f5f7590fd4359ea3483e2309e4cebc472 18.12fps
So the commit that causes the big slowdown: https://cgit.freedesktop.org/mesa/mesa/commit/?h=17.1&id=ad3b5b7f5f7590f... seems to be specific to SI, but appears to fix an issue in tessellation. I double-checked, and tessellation is off in the game settings, so I'm surprised this caused a performance difference.
https://bugs.freedesktop.org/show_bug.cgi?id=101278
--- Comment #1 from nagrigoriadis@gmail.com --- Apologies, I forgot some important related details:
I'm on kernel 4.11.1-gentoo right now, but observed the same on 4.10.8 libdrm-2.4.80 llvm-4.0.0-r2 xorg-server-1.19.3 xf86-video-ati-7.9.0 using the "radeon" kernel module.
https://bugs.freedesktop.org/show_bug.cgi?id=101278
Nicolai Hähnle nhaehnle@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #2 from Nicolai Hähnle nhaehnle@gmail.com --- Should be fixed in master since commit 391673af7a.
https://bugs.freedesktop.org/show_bug.cgi?id=101278
nagrigoriadis@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |---
--- Comment #3 from nagrigoriadis@gmail.com --- Thanks Nicolai for your quick action.
I first built the latest git master: 2e28e8b199abab76fa9509d3247b44a2cb31921d But everything was green, and the game would crash in the menu.
I then built 391673af7ad1565a5f6ac8fc2f8c9fcdd1fe9908 And it worked, but performance is still in the regressed state :-(
The thing is, tessellation was off this whole time.
Please advise?
https://bugs.freedesktop.org/show_bug.cgi?id=101278
--- Comment #4 from Nicolai Hähnle nhaehnle@gmail.com --- Created attachment 131949 --> https://bugs.freedesktop.org/attachment.cgi?id=131949&action=edit Patch making the conditions even tighter
Odd. Maybe the game lies to you about tessellation being off? Anyway, could you please try the attached patch?
https://bugs.freedesktop.org/show_bug.cgi?id=101278
--- Comment #5 from Nicolai Hähnle nhaehnle@gmail.com --- Created attachment 131950 --> https://bugs.freedesktop.org/attachment.cgi?id=131950&action=edit Alternative patch
If the patch from the previous comment works, could you please also try this patch as an alternative? Thanks!
If neither work, could you please provide an apitrace?
https://bugs.freedesktop.org/show_bug.cgi?id=101278
Timothy Arceri t_arceri@yahoo.com.au changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|REOPENED |RESOLVED
--- Comment #6 from Timothy Arceri t_arceri@yahoo.com.au --- No reply so assuming fixed and closing.
dri-devel@lists.freedesktop.org