[Pokemon Ruby/Sapphire] Citra canary crash, possibly due to OpenGL shader

Issue:
Using amdgpu driver, citra crashes after selecting language for Sapphire and as soon as entering game. It seems that there are something wrong with the OpenGL Shader.

System Information

  • Operating System: Arch Linux
  • CPU: 12700K
  • GPU: 7900 XTX
  • Citra Version (found in title bar): canary 2461
  • Game: Pokemon Ruby/Sapphire
  • Screenshot of Issue (include the full Citra window including titlebar):

Diagnostic Log
GDB at gdb.txt
gdb.txt (9.4 KB)

Citra log:
citra_log.txt (22.5 KB)

In order to save a copy of the log, follow this guide:
https://community.citra-emu.org/t/how-to-upload-the-log-file/296

Some lines in your log report your ROM is tainted, you may need to redump your game for it to work

The log file indicates that you’re not using an official build. Please use either our flatpak build, or our appimage build.

The log file does not indicate this.