diff options
author | Markus Wick <[email protected]> | 2019-11-05 09:16:37 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-11-22 15:29:29 -0500 |
commit | dba903ed0b526aa24f195352ddf35392a523a551 (patch) | |
tree | 1d225abb1a86bdb78c05cb21922a063c5fcb0bc2 /src | |
parent | f4c61d422d5134bbcb0611692eb15bbe311916d2 (diff) |
drirc: Enable glthread for dolphin/citra/yuzu.
Dolphin: 75 fps -> 88 fps - Super Mario Galaxy
Citra: 81 fps -> 91 fps - A Link Between Worlds
Yuzu: 21 fps -> 27 fps - Super Mario Odyssey
Dolphin still has many syncs because of glFenceSync and glClientWaitSync.
Moving them to the dispatcher thread might yield another speedup.
Yuzu uses a compatible profile by default. This benchmark used the variable
MESA_GL_VERSION_OVERRIDE=4.5FC to overwrite this behavior.
This profilation was done on a mobile i7-8550U CPU with i965.
Signed-off-by: Markus Wick <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/util/00-mesa-defaults.conf | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/util/00-mesa-defaults.conf b/src/util/00-mesa-defaults.conf index 82b866b634f..ba343ec5ffb 100644 --- a/src/util/00-mesa-defaults.conf +++ b/src/util/00-mesa-defaults.conf @@ -370,6 +370,17 @@ TODO: document the other workarounds. <option name="mesa_glthread" value="true"/> </application> + <!-- Emulator tends to have a high CPU load for GPU emulation, so separating the driver overhead yield an improvement. --> + <application name="Dolphin Emulator" executable="dolphin-emu"> + <option name="mesa_glthread" value="true"/> + </application> + <application name="Citra - Nintendo 3DS Emulator" executable="citra-qt"> + <option name="mesa_glthread" value="true"/> + </application> + <application name="Yuzu - Nintendo Switch Emulator" executable="yuzu"> + <option name="mesa_glthread" value="true"/> + </application> + <!-- Adaptive sync blacklist follows below: --> <application name="gnome-shell" executable="gnome-shell"> <option name="adaptive_sync" value="false" /> |