View Single Post
Old 06-01-10, 10:59 PM   #7
Registered User
Join Date: May 2010
Posts: 22
Default Re: KDE + Nvidia = Tearing

Originally Posted by Dragoran View Post
Well 30 fps indicates that there is a double wait ... i.e enable either kwin's sync to vblank or enable at the driver level but not *both*.
thanks for helping

but i have a problem that goes beyond that
(and i have this exact problem in two computers)

more info:

kwin vsync on, nvidia vsync on:

kwin goes at 60 fps as long as i have an opengl effect running
glxgears 60 fps (but kwin gets only 30 fps (double waiting?))

kwin vsync on, nvidia vsync off:

kwin ~50-60 (60 most the time) (still tearing)
glxgears 60 fps (kwin ~30 fps (double wait))

kwin vsync off, nvidia vsync on:

kwin ~100 fps (nvidia vsync not working?)
glxgears 60 fps (kwin 30-62 fps (WTF?))

kwin vsync off, nvidia vsync off:

kwin ~100 fps
glxgears ~55 fps (kwin ~30-55 fps)
__GL_SYNC_TO_VBLANK=1 is making glxgears to vsync? (see PS!)

for the tests i disabled triplebuffering in xorg.conf
and commented the __GL_SYNC_TO_VBLANK=1 in my xinitrc but somehow it
still gets loaded acording to printenv.
and before each test i restarted X.

Im going somehow to disable the __GL_SYNC_TO_VBLANK=1 and post back later
xazero is offline   Reply With Quote