Skip to content

Commit 5d1e83b

Browse files
authored
Merge pull request #3857 from sworisbreathing/emulationstation-arm64
Don't set dispmanx flag on arm64 systems
2 parents 4606365 + f53e5ba commit 5d1e83b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

scriptmodules/system.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ function get_rpi_video() {
354354

355355
if [[ "$__has_kms" -eq 1 ]]; then
356356
__platform_flags+=(mesa kms)
357-
if [[ -z "$__has_dispmanx" ]]; then
357+
if ! isPlatform "aarm64" && [[ -z "$__has_dispmanx" ]]; then
358358
if [[ "$__chroot" -eq 1 ]]; then
359359
# in a chroot default to fkms (supporting dispmanx) when debian is older than 11 (bullseye)
360360
[[ "$__os_debian_ver" -lt 11 ]] && __has_dispmanx=1
@@ -365,7 +365,10 @@ function get_rpi_video() {
365365
fi
366366
[[ "$__has_dispmanx" -eq 1 ]] && __platform_flags+=(dispmanx)
367367
else
368-
__platform_flags+=(videocore dispmanx)
368+
__platform_flags+=(videocore)
369+
if ! isPlatform "aarm64"; then
370+
__platform_flags+=(dispmanx)
371+
fi
369372
fi
370373

371374
# delete legacy pkgconfig that conflicts with Mesa (may be installed via rpi-update)

0 commit comments

Comments
 (0)