Huge fps drops when entering a battle or finding a item

When i enter in a building, or begin a battle, or enter a city, or i find a item the fps drops to 24 or 15 for some seconds and in the rest of the game when i am walking it stays in 30fps.

System Information

  • Operating System: Windows 10 64 bits
  • CPU: Ryzen 5 3500u
  • GPU: Vega 8 and Radeon 540x
  • Citra Version (found in title bar): Nightly 1623
  • Game: Pokemon X
  • Screenshot of Issue (include the full Citra window including titlebar):

Diagnostic Log
citra_log.txt (191.2 KB)

In order to save a copy of the log, follow this guide:

1 Like

System Information for Support

Client Version                                Nightly 1623 HEAD-a576eb6
Operating System                              Windows 10 (10.0)
CPU                                           AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx  
Graphics API                                  OpenGL 3.3.1
Graphics Renderer                             AMD Radeon(TM) Vega 8 Graphics
GPU Driver Version                            20.9.1 27.20.12029.1000
CPU JIT                                       [x]
Hardware Renderer                             [x]
Hardware Shader                               [x]
Hardware Shader, Accurate Multiplication      [ ]
Shader JIT                                    [x]
System Region                                 -1
Shader Disk Cache                             [x]

Here’s some issues I found with your log that might help.

  • Due to AMD’s poorly optimized OpenGL driver, you may experience slowdowns.
  • Enabling Accurate Multiplication is recomended in certain games. If you are experiencing graphical glitches, try enabling this option.

The game is still lagging but looks like the lag when i enter a battle has been reduced a little

Hi, do this:

  1. Open Citra then go to File->Open Citra Folder
  2. Open shaders folder then delete the opengl folder if it is there.
  3. Emulation->Configure… then click on Graphics on the left
  4. Click on the Advanced tab and turn on Accurate Multiplication

The Disk Shader Cache currently has a bug when Accurate Multiplication is turned off causing it to load all shaders slowly from zero every time you start the game and makes the precompiled cache extrememly large + the RAM usage skyrockets until you crash.
Deleting the old cache will probably also help you with the fps drop.

This has improved the performance when i enter in towns and battles but i am still getting some slowdowns sometimes when my pokemon faints for example, i will test with more details later today.

The disk shader cache needs to build up over time to show any real improvement. Just keep playing with it on and it should reduce stuttering.

After playing for about 30 minutes the stuttering when entering a battle or finding a item disappeared but i am getting random slowdowns everytime when walking and when i am in the middle of a battle and when i finish the battle the fps always drops and then returns making the audio to become distorted.

That’s probably part of the CRO loading of the rom. Pokemon games have that issue a lot. Not much you could do to mitigate that appart from upgrading your hardware. (AMD doesn’t have decent drivers for opengl on windows). AMD has better opengl drivers for linux though, so dual booting into that should give you a big performance boost.

Did there is any plans for Vulkan or Direct3D support ?

Vulkan isn’t being worked on right now and Direct3D won’t be an option as citra is multiplatform.

fps drop when entering battle with multiple pokemon. pokemon Xcitra_log.txt (890.6 KB)

System Information for Support

Client Version                                Canary 1903 HEAD-6385727
Operating System                              Windows 10 (10.0)
CPU                                           Intel(R) Core(TM) i5-9400F CPU @ 2.90GHz
Graphics API                                  OpenGL 3.3.0
Graphics Renderer                             GeForce RTX 2060/PCIe/SSE2
GPU Driver Version                            460.89
CPU JIT                                       [x]
Hardware Renderer                             [x]
Hardware Shader                               [ ]
Hardware Shader, Accurate Multiplication      [x]
Shader JIT                                    [x]
System Region                                 -1
Shader Disk Cache                             [ ]

I did not find anything wrong in your log file. Please wait for a moderator to assist.

Turn on Hardware Shader and Disk Shader Cache in the Advanced graphics settings in Citra configuration.