NetBSD Problem Report #49285

From prlw1@cam.ac.uk  Tue Oct 14 11:22:35 2014
Return-Path: <prlw1@cam.ac.uk>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 5A9C4A6696
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 14 Oct 2014 11:22:35 +0000 (UTC)
Message-Id: <20141014112224.GA9763@quark.internal.precedence.co.uk>
Date: Tue, 14 Oct 2014 12:22:24 +0100
From: Patrick Welche <prlw1@cam.ac.uk>
Reply-To: prlw1@cam.ac.uk
To: gnats-bugs@NetBSD.org
Subject: drmkms on pineview (intel)

>Number:         49285
>Category:       kern
>Synopsis:       drmkms on pineview (intel)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    riastradh
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 14 11:25:00 +0000 2014
>Closed-Date:    
>Last-Modified:  Sun Jul 05 08:28:46 +0000 2015
>Originator:     Patrick Welche
>Release:        NetBSD 7.0_BETA
>Organization:
>Environment:
NetBSD-7.0_BETA/amd64 - 14 Oct 2014 source
>Description:

I upgraded a NetBSD 6 box to 7, and with a GENERIC kernel, no
screens are found and X doesn't start. With a DRMKMS kernel, and
UXA acceleration, X runs at 1024x768 resolution. SNA acceleration
is unhappy in a corrupt writing text on screen way, though the
screen is recognisable. With NetBSD 6, this setup ran at 1920x1080
with the attached xorg.conf.

Before the complications of X, the terminal screen is low resolution:

intelfb0: framebuffer at 0xffff800024b7c000, size 1024x768, depth 32, stride 4096

This is the same model of computer which I referred to in PR kern/49254 -
in that PR, I was running -current, and it is a different monitor.

The output which runs at the decent high resolution is VGA, which is why
the attached xorg.conf file is needed to ignore the low resolution LVDS.
No monitor is connected to the "LVDS" output (which has a DVI connector
on the box).




Truncated dmesg and full xorg.conf and Xorg.0.log follow:

========================================================================

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 7.0_BETA (DRMKMS) #2: Tue Oct 14 11:53:55 BST 2014
	prlw1@threads:/usr/obj/netbsd-7/sys/arch/amd64/compile/DRMKMS
