Poor dedicated GPU performance on Linux

Issue:
When i use the DRI_PRIME=1 command for making citra use the dedicated GPU it is performing way worse than my integrated GPU, on pokemon omega ruby i get 30 fps with my vega 8 in almost all parts but with my Radeon 540x it begins at 30fps but then it begins to stutter and the fps can drop to 22. I am using the flatpak version of citra.

System Information

  • Operating System: Linux Mint 20.3
  • CPU: Ryzen 5 3500U
  • GPU: Vega 8 and Radeon 540x
  • Citra Version (found in title bar): 1763
  • Game: Pokemon omega ruby
  • Screenshot of Issue (include the full Citra window including titlebar):
    Vega 8:

Radeon 540x:

Log while using vega 8
citra_log.txt (134.3 KB)

Log while using Radeon 540x
citra_log.txt (251.7 KB)

1 Like

System Information for Support

Client Version                               Nightly 1763   HEAD-856b3d6c9
Operating System                             KDE Flatpak runtime
CPU                                          AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx   | AVX2 | FMA
Graphics API                                 OpenGL 4.6
Graphics Renderer                            AMD Radeon(TM) Vega 8 Graphics (RAVEN, DRM 3.41.0, 5.13.0-27-generic, LLVM 12.0.1)
GPU Driver Version                           Mesa 21.3.8
CPU JIT                                      [x]
Hardware Renderer                            [x]
Hardware Shader                              [x]
Hardware Shader, Accurate Multiplication     [x]
Shader JIT                                   [x]
System Region                                -1
Shader Disk Cache                            [x]

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

System Information for Support

Client Version                               Nightly 1763   HEAD-856b3d6c9
Operating System                             KDE Flatpak runtime
CPU                                          AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx   | AVX2 | FMA
Graphics API                                 OpenGL 4.6
Graphics Renderer                            Radeon 540X Series (POLARIS12, DRM 3.41.0, 5.13.0-27-generic, LLVM 12.0.1)
GPU Driver Version                           Mesa 21.3.8
CPU JIT                                      [x]
Hardware Renderer                            [x]
Hardware Shader                              [x]
Hardware Shader, Accurate Multiplication     [x]
Shader JIT                                   [x]
System Region                                -1
Shader Disk Cache                            [x]

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

Flatpak sometimes causes issues like this, could you build it yourself and test it there?

I never made this before but i can try

I think that i managed to build citra but i can’t reach the partition of my HD where the games are located for it to run them. It only allows me to search inside the linux system. EDIT: I managed to get it to recognize my HDD partition but now the windows for the configurations are so big that i can’t save any changes that i make in the controls.

After working my way out of these problems somehow, i managed to run the game with my dedicated GPU and i still get the same problem…
citra_log.txt (209.9 KB)

System Information for Support

Client Version                               master-46c6e5c4c
Operating System                             Linux Mint 20.3
CPU                                          AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx   | AVX2 | FMA
Graphics API                                 OpenGL 4.6
Graphics Renderer                            AMD Radeon 540X Series (polaris12, LLVM 14.0.1, DRM 3.41, 5.13.0-27-generic)
GPU Driver Version                           Mesa 22.0.3
CPU JIT                                      [x]
Hardware Renderer                            [x]
Hardware Shader                              [x]
Hardware Shader, Accurate Multiplication     [x]
Shader JIT                                   [x]
System Region                                -1
Shader Disk Cache                            [x]

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

Should i open a issue in the github for this ?