Xorg unresponsive after screensaver unlock with Dual Head
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-graphics-drivers (Ubuntu) |
New
|
Low
|
Unassigned |
Bug Description
Binary package hint: xorg
As background I'm running multi-GPU multi-session multi-head with 3 screens on two NVIDIA GPU Quadro NVS 290 (G86GL) cards (one on one, two on the other). Machine is a quad core with 8G ram and 8G swap. Individual gnome sessions on each screen (ie I can't transfer programs between screens and each screen has full menus).
Occasionally after unlocking my mouse cursor rapidly flickers between screens and the machine is totally unresponsive at the console.
Logging in via ssh and I can see load and cpu usage rapidly increases, memory usage also goes through the roof until all memory and swap is consumed at which point the oom-killer kicks in (or possibly Xorg crashes) , kills Xorg and I can log back in (with my session lost).
In the mistaken assumption that I didn't have enough swap I increased it (from 2G to 10G) all this did was allow the machine to be a little bit more responsive for longer but Xorg still continued to consume memory, last time it got to 11.2G of virtual and a load average of 24 before I rebooted the machine. As a comparison, right now Xorg has 153m with load averages all at ~0.5.
While I realise this may not include enough as is this is a reasonably regular (and very annoying) bug for me, if any further details can be collected at the time please let me know, I can (within reason) run anything as needed.
Output of top just after it locks up:
top - 17:46:14 up 3 days, 7:18, 18 users, load average: 7.68, 4.75, 2.34
Tasks: 299 total, 4 running, 292 sleeping, 3 stopped, 0 zombie
Cpu0 : 2.3%us, 14.5%sy, 0.9%ni, 81.6%id, 0.6%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu1 : 2.4%us, 15.7%sy, 0.9%ni, 80.6%id, 0.4%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu2 : 3.4%us, 14.9%sy, 0.9%ni, 80.0%id, 0.7%wa, 0.0%hi, 0.1%si, 0.0%st
Cpu3 : 3.4%us, 15.7%sy, 0.9%ni, 79.5%id, 0.4%wa, 0.0%hi, 0.1%si, 0.0%st
Mem: 8193768k total, 8118668k used, 75100k free, 316k buffers
Swap: 7960852k total, 3910980k used, 4049872k free, 19380k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1800 sharpd 20 0 363m 8588 8588 R 121 0.1 46:30.21 compiz
1447 root 20 0 5401m 3.4g 1504 R 101 43.1 192:28.90 Xorg
2637 sharpd 20 0 1755m 1.0g 1.0g S 99 13.3 2403:05 VirtualBox
47 root 20 0 0 0 0 D 12 0.0 0:20.94 kswapd0
19178 sharpd 20 0 3617m 2.7g 2.7g S 5 34.2 194:08.78 VirtualBox
295 root 20 0 0 0 0 D 1 0.0 0:06.25 usb-storage
1685 sharpd 20 0 19412 1076 676 R 1 0.0 0:00.67 top
1 root 20 0 23896 296 260 S 0 0.0 0:03.10 init
2 root 20 0 0 0 0 S 0 0.0 0:00.00 kthreadd
3 root 20 0 0 0 0 S 0 0.0 0:18.85 ksoftirqd/0
4 root RT 0 0 0 0 S 0 0.0 0:00.81 migration/0
5 root RT 0 0 0 0 S 0 0.0 0:00.00 watchdog/0
6 root RT 0 0 0 0 S 0 0.0 0:00.28 migration/1
7 root 20 0 0 0 0 S 0 0.0 0:31.50 ksoftirqd/1
8 root RT 0 0 0 0 S 0 0.0 0:00.00 watchdog/1
9 root RT 0 0 0 0 S 0 0.0 0:01.20 migration/2
10 root 20 0 0 0 0 S 0 0.0 10:10.17 ksoftirqd/2
11 root RT 0 0 0 0 S 0 0.0 0:00.00 watchdog/2