total memory = 2037 MB
avail memory = 1959 MB
Random seed data path=/var/db/entropy-file len=536 pa=1367000
kern.module.path=/stand/amd64/7.0/modules
timecounter: Timecounters tick every 10.000 msec
No bootinfo commands at boot
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
SMBIOS rev. 2.6 @ 0xfbf50 (49 entries)
None BIPV10-IAT (1.0)
mainbus0 (root)
ACPI: RSDP 0xf9a20 000014 (v00 ACPIAM)
ACPI: RSDT 0x7f5b0000 00003C (v01 041212 RSDT1848 20120412 MSFT 00000097)
ACPI: FACP 0x7f5b0200 000084 (v01 041212 FACP1848 20120412 MSFT 00000097)
ACPI: DSDT 0x7f5b0440 004F75 (v01  1AAAA 1AAAA000 00000000 INTL 20051117)
ACPI: FACS 0x7f5be000 000040
ACPI: APIC 0x7f5b0390 00006C (v01 041212 APIC1848 20120412 MSFT 00000097)
ACPI: MCFG 0x7f5b0400 00003C (v01 041212 OEMMCFG  20120412 MSFT 00000097)
ACPI: OEMB 0x7f5be040 000082 (v01 041212 OEMB1848 20120412 MSFT 00000097)
ACPI: HPET 0x7f5ba440 000038 (v01 041212 OEMHPET  20120412 MSFT 00000097)
ACPI: GSCI 0x7f5be0d0 002024 (v01 041212 GMCHSCI  20120412 MSFT 00000097)
ACPI: All ACPI Tables successfully acquired
cpu0 at mainbus0 apid 0cpu0: 16 page colors
cpu0: calibrating local timer
cpu0: apic clock running at 199 MHz
timecounter: Timecounter "lapic" frequency 199592234 Hz quality -100
: Intel(R) Atom(TM) CPU D525   @ 1.80GHz, id 0x106ca
cpu0: PAT enabled
cpu1 at mainbus0 apid 2cpu1: 2 page colors
x86_ipi_init: ESR 00000040
: Intel(R) Atom(TM) CPU D525   @ 1.80GHz, id 0x106ca
cpu1: PAT enabled
cpu2 at mainbus0 apid 1cpu2: 2 page colors
: Intel(R) Atom(TM) CPU D525   @ 1.80GHz, id 0x106ca
cpu2: PAT enabled
cpu3 at mainbus0 apid 3cpu3: 2 page colors
: Intel(R) Atom(TM) CPU D525   @ 1.80GHz, id 0x106ca
cpu3: PAT enabled
ioapic0 at mainbus0 apid 4: pa 0xfec00000, version 0x20, 24 pins
ioapic0: misconfigured as apic 1
ioapic0: remapped to apic 4
acpi0 at mainbus0: Intel ACPICA 20131218
acpi0: X/RSDT: OemId <041212,RSDT1848,20120412>, AslId <MSFT,00000097>
acpi0: SCI interrupting at int 9
acpi0: fixed power button present
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
acpi0: ACPI-Fast 24-bit timer
hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400)
timecounter: Timecounter "hpet0" frequency 14318180 Hz quality 2000
MCH (PNP0C01) WARNING: module error: vfs load failed for `acpiverbose', error 45
at acpi0 not configured
attimer1 at acpi0 (TMR, PNP0100): io 0x40-0x43 irq 0
pckbc1 at acpi0 (PS2K, PNP0303) (kbd port): io 0x60,0x64 irq 1
pckbc2 at acpi0 (PS2M, PNP0F03) (aux port): irq 12
pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
midi0 at pcppi1: PC speaker
sysbeep0 at pcppi1
FDC (PNP0700) WARNING: module error: vfs load failed for `acpiverbose', error 45
at acpi0 not configured
SIOR (PNP0C02) WARNING: module error: vfs load failed for `acpiverbose', error 45
at acpi0 not configured
RMSC (PNP0C02) WARNING: module error: vfs load failed for `acpiverbose', error 45
at acpi0 not configured
OMSC (PNP0C02) WARNING: module error: vfs load failed for `acpiverbose', error 45
at acpi0 not configured
UAR1 (PNP0501) WARNING: module error: vfs load failed for `acpiverbose', error 45
at acpi0 not configured
UAR2 (PNP0501) WARNING: module error: vfs load failed for `acpiverbose', error 45
at acpi0 not configured
LPTE (PNP0400) WARNING: module error: vfs load failed for `acpiverbose', error 45
at acpi0 not configured
PCIE (PNP0C02) WARNING: module error: vfs load failed for `acpiverbose', error 45
at acpi0 not configured
RMEM (PNP0C01) WARNING: module error: vfs load failed for `acpiverbose', error 45
at acpi0 not configured
acpibut0 at acpi0 (PWRB, PNP0C0C-170): ACPI Power Button
acpitz0 at acpi0 (THRM)
acpitz0: polling interval 30.0 seconds
acpitz0: levels: critical 127.0 C, passive cooling
ACPI: Enabled 3 GPEs in block 00 to 1F
ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_] (20131218/hwxface-646)
ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S3_] (20131218/hwxface-646)
WARNING: module error: vfs load failed for `acpiverbose', error 45
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc1 (aux slot)
pms0: synaptics_probe: Not synaptics.
pckbc1: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
attimer1: attached to pcppi1
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: Intel Pineview Host Bridge (rev. 0x02)
agp0 at pchb0: i915-family chipset
agp0: detected 7932k stolen memory
agp0: BAR size 100000 mismatches detected GTT size 40000; trusting BAR
agp0: aperture at 0xd0000000, size 0x10000000
i915drmkms0 at pci0 dev 2 function 0: Intel Pineview Integrated Graphics Device (rev. 0x02)
pci_mem_find: void region
pci_mem_find: void region
pci_mem_find: void region
i915drmkms0: map 4 failed
pci_mem_find: void region
i915drmkms0: map 5 failed
DRM debug in drm_minor_register: 
DRM debug in drm_minor_register: new minor assigned 64
DRM debug in drm_minor_register: 
DRM debug in drm_minor_register: 
DRM debug in drm_minor_register: new minor assigned 0
DRM debug in i915_dump_device_info: i915 device info: gen=3, pciid=0xa001 flags=is_mobile,is_g33,need_gfx_hws,is_pineview,has_hotplug,has_overlay,pci_mem_find: void region
pci_mem_find: void region
pci_mem_find: void region
pci_mem_find: void region
pci_mem_find: void region
pci_mem_find: void region
pci_mem_find: void region
pci_mem_find: void region
pci_mem_find: void region
pci_mem_find: void region
pci_mem_find: void region
pci_mem_find: void region
DRM debug in intel_detect_pch: No PCH found.
drm: Memory usable by graphics device = 1024M
DRM debug in i915_gem_gtt_init: GMADR size = 256M
DRM debug in i915_gem_gtt_init: GTT stolen size = 7M
DRM debug in i915_gem_gtt_init: ppgtt mode: 0
DRM debug in intel_opregion_setup: graphic opregion physical addr: 0x7f5be0f4
DRM debug in intel_opregion_setup: Public ACPI methods supported
DRM debug in intel_opregion_setup: SWSCI supported
DRM debug in intel_opregion_setup: ASLE supported
drm: Supports vblank timestamp caching Rev 2 (21.10.2013).
drm: Driver supports precise vblank timestamp query.
DRM debug in init_vbt_defaults: Set default to SSC at 100000 kHz
DRM debug in intel_parse_bios: Using VBT from OpRegion: $VBT PINEVIEW       d
DRM debug in parse_general_features: BDB_GENERAL_FEATURES int_tv_support 0 int_crt_support 1 lvds_use_ssc 0 lvds_ssc_freq 100000 display_clock_mode 0 fdi_rx_polarity_inverted 0
DRM debug in parse_general_definitions: crt_ddc_bus_pin: 2
DRM debug in parse_lfp_panel_data: Found panel mode in BIOS VBT tables:
DRM debug in drm_mode_debug_printmodeline: Modeline 0:"1024x768" 0 65000 1024 1048 1184 1344 768 771 777 806 0x8 0xa
DRM debug in parse_lfp_panel_data: VBT initial LVDS value 40000300
DRM debug in parse_lfp_backlight: VBT backlight PWM modulation frequency 200 Hz, active high, min brightness 0, level 0
DRM debug in parse_sdvo_panel_data: Found SDVO panel mode in BIOS VBT tables:
DRM debug in drm_mode_debug_printmodeline: Modeline 0:"1600x1200" 0 162000 1600 1664 1856 2160 1200 1201 1204 1250 0x8 0xa
DRM debug in parse_sdvo_device_mapping: No SDVO device info is found in VBT
DRM debug in parse_mipi: No MIPI BDB foundDRM debug in intel_display_power_get: enabling always-on
DRM debug in drm_irq_install: irq=268701711
i915drmkms0: interrupting at ioapic0 pin 16 (i915)
DRM debug in intel_modeset_init: 2 display pipes available.
DRM debug in intel_modeset_init: pipe A sprite A init failed: -19
DRM debug in intel_modeset_init: pipe B sprite B init failed: -19
drm: GMBUS [i915 gmbus panel] timed out, falling back to bit banging on pin 3
DRM debug in intel_lvds_init: using mode from VBT: DRM debug in drm_mode_debug_printmodeline: Modeline 0:"1024x768" 0 65000 1024 1048 1184 1344 768 771 777 806 0x8 0xa
DRM debug in intel_lvds_init: detected single-link lvds configuration
DRM debug in intel_panel_setup_backlight: backlight initialized, enabled, brightness 26015/26015, sysfs interface not registered
DRM debug in intel_modeset_readout_hw_state: [CRTC:5] hw state readout: disabled
DRM debug in intel_modeset_readout_hw_state: [CRTC:7] hw state readout: enabled
DRM debug in intel_modeset_readout_hw_state: [ENCODER:9:LVDS-9] hw state readout: enabled, pipe B
DRM debug in intel_modeset_readout_hw_state: [ENCODER:13:DAC-13] hw state readout: enabled, pipe B
DRM debug in intel_modeset_readout_hw_state: [CONNECTOR:8:LVDS-1] hw state readout: enabled
DRM debug in intel_modeset_readout_hw_state: [CONNECTOR:12:VGA-1] hw state readout: enabled
DRM debug in intel_dump_pipe_config: [CRTC:5][setup_hw_state] config for pipe A
DRM debug in intel_dump_pipe_config: cpu_transcoder: A
DRM debug in intel_dump_pipe_config: pipe bpp: 0, dithering: 0
DRM debug in intel_dump_pipe_config: fdi/pch: 0, lanes: 0, gmch_m: 0, gmch_n: 0, link_m: 0, link_n: 0, tu: 0
DRM debug in intel_dump_pipe_config: dp: 0, gmch_m: 0, gmch_n: 0, link_m: 0, link_n: 0, tu: 0
DRM debug in intel_dump_pipe_config: requested mode:
DRM debug in drm_mode_debug_printmodeline: Modeline 0:"" 0 0 0 0 0 0 0 0 0 0 0x0 0x0
DRM debug in intel_dump_pipe_config: adjusted mode:
DRM debug in drm_mode_debug_printmodeline: Modeline 0:"" 0 0 0 0 0 0 0 0 0 0 0x0 0x0
DRM debug in intel_dump_crtc_timings: crtc timings: 0 0 0 0 0 0 0 0 0, type: 0x0 flags: 0x0
DRM debug in intel_dump_pipe_config: port clock: 0
DRM debug in intel_dump_pipe_config: pipe src size: 0x0
DRM debug in intel_dump_pipe_config: gmch pfit: control: 0x00000000, ratios: 0x00000000, lvds border: 0x00000000
DRM debug in intel_dump_pipe_config: pch pfit: pos: 0x00000000, size: 0x00000000, disabled
DRM debug in intel_dump_pipe_config: ips: 0
DRM debug in intel_dump_pipe_config: double wide: 0
DRM debug in intel_dump_pipe_config: [CRTC:7][setup_hw_state] config for pipe B
DRM debug in intel_dump_pipe_config: cpu_transcoder: B
DRM debug in intel_dump_pipe_config: pipe bpp: 0, dithering: 0
DRM debug in intel_dump_pipe_config: fdi/pch: 0, lanes: 0, gmch_m: 0, gmch_n: 0, link_m: 0, link_n: 0, tu: 0
DRM debug in intel_dump_pipe_config: dp: 0, gmch_m: 0, gmch_n: 0, link_m: 0, link_n: 0, tu: 0
DRM debug in intel_dump_pipe_config: requested mode:
DRM debug in drm_mode_debug_printmodeline: Modeline 0:"" 0 0 640 0 0 0 400 0 0 0 0x0 0x0
DRM debug in intel_dump_pipe_config: adjusted mode:
DRM debug in drm_mode_debug_printmodeline: Modeline 0:"" 0 0 0 0 0 0 0 0 0 0 0x0 0xa
DRM debug in intel_dump_crtc_timings: crtc timings: 65143 1024 1048 1184 1344 768 771 777 806, type: 0x0 flags: 0xa
DRM debug in intel_dump_pipe_config: port clock: 65143
DRM debug in intel_dump_pipe_config: pipe src size: 640x400
DRM debug in intel_dump_pipe_config: gmch pfit: control: 0x80006668, ratios: 0x00000000, lvds border: 0x00000000
DRM debug in intel_dump_pipe_config: pch pfit: pos: 0x00000000, size: 0x00000000, disabled
DRM debug in intel_dump_pipe_config: ips: 0
DRM debug in intel_dump_pipe_config: double wide: 0
DRM debug in intel_connector_check_state: [CONNECTOR:8:LVDS-1]
DRM debug in intel_connector_check_state: [CONNECTOR:12:VGA-1]
DRM debug in check_encoder_state: [ENCODER:9:LVDS-9]
DRM debug in check_encoder_state: [ENCODER:13:DAC-13]
DRM debug in check_crtc_state: [CRTC:5]
DRM debug in check_crtc_state: [CRTC:7]
DRM debug in i9xx_get_plane_config: pipe/plane 1/1 with fb: size=640x400@16, offset=0, pitch 1280, size 0x7d000
DRM debug in i915_gem_setup_global_gtt: clearing unused GTT space: [0, 3ffff000]
DRM debug in i915_gem_context_init: fake context support initialized
DRM debug in init_status_page: render ring hws offset: 0x00001000
drm: initialized overlay support
DRM debug in drm_helper_probe_single_connector_modes: [CONNECTOR:8:LVDS-1]
DRM debug in intel_lvds_detect: [CONNECTOR:8:LVDS-1]
DRM debug in drm_helper_probe_single_connector_modes: [CONNECTOR:8:LVDS-1] probed modes :
DRM debug in drm_mode_debug_printmodeline: Modeline 14:"1024x768" 60 65000 1024 1048 1184 1344 768 771 777 806 0x8 0xa
DRM debug in drm_helper_probe_single_connector_modes: [CONNECTOR:12:VGA-1]
DRM debug in intel_crt_detect: [CONNECTOR:12:VGA-1] force=1
DRM debug in intel_crt_detect: CRT detected via hotplug
DRM error in drm_edid_block_valid: EDID checksum is invalid, remainder is 194
drm kern error: Raw EDID:
00 ff ff ff ff ff ff 00 3f ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
DRM error in drm_edid_block_valid: EDID checksum is invalid, remainder is 194
drm kern error: Raw EDID:
00 ff ff ff ff ff ff 00 3f ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
DRM error in drm_edid_block_valid: EDID checksum is invalid, remainder is 194
drm kern error: Raw EDID:
00 ff ff ff ff ff ff 00 3f ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
DRM error in drm_edid_block_valid: EDID checksum is invalid, remainder is 194
drm kern error: Raw EDID:
00 ff ff ff ff ff ff 00 3f ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
i915drmkms0: warning: VGA-1: EDID block 0 invalid.
DRM debug in intel_crt_get_edid: CRT GMBUS EDID read failed, retry using GPIO bit-banging
DRM debug in intel_gmbus_force_bit: enabling bit-banging on i915 gmbus vga. force bit now 1
DRM debug in intel_gmbus_force_bit: disabling bit-banging on i915 gmbus vga. force bit now 0
DRM debug in drm_helper_probe_single_connector_modes: [CONNECTOR:12:VGA-1] probed modes :
DRM debug in drm_mode_debug_printmodeline: Modeline 19:"1024x768" 60 65000 1024 1048 1184 1344 768 771 777 806 0x40 0xa
DRM debug in drm_mode_debug_printmodeline: Modeline 17:"800x600" 60 40000 800 840 968 1056 600 601 605 628 0x40 0x5
DRM debug in drm_mode_debug_printmodeline: Modeline 16:"800x600" 56 36000 800 824 896 1024 600 601 603 625 0x40 0x5
DRM debug in drm_mode_debug_printmodeline: Modeline 18:"848x480" 60 33750 848 864 976 1088 480 486 494 517 0x40 0x5
DRM debug in drm_mode_debug_printmodeline: Modeline 15:"640x480" 60 25175 640 656 752 800 480 489 492 525 0x40 0xa
DRM debug in drm_setup_crtcs: 
DRM debug in drm_enable_connectors: connector 8 enabled? yes
DRM debug in drm_enable_connectors: connector 12 enabled? yes
DRM debug in intel_fb_initial_config: looking for cmdline mode on connector 8
DRM debug in intel_fb_initial_config: looking for preferred mode on connector 8
DRM debug in intel_fb_initial_config: connector LVDS-1 on crtc 7: 1024x768
DRM debug in intel_fb_initial_config: fallback: cloned configuration
DRM debug in intel_fb_initial_config: Not using firmware configuration
DRM debug in drm_target_preferred: looking for cmdline mode on connector 8
DRM debug in drm_target_preferred: looking for preferred mode on connector 8
DRM debug in drm_target_preferred: found mode 1024x768
DRM debug in drm_target_preferred: looking for cmdline mode on connector 12
DRM debug in drm_target_preferred: looking for preferred mode on connector 12
DRM debug in drm_target_preferred: found mode 1024x768
DRM debug in drm_setup_crtcs: picking CRTCs for 4096x4096 config
DRM debug in drm_setup_crtcs: desired mode 1024x768 set on crtc 7
DRM debug in drm_setup_crtcs: desired mode 1024x768 set on crtc 5
DRM debug in intelfb_create: no BIOS fb, allocating a new one
DRM debug in drm_framebuffer_reference: FB ID: 22
intelfb0 at i915drmkms0
intelfb0: WARNING: power management not supported
DRM debug in intelfb_create: allocated 1024x768 fb: 0x00030000, bo 0xfffffe8043af58c0
i915drmkms0: info: registered panic notifier
i915drmkms0: unable to map VGA registers: 35
intelfb0: framebuffer at 0xffff800024b7c000, size 1024x768, depth 32, stride 4096
DRM debug in intel_crtc_cursor_set: cursor off
DRM debug in intel_crtc_set_config: [CRTC:5] [FB:22] #connectors=1 (x y) (0 0)
DRM debug in intel_set_config_compute_mode_changes: inactive crtc, full mode set
DRM debug in intel_set_config_compute_mode_changes: modes are different, full mode set
DRM debug in drm_mode_debug_printmodeline: Modeline 0:"" 0 0 0 0 0 0 0 0 0 0 0x0 0x0
DRM debug in drm_mode_debug_printmodeline: Modeline 21:"1024x768" 60 65000 1024 1048 1184 1344 768 771 777 806 0x40 0xa
DRM debug in intel_set_config_compute_mode_changes: computed changes for [CRTC:5], mode_changed=1, fb_changed=0
DRM debug in intel_modeset_stage_output_state: [CONNECTOR:8:LVDS-1] to [CRTC:7]
DRM debug in intel_modeset_stage_output_state: [CONNECTOR:12:VGA-1] to [CRTC:5]
DRM debug in intel_modeset_stage_output_state: crtc changed, full mode switch
DRM debug in intel_modeset_stage_output_state: crtc enabled, full mode switch
DRM debug in intel_modeset_affected_pipes: set mode pipe masks: modeset: 1, prepare: 1, disable: 0
DRM debug in connected_sink_compute_bpp: [CONNECTOR:12:VGA-1] checking for sink bpp constrains
DRM debug in intel_modeset_pipe_config: plane bpp: 24, pipe bpp: 24, dithering: 0
DRM debug in intel_dump_pipe_config: [CRTC:5][modeset] config for pipe A
DRM debug in intel_dump_pipe_config: cpu_transcoder: A
DRM debug in intel_dump_pipe_config: pipe bpp: 24, dithering: 0
DRM debug in intel_dump_pipe_config: fdi/pch: 0, lanes: 0, gmch_m: 0, gmch_n: 0, link_m: 0, link_n: 0, tu: 0
DRM debug in intel_dump_pipe_config: dp: 0, gmch_m: 0, gmch_n: 0, link_m: 0, link_n: 0, tu: 0
DRM debug in intel_dump_pipe_config: requested mode:
DRM debug in drm_mode_debug_printmodeline: Modeline 0:"1024x768" 60 65000 1024 1048 1184 1344 768 771 777 806 0x40 0xa
DRM debug in intel_dump_pipe_config: adjusted mode:
DRM debug in drm_mode_debug_printmodeline: Modeline 0:"1024x768" 60 65000 1024 1048 1184 1344 768 771 777 806 0x40 0xa
DRM debug in intel_dump_crtc_timings: crtc timings: 65000 1024 1048 1184 1344 768 771 777 806, type: 0x40 flags: 0xa
DRM debug in intel_dump_pipe_config: port clock: 65000
DRM debug in intel_dump_pipe_config: pipe src size: 1024x768
DRM debug in intel_dump_pipe_config: gmch pfit: control: 0x00000000, ratios: 0x00000000, lvds border: 0x00000000
DRM debug in intel_dump_pipe_config: pch pfit: pos: 0x00000000, size: 0x00000000, disabled
DRM debug in intel_dump_pipe_config: ips: 0
DRM debug in intel_dump_pipe_config: double wide: 0
DRM debug in drm_calc_timestamping_constants: crtc 5: hwmode: htotal 1344, vtotal 806, vdisplay 768
DRM debug in drm_calc_timestamping_constants: crtc 5: clock 65000 kHz framedur 16665600 linedur 20676, pixeldur 15
DRM debug in drm_vblank_get: enabling vblank on crtc 0, ret: -22
DRM debug in i9xx_update_primary_plane: Writing base 00030000 00000000 0 0 4096
DRM debug in intel_crtc_mode_set: [ENCODER:13:DAC-13] set [MODE:0:1024x768]
DRM debug in intel_calculate_wm: FIFO entries required for mode: 24
DRM debug in intel_calculate_wm: FIFO watermark level: 478
DRM debug in pineview_update_wm: DSPFW1 register is ef030f0f
DRM debug in intel_calculate_wm: FIFO entries required for mode: 26
DRM debug in intel_calculate_wm: FIFO watermark level: 481
DRM debug in intel_calculate_wm: FIFO entries required for mode: 146
DRM debug in intel_calculate_wm: FIFO watermark level: 356
DRM debug in intel_calculate_wm: FIFO entries required for mode: 148
DRM debug in intel_calculate_wm: FIFO watermark level: 359
DRM debug in pineview_update_wm: DSPFW3 register is 3f3f0164
DRM debug in pineview_update_wm: Self-refresh is enabled
DRM debug in intel_connector_check_state: [CONNECTOR:8:LVDS-1]
DRM debug in intel_connector_check_state: [CONNECTOR:12:VGA-1]
DRM debug in check_encoder_state: [ENCODER:9:LVDS-9]
DRM debug in check_encoder_state: [ENCODER:13:DAC-13]
DRM debug in check_crtc_state: [CRTC:5]
DRM debug in check_crtc_state: [CRTC:7]
DRM debug in drm_framebuffer_reference: FB ID: 22
DRM debug in intel_crtc_cursor_set: cursor off
DRM debug in intel_crtc_set_config: [CRTC:7] [FB:22] #connectors=1 (x y) (0 0)
DRM debug in intel_set_config_compute_mode_changes: inactive crtc, full mode set
DRM debug in intel_set_config_compute_mode_changes: modes are different, full mode set
DRM debug in drm_mode_debug_printmodeline: Modeline 0:"" 0 0 0 0 0 0 0 0 0 0 0x0 0x0
DRM debug in drm_mode_debug_printmodeline: Modeline 20:"1024x768" 60 65000 1024 1048 1184 1344 768 771 777 806 0x8 0xa
DRM debug in intel_set_config_compute_mode_changes: computed changes for [CRTC:7], mode_changed=1, fb_changed=0
DRM debug in intel_modeset_stage_output_state: [CONNECTOR:8:LVDS-1] to [CRTC:7]
DRM debug in intel_modeset_stage_output_state: [CONNECTOR:12:VGA-1] to [CRTC:5]
DRM debug in intel_modeset_affected_pipes: set mode pipe masks: modeset: 2, prepare: 2, disable: 0
DRM debug in connected_sink_compute_bpp: [CONNECTOR:8:LVDS-1] checking for sink bpp constrains
DRM debug in intel_lvds_compute_config: forcing display bpp (was 24) to LVDS (18)
DRM debug in intel_modeset_pipe_config: plane bpp: 24, pipe bpp: 18, dithering: 1
DRM debug in intel_dump_pipe_config: [CRTC:7][modeset] config for pipe B
DRM debug in intel_dump_pipe_config: cpu_transcoder: B
DRM debug in intel_dump_pipe_config: pipe bpp: 18, dithering: 1
DRM debug in intel_dump_pipe_config: fdi/pch: 0, lanes: 0, gmch_m: 0, gmch_n: 0, link_m: 0, link_n: 0, tu: 0
DRM debug in intel_dump_pipe_config: dp: 0, gmch_m: 0, gmch_n: 0, link_m: 0, link_n: 0, tu: 0
DRM debug in intel_dump_pipe_config: requested mode:
DRM debug in drm_mode_debug_printmodeline: Modeline 0:"1024x768" 60 65000 1024 1048 1184 1344 768 771 777 806 0x8 0xa
DRM debug in intel_dump_pipe_config: adjusted mode:
DRM debug in drm_mode_debug_printmodeline: Modeline 0:"1024x768" 0 65000 1024 1048 1184 1344 768 771 777 806 0x8 0xa
DRM debug in intel_dump_crtc_timings: crtc timings: 65000 1024 1048 1184 1344 768 771 777 806, type: 0x8 flags: 0xa
DRM debug in intel_dump_pipe_config: port clock: 65000
DRM debug in intel_dump_pipe_config: pipe src size: 1024x768
DRM debug in intel_dump_pipe_config: gmch pfit: control: 0x00000008, ratios: 0x00000000, lvds border: 0x00000000
DRM debug in intel_dump_pipe_config: pch pfit: pos: 0x00000000, size: 0x00000000, disabled
DRM debug in intel_dump_pipe_config: ips: 0
DRM debug in intel_dump_pipe_config: double wide: 0
DRM debug in intel_panel_actually_set_backlight: set backlight PWM = 0
DRM debug in drm_calc_vbltimestamp_from_scanoutpos: crtc 1: Noop due to uninitialized mode.
DRM debug in i9xx_pfit_disable: disabling pfit, current: 0x80006668
DRM debug in intel_calculate_wm: FIFO entries required for mode: 24
DRM debug in intel_calculate_wm: FIFO watermark level: 478
DRM debug in pineview_update_wm: DSPFW1 register is ef030f0f
DRM debug in intel_calculate_wm: FIFO entries required for mode: 26
DRM debug in intel_calculate_wm: FIFO watermark level: 481
DRM debug in intel_calculate_wm: FIFO entries required for mode: 146
DRM debug in intel_calculate_wm: FIFO watermark level: 356
DRM debug in intel_calculate_wm: FIFO entries required for mode: 148
DRM debug in intel_calculate_wm: FIFO watermark level: 359
DRM debug in pineview_update_wm: DSPFW3 register is 7f3f0164
DRM debug in pineview_update_wm: Self-refresh is enabled
DRM debug in drm_calc_timestamping_constants: crtc 7: hwmode: htotal 1344, vtotal 806, vdisplay 768
DRM debug in drm_calc_timestamping_constants: crtc 7: clock 65000 kHz framedur 16665600 linedur 20676, pixeldur 15
DRM debug in drm_vblank_get: enabling vblank on crtc 1, ret: -22
DRM debug in i9xx_update_primary_plane: Writing base 00030000 00000000 0 0 4096
DRM debug in intel_crtc_mode_set: [ENCODER:9:LVDS-9] set [MODE:0:1024x768]
DRM debug in pineview_update_wm: Self-refresh is disabled
DRM debug in intel_panel_enable_backlight: pipe B
DRM debug in intel_panel_actually_set_backlight: set backlight PWM = 26015
DRM debug in intel_connector_check_state: [CONNECTOR:8:LVDS-1]
DRM debug in intel_connector_check_state: [CONNECTOR:12:VGA-1]
DRM debug in check_encoder_state: [ENCODER:9:LVDS-9]
DRM debug in check_encoder_state: [ENCODER:13:DAC-13]
DRM debug in check_crtc_state: [CRTC:5]
DRM debug in check_crtc_state: [CRTC:7]
DRM debug in drm_framebuffer_reference: FB ID: 22
DRM debug in drm_framebuffer_unreference: FB ID: 22
DRM debug in drm_framebuffer_reference: FB ID: 22
wsdisplay0 at intelfb0 kbdmux 1: console (default, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
Intel Pineview Integrated Graphics Device (miscellaneous display, revision 0x02) at pci0 dev 2 function 1 not configured

========================================================================

Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	ModulePath   "/usr/X11R7/lib/modules"
	FontPath     "/usr/X11R7/lib/X11/fonts/misc/"
	FontPath     "/usr/X11R7/lib/X11/fonts/TTF/"
	FontPath     "/usr/X11R7/lib/X11/fonts/Type1/"
	FontPath     "/usr/X11R7/lib/X11/fonts/75dpi/"
	FontPath     "/usr/X11R7/lib/X11/fonts/100dpi/"
	FontPath     "/usr/pkg/share/fonts/X11/TTF/"
EndSection

Section "Module"
	Load  "dbe"
	Load  "dri"
	Load  "dri2"
	Load  "extmod"
	Load  "glx"
	Load  "record"
	Load  "shadow"
	Load  "type1"
	Load  "freetype"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option      "XkbLayout" "gb"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "wsmouse"
	Option	    "Device" "/dev/wsmouse"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: : integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "NoAccel"            	# [<bool>]
        #Option     "SWcursor"           	# [<bool>]
        #Option     "ColorKey"           	# 
        #Option     "CacheLines"         	# 
        #Option     "Dac6Bit"            	# [<bool>]
        #Option     "DRI"                	# [<bool>]
        #Option     "NoDDC"              	# [<bool>]
        #Option     "ShowCache"          	# [<bool>]
        #Option     "XvMCSurfaces"       	# 
        #Option     "PageFlip"           	# [<bool>]
	Identifier  "Card0"
	Driver      "intel"
	BusID       "PCI:0:2:0"
	Option      "monitor-VGA" "VGA"
	Option      "monitor-LVDS" "LVDS"
	Option      "monitor-LVDS-1" "LVDS-1"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Section "Monitor"
	Identifier      "VGA"
	Option "Ignore" "false"
EndSection

Section "Monitor"
	Identifier      "LVDS"
	Option "Ignore" "true"
EndSection

Section "Monitor"
	Identifier      "LVDS-1"
	Option "Ignore" "true"
EndSection

========================================================================

[    34.274] 
X.Org X Server 1.10.6
Release Date: 2011-07-08
[    34.275] X Protocol Version 11, Revision 0
[    34.276] Build Operating System: NetBSD/amd64  - 
[    34.276] Current Operating System: NetBSD quartz 7.0_BETA NetBSD 7.0_BETA (DRMKMS) #2: Tue Oct 14 11:53:55 BST 2014  prlw1@threads:/usr/obj/netbsd-7/sys/arch/amd64/compile/DRMKMS amd64
[    34.279] Build Date: 01 August 2011  01:01:00AM
[    34.280]  
[    34.280] Current version of pixman: 0.32.6
[    34.280] 	Before reporting problems, check http://wiki.X.Org
	to make sure that you have the latest version.
[    34.280] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    34.283] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Oct 14 11:56:30 2014
[    34.323] (==) Using config file: "/etc/X11/xorg.conf"
[    34.353] (==) ServerLayout "X.org Configured"
[    34.354] (**) |-->Screen "Screen0" (0)
[    34.354] (**) |   |-->Monitor "Monitor0"
[    34.393] (**) |   |-->Device "Card0"
[    34.393] (**) |-->Input Device "Mouse0"
[    34.394] (**) |-->Input Device "Keyboard0"
[    34.394] (==) Not automatically adding devices
[    34.394] (==) Not automatically enabling devices
[    34.540] (**) FontPath set to:
	/usr/X11R7/lib/X11/fonts/misc/,
	/usr/X11R7/lib/X11/fonts/TTF/,
	/usr/X11R7/lib/X11/fonts/Type1/,
	/usr/X11R7/lib/X11/fonts/75dpi/,
	/usr/X11R7/lib/X11/fonts/100dpi/,
	/usr/pkg/share/fonts/X11/TTF/,
	/usr/X11R7/lib/X11/fonts/misc/,
	/usr/X11R7/lib/X11/fonts/TTF/,
	/usr/X11R7/lib/X11/fonts/Type1/,
	/usr/X11R7/lib/X11/fonts/75dpi/,
	/usr/X11R7/lib/X11/fonts/100dpi/
[    34.540] (**) ModulePath set to "/usr/X11R7/lib/modules"
[    34.551] (II) Loader magic: 0x828c80
[    34.551] (II) Module ABI versions:
[    34.551] 	X.Org ANSI C Emulation: 0.4
[    34.551] 	X.Org Video Driver: 10.0
[    34.552] 	X.Org XInput driver : 12.2
[    34.552] 	X.Org Server Extension : 5.0
[    34.579] (--) PCI:*(0:0:2:0) 8086:a001:8086:a001 rev 2, Mem @ 0xfe980000/524288, 0xd0000000/268435456, 0xfea00000/1048576, I/O @ 0x0000b800/8
[    34.579] (--) PCI: (0:0:2:1) 8086:a002:8086:a001 rev 2, Mem @ 0xfeb00000/524288
[    34.580] (II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
[    34.580] (II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
[    34.580] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[    34.580] (II) "record" will be loaded. This was enabled by default and also specified in the config file.
[    34.580] (II) "dri" will be loaded. This was enabled by default and also specified in the config file.
[    34.580] (II) "dri2" will be loaded. This was enabled by default and also specified in the config file.
[    34.580] (II) LoadModule: "dbe"
[    34.722] (II) Loading /usr/X11R7/lib/modules/extensions/libdbe.so
[    34.763] (II) Module dbe: vendor="X.Org Foundation"
[    34.763] 	compiled for 1.10.6, module version = 1.0.0
[    34.763] 	Module class: X.Org Server Extension
[    34.764] 	ABI class: X.Org Server Extension, version 5.0
[    34.764] (II) Loading extension DOUBLE-BUFFER
[    34.764] (II) LoadModule: "dri"
[    34.789] (II) Loading /usr/X11R7/lib/modules/extensions/libdri.so
[    34.810] (II) Module dri: vendor="X.Org Foundation"
[    34.818] 	compiled for 1.10.6, module version = 1.0.0
[    34.818] 	ABI class: X.Org Server Extension, version 5.0
[    34.845] (II) Loading extension XFree86-DRI
[    34.846] (II) LoadModule: "dri2"
[    34.876] (II) Loading /usr/X11R7/lib/modules/extensions/libdri2.so
[    34.893] (II) Module dri2: vendor="X.Org Foundation"
[    34.893] 	compiled for 1.10.6, module version = 1.2.0
[    34.894] 	ABI class: X.Org Server Extension, version 5.0
[    34.894] (II) Loading extension DRI2
[    34.894] (II) LoadModule: "extmod"
[    34.923] (II) Loading /usr/X11R7/lib/modules/extensions/libextmod.so
[    34.942] (II) Module extmod: vendor="X.Org Foundation"
[    34.942] 	compiled for 1.10.6, module version = 1.0.0
[    34.942] 	Module class: X.Org Server Extension
[    34.943] 	ABI class: X.Org Server Extension, version 5.0
[    34.943] (II) Loading extension MIT-SCREEN-SAVER
[    34.943] (II) Loading extension XFree86-VidModeExtension
[    34.943] (II) Loading extension XFree86-DGA
[    34.950] (II) Loading extension DPMS
[    34.950] (II) Loading extension XVideo
[    34.951] (II) Loading extension XVideo-MotionCompensation
[    34.951] (II) Loading extension X-Resource
[    34.951] (II) LoadModule: "glx"
[    34.984] (II) Loading /usr/X11R7/lib/modules/extensions/libglx.so
[    35.017] (II) Module glx: vendor="X.Org Foundation"
[    35.031] 	compiled for 1.10.6, module version = 1.0.0
[    35.031] 	ABI class: X.Org Server Extension, version 5.0
[    35.044] (==) AIGLX enabled
[    35.044] (II) Loading extension GLX
[    35.044] (II) LoadModule: "record"
[    35.077] (II) Loading /usr/X11R7/lib/modules/extensions/librecord.so
[    35.109] (II) Module record: vendor="X.Org Foundation"
[    35.109] 	compiled for 1.10.6, module version = 1.13.0
[    35.109] 	Module class: X.Org Server Extension
[    35.109] 	ABI class: X.Org Server Extension, version 5.0
[    35.109] (II) Loading extension RECORD
[    35.110] (II) LoadModule: "shadow"
[    35.143] (II) Loading /usr/X11R7/lib/modules/extensions/libshadow.so
[    35.145] (II) Module shadow: vendor="X.Org Foundation"
[    35.145] 	compiled for 1.10.6, module version = 1.1.0
[    35.145] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    35.146] (II) LoadModule: "intel"
[    35.161] (II) Loading /usr/X11R7/lib/modules/drivers/intel_drv.so
[    35.229] (II) Module intel: vendor="X.Org Foundation"
[    35.230] 	compiled for 1.10.6, module version = 2.21.15
[    35.230] 	Module class: X.Org Video Driver
[    35.230] 	ABI class: X.Org Video Driver, version 10.0
[    35.231] (II) LoadModule: "mouse"
[    35.248] (II) Loading /usr/X11R7/lib/modules/drivers/mouse_drv.so
[    35.290] (II) Module mouse: vendor="X.Org Foundation"
[    35.291] 	compiled for 1.10.6, module version = 1.9.0
[    35.291] 	Module class: X.Org XInput Driver
[    35.291] 	ABI class: X.Org XInput driver, version 12.2
[    35.291] (II) LoadModule: "kbd"
[    35.307] (II) Loading /usr/X11R7/lib/modules/drivers/kbd_drv.so
[    35.314] (II) Module kbd: vendor="X.Org Foundation"
[    35.315] 	compiled for 1.10.6, module version = 1.8.0
[    35.315] 	Module class: X.Org XInput Driver
[    35.315] 	ABI class: X.Org XInput driver, version 12.2
[    35.315] (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, HD Graphics,
	HD Graphics 2000, HD Graphics 3000, HD Graphics 2500,
	HD Graphics 4000, HD Graphics P4000, HD Graphics 4600,
	HD Graphics 5000, HD Graphics P4600/P4700, Iris(TM) Graphics 5100,
	HD Graphics 4400, HD Graphics 4200, Iris(TM) Pro Graphics 5200
[    35.351] (--) Using wscons driver on /dev/ttyE4 in pcvt compatibility mode (version 3.32)
[    35.351] (--) using VT number 5

[    35.399] drmOpenDevice: node name is /dev/dri/card0
[    35.400] drmOpenDevice: open result is 17, (OK)
[    35.409] drmOpenByBusid: Searching for BusID pci:0000:00:02.0
[    35.409] drmOpenDevice: node name is /dev/dri/card0
[    35.410] drmOpenDevice: open result is 17, (OK)
[    35.410] drmOpenByBusid: drmOpenMinor returns 17
[    35.411] drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
[    35.420] drmOpenDevice: node name is /dev/dri/card0
[    35.421] drmOpenDevice: open result is 17, (OK)
[    35.430] drmOpenByBusid: Searching for BusID pci:0000:00:02.0
[    35.430] drmOpenDevice: node name is /dev/dri/card0
[    35.431] drmOpenDevice: open result is 17, (OK)
[    35.431] drmOpenByBusid: drmOpenMinor returns 17
[    35.431] drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
[    35.432] (II) Loading /usr/X11R7/lib/modules/drivers/intel_drv.so
[    35.488] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    35.489] drmOpenDevice: node name is /dev/dri/card0
[    35.491] drmOpenDevice: open result is 17, (OK)
[    35.504] drmOpenByBusid: Searching for BusID pci:0000:00:02.0
[    35.505] drmOpenDevice: node name is /dev/dri/card0
[    35.506] drmOpenDevice: open result is 17, (OK)
[    35.507] drmOpenByBusid: drmOpenMinor returns 17
[    35.507] drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
[    35.507] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[    35.507] (==) intel(0): RGB weight 888
[    35.508] (==) intel(0): Default visual is TrueColor
[    35.508] (--) intel(0): Integrated Graphics Chipset: Intel(R) Pineview G
[    35.557] (**) intel(0): Relaxed fencing enabled
[    35.557] (**) intel(0): Wait on SwapBuffers? enabled
[    35.557] (**) intel(0): Triple buffering? enabled
[    35.557] (**) intel(0): Framebuffer tiled
[    35.557] (**) intel(0): Pixmaps tiled
[    35.558] (**) intel(0): 3D buffers tiled
[    35.558] (**) intel(0): SwapBuffers wait enabled
[    35.558] (==) intel(0): video overlay key set to 0x101fe
[    35.599] (II) intel(0): Output LVDS1 using monitor section Monitor0
[    35.626] (II) intel(0): Output VGA1 has no monitor section
[    35.631] (II) intel(0): EDID for output LVDS1
[    35.632] (II) intel(0): Not using default mode "320x240" (doublescan mode not supported)
[    35.632] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
[    35.632] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
[    35.633] (II) intel(0): Not using default mode "512x384" (doublescan mode not supported)
[    35.633] (II) intel(0): Not using default mode "640x480" (doublescan mode not supported)
[    35.633] (II) intel(0): Not using default mode "640x512" (doublescan mode not supported)
[    35.633] (II) intel(0): Not using default mode "800x600" (doublescan mode not supported)
[    35.633] (II) intel(0): Not using default mode "896x672" (doublescan mode not supported)
[    35.633] (II) intel(0): Not using default mode "928x696" (doublescan mode not supported)
[    35.634] (II) intel(0): Not using default mode "960x720" (doublescan mode not supported)
[    35.634] (II) intel(0): Not using default mode "700x525" (doublescan mode not supported)
[    35.634] (II) intel(0): Printing probed modes for output LVDS1
[    35.634] (II) intel(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz)
[    35.634] (II) intel(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz)
[    35.635] (II) intel(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz)
[    35.635] (II) intel(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz)
[    35.658] (II) intel(0): EDID for output VGA1
[    35.658] (II) intel(0): Printing probed modes for output VGA1
[    35.658] (II) intel(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz)
[    35.659] (II) intel(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz)
[    35.659] (II) intel(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz)
[    35.659] (II) intel(0): Modeline "848x480"x60.0   33.75  848 864 976 1088  480 486 494 517 +hsync +vsync (31.0 kHz)
[    35.659] (II) intel(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 489 492 525 -hsync -vsync (31.5 kHz)
[    35.659] (II) intel(0): Output LVDS1 connected
[    35.660] (II) intel(0): Output VGA1 connected
[    35.660] (II) intel(0): Using exact sizes for initial modes
[    35.660] (II) intel(0): Output LVDS1 using initial mode 1024x768
[    35.660] (II) intel(0): Output VGA1 using initial mode 1024x768
[    35.660] (II) intel(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[    35.661] (II) intel(0): Kernel page flipping support detected, enabling
[    35.661] (==) intel(0): DPI set to (96, 96)
[    35.661] (II) Loading sub module "fb"
[    35.661] (II) LoadModule: "fb"
[    35.726] (II) Loading /usr/X11R7/lib/modules/libfb.so
[    35.799] (II) Module fb: vendor="X.Org Foundation"
[    35.799] 	compiled for 1.10.6, module version = 1.0.0
[    35.800] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    35.800] (II) Loading sub module "dri2"
[    35.800] (II) LoadModule: "dri2"
[    35.827] (II) Loading /usr/X11R7/lib/modules/extensions/libdri2.so
[    35.827] (II) Module dri2: vendor="X.Org Foundation"
[    35.827] 	compiled for 1.10.6, module version = 1.2.0
[    35.828] 	ABI class: X.Org Server Extension, version 5.0
[    35.828] (==) Depth 24 pixmap format is 32 bpp
[    35.828] (II) intel(0): [DRI2] Setup complete
[    35.828] (II) intel(0): [DRI2]   DRI driver: i915
[    35.829] (II) intel(0): Allocated new frame buffer 1024x768 stride 4096, tiled
[    36.002] (II) UXA(0): Driver registered support for the following operations:
[    36.002] (II)         solid
[    36.002] (II)         copy
[    36.002] (II)         composite (RENDER acceleration)
[    36.002] (II)         put_image
[    36.002] (II)         get_image
[    36.002] (==) intel(0): Backing store disabled
[    36.003] (==) intel(0): Silken mouse enabled
[    36.034] (II) intel(0): Initializing HW Cursor
[    36.034] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[    36.108] (==) intel(0): DPMS enabled
[    36.108] (==) intel(0): Intel XvMC decoder disabled
[    36.108] (II) intel(0): Set up textured video
[    36.109] (II) intel(0): Set up overlay video
[    36.109] (II) intel(0): direct rendering: DRI2 Enabled
[    36.109] (WW) intel(0): Option "monitor-VGA" is not used
[    36.110] (WW) intel(0): Option "monitor-LVDS" is not used
[    36.110] (WW) intel(0): Option "monitor-LVDS-1" is not used
[    36.152] (--) RandR disabled
[    36.152] (II) Initializing built-in extension Generic Event Extension
[    36.153] (II) Initializing built-in extension SHAPE
[    36.153] (II) Initializing built-in extension MIT-SHM
[    36.153] (II) Initializing built-in extension XInputExtension
[    36.153] (II) Initializing built-in extension XTEST
[    36.153] (II) Initializing built-in extension BIG-REQUESTS
[    36.153] (II) Initializing built-in extension SYNC
[    36.153] (II) Initializing built-in extension XKEYBOARD
[    36.153] (II) Initializing built-in extension XC-MISC
[    36.153] (II) Initializing built-in extension SECURITY
[    36.154] (II) Initializing built-in extension XINERAMA
[    36.154] (II) Initializing built-in extension XFIXES
[    36.154] (II) Initializing built-in extension XFree86-Bigfont
[    36.154] (II) Initializing built-in extension RENDER
[    36.154] (II) Initializing built-in extension RANDR
[    36.154] (II) Initializing built-in extension COMPOSITE
[    36.154] (II) Initializing built-in extension DAMAGE
[    37.831] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[    37.831] (II) AIGLX: enabled GLX_INTEL_swap_event
[    37.831] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[    37.831] (II) AIGLX: enabled GLX_SGI_make_current_read
[    37.831] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[    37.832] (II) AIGLX: Loaded and initialized /usr/X11R7/lib/modules/dri/i915_dri.so
[    37.833] (II) GLX: Initialized DRI2 GL provider for screen 0
[    37.877] (II) intel(0): Setting screen physical size to 270 x 203
[    40.252] (II) Using input driver 'mouse' for 'Mouse0'
[    40.252] (II) Loading /usr/X11R7/lib/modules/drivers/mouse_drv.so
[    40.253] (**) Option "CorePointer"
[    40.253] (**) Mouse0: always reports core events
[    40.253] (**) Option "Protocol" "wsmouse"
[    40.253] (**) Option "Device" "/dev/wsmouse"
[    40.254] (**) Mouse0: Protocol: "wsmouse"
[    40.254] (**) Mouse0: always reports core events
[    40.297] (==) Mouse0: Emulate3Buttons, Emulate3Timeout: 50
[    40.298] (**) Option "ZAxisMapping" "4 5 6 7"
[    40.298] (**) Mouse0: ZAxisMapping: buttons 4, 5, 6 and 7
[    40.298] (**) Mouse0: Buttons: 11
[    40.298] (II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
[    40.299] (**) Mouse0: (accel) keeping acceleration scheme 1
[    40.299] (**) Mouse0: (accel) acceleration profile 0
[    40.299] (**) Mouse0: (accel) acceleration factor: 2.000
[    40.299] (**) Mouse0: (accel) acceleration threshold: 4
[    40.302] (II) Using input driver 'kbd' for 'Keyboard0'
[    40.302] (II) Loading /usr/X11R7/lib/modules/drivers/kbd_drv.so
[    40.303] (**) Option "CoreKeyboard"
[    40.303] (**) Keyboard0: always reports core events
[    40.303] (**) Keyboard0: always reports core events
[    40.303] (**) Option "Protocol" "standard"
[    40.304] (**) Option "XkbRules" "base"
[    40.304] (**) Option "XkbModel" "pc105"
[    40.304] (**) Option "XkbLayout" "gb"
[    40.305] (II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
>How-To-Repeat:
>Fix:

>Release-Note:

>Audit-Trail:
From: Patrick Welche <prlw1@cam.ac.uk>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/49285
Date: Mon, 24 Nov 2014 13:17:55 +0000

 With recent -current/amd64 (as per 18 Nov current-users posting), this
 pineview based computer now panics on boot in:

 ffffff81342838
 curlwp 0xffffffff810d74a0 pid 0.1 lowest kstack 0xffffffff8133f2c0
 kernel: page fault trap, code=0
 Stopped in pid 0.1 (system) at netbsd:device_is_a+0x4: movq 20(%rdi),%rax

 device_is_a()
 intel_opregion_init()
 i915_driver_load()
 drm_dev_register()
 drm_pci_attach()
 i915drmkms_attach()
 config_attach_loc()
 pci_probe_device()
 pci_enumerate_bus()
 pcirescan()
 pciattach()
 config_attach_loc()
 mp_pci_scan()
 mainbus_attach()
 config_attach_loc()
 cpu_configure()
 main()

 The problem occurs in intel_didl_outputs, because
 drm_device dev -> pci_dev pdev -> acpi_devnode pd_ad is NULL

 This is because acpivga is not attached, because none of
 _DOS, _DOD, _ROM, _GPD, _SPD, _VPO
 are in the acpi tables, though it appears to have an 

     Scope (_SB.PCI0)
     {
         Device (GFX0)
         {
             Name (_ADR, 0x00020000)  // _ADR: Address
             OperationRegion (IGDM, SystemMemory, 0x7F5BE0F4, 0x2000)
             Field (IGDM, AnyAcc, NoLock, Preserve)
             {
                 SIGN,   128, 
                 SIZE,   32, 
                 OVER,   32, 
                 SVER,   256, 
 ...
 (I see GXFC GEFC SCIS GSSE SCIE GESF GBDA.* CLID IBTT IPSC IPAT IDVM IDVS PAVP
 none exhaustive list)

 Presumably, that's why we end up in intel_opregion_init.

From: Patrick Welche <prlw1@cam.ac.uk>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/49285 drmkms on pineview (intel)
Date: Fri, 9 Jan 2015 13:36:18 +0000

 RCS file: /cvsroot/src/sys/external/bsd/drm2/dist/drm/i915/intel_opregion.c,v
 ----------------------------
 revision 1.8
 date: 2014-11-25 03:31:12 +0000;  author: nonaka;  state: Exp;  lines: +3 -1;  commitid: 8xGBfzWM13gq2wZx;
 avoid NULL pointer dereference when acpivga isn't attached.
 ----------------------------

 fixed the panic.
 (This is an odd setup as GFX0 doesn't define the functions necessary for
 acpivga to attach.)

 The status now is that success in correct resolution detection seems to
 be dependent on the type of monitor, but playing spot the difference hasn't
 been very successful ("working" and "broken" monitors both have 1920x1080,
 and use the same connectors / setup) - the "working" one also happens to
 be a touch screen (iiyama Prolite T2250MTS) and is more recent than the
 "broken" one (what sort of "new" "monitor" protocols are there?)

 Given a "working" monitor, with SNA, X runs with the correct
 resolution, but most fonts (including xdm login screen) are corrupt.

         Option       "RENDER" "Disable"

 avoids the font corruption, so the box is now usable, though there are
 still artefacts, which look rather like http://gnats.netbsd.org/49547.
 (This is yesterday's -current/amd64)

Responsible-Changed-From-To: kern-bug-people->riastradh
Responsible-Changed-By: riastradh@NetBSD.org
Responsible-Changed-When: Sat, 28 Feb 2015 14:54:06 +0000
Responsible-Changed-Why:
mine


State-Changed-From-To: open->feedback
State-Changed-By: riastradh@NetBSD.org
State-Changed-When: Sat, 28 Feb 2015 14:54:06 +0000
State-Changed-Why:
Can you try with HEAD as of today?
(See https://mail-index.netbsd.org/current-users/2015/02/28/msg026783.html)


From: Patrick Welche <prlw1@cam.ac.uk>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/49285 drmkms on pineview (intel)
Date: Tue, 14 Apr 2015 14:28:41 +0100

 Disabling RENDER is no longer necessary!

 All artefacts have gone. benchmarks/glmark2 is happy (apart from "terrain",
 but it isn't obvious that that should work on a pineview)

 The only remaining issue involves the monitor with its duff EDID. Pre-drm2
 coped with it, and drm2 is happy with another monitor (so the work around
 is change hardware).

 (debug dmesg doesn't look different to the one above)

From: Patrick Welche <prlw1@cam.ac.uk>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/49285 drmkms on pineview (intel)
Date: Mon, 20 Apr 2015 14:40:18 +0100

 FWIW, clicking on a firefox button caused:

 Core was generated by `Xorg'.
 Program terminated with signal SIGSEGV, Segmentation fault.
 #0  0x00007f7fefaeb32a in ?? ()
    from /usr/X11R7/lib/modules/drivers/intel_drv.so
 (gdb) bt
 #0  0x00007f7fefaeb32a in ?? ()
    from /usr/X11R7/lib/modules/drivers/intel_drv.so
 #1  0x00007f7fefaf3907 in ?? ()
    from /usr/X11R7/lib/modules/drivers/intel_drv.so
 #2  0x00007f7fefa50271 in ?? ()
    from /usr/X11R7/lib/modules/drivers/intel_drv.so
 #3  0x00007f7fefa52514 in imprecise_trapezoid_span_converter ()
    from /usr/X11R7/lib/modules/drivers/intel_drv.so
 #4  0x00007f7fefa5e099 in sna_composite_trapezoids ()
    from /usr/X11R7/lib/modules/drivers/intel_drv.so
 #5  0x00000000004eed7e in ?? ()
 #6  0x0000000000453611 in Dispatch ()
 #7  0x000000000059e10a in main ()

 on said favorite pineview with a -current kernel from today - will
 try to get something more useful...

