Commit c23e8001 authored by Mikhail Tergoev's avatar Mikhail Tergoev

updated WEBKIT_DISABLE_DMABUF_RENDERER check

parent 795c77af
...@@ -3266,7 +3266,9 @@ start_portwine () { ...@@ -3266,7 +3266,9 @@ start_portwine () {
fi fi
#https://github.com/flathub/net.lutris.Lutris/pull/368#issuecomment-1751381312 #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 export WEBKIT_DISABLE_DMABUF_RENDERER=1
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment