mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
xbmc: keep AMD vsync "let driver decide"
This commit is contained in:
parent
4eae34f2be
commit
3dbdb98f81
@ -89,9 +89,8 @@ EOF
|
|||||||
if which lspci >/dev/null; then
|
if which lspci >/dev/null; then
|
||||||
GPUDEVICE=$(lspci -n | grep 0300)
|
GPUDEVICE=$(lspci -n | grep 0300)
|
||||||
[ "$(echo $GPUDEVICE | grep 10de)" ] && GPUTYPE="NVIDIA" # 10de == NVIDIA
|
[ "$(echo $GPUDEVICE | grep 10de)" ] && GPUTYPE="NVIDIA" # 10de == NVIDIA
|
||||||
[ "$(echo $GPUDEVICE | grep 1002)" ] && GPUTYPE="AMD" # 1002 == AMD
|
|
||||||
fi
|
fi
|
||||||
if [ "$GPUTYPE" = "NVIDIA" -o "$GPUTYPE" = "AMD" ] ; then
|
if [ "$GPUTYPE" = "NVIDIA" ] ; then
|
||||||
cat >> $HOME/.xbmc/userdata/guisettings.xml << EOF
|
cat >> $HOME/.xbmc/userdata/guisettings.xml << EOF
|
||||||
<videoscreen>
|
<videoscreen>
|
||||||
<vsync>2</vsync>
|
<vsync>2</vsync>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user