Current nvidia driver no longer has buggy vsync.
svn path=/trunk/KDE/kdebase/workspace/; revision=728472
This commit is contained in:
parent
c0632944a9
commit
d51fb87c10
1 changed files with 8 additions and 4 deletions
|
@ -214,14 +214,18 @@ void CompositingPrefs::applyDriverSpecificOptions()
|
|||
}
|
||||
else if( mDriver == "nvidia" )
|
||||
{
|
||||
kDebug() << "nvidia driver, disabling vsync";
|
||||
mEnableVSync = false;
|
||||
mStrictBinding = false;
|
||||
if( mVersion >= Version( "96.39" ))
|
||||
if( mVersion >= Version( "100.14.23" ))
|
||||
{
|
||||
kDebug() << "nvidia >= 96.39, enabling compositing";
|
||||
kDebug() << "nvidia >= 100.14.23, enabling compositing";
|
||||
mEnableCompositing = true;
|
||||
}
|
||||
else if( mVersion >= Version( "96.39" ))
|
||||
{
|
||||
kDebug() << "nvidia >= 96.39, enabling compositing, disabling vsync";
|
||||
mEnableCompositing = true;
|
||||
mEnableVSync = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue