OpenGL error when using Nvidia Graphics Card

Issue:
Hello Everyone,

I’ve installed citra on Manjaro with AAC audio following the instructions found here. If I run it on my intel graphics card, it runs fine. But if I try to run it on my Nvidia GPU using optirun it prints Unrecognized OpenGL version in the terminal, and on trying to launch any game it crashes.

Details:
I’ve been using an old version of citra (citra-canary-git from the AUR, at the end of December) for a while with no issue what-so-ever. Recently tried to upgrade to the latest version and this problem popped up. Tried to build it myself from the latest github files and its still the same issue. I’ve tried building a few other versions of citra from older commits, but the it doesn’t seem to help.
The flatpak version runs fine with optirun, but it doesn’t have AAC audio decoding. For now I’ve installed the latest citra canary on Windows, and it works without any issues.

System Information

  • Operating System: Manjaro Linux
  • Linux Kernel: 5.4.43-1
  • CPU: Intel i5-8300H 2.30 Ghz
  • GPU: NVIDIA GeForce GTX 1050 Mobile
  • OpenGL Version: 4.6.0 NVIDIA 430.64
  • Citra Version (found in title bar): commit 7dc472a3a78f31039b49bc058682d90a565c8398
  • Game: All Games
  • Screenshot of Issue (include the full Citra window including titlebar):

    After the crash:

Diagnostic Log

citra_log.txt (6.4 KB)

System Information for Support

Operating System                              Manjaro Linux
CPU                                           Intel(R) Core(TM) i5-8300H CPU @ 2.30GHz
Graphics API                                  OpenGL ?
Graphics Renderer                             ?
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.

  • Enabling Accurate Multiplication is recomended in certain games. If you are experiencing graphical glitches, try enabling this option.

System Information for Support

Operating System                              Manjaro Linux
CPU                                           Intel(R) Core(TM) i5-8300H CPU @ 2.30GHz
Graphics API                                  OpenGL ?
Graphics Renderer                             ?
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.

  • Enabling Accurate Multiplication is recomended in certain games. If you are experiencing graphical glitches, try enabling this option.

System Information for Support

Operating System                              Manjaro Linux
CPU                                           Intel(R) Core(TM) i5-8300H CPU @ 2.30GHz
Graphics API                                  OpenGL ?
Graphics Renderer                             ?
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.

  • Enabling Accurate Multiplication is recomended in certain games. If you are experiencing graphical glitches, try enabling this option.