Skip to content

Commit 586f697

Browse files
authored
Merge pull request #3773 from joolswills/kms_warning
setup - only show the kms driver warning on Debian 10 and older
2 parents 258ac93 + cbb0b5f commit 586f697

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scriptmodules/admin/setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ function depends_setup() {
7575
exec "$scriptdir/retropie_packages.sh" setup post_update gui_setup
7676
fi
7777

78-
if isPlatform "rpi" && isPlatform "mesa" && ! isPlatform "rpi4"; then
78+
if [[ "$__os_debian_ver" -le 10 ]] && isPlatform "rpi" && isPlatform "mesa" && ! isPlatform "rpi4"; then
7979
printMsgs "dialog" "WARNING: You have the experimental desktop GL driver enabled. This is NOT supported by RetroPie, and Emulation Station as well as emulators may fail to launch.\n\nPlease disable the experimental desktop GL driver from the raspi-config 'Advanced Options' menu."
8080
fi
8181

0 commit comments

Comments
 (0)