Current-Users archive

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

Re: DRMKMS problem on i386 i915 chipset



> Can you please cvs update to sys/dev/pci/agp_i810.c 1.118 and try
> again?

Here is an update on the failing i915drmkms on my ASUS Eeepc 1000H.
using kernel sources from April 11th, (i.e. agp_i810.c @1.118).

The unabridged dmesg below shows how it fails.   A condensed summary
of the errors:

drm: failed to find VBIOS tables
i915drmkms0: interrupting at ioapic0 pin 16 (i915)
DRM error in drm_edid_block_valid: EDID checksum is invalid, remainder is 13
drm kern error: Raw EDID:
00 ff ff ff ff ff ff 00 22 64 e9 03 69 a3 01 00
[
	four rejected EDID blocks eledid]
]
i915drmkms0: warning: LVDS-1: EDID block 0 invalid.
drm: initialized overlay support
intelfb0 at i915drmkms0
i915drmkms0: info: registered panic notifier
intelfb0: framebuffer at 0xda07a000, size 640x480, depth 32, stride 2560
DRM error in intel_pipe_config_compare: mismatch in adjusted_mode.flags(DRM_MODE_FLAG_PHSYNC) (expected 0, found 1)
warning: ../../../../external/bsd/drm2/dist/drm/i915/intel_display.c:9891: pipe state doesn't match!

FWIW, applying Mike Pumford's "minaddr" one-line patch doesn't improve
anything.

