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