melonds-sa - RK3566 / RK3588 / S922X with libmali needs QT_QPA_PLATFORM=wayland

This commit is contained in:
John Williams
2025-11-24 09:37:55 +11:00
parent 99c73d6bd9
commit d3f0cd914a

View File

@@ -135,8 +135,16 @@ else
ROM="${1}"
fi
#Set QT Platform to Wayland
# QT platform - default to xcb
export QT_QPA_PLATFORM=xcb
# QT platform - some device / driver combinations need wayland
case ${HW_DEVICE} in
RK3566|RK3588|S922X)
[[ $(/usr/bin/gpudriver) == "libmali" ]] && export QT_QPA_PLATFORM=wayland
;;
esac
@PANFROST@
@HOTKEY@
@LIBMALI@