Commit 4f231600 authored by Boria138's avatar Boria138

fixed Intel/Iris: Corrupted rendering of OpenGL and Vulkan apps in gamescope

parent 9e339aca
...@@ -118,11 +118,14 @@ start_portwine () { ...@@ -118,11 +118,14 @@ start_portwine () {
if [[ ! -z "$GAMESCOPE_ARGS" ]] if [[ ! -z "$GAMESCOPE_ARGS" ]]
then export PW_RUN_GAMESCOPE="gamescope -o 30 ${GAMESCOPE_ARGS} --" then export PW_RUN_GAMESCOPE="gamescope -o 30 ${GAMESCOPE_ARGS} --"
else export PW_RUN_GAMESCOPE="gamescope -o 30 --" else export PW_RUN_GAMESCOPE="gamescope -o 30 --"
# Workaround for https://gitlab.freedesktop.org/mesa/mesa/-/issues/6029
if grep -q "i915" <<< $(lsmod); then
export INTEL_DEBUG=norbc
fi fi
export PW_WINE_FULLSCREEN_FSR=0 export PW_WINE_FULLSCREEN_FSR=0
else else
export PW_USE_GAMESCOPE=0 export PW_USE_GAMESCOPE=0
unset PW_RUN_GAMESCOPE unset PW_RUN_GAMESCOPE INTEL_DEBUG
fi fi
enabled_fake_nvidia_videocard () enabled_fake_nvidia_videocard ()
......
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