Skip to content

Commit

Permalink
Disable ASUS GPU
Browse files Browse the repository at this point in the history
Not functional with Buster: #2977 (comment)
  • Loading branch information
Fourdee authored Aug 4, 2019
1 parent e060bde commit 5fb67fe
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions dietpi/dietpi-software
Original file line number Diff line number Diff line change
Expand Up @@ -6157,36 +6157,6 @@ Mycroft AI requires at least 2 GiB memory on first start. We will now increase y
#ln -sf /usr/lib/aarch64-linux-gnu/libMali.so /usr/lib/aarch64-linux-gnu/libMaliOpenCL.so
#ln -sf /usr/lib/aarch64-linux-gnu/libMali.so /usr/lib/aarch64-linux-gnu/libOpenCL.so

# ASUS TB
elif (( $G_HW_MODEL == 52 )); then

Download_Install 'https://dietpi.com/downloads/binaries/asus/ASUSTB_GPU.7z' gpu_driver

cd gpu_driver
dpkg -i *.deb
G_AGF

# - Hold GPU installed packages
apt-mark hold xserver-common xserver-xorg-core

cd /tmp/$G_PROGRAM_NAME
rm -R gpu_driver

dps_index=$software_id Download_Install 'xorg_asustb.conf' /etc/X11/xorg.conf

rm $(ls /usr/lib/arm-linux-gnueabihf/libGLESv2.*)
rm $(ls /usr/lib/arm-linux-gnueabihf/libEGL.*)
mv /usr/lib/arm-linux-gnueabihf/libmali-midgard-r13p0-r0p0.so /usr/lib/arm-linux-gnueabihf/libMali.so
ln -sf /usr/lib/arm-linux-gnueabihf/libMali.so /usr/lib/arm-linux-gnueabihf/libEGL.so.1
ln -sf /usr/lib/arm-linux-gnueabihf/libMali.so /usr/lib/arm-linux-gnueabihf/libEGL.so.1.0.0
ln -sf /usr/lib/arm-linux-gnueabihf/libMali.so /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2
ln -sf /usr/lib/arm-linux-gnueabihf/libMali.so /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2.0.0
ln -sf /usr/lib/arm-linux-gnueabihf/libMali.so /usr/lib/arm-linux-gnueabihf/libgbm.so.1
ln -sf /usr/lib/arm-linux-gnueabihf/libMali.so /usr/lib/arm-linux-gnueabihf/libgbm.so.1.0.0
ln -sf /usr/lib/arm-linux-gnueabihf/libMali.so /usr/lib/arm-linux-gnueabihf/libmali.so
ln -sf /usr/lib/arm-linux-gnueabihf/libMali.so /usr/lib/arm-linux-gnueabihf/libMaliOpenCL.so
ln -sf /usr/lib/arm-linux-gnueabihf/libMali.so /usr/lib/arm-linux-gnueabihf/libOpenCL.so

fi

fi
Expand Down

0 comments on commit 5fb67fe

Please sign in to comment.