Skip to content

Commit f53e5ba

Browse files
Don't set dispmanx platform flag on arm64 systems
1 parent be7b435 commit f53e5ba

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)