Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 607636 - sys-kernel/gentoo-sources-4.9.6 xorg hangs on startup with nouveau on optimus systems
Summary: sys-kernel/gentoo-sources-4.9.6 xorg hangs on startup with nouveau on optimus...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 607508
  Show dependency tree
 
Reported: 2017-01-29 16:35 UTC by Gleb
Modified: 2017-02-01 15:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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