NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/49768: no video output with DRMKMS on Intel HD Graphics



>Number:         49768
>Category:       kern
>Synopsis:       no video output with DRMKMS on Intel HD Graphics
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 21 17:35:00 +0000 2015
>Originator:     Joachim Henke
>Release:        7.0_BETA and 7.99.7
>Organization:
>Environment:
NetBSD 7.99.7 (GENERIC.201503211000Z) #0: Sat Mar 21 10:55:07 UTC 2015  snj%b45.netbsd.org@localhost:/home/builds/ab/HEAD/amd64/201503211000Z-obj/home/source/ab/HEAD/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
During boot, when i915drmkms is started, the screen is turned of for less than a second. Then the backlight is turned on again, but the screen stays blank (black).

I managed to blindly login at the console and saved the dmesg output (see below) - there are some errors and warnings. I additionally attach the _Linux_ Xorg.0.log for some more hardware information.

What I've tried so far:
* starting X: no difference, screen stays blank
* booting with the latest 7.0_BETA kernel: same failure messages, same result (that's why I report this as 'critical' - now that drmkms is enabled in GENERIC, the only "workaround" known to me is to build an own kernel to use the vesa driver)


NetBSD 7.99.7 (GENERIC.201503211000Z) #0: Sat Mar 21 10:55:07 UTC 2015
	snj%b45.netbsd.org@localhost:/home/builds/ab/HEAD/amd64/201503211000Z-obj/home/source/ab/HEAD/src/sys/arch/amd64/compile/GENERIC
total memory = 1909 MB
avail memory = 1836 MB
timecounter: Timecounters tick every 10.000 msec
RTC BIOS diagnostic error 0x30<config_unit,memory_size>
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
Dell Inc. Latitude E6510 (0001)
mainbus0 (root)
ACPI: RSDP 0x00000000000FE300 000024 (v02 DELL  )
ACPI: XSDT 0x000000007767DE18 00006C (v01 DELL   E2       06222004 MSFT 00010013)
ACPI: FACP 0x000000007775FC18 0000F4 (v04 DELL   E2       06222004 MSFT 00010013)
ACPI BIOS Warning (bug): 32/64X FACS address mismatch in FADT: 0x7776BF40/0x000000007776ED40, using 64-bit address (20140926/tbfadt-311)
ACPI: DSDT 0x000000007773E018 00A6C7 (v01 DELL   E2       00001001 INTL 20080729)
ACPI: FACS 0x000000007776ED40 000040
ACPI: APIC 0x000000007767CF18 00008C (v02 DELL   E2       06222004 MSFT 00010013)
ACPI: TCPA 0x000000007776DD18 000032 (v02                 00000000      00000000)
ACPI: MCFG 0x000000007776DC98 00003C (v01 A M I  GMCH945. 06222004 MSFT 00000097)
ACPI: HPET 0x000000007776DC18 000038 (v01 DELL   E2       00000001 ASL  00000061)
ACPI: BOOT 0x000000007776DB98 000028 (v01 DELL   E2       06222004 AMI  00010013)
ACPI: SLIC 0x0000000077766818 000176 (v03 DELL   E2       06222004 MSFT 00010013)
ACPI: SSDT 0x000000007774D018 0009F1 (v01 PmRef  CpuPm    00003000 INTL 20080729)
ACPI: DMAR 0x000000007776EB18 0000B8 (v01 INTEL  CP_DALE  00000001 INTL 00000001)
ACPI: All ACPI Tables successfully acquired
cpu0 at mainbus0 apid 0
cpu0: Intel(R) Core(TM) i5 CPU       M 560  @ 2.67GHz, id 0x20655
cpu1 at mainbus0 apid 4
cpu1: Intel(R) Core(TM) i5 CPU       M 560  @ 2.67GHz, id 0x20655
cpu2 at mainbus0 apid 1
cpu2: Intel(R) Core(TM) i5 CPU       M 560  @ 2.67GHz, id 0x20655
cpu3 at mainbus0 apid 5
cpu3: Intel(R) Core(TM) i5 CPU       M 560  @ 2.67GHz, id 0x20655
ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 0x20, 24 pins
acpi0 at mainbus0: Intel ACPICA 20140926
acpi0: X/RSDT: OemId <DELL  , E2     ,06222004>, AslId <MSFT,00010013>
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xFFFFFE8043705010 000474 (v01 PmRef  Cpu0Ist  00003000 INTL 20080729)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xFFFFFE804375E010 000891 (v01 PmRef  Cpu0Cst  00003001 INTL 20080729)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xFFFFFE80436BE010 000303 (v01 PmRef  ApIst    00003000 INTL 20080729)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xFFFFFE8043686310 000119 (v01 PmRef  ApCst    00003000 INTL 20080729)
acpi0: SCI interrupting at int 9
timecounter: Timecounter "ACPI-Safe" frequency 3579545 Hz quality 900
hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400)
timecounter: Timecounter "hpet0" frequency 14318180 Hz quality 2000
acpiec0 at acpi0 (ECDV, PNP0C09-0)
: io 0x930,0x934
FWHD (INT0800) at acpi0 not configured
LDRC (PNP0C02) at acpi0 not configured
attimer1 at acpi0 (TIMR, PNP0100): io 0x40-0x43,0x50-0x53 irq 0
pckbc1 at acpi0 (PS2K, PNP0303) (kbd port): io 0x60,0x64 irq 1
pckbc2 at acpi0 (PS2M, DLL040B) (aux port): irq 12
PDRC (PNP0C02) at acpi0 not configured
A_CC (SMO8800) at acpi0 not configured
acpivga0 at acpi0 (VID): ACPI Display Adapter
acpiout0 at acpivga0 (CRT, 0x0100): ACPI Display Output Device
acpiout1 at acpivga0 (LCD, 0x0400): ACPI Display Output Device
acpiout1: brightness levels: [0,6,13,20,26,33,40,46,53,60,66,73,80,86,93,100]
acpiout2 at acpivga0 (DVI, 0x0302): ACPI Display Output Device
acpiout3 at acpivga0 (DVI2, 0x0303): ACPI Display Output Device
acpiout4 at acpivga0 (DP, 0x0300): ACPI Display Output Device
acpiout5 at acpivga0 (DP2, 0x0301): ACPI Display Output Device
acpivga0: connected output devices:
acpivga0:   0x0100 (acpiout0): Ext. Monitor, head 0
acpivga0:   0x0400 (acpiout1): Unknown Output Device, head 0
acpivga0:   0x0302 (acpiout2): Unknown Output Device, head 0
acpivga0:   0x0303 (acpiout3): Unknown Output Device, head 0
acpivga0:   0x0300 (acpiout4): Unknown Output Device, head 0
acpivga0:   0x0301 (acpiout5): Unknown Output Device, head 0
acpilid0 at acpi0 (LID, PNP0C0D): ACPI Lid Switch
acpibut0 at acpi0 (PBTN, PNP0C0C): ACPI Power Button
acpibut1 at acpi0 (SBTN, PNP0C0E): ACPI Sleep Button
acpiacad0 at acpi0 (AC, ACPI0003): ACPI AC Adapter
acpibat0 at acpi0 (BAT0, PNP0C0A-1): ACPI Battery
acpibat0: Sanyo LION rechargeable battery
acpibat0: granularity: low->warn 0.056 Ah, warn->full 0.056 Ah
acpibat1 at acpi0 (BAT1, PNP0C0A-2): ACPI Battery
acpiwmi0 at acpi0 (AMW0, PNP0C14-0): ACPI WMI Interface
wmidell0 at acpiwmi0: Dell WMI mappings
ACPI: Enabled 3 GPEs in block 00 to 3F
ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S1_] (20140926/hwxface-646)
ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_] (20140926/hwxface-646)
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc1 (aux slot)
pckbc1: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
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 8086 product 0044 (rev. 0x02)
agp0 at pchb0: G4X-family chipset
agp0: detected 32252k stolen memory
agp0: aperture at 0x80000000, size 0x10000000
i915drmkms0 at pci0 dev 2 function 0: vendor 8086 product 0046 (rev. 0x02)
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)
intelfb0 at i915drmkms0
i915drmkms0: info: registered panic notifier
intelfb0: framebuffer at 0xffff800022a9e000, size 1920x1080, depth 32, stride 7680
DRM error in intel_dp_start_link_train: failed to enable link training
DRM error in intel_dp_complete_link_train: failed to train DP, aborting
warning: /home/source/ab/HEAD/src/sys/external/bsd/drm2/dist/drm/i915/intel_display.c:9818: encoder's hw state doesn't match sw tracking (expected 1, found 0)
DRM error in intel_pipe_config_compare: mismatch in has_dp_encoder (expected 1, found 0)
warning: /home/source/ab/HEAD/src/sys/external/bsd/drm2/dist/drm/i915/intel_display.c:9891: pipe state doesn't match!
wsdisplay0 at intelfb0 kbdmux 1: console (default, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
intelfb0: failed to register shutdown handler
vendor 8086 product 3b64 (miscellaneous communications, revision 0x06) at pci0 dev 22 function 0 not configured
puc0 at pci0 dev 22 function 3: Intel 5 Series KT (com)
com2 at puc0 port 0 (16550-compatible): ioaddr 0x70a0, interrupting at ioapic0 pin 19
com2: ns16550a, working fifo
[...]


[    59.441] X Protocol Version 11, Revision 0
[    59.441] Build Operating System: Linux 3.18.6-1-ARCH x86_64 
[    59.441] Current Operating System: Linux be1pq396 3.19.2-1-E6510 #1 SMP Wed Mar 18 22:55:59 CET 2015 x86_64
[    59.441] Kernel command line: BOOT_IMAGE=../vmlinuz ro
[    59.441] Build Date: 14 March 2015  06:45:50PM
[    59.441]  
[    59.441] Current version of pixman: 0.32.6
[    59.441] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    59.441] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    59.442] (==) Log file: "/home/jhenke/.local/share/xorg/Xorg.0.log", Time: Sat Mar 21 10:00:40 2015
[    59.450] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    59.450] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    59.458] (==) No Layout section.  Using the first Screen section.
[    59.458] (==) No screen section available. Using defaults.
[    59.458] (**) |-->Screen "Default Screen Section" (0)
[    59.458] (**) |   |-->Monitor "<default monitor>"
[    59.458] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    59.458] (==) Automatically adding devices
[    59.458] (==) Automatically enabling devices
[    59.459] (==) Automatically adding GPU devices
[    59.469] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[    59.469] 	Entry deleted from font path.
[    59.469] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[    59.469] 	Entry deleted from font path.
[    59.469] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[    59.469] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[    59.469] 	Entry deleted from font path.
[    59.469] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[    59.469] (**) FontPath set to:
	/usr/share/fonts/local,
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/
[    59.469] (==) ModulePath set to "/usr/lib/xorg/modules"
[    59.469] (**) Extension "Composite" is disabled
[    59.469] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    59.469] (II) Loader magic: 0x815d80
[    59.469] (II) Module ABI versions:
[    59.469] 	X.Org ANSI C Emulation: 0.4
[    59.469] 	X.Org Video Driver: 19.0
[    59.469] 	X.Org XInput driver : 21.0
[    59.469] 	X.Org Server Extension : 9.0
[    59.473] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[    59.473] (II) xfree86: Adding drm device (/dev/dri/card0)
[    59.474] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 8 paused 0
[    59.477] (--) PCI:*(0:0:2:0) 8086:0046:1028:040b rev 2, Mem @ 0x90000000/4194304, 0x80000000/268435456, I/O @ 0x000070b0/8
[    59.477] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    59.477] (II) LoadModule: "glx"
[    59.477] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    59.537] (II) Module glx: vendor="X.Org Foundation"
[    59.537] 	compiled for 1.17.1, module version = 1.0.0
[    59.537] 	ABI class: X.Org Server Extension, version 9.0
[    59.537] (==) AIGLX enabled
[    59.537] (==) Matched intel as autoconfigured driver 0
[    59.537] (==) Matched intel as autoconfigured driver 1
[    59.537] (==) Matched modesetting as autoconfigured driver 2
[    59.537] (==) Matched fbdev as autoconfigured driver 3
[    59.537] (==) Matched vesa as autoconfigured driver 4
[    59.537] (==) Assigned the driver to the xf86ConfigLayout
[    59.538] (II) LoadModule: "intel"
[    59.538] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[    59.571] (II) Module intel: vendor="X.Org Foundation"
[    59.571] 	compiled for 1.17.1, module version = 2.99.917
[    59.571] 	Module class: X.Org Video Driver
[    59.571] 	ABI class: X.Org Video Driver, version 19.0
[    59.571] (II) LoadModule: "modesetting"
[    59.571] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    59.572] (II) Module modesetting: vendor="X.Org Foundation"
[    59.572] 	compiled for 1.17.1, module version = 1.17.1
[    59.572] 	Module class: X.Org Video Driver
[    59.572] 	ABI class: X.Org Video Driver, version 19.0
[    59.572] (II) LoadModule: "fbdev"
[    59.572] (WW) Warning, couldn't open module fbdev
[    59.572] (II) UnloadModule: "fbdev"
[    59.572] (II) Unloading fbdev
[    59.572] (EE) Failed to load module "fbdev" (module does not exist, 0)
[    59.572] (II) LoadModule: "vesa"
[    59.573] (WW) Warning, couldn't open module vesa
[    59.573] (II) UnloadModule: "vesa"
[    59.573] (II) Unloading vesa
[    59.573] (EE) Failed to load module "vesa" (module does not exist, 0)
[    59.573] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
	i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
	915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
	Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
	GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[    59.573] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[    59.573] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[    59.573] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[    59.573] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    59.573] (++) using VT number 1

