mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
xbmc: ... or better remove the vsync hack
This commit is contained in:
parent
3dbdb98f81
commit
d718135f1e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user