Following the instructions from Maarten Lankhorst on IRC I have created /etc/X11/X2:
#!/bin/bash exec /usr/bin/valgrind --freelist-vol=500000000 --track-origins=yes --leak-resolution=high --malloc-fill=ef --free-fill=df /usr/bin/Xorg "$@" -verbose 10 &>> /home/till/vg.$(hostname) made it executable and redirected the /etc/X11/X link to it. I have also installed valgrind, xserver-xorg-core-dbg, xserver-xorg-input-evdev-dbg, xserver-xorg-input-synaptics-dbg, xserver-xorg-video-intel-dbg. After that I have logged out and logged in again so that X runs under Valgrind. The problem does not occur very often, only every few days. As soon as it happened I switched to a text console and first copiied the log file from vg.till to vg.till.1 (attached) and then ran "sudo apport-bug xorg" to create this bug report (the command starts a text mode browser). The log file vg.till.1 is attached. ** Attachment added: "vg.till.1" https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1058835/+attachment/3356682/+files/vg.till.1 -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in Ubuntu. https://bugs.launchpad.net/bugs/1058835 Title: Black screen with only mouse cursor when resuming from screen power saving mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1058835/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp