NetBSD Problem Report #50651

From  Tue Jan 12 19:54:36 2016
Return-Path: <>
Received: from ( [])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "", Issuer "Postmaster" (verified OK))
	by (Postfix) with ESMTPS id B01127ABE6
	for <>; Tue, 12 Jan 2016 19:54:36 +0000 (UTC)
Message-Id: <>
Date: Tue, 12 Jan 2016 20:56:56 +0100
Subject: i915drmkms/xf86-video-intel: black screen switching X -> ttyEx
X-Send-Pr-Version: 3.95

>Number:         50651
>Category:       port-amd64
>Synopsis:       i915drmkms/xf86-video-intel: black screen switching X -> ttyEx
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    riastradh
>State:          feedback
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 12 19:55:00 +0000 2016
>Last-Modified:  Sun Aug 20 06:48:24 +0000 2023
>Originator:     Ignatios Souvatzis
>Release:        NetBSD 7.0_STABLE
	private machine
System: NetBSD henrietta 7.0_STABLE NetBSD 7.0_STABLE (GENERIC) #2: Sat Jan 9 15:39:43 CET 2016 is@henrietta:/var/itch/sources/7/obj.amd64/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
Source-date:	20160109T1530

userland: NetBSD-6.1.5_PATCH as of late December 2015

X11: pkgsrc-2015Q2 X; en detail:

modular-xorg-server-1.17.1;Modular X11 server from modular
xf86-input-keyboard-1.8.1nb1;Modular Xorg keyboard driver
xf86-input-mouse-1.9.1nb2;Modular Xorg mouse driver
xf86-input-void-1.4.1;Modular Xorg dummy input driver
xf86-video-intel-2.99.917nb3;Modular Xorg Intel video driver
xf86-video-vesa-2.3.3nb3;Modular Xorg VESA video driver
xf86-video-wsfb-0.4.0nb1;Modular Xorg wsdisplay framebuffer video driver

dmesg.boot excerpt:

pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0: vendor 0x8086 product 0x2a00 (rev. 0x0c)
agp0 at pchb0: i965-family chipset
agp0: detected 7676k stolen memory
agp0: aperture at 0xe0000000, size 0x20000000
i915drmkms0 at pci0 dev 2 function 0: vendor 0x8086 product 0x2a02 (rev. 0x0c)
drm: Memory usable by graphics device = 512M
drm: Supports vblank timestamp caching Rev 2 (21.10.2013).
drm: Driver supports precise vblank timestamp query.
i915drmkms0: interrupting at ioapic0 pin 16 (i915)
drm: initialized overlay support
intelfb0 at i915drmkms0
i915drmkms0: info: registered panic notifier
intelfb0: framebuffer at 0xffff8000477f8000, size 1280x800, depth 32, stride 5120
wsdisplay0 at intelfb0 kbdmux 1: console (default, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
vendor 0x8086 product 0x2a03 (miscellaneous display, revision 0x0c) at pci0 dev 2 function 1 not configured

Xorg.0.log excerpt:

[    35.531] (II) Loading /usr/pkg/lib/xorg/modules/drivers/
[    35.587] (II) Loading /usr/pkg/lib/xorg/modules/input/
[    35.588] (II) Loading /usr/pkg/lib/xorg/modules/input/
[    37.616] (II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD, id 7)
[  1517.127] (II) AIGLX: Suspending AIGLX clients for VT switch
[  1523.172] (II) AIGLX: Resuming AIGLX clients after VT switch
[  1523.173] (II) intel(0): switch to mode 1280x800@60.0 on LVDS1 using pipe 1, position (0, 0), rotation normal, reflection none

When booting the -7 kernel, the machine switches to the intelfb wscons 
(still with green kernel/white userland text on black as per default).

Loading X with xf86-video-intel works, e.g. mplayer -vo xv needs only
some 2.5% cpu for a scaled-to-fullscreen video.

Switching to a text screen (e.g. ctrl-alt-F2) shows only a black screen.
I can log in blindly and check this (from X11) with "who" or by running
"echo ctrl-g"

Switching back to a working X11 with ctrl-alt-F5 works.

	ctrl-alt-F1 or ctrl-alt-F2 or ctrl-alt-F3 or ctrl-alt-F4
	workaround: type blindly or use xterm in X11.



From: Ignatios Souvatzis <>
Subject: Re: port-amd64/50651
Date: Wed, 13 Jan 2016 10:34:37 +0100

 I noticed on one occasion that readable text comes back when
 shutting down the machine.

From: Ignatios Souvatzis <>
Subject: Re: port-amd64/50651
Date: Mon, 18 Jan 2016 18:19:15 +0100

 On Wed, Jan 13, 2016 at 09:35:01AM +0000, Ignatios Souvatzis wrote:

 >  I noticed on one occasion that readable text comes back when
 >  shutting down the machine.

 each time. So something knows how to switch back to text; it just happens
 that the screen switch routine doesn't.


Responsible-Changed-From-To: port-amd64-maintainer->riastradh
Responsible-Changed-When: Mon, 30 May 2016 17:16:11 +0000
drmkms manager

Subject: Re: port-amd64/50651: i915drmkms/xf86-video-intel: black screen
 switching X -> ttyEx
Date: Wed, 3 Aug 2016 22:33:59 +0200

 With 7.0 Userland & native 7.0 Xorg w. intel_drv, this doesn't happen.
 So the problem is most likely a kernel/userland version problem, and
 at most missing COMPAT_6 code?


State-Changed-From-To: open->feedback
State-Changed-When: Sun, 20 Aug 2023 06:48:24 +0000
Is this still reproducible in 10.0 BETA?


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD:,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2023 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.