Tearing on GL apps (Nvidia 319 driver, GTX460, 12.2/64, KDE3)

My Steam-on-Linux experience was overshadowed by massive tearing.I’ve been to some places and know that nvidia seems to have a part in here but so far now solution.So, can someone give me an overview what’s worth checking?(I read that the window manager might be a problem, so I’ll try an X/term session for fun and see how that goes in a moment)

Update: no video tearing in IceWM, steam won’t start, however, or at least not half-life2.glxgears maximized, however has tearing, but not only the content but the whole window.So KWin3 seems to have a part in it.Still no idea where to look.

SOLVED.KDE3 and xfce (and probably others) have window managers that don’t do GL compositingKDE4 for example has so no issue there.SOLUTION:Install standalone GL compositing manager, I’m using “compton” right now.Best install libconfig-devel, check clone git from https://github.com/chjj/comptonmakesudo make install (cp to /usr/bin manually and chmod 755 / chown root:users if all else fails, it gave me problems here due to something missing docs related)then run compton --vsync opengl-swc --unredir-if-possible --backend glx --glx-no-stencil(put in ~/.xinitrc or ~/.xprofile or /etc/xprofile or wherever you see fit)or even compton --config ~/.compton.config sample config here:https://wiki.archlinux.org/index.php/ComptonAND CHANGE IT TO HAVE THE PARAMS ABOVE! :)GL now works smooth here.Can’t do a thing about the stupid formatting, complain to forum admins.