[    59.573] (--) controlling tty is VT number 1, auto-enabling KeepTty
[    59.573] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[    59.586] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20141121
[    59.587] (WW) Falling back to old probe method for modesetting
[    59.587] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    59.587] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics
[    59.587] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2
[    59.587] (II) intel(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[    59.587] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[    59.587] (==) intel(0): RGB weight 888
[    59.587] (==) intel(0): Default visual is TrueColor
[    59.588] (II) intel(0): Output eDP1 has no monitor section
[    59.589] (--) intel(0): Found backlight control interface acpi_video0 (type 'firmware') for output eDP1
[    59.589] (II) intel(0): Enabled output eDP1
[    59.589] (II) intel(0): Output VGA1 has no monitor section
[    59.589] (II) intel(0): Enabled output VGA1
[    59.589] (II) intel(0): Output HDMI1 has no monitor section
[    59.589] (II) intel(0): Enabled output HDMI1
[    59.589] (II) intel(0): Output DP1 has no monitor section
[    59.589] (II) intel(0): Enabled output DP1
[    59.589] (II) intel(0): Output HDMI2 has no monitor section
[    59.589] (II) intel(0): Enabled output HDMI2
[    59.589] (II) intel(0): Output HDMI3 has no monitor section
[    59.589] (II) intel(0): Enabled output HDMI3
[    59.589] (II) intel(0): Output DP2 has no monitor section
[    59.589] (II) intel(0): Enabled output DP2
[    59.589] (II) intel(0): Output DP3 has no monitor section
[    59.589] (II) intel(0): Enabled output DP3
[    59.589] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[    59.590] (II) intel(0): Output VIRTUAL1 has no monitor section
[    59.590] (II) intel(0): Enabled output VIRTUAL1
[    59.590] (--) intel(0): Output eDP1 using initial mode 1920x1080 on pipe 0
[    59.590] (==) intel(0): TearFree disabled
[    59.590] (==) intel(0): DPI set to (96, 96)
[    59.590] (II) Loading sub module "dri2"
[    59.590] (II) LoadModule: "dri2"
[    59.590] (II) Module "dri2" already built-in
[    59.590] (II) Loading sub module "present"
[    59.590] (II) LoadModule: "present"
[    59.590] (II) Module "present" already built-in
[    59.590] (II) UnloadModule: "modesetting"
[    59.590] (II) Unloading modesetting
[    59.590] (==) Depth 24 pixmap format is 32 bpp
[    59.607] (II) intel(0): SNA initialized with Ironlake (gen5) backend
[    59.608] (==) intel(0): Backing store disabled
[    59.608] (==) intel(0): Silken mouse enabled
[    59.608] (II) intel(0): HW Cursor enabled
[    59.608] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[    59.608] (==) intel(0): DPMS enabled
[    59.608] (==) intel(0): display hotplug detection enabled
[    59.608] (II) intel(0): [XvMC] xvmc_vld driver initialized.
[    59.608] (II) intel(0): [DRI2] Setup complete
[    59.608] (II) intel(0): [DRI2]   DRI driver: i965
[    59.609] (II) intel(0): [DRI2]   VDPAU driver: i965
[    59.609] (II) intel(0): direct rendering: DRI2 enabled
[    59.609] (II) intel(0): hardware support for Present enabled
[    59.609] (--) RandR disabled
[    59.705] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[    59.705] (II) AIGLX: enabled GLX_ARB_create_context
[    59.705] (II) AIGLX: enabled GLX_ARB_create_context_profile
[    59.705] (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
[    59.705] (II) AIGLX: enabled GLX_INTEL_swap_event
[    59.705] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[    59.705] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[    59.706] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[    59.706] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[    59.706] (II) AIGLX: Loaded and initialized i965
[    59.706] (II) GLX: Initialized DRI2 GL provider for screen 0
[    59.723] (II) intel(0): switch to mode 1920x1080@60.0 on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
[    59.735] (II) intel(0): Setting screen physical size to 508 x 285
[    59.876] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[    59.876] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    59.876] (**) Power Button: Applying InputClass "KeyboardLayout"
[...]
>How-To-Repeat:
booting the latest NetBSD 7.x on a Dell Latitude E6510
>Fix:
not known



Home | Main Index | Thread Index | Old Index