Citra crashes when hardware shader enabled

Issue:
Citra crashes when i open Pokemon Ultra Sun and the Hardware shader option is enabled, the game starts when i disable it but there are fps drops. Please help

System Information

  • Operating System: Linux Mint 20 Cinnamon
  • CPU: AMD A6-9220e
  • GPU: AMD Radeon 530
  • Citra Version (found in title bar): Citra Canary 1824
  • Game: Pokemon Ultra Sun
  • Screenshot of Issue (include the full Citra window including titlebar):

Diagnostic Log
Upload your log file as an attachment by dragging & dropping.
citra_log.txt (11.7 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

System Information for Support

Client Version                                Canary 1824 HEAD-44728606c
Operating System                              Linux 5.4.0-42-generic
CPU                                           AMD A6-9220e RADEON R4, 5 COMPUTE CORES 2C+3G  
Graphics API                                  OpenGL ?
Graphics Renderer                             AMD STONEY (DRM 3.35.0, 5.4.0-42-generic, LLVM 9.0.1)

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

Can you run the following command in the terminal and tell us what it says?
lspci -nnk | grep -i vga -A3

00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Stoney [Radeon R2/R3/R4/R5 Graphics] [1002:98e4] (rev eb)
Subsystem: Acer Incorporated [ALI] Stoney [Radeon R2/R3/R4/R5 Graphics] [1025:137d]
Kernel driver in use: amdgpu
Kernel modules: amdgpu

Ah wait, ops. I meant inxi -Gxxxz :stuck_out_tongue: sorry.

Graphics:
Device-1: AMD Stoney [Radeon R2/R3/R4/R5 Graphics]
vendor: Acer Incorporated ALI driver: amdgpu v: kernel bus ID: 00:01.0
chip ID: 1002:98e4
Display: x11 server: X.Org 1.20.8 driver: amdgpu,ati
unloaded: fbdev,modesetting,vesa resolution: 1366x768~60Hz
OpenGL: renderer: AMD STONEY (DRM 3.35.0 5.4.0-42-generic LLVM 10.0.0)
v: 4.5 Mesa 20.0.8 direct render: Yes

Hm, amdgpu seems to be loaded in xorg too. I guess this will require more digging into :confused: See if enabling Accurate Multiplication and turning off Disk Shader Cache fixes it.

Worst case you will need to build Citra from source: https://citra-emu.org/wiki/building-for-linux/ and run a debugger to get a call stack for the crash. I don’t have any laptop with your specs to do it myself unfortunately.

Does it happen on Nightly too?

enabling Accurate Multiplication and turning off Disk Shader Cache did not work :frowning:
I will try the nightly version

build citra in Debug Mode?

it shows that i have 2 gpu, system uses the 2nd one

I will need to ask the others for a few things.

Ok so for debugging, you will need to follow the Building with debug symbols section on the page then the Debugging section. Run the bt command after it crashes.

1 Like

this worked for me too! :smiley:
thanks

1 Like