Same here, optimus graphics with NVIDIA GT650M and intel graphics. Up to kernel
version 4.8 the graphics is working fine. With kernel 4.9.2 X hangs. Also
„lspci“ hangs.
Starting in text mode (sudo systemctl set-default multi-user.target) I can
issue lspci:
01:00.0 VGA compatible controller: NVIDIA Corporation GK107M [GeForce GT 650M]
(rev a1) (prog-if 00 [VGA controller])
Subsystem: Dell GK107M [GeForce GT 650M]
Flags: bus master, fast devsel, latency 0, IRQ 31
Memory at f0000000 (32-bit, non-prefetchable) [size=16M]
Memory at c0000000 (64-bit, prefetchable) [size=256M]
Memory at d0000000 (64-bit, prefetchable) [size=32M]
I/O ports at 3000 [size=128]
Expansion ROM at <ignored> [disabled]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Endpoint, MSI 00
Capabilities: [b4] Vendor Specific Information: Len=14 <?>
Capabilities: [100] Virtual Channel
Capabilities: [128] Power Budgeting <?>
Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024
<?>
Capabilities: [900] #19
Kernel driver in use: nouveau
Kernel modules: nouveau
Workaround is to blacklist nouveau.