I also compiled a kernel with the legacy i915drm which worked fine with
NetBSD-5 and -6.  With -current, it kinda works:  Xorg won't pick up the
display's native 1024x600 size but use 800x600 instead.  The very same
happens when X is started with neither of i915drm{,kms} active.
(dmesg available  at https://gaertner.de/~neitzel/tmp/dmesg-7-i915dmr)

Below the full dmesg of the -current i915drmkms GENERIC kernel.

							Martin

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015
    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.99.9 (GENERIC) #0: Sat Apr 11 22:08:16 CEST 2015
	neitzel%eddie.marshlabs.gaertner.de@localhost:/usr/src/sys/arch/i386/compile/GENERIC
total memory = 1015 MB
avail memory = 981 MB
timecounter: Timecounters tick every 10.000 msec
[419] i915drmkms* disabled
[419] i915drmkms* enabled
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
ASUSTeK Computer INC. 1000H (x.x)
mainbus0 (root)
ACPI: RSDP 0x000FB9E0 000014 (v00 ACPIAM)
ACPI: RSDT 0x3F7A0000 00003C (v01 A_M_I_ OEMRSDT  10000921 MSFT 00000097)
ACPI: FACP 0x3F7A0200 000084 (v02 A_M_I_ OEMFACP  10000921 MSFT 00000097)
ACPI: DSDT 0x3F7A0430 006FFF (v01 A1028  A1028000 00000000 INTL 20051117)
ACPI: FACS 0x3F7AE000 000040
ACPI: APIC 0x3F7A0390 00005C (v01 A_M_I_ OEMAPIC  10000921 MSFT 00000097)
ACPI: MCFG 0x3F7A03F0 00003C (v01 A_M_I_ OEMMCFG  10000921 MSFT 00000097)
ACPI: OEMB 0x3F7AE040 000061 (v01 A_M_I_ AMI_OEM  10000921 MSFT 00000097)
ACPI: HPET 0x3F7A7430 000038 (v01 A_M_I_ OEMHPET  10000921 MSFT 00000097)
ACPI: SSDT 0x3F7AEB80 0004F0 (v01 PmRef  CpuPm    00003000 INTL 20051117)
ACPI: All ACPI Tables successfully acquired
cpu0 at mainbus0 apid 0
cpu0: Intel(R) Atom(TM) CPU N270   @ 1.60GHz, id 0x106c2
cpu1 at mainbus0 apid 1
cpu1: Intel(R) Atom(TM) CPU N270   @ 1.60GHz, id 0x106c2
ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 0x20, 24 pins
acpi0 at mainbus0: Intel ACPICA 20140926
acpi0: X/RSDT: OemId <A_M_I_,OEMRSDT ,10000921>, AslId <MSFT,00000097>
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xC245600C 00023C (v01 PmRef  Cpu0Ist  00003000 INTL 20051117)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xC275180C 000724 (v01 PmRef  Cpu0Cst  00003001 INTL 20051117)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xC25F77FC 0000CC (v01 PmRef  Cpu1Ist  00003000 INTL 20051117)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0xC26033D4 000085 (v01 PmRef  Cpu1Cst  00003000 INTL 20051117)
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 (EC0, PNP0C09)
: io 0x62,0x66
MCH (PNP0C01) 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, SYN0A04) (aux port): irq 12
pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
midi0 at pcppi1: PC speaker
sysbeep0 at pcppi1
COPR (PNP0C04) at acpi0 not configured
RMSC (PNP0C02) at acpi0 not configured
OMSC (PNP0C02) at acpi0 not configured
PCIE (PNP0C02) at acpi0 not configured
acpibat0 at acpi0 (BAT0, PNP0C0A-0): ACPI Battery
acpibat0: ASUS LION rechargeable battery
acpibat0: granularity: low->warn 0.065 Ah, warn->full 0.065 Ah
acpiacad0 at acpi0 (AC0, ACPI0003): ACPI AC Adapter
acpivga0 at acpi0 (VGA): ACPI Display Adapter
acpiout0 at acpivga0 (CRTD, 0x0100): ACPI Display Output Device
acpiout1 at acpivga0 (TVOD, 0x0200): ACPI Display Output Device
acpiout2 at acpivga0 (LCDD, 0x0400): ACPI Display Output Device
acpiout2: brightness levels: [0-15]
acpivga0: connected output devices:
acpivga0:   0x0100 (acpiout0): Ext. Monitor, head 0, bios detect
acpivga0:   0x0200 (acpiout1): TV, head 0, bios detect
acpivga0:   0x0400 (acpiout2): Unknown Output Device, head 0, bios detect
RMEM (PNP0C01) at acpi0 not configured
acpilid0 at acpi0 (LID, PNP0C0D): ACPI Lid Switch
acpibut0 at acpi0 (SLPB, PNP0C0E): ACPI Sleep Button
acpibut1 at acpi0 (PWRB, PNP0C0C-170): ACPI Power Button
acpitz0 at acpi0 (TZ00): cpu0 cpu1
acpitz0: levels: critical 85.0 C, passive 82.0 C, passive cooling
acpiwmi0 at acpi0 (AMW0, PNP0C14-ASUSWMI): ACPI WMI Interface
wmieeepc0 at acpiwmi0: Asus Eee PC WMI mappings
apm0 at acpi0: Power Management spec V1.2
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)
pms0: Elantech touchpad version 2.48 (020030)
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: vendor 8086 product 27ac (rev. 0x03)
agp0 at pchb0: i915-family chipset
agp0: detected 7932k stolen memory
agp0: aperture at 0xd0000000, size 0x10000000
i915drmkms0 at pci0 dev 2 function 0: vendor 8086 product 27ae (rev. 0x03)
drm: Memory usable by graphics device = 256M
drm: Supports vblank timestamp caching Rev 2 (21.10.2013).
drm: Driver supports precise vblank timestamp query.
drm: failed to find VBIOS tables
i915drmkms0: interrupting at ioapic0 pin 16 (i915)
DRM error in drm_edid_block_valid: EDID checksum is invalid, remainder is 13
drm kern error: Raw EDID:
00 ff ff ff ff ff ff 00 22 64 e9 03 69 a3 01 00
12 12 01 03 80 16 0d 78 0a 80 36 9a 5e 5d 91 28
20 4f 54 00 00 00 01 01 01 01 01 01 01 01 01 01
01 01 01 01 01 01 94 11 00 b0 40 58 19 20 35 23
45 00 dc 81 00 00 00 19 00 00 00 fd 00 37 41 22
29 05 00 0a 20 20 20 20 20 20 00 00 00 fc 00 48
53 44 31 30 30 49 46 57 31 0a 20 20 00 00 00 10
00 0a 20 20 20 20 20 20 20 20 20 20 20 20 00 81
DRM error in drm_edid_block_valid: EDID checksum is invalid, remainder is 13
drm kern error: Raw EDID:
00 ff ff ff ff ff ff 00 22 64 e9 03 69 a3 01 00
12 12 01 03 80 16 0d 78 0a 80 36 9a 5e 5d 91 28
20 4f 54 00 00 00 01 01 01 01 01 01 01 01 01 01
01 01 01 01 01 01 94 11 00 b0 40 58 19 20 35 23
45 00 dc 81 00 00 00 19 00 00 00 fd 00 37 41 22
29 05 00 0a 20 20 20 20 20 20 00 00 00 fc 00 48
53 44 31 30 30 49 46 57 31 0a 20 20 00 00 00 10
00 0a 20 20 20 20 20 20 20 20 20 20 20 20 00 81
DRM error in drm_edid_block_valid: EDID checksum is invalid, remainder is 13
drm kern error: Raw EDID:
00 ff ff ff ff ff ff 00 22 64 e9 03 69 a3 01 00
12 12 01 03 80 16 0d 78 0a 80 36 9a 5e 5d 91 28
20 4f 54 00 00 00 01 01 01 01 01 01 01 01 01 01
01 01 01 01 01 01 94 11 00 b0 40 58 19 20 35 23
45 00 dc 81 00 00 00 19 00 00 00 fd 00 37 41 22
29 05 00 0a 20 20 20 20 20 20 00 00 00 fc 00 48
53 44 31 30 30 49 46 57 31 0a 20 20 00 00 00 10
00 0a 20 20 20 20 20 20 20 20 20 20 20 20 00 81
DRM error in drm_edid_block_valid: EDID checksum is invalid, remainder is 13
drm kern error: Raw EDID:
00 ff ff ff ff ff ff 00 22 64 e9 03 69 a3 01 00
12 12 01 03 80 16 0d 78 0a 80 36 9a 5e 5d 91 28
20 4f 54 00 00 00 01 01 01 01 01 01 01 01 01 01
01 01 01 01 01 01 94 11 00 b0 40 58 19 20 35 23
45 00 dc 81 00 00 00 19 00 00 00 fd 00 37 41 22
29 05 00 0a 20 20 20 20 20 20 00 00 00 fc 00 48
53 44 31 30 30 49 46 57 31 0a 20 20 00 00 00 10
00 0a 20 20 20 20 20 20 20 20 20 20 20 20 00 81
i915drmkms0: warning: LVDS-1: EDID block 0 invalid.
drm: initialized overlay support
intelfb0 at i915drmkms0
i915drmkms0: info: registered panic notifier
intelfb0: framebuffer at 0xda07a000, size 640x480, depth 32, stride 2560
DRM error in intel_pipe_config_compare: mismatch in adjusted_mode.flags(DRM_MODE_FLAG_PHSYNC) (expected 0, found 1)
warning: ../../../../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
vendor 8086 product 27a6 (miscellaneous display, revision 0x03) at pci0 dev 2 function 1 not configured
hdaudio0 at pci0 dev 27 function 0: HD Audio Controller
hdaudio0: interrupting at ioapic0 pin 16
hdafg0 at hdaudio0: vendor 10ec product 0269
hdafg0: DAC00 2ch: Speaker [Built-In], HP Out [Jack]
hdafg0: ADC01 2ch: Mic In [Built-In]
hdafg0: ADC02 2ch: Mic In [Jack]
hdafg0: 2ch/2ch 32000Hz 44100Hz 48000Hz 88200Hz 96000Hz 192000Hz PCM16 PCM20 PCM24 AC3
audio0 at hdafg0: full duplex, playback, capture, mmap, independent
ppb0 at pci0 dev 28 function 0: vendor 8086 product 27d0 (rev. 0x02)
ppb0: PCI Express capability version 1 <Root Port of PCI-E Root Complex> x1 @ 2.5GT/s
pci1 at ppb0 bus 4
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
ppb1 at pci0 dev 28 function 1: vendor 8086 product 27d2 (rev. 0x02)
ppb1: PCI Express capability version 1 <Root Port of PCI-E Root Complex> x1 @ 2.5GT/s
pci2 at ppb1 bus 3
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
ale0 at pci2 dev 0 function 0: Attansic/Atheros L1E Ethernet
ale0: AR8113 (L2E RevA), ioapic0 pin 17
ale0: Ethernet address 00:23:54:80:9e:a4
atphy0 at ale0 phy 0: L1 10/100/1000 PHY, rev. 9
atphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ppb2 at pci0 dev 28 function 3: vendor 8086 product 27d6 (rev. 0x02)
ppb2: PCI Express capability version 1 <Root Port of PCI-E Root Complex> x1 @ 2.5GT/s
pci3 at ppb2 bus 1
pci3: i/o space, memory space enabled, rd/line, wr/inv ok
uhci0 at pci0 dev 29 function 0: vendor 8086 product 27c8 (rev. 0x02)
uhci0: interrupting at ioapic0 pin 23
usb0 at uhci0: USB revision 1.0
uhci1 at pci0 dev 29 function 1: vendor 8086 product 27c9 (rev. 0x02)
uhci1: interrupting at ioapic0 pin 19
usb1 at uhci1: USB revision 1.0
uhci2 at pci0 dev 29 function 2: vendor 8086 product 27ca (rev. 0x02)
uhci2: interrupting at ioapic0 pin 18
usb2 at uhci2: USB revision 1.0
uhci3 at pci0 dev 29 function 3: vendor 8086 product 27cb (rev. 0x02)
uhci3: interrupting at ioapic0 pin 16
usb3 at uhci3: USB revision 1.0
ehci0 at pci0 dev 29 function 7: vendor 8086 product 27cc (rev. 0x02)
ehci0: interrupting at ioapic0 pin 23
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2 uhci3
usb4 at ehci0: USB revision 2.0
ppb3 at pci0 dev 30 function 0: vendor 8086 product 2448 (rev. 0xe2)
pci4 at ppb3 bus 5
pci4: i/o space, memory space enabled
ichlpcib0 at pci0 dev 31 function 0: vendor 8086 product 27b9 (rev. 0x02)
timecounter: Timecounter "ichlpcib0" frequency 3579545 Hz quality 1000
ichlpcib0: 24-bit timer
ichlpcib0: TCO (watchdog) timer configured.
gpio0 at ichlpcib0: 64 pins
piixide0 at pci0 dev 31 function 2: Intel 82801GBM/GHM Serial ATA Controller (ICH7) (rev. 0x02)
piixide0: bus-master DMA support present
piixide0: primary channel wired to compatibility mode
piixide0: primary channel interrupting at ioapic0 pin 14
atabus0 at piixide0 channel 0
piixide0: secondary channel wired to compatibility mode
piixide0: secondary channel interrupting at ioapic0 pin 15
atabus1 at piixide0 channel 1
isa0 at ichlpcib0
isapnp0 at isa0 port 0x279
isapnp0: no ISA Plug 'n Play devices found
acpicpu0 at cpu0: ACPI CPU
acpicpu0: C1: FFH, lat   1 us, pow  1000 mW
acpicpu0: C2: FFH, lat   1 us, pow   500 mW
acpicpu0: C3: FFH, lat  57 us, pow   100 mW, bus master check
acpicpu0: P0: FFH, lat  10 us, pow 35000 mW, 1600 MHz
acpicpu0: P1: FFH, lat  10 us, pow 28000 mW, 1333 MHz
acpicpu0: P2: FFH, lat  10 us, pow 22000 mW, 1067 MHz
acpicpu0: P3: FFH, lat  10 us, pow 16000 mW,  800 MHz
acpicpu0: T0: I/O, lat   1 us, pow     0 mW, 100 %
acpicpu0: T1: I/O, lat   1 us, pow     0 mW,  88 %
acpicpu0: T2: I/O, lat   1 us, pow     0 mW,  76 %
acpicpu0: T3: I/O, lat   1 us, pow     0 mW,  64 %
acpicpu0: T4: I/O, lat   1 us, pow     0 mW,  52 %
acpicpu0: T5: I/O, lat   1 us, pow     0 mW,  40 %
acpicpu0: T6: I/O, lat   1 us, pow     0 mW,  28 %
acpicpu0: T7: I/O, lat   1 us, pow     0 mW,  16 %
coretemp0 at cpu0: thermal sensor, 1 C resolution
acpicpu1 at cpu1: ACPI CPU
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
acpiacad0: AC adapter offline.
uhub0 at usb1: vendor 8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub1 at usb0: vendor 8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhub2 at usb2: vendor 8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhub3 at usb3: vendor 8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
uhub4 at usb4: vendor 8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
IPsec: Initialized Security Association Processing.
ehci0: handing over full speed device on port 7 to uhci3
uvideo0 at uhub4 port 8 configuration 1 interface 0: Chicony Electronics Co., Ltd. CNF7129, rev 2.00/15.44, addr 2
video0 at uvideo0: Chicony Electronics Co., Ltd. CNF7129, rev 2.00/15.44, addr 2
wd0 at atabus0 drive 0
wd0: <ST9160827AS>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 149 GB, 310101 cyl, 16 head, 63 sec, 512 bytes/sect x 312581808 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
Kernelized RAIDframe activated
ubt0 at uhub3 port 1
ubt0: Broadcom Corp BT-253, rev 2.00/2.41, addr 2
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
kern.module.path=/stand/i386/7.99.9/modules
wsdisplay0: screen 1 added (default, vt100 emulation)
wsdisplay0: screen 2 added (default, vt100 emulation)
wsdisplay0: screen 3 added (default, vt100 emulation)
wsdisplay0: screen 4 added (default, vt100 emulation)



Home | Main Index | Thread Index | Old Index