From ea2b690b38425226f801c62f6aba0622c7036dcc Mon Sep 17 00:00:00 2001 From: spl Date: Tue, 9 Feb 2016 13:52:03 +0000 Subject: [PATCH] raspi-config now checks for mesa driver before allowing GL driver to be enabled. --- raspi-config | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/raspi-config b/raspi-config index 7d0f501..d4fefbc 100755 --- a/raspi-config +++ b/raspi-config @@ -1003,6 +1003,10 @@ do_gldriver() { whiptail --msgbox "Driver and kernel not present on your system. Please update" 20 60 2 return 1 fi + if [ $(dpkg -l libgl1-mesa-dri | tail -n 1 | cut -d ' ' -f 1) != "ii" ]; then + whiptail --msgbox "libgl1-mesa-dri not found - please install" 20 60 2 + return 1 + fi if [ ! -e /usr/bin/xcompmgr ]; then whiptail --msgbox "xcompmgr not found - please install" 20 60 2 return 1