xbmc: ... or better remove the vsync hack

This commit is contained in:
Stefan Saraev 2014-01-20 21:07:52 +02:00
parent 3dbdb98f81
commit d718135f1e

View File

@ -81,21 +81,5 @@ EOF
cat /usr/share/xbmc/config/guisettings.xml >> $HOME/.xbmc/userdata/guisettings.xml
fi
#
# common setup for amd and nvidia graphic
#
# Always sync to vblank
if which lspci >/dev/null; then
GPUDEVICE=$(lspci -n | grep 0300)
[ "$(echo $GPUDEVICE | grep 10de)" ] && GPUTYPE="NVIDIA" # 10de == NVIDIA
fi
if [ "$GPUTYPE" = "NVIDIA" ] ; then
cat >> $HOME/.xbmc/userdata/guisettings.xml << EOF
<videoscreen>
<vsync>2</vsync>
</videoscreen>
EOF
fi
echo "</settings>" >> $HOME/.xbmc/userdata/guisettings.xml
fi