Bug 109831 - Black screen when switching to VT with CTRL ALT F1 on Ivybridge and Broadwell kernel 4.4-rc1
Summary: Black screen when switching to VT with CTRL ALT F1 on Ivybridge and Broadwell...
Status: RESOLVED INVALID
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(DRI - Intel) (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: intel-gfx-bugs@lists.freedesktop.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-22 19:45 UTC by Tasev Nikola
Modified: 2015-12-23 10:20 UTC (History)
1 user (show)

See Also:
Kernel Version: 4.4-rc1
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Tasev Nikola 2015-12-22 19:45:33 UTC
Hi 

I only noticed this yesterday, but starting from kernel 4.4-rc1 to 4.4-rc6 switching to VT with CTRL ALT F1 will result with a black screen (nothing dispayed on it) on my both ivybridge and broadwell Asus UX31A UX305FA.
Login in and typing something in the dark (sudo reboot) is working.

Bisecting gives:

f4502c25ebd04691f284fdafff4a5613299c36dc is the first bad commit
commit f4502c25ebd04691f284fdafff4a5613299c36dc
Author: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Date:   Thu Aug 27 15:44:04 2015 +0200

    drm/i915: Always try to inherit the initial fb.
    
    The initial state is read out correctly and the state is atomic,
    so it's safe to preserve the fb without any hacks if it's suitable.
    
    Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
    Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
    Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>

After some research i found the commit on 

http://www.spinics.net/lists/intel-gfx/msg72159.html

diff --git a/drivers/gpu/drm/i915/intel_fbdev.c b/drivers/gpu/drm/i915/intel_fbdev.c
index 7eff33ff84f6..914679ceb200 100644
--- a/drivers/gpu/drm/i915/intel_fbdev.c
+++ b/drivers/gpu/drm/i915/intel_fbdev.c
@@ -578,9 +578,6 @@ static bool intel_fbdev_init_bios(struct drm_device *dev,
 	struct intel_crtc *intel_crtc;
 	unsigned int max_size = 0;
 
-	if (!i915.fastboot)
-		return false;
-
 	/* Find the largest fb */
 	for_each_crtc(dev, crtc) {
 		struct drm_i915_gem_object *obj =


Reverting the commit fix the issue on both laptop's.

Setting i915.fastboot=0 to grub doesn't help
Comment 1 Jani Nikula 2015-12-23 10:20:00 UTC
Please file new i915 bugs at the freedesktop.org bugzilla:
https://bugs.freedesktop.org/enter_bug.cgi?product=DRI&component=DRM/Intel

Note You need to log in before you can comment on or make changes to this bug.