Bug 91613 - [BSW] gnome-session fail to launch with black screen showing
Summary: [BSW] gnome-session fail to launch with black screen showing
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: Other All
: medium normal
Assignee: David Weinehall
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-12 06:35 UTC by wendy.wang
Modified: 2017-10-06 14:29 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
xorg.log (9.36 KB, text/plain)
2015-08-12 06:35 UTC, wendy.wang
no flags Details
dmesg log (53.27 KB, text/plain)
2015-08-12 06:36 UTC, wendy.wang
no flags Details
Ensure that the child_device_config struct is large enough (1.44 KB, patch)
2015-08-12 10:13 UTC, David Weinehall
no flags Details | Splinter Review

Description wendy.wang 2015-08-12 06:35:58 UTC
Created attachment 117639 [details]
xorg.log

Test environment
Failed platform: Braswell

Regression? Should be one regression against GFX kernel, 
Try to bisect on drm-intel-next-queued branch, but cannot find bad commit.
But on drm-intel-nightly, issue happened after August fifth 

 Libdrm:		(master)libdrm-2.4.62-106-gc8df9e724e9a2559d551fa93f13afe7084b6af3f
 Mesa:		(master)42d283a0cc928a9e3ecddf1a90f9417ef1a34392
 Xserver:		(master)xorg-server-1.17.0-287-gea03e314f98e5d8ed7bf7a508006a3d84014bde5
 Xf86_video_intel:		(master)2.99.917-406-gbc063c9f4af90542297877281b1b9f4692dafde4
 Cairo:		(master)2cf2d8e340a325adb205baf8e4bd64e1d1858008
 Kernel:   (drm-intel-nightly)c0423306790589bed75fd75b0a9388b4b41e4a48
OS: Ubuntu 14.04 LTS
gnome-session version 3.9.90

Reproduce steps:
1.	Boot up system
2.	Xinit &
3.	Screen
4.	Gnome-session &
SUT fail to stat gnome-session with black screen showing.
Comment 1 wendy.wang 2015-08-12 06:36:25 UTC
Created attachment 117640 [details]
dmesg log
Comment 2 Chris Wilson 2015-08-12 08:02:32 UTC
You need to recompile your xf86 drivers (e.g. xf86-video-intel) and attach the drm.debug=6 dmesg. You have a combination of a lack of drivers preventing X from loading and a link training failure.
Comment 3 Mika Kahola 2015-08-12 08:50:07 UTC
You could give it a go for this patch and check if it helps

https://patchwork.freedesktop.org/patch/56811/
Comment 4 David Weinehall 2015-08-12 10:13:22 UTC
Created attachment 117644 [details] [review]
Ensure that the child_device_config struct is large enough

Thanks for reporting this bug! Mika's patch should indeed fix this, but here's a more complete patch.
Comment 5 wendy.wang 2015-08-19 01:29:51 UTC
Attached patch have been merged up, and verified latest drm-intel-nightly branch kernel has fix this issue on BSW, so close this issue as fixed.

2015-08-17 gfx sw stack driver:
Libdrm:		(master)libdrm-2.4.63-1-gf05a74fb9cb07a02c9bade65d66ba6949a2567a2
 Mesa:		(master)e32325fc85f0d1485dec63b363c18d76f4e89714
 Xserver:		(master)xorg-server-1.17.0-289-g533fb627398e20f863234d780f4463e37007515b
 Xf86_video_intel:		(master)2.99.917-436-g9b0ed16385ae076c262a2e09639822d9488ccf57
 Cairo:		(master)2cf2d8e340a325adb205baf8e4bd64e1d1858008
 Libva:		(master)fdd6ee00c916f530e4d0aa1b250633643999dcf1
 Libva_intel_driver:		(master)7c47a8f74878904e0d2fbb5da966552f783d74ab
 Kernel:   (drm-intel-nightly)e1561a55c386501a46bf43223dacc3b90b1dad88
Comment 6 Jani Nikula 2015-08-24 07:41:31 UTC
For completeness, the history in v4.2 will be:

commit 047fe6e6db9161e69271f56daaafdaf2add023b1
Author: David Weinehall <david.weinehall@linux.intel.com>
Date:   Tue Aug 4 16:55:52 2015 +0300

    drm/i915: Allow parsing of variable size child device entries from VBT

commit bf1a5fd2eccf20b19941b8461ce9c90899054bd5
Author: Jani Nikula <jani.nikula@intel.com>
Date:   Tue Aug 18 12:33:36 2015 +0300

    Revert "drm/i915: Allow parsing of variable size child device entries from VBT"

and for v4.3/drm-intel-next-fixes/nightly

commit e2d6cf7f3696c87546f7fefe9bac79ee09db4bef
Author: David Weinehall <david.weinehall@linux.intel.com>
Date:   Fri Aug 21 16:52:01 2015 +0300

    drm/i915: Allow parsing of variable size child device entries from VBT
Comment 7 Elizabeth 2017-10-06 14:29:37 UTC
Closing old verified.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.