Summary: | WarThunder game performance killed after Ryzen optimisations | ||
---|---|---|---|
Product: | Mesa | Reporter: | aceman <acelists> |
Component: | Drivers/Gallium/radeonsi | Assignee: | Default DRI bug account <dri-devel> |
Status: | RESOLVED FIXED | QA Contact: | Default DRI bug account <dri-devel> |
Severity: | normal | ||
Priority: | medium | CC: | kenneth, maraeo, wielkiegie |
Version: | git | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Bug Depends on: | |||
Bug Blocks: | 108530 |
Description
aceman
2018-10-11 22:44:16 UTC
Just to double-check, you're talking about commit 28e542dcdbb "gallium/u_threaded: increase batch size to increase performance" Marek, Ken do you have any suggestions? No, I assume it was https://cgit.freedesktop.org/mesa/mesa/commit/?id=25ffb8401638a07d774cfc68ab6afc7d27780dd8 as that one was reported at https://www.phoronix.com/scan.php?page=news_item&px=RadeonSI-Zen-Tuning-Merged and that is the tie the problem started. Could we get a patch like https://lists.freedesktop.org/archives/mesa-dev/2018-November/208785.html so that I can try to turn off the L3 cache thread pinning for this game? (In reply to aceman from comment #3) > Could we get a patch like > https://lists.freedesktop.org/archives/mesa-dev/2018-November/208785.html so > that I can try to turn off the L3 cache thread pinning for this game? Just use that patch and add an entry for your game like this: > + <application name="Blender" executable="blender"> > + <option name="disable_L3_thread_pinning" value="true"/> > + </application> > + replace blender with the name and executable of your app. Good idea:) I did that, but it seems to not help in any way. How do I check if the option is picked up? Why is drirc now called 00-mesa-defaults.conf ? Where should it be put in /etc ? So strangely the patch didn't work, but updating mesa today (presents itself as 19.0.0), containing the commit https://cgit.freedesktop.org/mesa/mesa/commit/?id=e0c7114eb3c19d4c2653f661698a6baa3bc9bedf FIXES the problem immediately. The current mesa is even faster than 18.2.x that I had to use while this problem was existing. As pointed out L3 thread pinning is disabled now. With the commit present in both master and 18.3.0-rc3. Thanks. And the new version of the patch, https://cgit.freedesktop.org/mesa/mesa/commit/?id=bc5adc27b5e52d27eca6a61ad1e049b160570c98 seems to work OK. WarThunder has mesa_glthread=true in drirc. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.