Original discussion is here: https://bugs.gentoo.org/show_bug.cgi?id=607508 TL;DR: Since 4.9 xorg hangs with the following conditions: - optimus laptop - nouveau driver / kernel module - runpm enabled (which is the default state) BUG: https://bugs.freedesktop.org/show_bug.cgi?id=98690 PATCH (from 4.10 tree): https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=68f458eec7069d618a6c884ca007426e0cea411b PATCH (direct link): https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/patch/?id=68f458eec7069d618a6c884ca007426e0cea411b Answering the question by Mike Pagano: > Does the patch apply to 4.9 cleanly and fix the issue? Yes, patch applies and fixes the issue. Without patch system fails to boot, xorg hangs.
could you try to use =sys-kernel/gentoo-sources-4.9.6-r1 and see if is working ?
Built the kernel, boots and works without any issues.
Thanks for the feedback
Please note that the patch is now in 4.9.7: https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=2abb7f408f7cfb9af9218e74507f5f44af154302