Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 607636

Summary: sys-kernel/gentoo-sources-4.9.6 xorg hangs on startup with nouveau on optimus systems
Product: Gentoo Linux Reporter: Gleb <kirokko+gentoo>
Component: Current packagesAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 607508    

Description Gleb 2017-01-29 16:35:14 UTC
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.
Comment 1 Alice Ferrazzi Gentoo Infrastructure gentoo-dev 2017-01-30 05:22:09 UTC
could you try to use =sys-kernel/gentoo-sources-4.9.6-r1
and see if is working ?
Comment 2 Gleb 2017-01-30 13:43:45 UTC
Built the kernel, boots and works without any issues.
Comment 3 Agostino Sarubbo gentoo-dev 2017-01-30 15:58:35 UTC
Thanks for the feedback