RetroPie / RetroPie-Setup

Shell script to set up a Raspberry Pi/Odroid/PC with RetroArch emulator and various cores
Other
10.04k stars 1.38k forks source link

Retroarch on RK3588 #3977

Closed StonedEdge closed 5 days ago

StonedEdge commented 5 days ago

Currently RetroArch fails to compile on RK3588 systems. Suggest adding the following git diff to get it to work.

diff --git a/scriptmodules/emulators/retroarch.sh b/scriptmodules/emulators/retroarch.sh
index 92c45fa3..918ecbe6 100644
--- a/scriptmodules/emulators/retroarch.sh
+++ b/scriptmodules/emulators/retroarch.sh
@@ -53,6 +53,7 @@ function build_retroarch() {
         isPlatform "gles32" && params+=(--enable-opengles3_2)
     fi
     isPlatform "rpi" && isPlatform "mesa" && params+=(--disable-videocore)
+    isPlatform "rk3588" && params+=(--disable-videocore)
     # Temporarily block dispmanx support for fkms until upstream support is fixed
     isPlatform "dispmanx" && ! isPlatform "kms" && params+=(--enable-dispmanx --disable-opengl1)
     isPlatform "mali" && params+=(--enable-mali_fbdev)
cmitu commented 5 days ago

This was already reported I think in the forums, but I cannot reproduce and it's a RetroArch build issue, not RetroPie - you can open an issue in the RetroArch forums and ask them to amend the videocore feature detection.

EDIT: please use the forum for support questions like these, as explained in the issue template.