Issue:
Hi all,
I am struggling to run the latest citra binary compiled from source from the official Citra github page (I’ve also tried 1988, Citra Canary & also Citra).
I have compiled from source using GCC (Optimized Mode) and I am trying to execute the binary via LD_LIBRARY_PATH=~/libmali/x11/, which contains symlinks to the required X11 userspace drivers as part of the libmali blob (you can find the driver here: GitHub - JeffyCN/mirrors at libmali).
Trying to run it on GNOME Wayland results in the following error:
stonededge@rock-5-cmio:~/citra/build/bin/Release$ QT_QPA_PLATFORM=xcb ./citra /home/stonededge/Mario.3ds
[ 0.001027] Config citra/config.cpp:LoadINI:46: Successfully loaded /home/stonededge/.config/citra-emu/sdl2-config.ini
[ 0.329969] Input input_common/udp/client.cpp:StartCommunication:206: Starting communication with UDP input server on 127.0.0.1:26760
LIBGL: Initialising gl4es
LIBGL: v1.1.5 built on Apr 18 2023 02:39:01
LIBGL: Using GLES 2.0 backend
LIBGL: loaded: libGLESv2.so
LIBGL: loaded: libEGL.so
LIBGL: Using GLES 2.0 backend
arm_release_ver: g13p0-01eac0, rk_so_ver: 3
X connection to :0 broken (explicit kill or server shutdown).
[ 0.329969] Input input_common/udp/client.cpp:StartCommunication:206: Starting communication with UDP input server on 127.0.0.1:26760
LIBGL: Shuting down
Segmentation fault
These drivers support Open GLES 3.2 (which is required for Citra to run). I am able to get a window however the screen is completely black and the log doesn’t tell me much. Has anyone been able to get this successfully running on an RK3588s powered board, or should I be waiting for Vulkan support and just give up for now?
Any help appreciated (this method works for pointing both Dolphin and AetherSX2 AppImages to Open GLES 3.2). I’ve also enabled use_gles = 1 in the sdl2-config.ini file also.
Build files were generated by doing the following. I wasn’t able to compile until I compiled glslang from source as I was getting a glslangValidator error: cmake … -DCMAKE_BUILD_TYPE=Release -DENABLE_FFMPEG_AUDIO_DECODER=ON -DCMAKE_PROGRAM_PATH=“~/glslang/build/install/bin”
System Information
- Operating System: Armbian 23.11.0-trunk jammy - Gnome on xorg
- CPU: RK3588s
- GPU: Mali-G610
- Citra Version (found in title bar): 09ee80f (Compiled from Source)
- Game: All games
- 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 (13.6 KB)