Progress Continues
We've already had 21717 updates since Dolphin 5.0. Keep up with Dolphin's continuing progress through the Dolphin Blog: February, March, and April 2024 Dolphin Progress Report. |
The Dolphin Emulator Wiki needs your help! Dolphin can play thousands of games, and changes are happening all the time. Help us keep up! Join in and help us make this the best resource for Dolphin. |
Template:Problems/Shader Compilation Stuttering: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (try to fix excessive whitespace) |
||
Line 2: | Line 2: | ||
''{{PAGENAME}}'' is one of the most susceptible titles to shader compilation stuttering. The GC and Wii have no concept of shaders - everything is executed directly by the hardware without an intermediate programming language (API). Modern computers and mobile systems do not work in this way, requiring the use of shaders as an intermediary so your system's GPU can perform the tasks that the GC and Wii GPU performed directly. Shaders have to be generated though, and since GC/Wii games are not designed to create shaders ahead of time as a PC game would, when a new effect appears Dolphin has to delay the CPU thread while the GPU thread performs the compilation; a pause that does not exist on the consoles. For most games shader generation takes only a few milliseconds, but for a few demanding titles, the shaders that they generate are so large that they can result in noticeable stuttering, in severe cases pauses of over a second may occur. | ''{{PAGENAME}}'' is one of the most susceptible titles to shader compilation stuttering. The GC and Wii have no concept of shaders - everything is executed directly by the hardware without an intermediate programming language (API). Modern computers and mobile systems do not work in this way, requiring the use of shaders as an intermediary so your system's GPU can perform the tasks that the GC and Wii GPU performed directly. Shaders have to be generated though, and since GC/Wii games are not designed to create shaders ahead of time as a PC game would, when a new effect appears Dolphin has to delay the CPU thread while the GPU thread performs the compilation; a pause that does not exist on the consoles. For most games shader generation takes only a few milliseconds, but for a few demanding titles, the shaders that they generate are so large that they can result in noticeable stuttering, in severe cases pauses of over a second may occur. | ||
Since {{revision|5.0-4869}}, this problem can be solved by enabling [https://dolphin-emu.org/blog/2017/07/30/ubershaders/ ubershaders]. Changing your GPU, updating your GPU drivers or updating Dolphin may invalidate the shader cache, requiring specialised shaders to be compiled again. | Since {{revision|5.0-4869}}, this problem can be solved by enabling [https://dolphin-emu.org/blog/2017/07/30/ubershaders/ ubershaders]. Changing your GPU, updating your GPU drivers or updating Dolphin may invalidate the shader cache, requiring specialised shaders to be compiled again.</includeonly><noinclude>{{documentation}}</noinclude> | ||
</includeonly><noinclude>{{documentation}}</noinclude> |