From d51fb87c1071bb170f15391b1534ea2be8f6c281 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Tue, 23 Oct 2007 12:07:39 +0000 Subject: [PATCH] Current nvidia driver no longer has buggy vsync. svn path=/trunk/KDE/kdebase/workspace/; revision=728472 --- compositingprefs.cpp | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/compositingprefs.cpp b/compositingprefs.cpp index 82055f7097..df9266ae7b 100644 --- a/compositingprefs.cpp +++ b/compositingprefs.cpp @@ -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; + } } }