From c23e800154be268a1f3897391ec0e6031add7e8b Mon Sep 17 00:00:00 2001 From: Mikhail Tergoev Date: Sun, 1 Dec 2024 15:45:58 +0300 Subject: [PATCH] updated WEBKIT_DISABLE_DMABUF_RENDERER check --- data_from_portwine/scripts/functions_helper | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/data_from_portwine/scripts/functions_helper b/data_from_portwine/scripts/functions_helper index 43c51b9..4e8e630 100755 --- a/data_from_portwine/scripts/functions_helper +++ b/data_from_portwine/scripts/functions_helper @@ -3266,7 +3266,9 @@ start_portwine () { fi #https://github.com/flathub/net.lutris.Lutris/pull/368#issuecomment-1751381312 - if [[ (echo $PW_GPU_USE | grep -i nvidia) ]] || [[ $(glxinfo | grep "OpenGL renderer" | grep -i nvidia) ]]; then + if [[ "${PW_GPU_USE,,}" =~ nvidia ]] \ + || [[ $(glxinfo | grep "OpenGL renderer" | grep -i nvidia) ]] + then export WEBKIT_DISABLE_DMABUF_RENDERER=1 fi