View Single Post
Old 05-31-10, 06:30 PM   #1
xazero
Registered User
 
Join Date: May 2010
Posts: 22
Default KDE + Nvidia = Tearing

Hi all

Ive been experiencing tearing (whole screen not only xv), when composite is enabled and the nvidia drivers installed, even if i have vsync turned on .


also i have to say that if i enable the snow effect the tearing completely disappears and the fps plugin says kwin is running exactly at 61 fps (which is the right value) but if i turn of the snow effect the tearing eventually comes back.
that makes me think that only opengl apps are getting the vsync. (and the snow effect makes the whole desktop to be opengl drawn i guess).

i know that this is probably not a nvidia bug but no one have been able to help me in the kde forums nor in the ubuntu forums.

http://forum.kde.org/viewtopic.php?f=15&t=88200
http://ohioloco.ubuntuforums.org/sho....php?t=1493721

HW:macbook pro 5,5
-GPU: nvidia geforce 9400m

SW: Kubuntu 10.04
-nvidia drivers: 195.36.15
-Xorg(server vendor version): 1.7.6
-KDE SC: 4.4.3
-QT:4.6.dontknow

Config:

-xorg.conf
Quote:
...
Option "NoLogo" "True"
Option "TripleBuffer" "True"
Option "DynamicTwinView" "False"
Option "BackingStore" "True"
Option "RenderAccel" "True"
Option "DamageEvents" "True"
Option "PixmapCacheSize" "1024000"
Option "AddARGBGLXVisuals" "True"
Option "AllowIndirectPixmaps" "True"
...
Driver "nvidia"
...

-~/.xinitrc
Quote:
export __GL_SYNC_TO_VBLANK=1
#export QT_GRAPHICSSYSTEM=opengl ##I KNOW IT DOESN'T WORK BUT I WISH IT DID
nvidia-settings --load-config-only
nvidia-settings -a InitialPixmapPlacement=2 -a GlyphCache=1
. /etc/X11/xinit/xinitrc

kwinrc
Quote:
[Compositing]
AnimationSpeed=2
Backend=OpenGL
CheckIsSafe=true
DisableChecks=true
Enabled=true
GLDirect=true
GLMode=TFP
GLTextureFilter=2
GLVSync=true
HiddenPreviews=6
RefreshRate=60
UnredirectFullscreen=true
#XRenderSmoothScale=true
...

.nvidia-settings-rc
Quote:
...
0/SyncToVBlank=1
...
0/OpenGLImageSettings=1 # dont know what's this for
...
0/XVideoTextureSyncToVBlank=1
...
xazero is offline   Reply With Quote