I had the same problem when using nvidia driver. I only obtained to solve when I changed of nvidia for nv in xorg.conf.
-- Clicking on Codes of Conduct link in Launchpad crashes X https://launchpad.net/bugs/49789 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs