nouveau GF108 kernel crash in optimus mode when enabling external display output
@pasik
Submitted by Pasi Karkkainen Assigned to Nouveau Project
Description
Created attachment 79549
dmesg Linux 3.8.11 nouveau optimus before the kernel crash
I'm using Lenovo T430 laptop with intel+nvidia hybrid graphics, optimus is enabled in BIOS:
$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GF108 [Quadro NVS 5400M] (rev a1)
$ uname -a
Linux localhost.localdomain 3.8.11-200.fc18.x86_64 #1 SMP Wed May 1 19:44:27 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
I boot up the system with only laptop internal LVDS active on intel gpu, and when in X session, I enable the second display on nouveau gpu connected to the dock DP2/DVI connector.
At this point the kernel crashes immediately.
Screenshots of the kernel crash/stacktrace here:
http://pasik.reaktio.net/nouveau/debug/nouveau-kernel-crash01.jpg
http://pasik.reaktio.net/nouveau/debug/nouveau-kernel-crash02.jpg
hand-written bits from the kernel crash:
Pid: 1208, comm: Xorg Not tainted 3.8.11-200.fc18.x86_64 #1 LENOVO 2349H2G/2349H2G
RIP: 0010:[<ffffffffa01abb7e>
] [<ffffffffa01abb7e>
] nvc0_vm_map_sg+0x8e/0x110 [nouveau]
RSP: 0018:ffff8803298357c8 EFLAGS: 00010206
..
Process Xorg (pid: 1208,..)
..
Call Trace:
.. nouveau_vm_map_sg+0xc2/0x130 [nouveau]
.. nouveau_vma_getmap.isra.11+0x68/0xa0 [nouveau]
.. nouveau_bo_move_m2mf.isra.12+0x85/0x140 [nouveau]
.. ? nouveau_vm_map_at+0x153/0x1c0 [nouveau]
.. nouveau_bo_move+0xa5/0x400 [nouveau]
.. ttm_bo_handle_move_mem+0x245/0x610 [ttm]
More info from the screenshots above (also attached)..
Kernel dmesg from before the crash attached.
I also tried with Linux kernel 3.9.2 and there the system crashes hard aswell.
Attachment 79549, "dmesg Linux 3.8.11 nouveau optimus before the kernel crash":
dmesg-linux-3.8.11-optimus.txt