From 538eae4aef6ca0fa0092fc5738fc77f3c00a89b2 Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Tue, 15 Oct 2019 12:33:42 +0200 Subject: [PATCH] Workarounds Remove ExoPC workaround to force it on OpenGL 1.4. Only include libhybris on the LD_LIBRARY_PATH if we actually have it. --- bin/kwinwrapper | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/bin/kwinwrapper b/bin/kwinwrapper index 44a6857a..da4ef59d 100755 --- a/bin/kwinwrapper +++ b/bin/kwinwrapper @@ -18,12 +18,8 @@ export QT_ENABLE_GLYPH_CACHE_WORKAROUND=1 export QT_QUICK_CONTROLS_MOBILE=true # work around to fix : https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1507584 -export LD_LIBRARY_PATH=/usr/lib/arm-linux-gnueabihf/libhybris-egl:$LD_LIBRARY_PATH - -if [ "`cat /sys/devices/virtual/dmi/id/board_name`" = "EXOPG06411" ]; then - # The ExoPC Slate from Akademy in Berlin only supports OpenGL 1.4, to get it to - # work with KWin (which requires 2.0), fake 2.0 support. - export MESA_GL_VERSION_OVERRIDE=2.0 +if [ -d /usr/lib/arm-linux-gnueabihf/libhybris-egl ]; then + export LD_LIBRARY_PATH=/usr/lib/arm-linux-gnueabihf/libhybris-egl:$LD_LIBRARY_PATH fi touch /tmp/simplelogin_starting