NVIDIA drivers freezes - solved
I'm mainly posting this message so eventually somebody with the same problem can google this for a fix.
recently my nvidia-drivers started to behave strangly and kept freezing my X session frequently, sometimes without a chance to recover gracefully.
this got logged in /var/log/Xorg.0.log
(WW) NVIDIA(0): WAIT (0, 6, 0x8000, 0x00004918, 0x00004918)
(WW) NVIDIA(0): WAIT (0, 6, 0x8000, 0x00004968, 0x00004968)
in syslog
NVRM: Xid (0001:00): 8, Channel 00000000
NVRM: Xid (0001:00): 36, L0 -> L0
NVRM: Xid (0001:00): 9, Channel 00000020 Instance 00000000 Intr 00100000
after avoiding the issue (by not using compiz or any other GL apps) for quite some time now, I finally found a solution -> here!
In my case, adding this to xorg.conf fixed it:
Option "UseEvents" "false"
good luck!