From: Patrick Welche <prlw1@cam.ac.uk>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/49285 drmkms on pineview (intel)
Date: Mon, 20 Apr 2015 14:51:44 +0100

 The on-going

 https://bugs.freedesktop.org/show_bug.cgi?70461

 looks related...

From: Taylor R Campbell <riastradh@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/49285 drmkms on pineview (intel)
Date: Sun, 21 Jun 2015 17:47:23 +0000

 This is a multi-part message in MIME format.
 --=_mhnjjyDs2XN8L143ZHZeZQ7Cd5dNYPgR

 Sent to netbsd-bugs.

 --=_mhnjjyDs2XN8L143ZHZeZQ7Cd5dNYPgR
 Content-Type: message/rfc822
 Content-Disposition: inline

 Date: Wed, 17 Jun 2015 17:26:30 +0100
 From: Patrick Welche <prlw1@cam.ac.uk>
 To: riastradh@NetBSD.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
 Subject: Re: kern/49285 drmkms on pineview (intel)
 MIME-Version: 1.0
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline

 I connected the "broken" monitor above, which is detected by the pineview
 as having a broken 0x00ffffff... EDID into a -current/amd64 Sandy Bridge
 laptop, and happily used it as a second high resolution screen.

 The Sandy Bridge managed to read its EDID successfully (including no
 mention of bit banging).

 I applied the following kludge:

 Index: sys/external/bsd/drm2/dist/drm/drm_edid.c
 ===================================================================
 RCS file: /cvsroot/src/sys/external/bsd/drm2/dist/drm/drm_edid.c,v
 retrieving revision 1.4
 diff -u -r1.4 drm_edid.c
 --- sys/external/bsd/drm2/dist/drm/drm_edid.c   16 Jul 2014 20:56:24 -0000      1.4
 +++ sys/external/bsd/drm2/dist/drm/drm_edid.c   17 Jun 2015 16:03:43 -0000
  EXPORT_SYMBOL(drm_edid_block_valid);
 @@ -1282,10 +1284,28 @@
  struct edid *drm_get_edid(struct drm_connector *connector,
                           struct i2c_adapter *adapter)
  {
 +       static const u8 rawedid[EDID_LENGTH] = {
 +0x00,0xff,0xff,0xff,0xff,0xff,0xff,0x00,0x26,0xcd,0x0d,0x56,0x01,0x01,0x01,0x01,
 +0x32,0x13,0x01,0x03,0x68,0x34,0x1e,0x78,0x2a,0xee,0xd5,0xa5,0x55,0x48,0x9b,0x26,
 +0x12,0x50,0x54,0xbf,0xef,0x80,0xb3,0x00,0xa9,0x40,0x95,0x00,0x81,0x8f,0x81,0x80,
 +0x95,0x0f,0x71,0x4f,0x01,0x01,0x94,0x43,0x80,0x90,0x72,0x38,0x28,0x40,0x80,0xc8,
 +0x35,0x00,0x09,0x25,0x21,0x00,0x00,0x1c,0x00,0x00,0x00,0xff,0x00,0x31,0x31,0x30,
 +0x30,0x31,0x39,0x35,0x30,0x35,0x30,0x30,0x34,0x30,0x00,0x00,0x00,0xfd,0x00,0x37,
 +0x4c,0x1d,0x51,0x12,0x00,0x0a,0x20,0x20,0x20,0x20,0x20,0x20,0x00,0x00,0x00,0xfc,
 +0x00,0x50,0x4c,0x45,0x32,0x34,0x30,0x37,0x48,0x44,0x53,0x0a,0x20,0x20,0x00,0xae
 +       };
 +
 +/*
         struct edid *edid = NULL;

         if (drm_probe_ddc(adapter))
                 edid = (struct edid *)drm_do_get_edid(connector, adapter);
 +*/
 +
 +       struct edid *edid = kmalloc(EDID_LENGTH, GFP_KERNEL);
 +
 +       if (edid != NULL)
 +               memcpy(edid, rawedid, EDID_LENGTH);

         return edid;
  }


 and said pineview now does 1366x768 pixels on the "broken" monitor, (without
 trying to disable the spurious LVDS1 connector)...

 Sounds like this all boils down to a gmbus problem...

 --=_mhnjjyDs2XN8L143ZHZeZQ7Cd5dNYPgR--

State-Changed-From-To: feedback->open
State-Changed-By: prlw1@NetBSD.org
State-Changed-When: Sun, 05 Jul 2015 08:28:46 +0000
State-Changed-Why:
feedback given


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.