Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 682634 - i965 not able to start xserver from kernel 4.19.27
Summary: i965 not able to start xserver from kernel 4.19.27
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-06 01:48 UTC by Quinn Jones
Modified: 2019-07-09 18:20 UTC (History)
1 user (show)

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


Attachments
Xorg.0.log (Xorg.0.log,26.05 KB, text/x-log)
2019-04-06 01:48 UTC, Quinn Jones
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Quinn Jones 2019-04-06 01:48:49 UTC
Created attachment 572008 [details]
Xorg.0.log

There appears to be a bad interaction between recent kernels (>=linux-4.19.27) and xserver.  I'm seeing it on Gentoo, but it has already been reported on Arch, Fedora, and other distributions, as well as Xorg.  According to tickets, it appears that kernel and xorg developers are trying to pass the buck to the other, leaving it up to distributions to handle patches themselves.

Xorg ticket: https://gitlab.freedesktop.org/xorg/xserver/issues/542
Arch ticket: https://bbs.archlinux.org/viewtopic.php?id=244624

Symptom: X does not start properly and the screen fails to initialize.  Xorg.0.log attached.

Pertinent bits:

[   216.756] (EE) modeset(0): failed to set mode: Invalid argument
[   216.756] (EE) 
Fatal server error:
[   216.756] (EE) EnterVT failed for screen 0

Hardware (using i965 driver): 00:02.0 VGA compatible controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller (rev 21)
Comment 1 Franz Trischberger 2019-04-15 10:06:54 UTC
Same here:
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller
 (rev 09) (prog-if 00 [VGA controller])

I switched from mesa driver back to xf86-video-intel and I can get into my desktop again. But unfortunately I now face problems with a black screen when reenabling a screen after screen blanking (energy saving). I have to switch to another VT and back to get it properly redrawn.
Both issues (EnterVT failed with mesa, black screen after reactivating blanked screen) go away with my last used linux-4.19.23.
Comment 2 Matt Turner gentoo-dev 2019-07-09 18:20:46 UTC
Looks like the revert of the kernel patch is in 5.1 and other stable trees.