inteldrm(4) display corruption on MacBook

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

inteldrm(4) display corruption on MacBook

Ossi Herrala
Hi misc@,

Same issue what's described by Bryan Vyhmeister in

  https://marc.info/?l=openbsd-misc&m=144614435718519
  https://marc.info/?l=openbsd-misc&m=144622297912025

but with MacBookPro9,2 and Intel HD 4000 graphics (MacBook Pro
(13-inch, Mid 2012)). Snapshot and sources from mirror from today.

I went digging what produces the error

  error: [drm:pid0:inteldrm_attach] *ERROR* failed to init modeset

and it looks like in sys/dev/pci/drm/drm_irq.c:1.66

drm_irq_install() calls

        if (drm_dev_to_irq(dev) == 0)
                return -EINVAL;

drm_dev_to_irq(dev) returns 0 and my skills end here to dig this
further.

these lines in dmesg are my debugging from kernel (and "stacktrace"):

error: [drm:pid0:drm_dev_to_irq] *ERROR* irq == 0
error: [drm:pid0:drm_irq_install] *ERROR* oherrala: drm_irq_install: drm_dev_to_irq
error: [drm:pid0:i915_load_modeset_init] *ERROR* oherrala: i915_load_modeset_init: drm_irq_install
error: [drm:pid0:inteldrm_attach] *ERROR* oherrala: i915_drm.c: failed to init modeset


I can help test patches, etc. if this helps anything?


dmesg:

OpenBSD 5.8-current (DEBUG.MP) #0: Mon Nov 16 19:15:35 UTC 2015
    [hidden email]:/usr/src/sys/arch/amd64/compile/DEBUG.MP
RTC BIOS diagnostic error 7f<ROM_cksum,config_unit,memory_size,fixed_disk,invalid_time>
real mem = 8473620480 (8081MB)
avail mem = 8212676608 (7832MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0x8ad14000 (63 entries)
bios0: vendor Apple Inc. version "MBP91.88Z.00D3.B0B.1506081214" date 06/08/2015
bios0: Apple Inc. MacBookPro9,2
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP HPET APIC SBST ECDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT DMAR MCFG
acpi0: wakeup devices P0P2(S3) PEG1(S3) EC__(S4) GMUX(S3) HDEF(S3) RP01(S3) GIGE(S3) SDXC(S3) RP02(S3) ARPT(S3) RP03(S3) EHC1(S3) EHC2(S3) XHC1(S3) ADP1(S4) LID0(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz, 2494.67 MHz
cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,SENSOR,ARAT
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz, 2494.34 MHz
cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,SENSOR,ARAT
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 1 (application processor)
cpu2: Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz, 2494.34 MHz
cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,SENSOR,ARAT
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 1, core 0, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz, 2494.34 MHz
cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,SENSOR,ARAT
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
acpiec0 at acpi0
acpimcfg0 at acpi0 addr 0xe0000000, bus 0-154
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 4 (P0P2)
acpiprt2 at acpi0: bus -1 (PEG1)
acpiprt3 at acpi0: bus 1 (RP01)
acpiprt4 at acpi0: bus 2 (RP02)
acpiprt5 at acpi0: bus 3 (RP03)
acpicpu0 at acpi0: C3(200@198 mwait.1@0x30), C2(500@148 mwait.1@0x10), C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0: C3(200@198 mwait.1@0x30), C2(500@148 mwait.1@0x10), C1(1000@1 mwait.1), PSS
acpicpu2 at acpi0: C3(200@198 mwait.1@0x30), C2(500@148 mwait.1@0x10), C1(1000@1 mwait.1), PSS
acpicpu3 at acpi0: C3(200@198 mwait.1@0x30), C2(500@148 mwait.1@0x10), C1(1000@1 mwait.1), PSS
acpibat0 at acpi0: BAT0 model "3545797981023400290" type 3545797981528607052 oem "3545797981528673619"
acpiac0 at acpi0: AC unit offline
acpibtn0 at acpi0: LID0
acpibtn1 at acpi0: PWRB
acpibtn2 at acpi0: SLPB
acpivideo0 at acpi0: IGPU
acpivout0 at acpivideo0: DD02
cpu0: Enhanced SpeedStep 2494 MHz: speeds: 2501, 2500, 2400, 2300, 2200, 2100, 2000, 1900, 1800, 1700, 1600, 1500, 1400, 1300, 1200 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 3G Host" rev 0x09
ppb0 at pci0 dev 1 function 0 "Intel Core 3G PCIE" rev 0x09: msi
pci1 at ppb0 bus 4
ppb1 at pci1 dev 0 function 0 vendor "Intel", unknown product 0x1513 rev 0x00
pci2 at ppb1 bus 5
ppb2 at pci2 dev 0 function 0 vendor "Intel", unknown product 0x1513 rev 0x00: msi
pci3 at ppb2 bus 6
vendor "Intel", unknown product 0x1513 (class system subclass miscellaneous, rev 0x00) at pci3 dev 0 function 0 not configured
ppb3 at pci2 dev 3 function 0 vendor "Intel", unknown product 0x1513 rev 0x00: msi
pci4 at ppb3 bus 7
ppb4 at pci2 dev 4 function 0 vendor "Intel", unknown product 0x1513 rev 0x00: msi
pci5 at ppb4 bus 8
ppb5 at pci2 dev 5 function 0 vendor "Intel", unknown product 0x1513 rev 0x00: msi
pci6 at ppb5 bus 57
ppb6 at pci2 dev 6 function 0 vendor "Intel", unknown product 0x1513 rev 0x00: msi
pci7 at ppb6 bus 106
inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics 4000" rev 0x09
drm0 at inteldrm0
inteldrm0: msi
error: [drm:pid0:drm_dev_to_irq] *ERROR* irq == 0
error: [drm:pid0:drm_irq_install] *ERROR* oherrala: drm_irq_install: drm_dev_to_irq
error: [drm:pid0:i915_load_modeset_init] *ERROR* oherrala: i915_load_modeset_init: drm_irq_install
error: [drm:pid0:inteldrm_attach] *ERROR* oherrala: i915_drm.c: failed to init modeset
Memory manager not clean. Delaying takedown
Memory manager not clean. Delaying takedown
xhci0 at pci0 dev 20 function 0 "Intel 7 Series xHCI" rev 0x04: msi
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 "Intel xHCI root hub" rev 3.00/1.00 addr 1
"Intel 7 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
ehci0 at pci0 dev 26 function 0 "Intel 7 Series USB" rev 0x04: apic 2 int 23
usb1 at ehci0: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 7 Series HD Audio" rev 0x04: msi
azalia0: codecs: Cirrus Logic CS4206, Intel/0x2806, using Cirrus Logic CS4206
audio0 at azalia0
ppb7 at pci0 dev 28 function 0 "Intel 7 Series PCIE" rev 0xc4: msi
pci8 at ppb7 bus 1
bge0 at pci8 dev 0 function 0 "Broadcom BCM57765" rev 0x10, BCM57765 B0 (0x57785100): msi, address 40:6c:8f:4d:7c:53
brgphy0 at bge0 phy 1: BCM57765 10/100/1000baseT PHY, rev. 4
sdhc0 at pci8 dev 0 function 1 "Broadcom SD Host Controller" rev 0x10: apic 2 int 17
sdhc0 at 0x10: can't map registers
ppb8 at pci0 dev 28 function 1 "Intel 7 Series PCIE" rev 0xc4: msi
pci9 at ppb8 bus 2
vendor "Broadcom", unknown product 0x4331 (class network subclass miscellaneous, rev 0x02) at pci9 dev 0 function 0 not configured
ppb9 at pci0 dev 28 function 2 "Intel 7 Series PCIE" rev 0xc4: msi
pci10 at ppb9 bus 3
"AT&T/Lucent FW643 1394" rev 0x08 at pci10 dev 0 function 0 not configured
ehci1 at pci0 dev 29 function 0 "Intel 7 Series USB" rev 0x04: apic 2 int 22
usb2 at ehci1: USB revision 2.0
uhub2 at usb2 "Intel EHCI root hub" rev 2.00/1.00 addr 1
pcib0 at pci0 dev 31 function 0 "Intel HM77 LPC" rev 0x04
ahci0 at pci0 dev 31 function 2 "Intel 7 Series AHCI" rev 0x04: msi, AHCI 1.3
ahci0: port 0: 3.0Gb/s
ahci0: port 1: 1.5Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, INTEL SSDSA2CW16, 4PC1> SCSI3 0/direct fixed naa.500151795953e61e
sd0: 152627MB, 512 bytes/sector, 312581808 sectors, thin
cd0 at scsibus1 targ 1 lun 0: <MATSHITA, DVD-R UJ-8A8, HB14> ATAPI 5/cdrom removable
ichiic0 at pci0 dev 31 function 3 "Intel 7 Series SMBus" rev 0x04: apic 2 int 18
iic0 at ichiic0
iic0: addr 0x2c 03=fc 05=6e 06=20 71=06 72=80 86=85 90=37 91=26 92=25 93=3b 94=5a 95=8c 96=66 97=84 98=3b 99=02 9a=80 9f=7c a0=7f a1=b5 a2=bf a3=7b a4=28 a5=cf a6=64 a7=2d words 00=0000 01=0000 02=00fc 03=fc00 04=006e 05=6e00 06=0000 07=0000
spdmem0 at iic0 addr 0x50: 4GB DDR3 SDRAM PC3-12800 SO-DIMM
spdmem1 at iic0 addr 0x52: 4GB DDR3 SDRAM PC3-12800 SO-DIMM
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns8250, no fifo
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
asmc0 at isa0 port 0x300/32: rev 2.2f602, 374 keys
efifb0 at mainbus0
wsdisplay0 at efifb0 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
nvram: invalid checksum
uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
uvideo0 at uhub3 port 1 configuration 1 interface 0 "Apple Inc. FaceTime HD Camera (Built-in)" rev 2.00/5.16 addr 3
video0 at uvideo0
ugen0 at uhub3 port 1 configuration 1 "Apple Inc. FaceTime HD Camera (Built-in)" rev 2.00/5.16 addr 3
uhub4 at uhub2 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
uhub5 at uhub4 port 8 "Standard Microsystems Hub" rev 2.00/b.b3 addr 3
uhub6 at uhub5 port 1 "Apple Inc. BRCM20702 Hub" rev 2.00/1.00 addr 4
uhidev0 at uhub6 port 1 configuration 1 interface 0 "Apple Computer product 0x820a" rev 2.00/1.00 addr 5
uhidev0: iclass 3/1, 1 report id
ukbd0 at uhidev0 reportid 1: 8 variable keys, 6 key codes
wskbd0 at ukbd0: console keyboard, using wsdisplay0
uhidev1 at uhub6 port 2 configuration 1 interface 0 "Apple Computer product 0x820b" rev 2.00/1.00 addr 6
uhidev1: iclass 3/1, 2 report ids
ums0 at uhidev1 reportid 2: 3 buttons
wsmouse0 at ums0 mux 0
ugen1 at uhub6 port 3 "Apple Inc. Bluetooth USB Host Controller" rev 2.00/1.50 addr 7
uhidev2 at uhub5 port 2 configuration 1 interface 0 "Apple Computer, Inc. IR Receiver" rev 2.00/0.16 addr 8
uhidev2: iclass 3/0, 38 report ids
uhid0 at uhidev2 reportid 36: input=4, output=0, feature=0
uhid1 at uhidev2 reportid 37: input=4, output=0, feature=0
uhid2 at uhidev2 reportid 38: input=4, output=0, feature=0
uhidev3 at uhub5 port 3 configuration 1 interface 0 "Apple Inc. Apple Internal Keyboard / Trackpad" rev 2.00/2.19 addr 9
uhidev3: iclass 3/1, 9 report ids
ukbd1 at uhidev3 reportid 1: 8 variable keys, 6 key codes, country code 13
wskbd1 at ukbd1 mux 1
wskbd1: connecting to wsdisplay0
uhid3 at uhidev3 reportid 9: input=0, output=0, feature=3
uhidev4 at uhub5 port 3 configuration 1 interface 1 "Apple Inc. Apple Internal Keyboard / Trackpad" rev 2.00/2.19 addr 9
uhidev4: iclass 3/0, 68 report ids
uhid4 at uhidev4 reportid 68: input=511, output=0, feature=0
ubcmtp0 at uhub5 port 3 configuration 1 interface 2 "Apple Inc. Apple Internal Keyboard / Trackpad" rev 2.00/2.19 addr 9
wsmouse1 at ubcmtp0 mux 0
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd0a (d8385997f4d1963d.a) swap on sd0b dump on sd0b
clock: unknown CMOS layout
getty(8076): syscall 56 ""
getty(8569): syscall 56 ""
getty(13394): syscall 56 ""
getty(31984): syscall 56 ""
getty(23626): syscall 56 ""


--
Ossi Herrala

Reply | Threaded
Open this post in threaded view
|

Re: inteldrm(4) display corruption on MacBook

Bryan Vyhmeister-3
I just tested a 2015 MacBook Air (HD 6000 graphics) and still see the
same display corruption. This seems to happen on all Intel Graphics Macs
at least from HD 4000 and up and specifically your system, the 12-inch
Retina MacBook, 2013 MacBook Air, and 2015 MacBook Air. Hopefully
kettenis@ will have time to look at this eventually but he is very busy
at the moment.

Bryan

Reply | Threaded
Open this post in threaded view
|

Re: inteldrm(4) display corruption on MacBook

Mark Kettenis
In reply to this post by Ossi Herrala
Hi Ossi,

Your digging:

> I went digging what produces the error
>
>   error: [drm:pid0:inteldrm_attach] *ERROR* failed to init modeset
>
> and it looks like in sys/dev/pci/drm/drm_irq.c:1.66
>
> drm_irq_install() calls
>
>         if (drm_dev_to_irq(dev) == 0)
>                 return -EINVAL;
>
> drm_dev_to_irq(dev) returns 0 and my skills end here to dig this
> further.
>
> these lines in dmesg are my debugging from kernel (and "stacktrace"):
>
> error: [drm:pid0:drm_dev_to_irq] *ERROR* irq == 0
> error: [drm:pid0:drm_irq_install] *ERROR* oherrala: drm_irq_install: drm_dev_to_irq
> error: [drm:pid0:i915_load_modeset_init] *ERROR* oherrala: i915_load_modeset_init: drm_irq_install
> error: [drm:pid0:inteldrm_attach] *ERROR* oherrala: i915_drm.c: failed to init modeset

Helped quite a bit.  I'm fairly certain the diff I just committed will fix your problem.

Cheers,

Mark

Reply | Threaded
Open this post in threaded view
|

Re: inteldrm(4) display corruption on MacBook

Bryan Vyhmeister-3
Thanks so much for that commit. The system boots up and has a very brief
moment of display corruption before it switches to inteldrm(4) and works
perfectly. This works on both my 2013 MacBook Air (Haswell HD 5000
graphics)) and 2015 MacBook Air (Broadwell HD 6000 graphics). I haven't
had a chance to test the 12-inch Retina MacBook or any other system yet
but should be able to test some more in a few days. The only problem I
have found so far now is that xbacklight does not seem to work on the
Broadwell system although it works fine on the Haswell one. Thanks
again! I am really happy to be able to finally use a Mac system with
OpenBSD, efiboot, and inteldrm(4)!

Bryan

Reply | Threaded
Open this post in threaded view
|

Re: inteldrm(4) display corruption on MacBook

Ossi Herrala
In reply to this post by Mark Kettenis
On Sat, Nov 21, 2015 at 04:27:34PM +0100, Mark Kettenis wrote:

> Hi Ossi,
>
> Your digging:
>
> > I went digging what produces the error
> >
> >   error: [drm:pid0:inteldrm_attach] *ERROR* failed to init modeset
> >
>
> Helped quite a bit.  I'm fairly certain the diff I just committed will fix your problem.
>

Thank you Mark! Works great on snapshot from today. dmesg and Xorg.log below.


OpenBSD 5.8-current (GENERIC.MP) #1646: Sun Nov 22 01:39:12 MST 2015
    [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
RTC BIOS diagnostic error 7f<ROM_cksum,config_unit,memory_size,fixed_disk,invalid_time>
real mem = 8473620480 (8081MB)
avail mem = 8212660224 (7832MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0x8ad14000 (63 entries)
bios0: vendor Apple Inc. version "MBP91.88Z.00D3.B0B.1506081214" date 06/08/2015
bios0: Apple Inc. MacBookPro9,2
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP HPET APIC SBST ECDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT DMAR MCFG
acpi0: wakeup devices P0P2(S3) PEG1(S3) EC__(S4) GMUX(S3) HDEF(S3) RP01(S3) GIGE(S3) SDXC(S3) RP02(S3) ARPT(S3) RP03(S3) EHC1(S3) EHC2(S3) XHC1(S3) ADP1(S4) LID0(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz, 2494.72 MHz
cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,SENSOR,ARAT
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz, 2494.33 MHz
cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,SENSOR,ARAT
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 1 (application processor)
cpu2: Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz, 2494.34 MHz
cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,SENSOR,ARAT
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 1, core 0, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz, 2494.34 MHz
cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,SENSOR,ARAT
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
acpiec0 at acpi0
acpimcfg0 at acpi0 addr 0xe0000000, bus 0-154
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 4 (P0P2)
acpiprt2 at acpi0: bus -1 (PEG1)
acpiprt3 at acpi0: bus 1 (RP01)
acpiprt4 at acpi0: bus 2 (RP02)
acpiprt5 at acpi0: bus 3 (RP03)
acpicpu0 at acpi0: C3(200@198 mwait.1@0x30), C2(500@148 mwait.1@0x10), C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0: C3(200@198 mwait.1@0x30), C2(500@148 mwait.1@0x10), C1(1000@1 mwait.1), PSS
acpicpu2 at acpi0: C3(200@198 mwait.1@0x30), C2(500@148 mwait.1@0x10), C1(1000@1 mwait.1), PSS
acpicpu3 at acpi0: C3(200@198 mwait.1@0x30), C2(500@148 mwait.1@0x10), C1(1000@1 mwait.1), PSS
acpibat0 at acpi0: BAT0 model "3545797981023400290" type 3545797981528607052 oem "3545797981528673619"
acpiac0 at acpi0: AC unit online
acpibtn0 at acpi0: LID0
acpibtn1 at acpi0: PWRB
acpibtn2 at acpi0: SLPB
acpivideo0 at acpi0: IGPU
acpivout0 at acpivideo0: DD02
cpu0: Enhanced SpeedStep 2494 MHz: speeds: 2501, 2500, 2400, 2300, 2200, 2100, 2000, 1900, 1800, 1700, 1600, 1500, 1400, 1300, 1200 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 3G Host" rev 0x09
ppb0 at pci0 dev 1 function 0 "Intel Core 3G PCIE" rev 0x09: msi
pci1 at ppb0 bus 4
ppb1 at pci1 dev 0 function 0 vendor "Intel", unknown product 0x1513 rev 0x00
pci2 at ppb1 bus 5
ppb2 at pci2 dev 0 function 0 vendor "Intel", unknown product 0x1513 rev 0x00: msi
pci3 at ppb2 bus 6
vendor "Intel", unknown product 0x1513 (class system subclass miscellaneous, rev 0x00) at pci3 dev 0 function 0 not configured
ppb3 at pci2 dev 3 function 0 vendor "Intel", unknown product 0x1513 rev 0x00: msi
pci4 at ppb3 bus 7
ppb4 at pci2 dev 4 function 0 vendor "Intel", unknown product 0x1513 rev 0x00: msi
pci5 at ppb4 bus 8
ppb5 at pci2 dev 5 function 0 vendor "Intel", unknown product 0x1513 rev 0x00: msi
pci6 at ppb5 bus 57
ppb6 at pci2 dev 6 function 0 vendor "Intel", unknown product 0x1513 rev 0x00: msi
pci7 at ppb6 bus 106
inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics 4000" rev 0x09
drm0 at inteldrm0
inteldrm0: msi
inteldrm0: 1280x800
wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
xhci0 at pci0 dev 20 function 0 "Intel 7 Series xHCI" rev 0x04: msi
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 "Intel xHCI root hub" rev 3.00/1.00 addr 1
"Intel 7 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
ehci0 at pci0 dev 26 function 0 "Intel 7 Series USB" rev 0x04: apic 2 int 23
usb1 at ehci0: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 7 Series HD Audio" rev 0x04: msi
azalia0: codecs: Cirrus Logic CS4206, Intel/0x2806, using Cirrus Logic CS4206
audio0 at azalia0
ppb7 at pci0 dev 28 function 0 "Intel 7 Series PCIE" rev 0xc4: msi
pci8 at ppb7 bus 1
bge0 at pci8 dev 0 function 0 "Broadcom BCM57765" rev 0x10, BCM57765 B0 (0x57785100): msi, address 40:6c:8f:4d:7c:53
brgphy0 at bge0 phy 1: BCM57765 10/100/1000baseT PHY, rev. 4
sdhc0 at pci8 dev 0 function 1 "Broadcom SD Host Controller" rev 0x10: apic 2 int 17
ppb8 at pci0 dev 28 function 1 "Intel 7 Series PCIE" rev 0xc4: msi
pci9 at ppb8 bus 2
vendor "Broadcom", unknown product 0x4331 (class network subclass miscellaneous, rev 0x02) at pci9 dev 0 function 0 not configured
ppb9 at pci0 dev 28 function 2 "Intel 7 Series PCIE" rev 0xc4: msi
pci10 at ppb9 bus 3
"AT&T/Lucent FW643 1394" rev 0x08 at pci10 dev 0 function 0 not configured
ehci1 at pci0 dev 29 function 0 "Intel 7 Series USB" rev 0x04: apic 2 int 22
usb2 at ehci1: USB revision 2.0
uhub2 at usb2 "Intel EHCI root hub" rev 2.00/1.00 addr 1
pcib0 at pci0 dev 31 function 0 "Intel HM77 LPC" rev 0x04
ahci0 at pci0 dev 31 function 2 "Intel 7 Series AHCI" rev 0x04: msi, AHCI 1.3
ahci0: port 0: 3.0Gb/s
ahci0: port 1: 1.5Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, INTEL SSDSA2CW16, 4PC1> SCSI3 0/direct fixed naa.500151795953e61e
sd0: 152627MB, 512 bytes/sector, 312581808 sectors, thin
cd0 at scsibus1 targ 1 lun 0: <MATSHITA, DVD-R UJ-8A8, HB14> ATAPI 5/cdrom removable
ichiic0 at pci0 dev 31 function 3 "Intel 7 Series SMBus" rev 0x04: apic 2 int 18
iic0 at ichiic0
iic0: addr 0x2c 03=fc 05=6c 71=06 72=80 86=86 90=37 91=26 92=25 93=3b 94=5a 95=8c 96=66 97=84 98=3b 99=02 9a=80 9f=7c a0=7f a1=b5 a2=bf a3=7b a4=28 a5=cf a6=64 a7=2d words 00=0000 01=0000 02=00fc 03=fc00 04=006c 05=6c20 06=2000 07=0000
spdmem0 at iic0 addr 0x50: 4GB DDR3 SDRAM PC3-12800 SO-DIMM
spdmem1 at iic0 addr 0x52: 4GB DDR3 SDRAM PC3-12800 SO-DIMM
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns8250, no fifo
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
asmc0 at isa0 port 0x300/32: rev 2.2f602, 374 keys
vmm0 at mainbus0: initialized
vmm0: 4 VMX capable CPU(s), 4 are EPT capable
efifb at mainbus0 not configured
nvram: invalid checksum
uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
uvideo0 at uhub3 port 1 configuration 1 interface 0 "Apple Inc. FaceTime HD Camera (Built-in)" rev 2.00/5.16 addr 3
video0 at uvideo0
ugen0 at uhub3 port 1 configuration 1 "Apple Inc. FaceTime HD Camera (Built-in)" rev 2.00/5.16 addr 3
uhub4 at uhub2 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
uhub5 at uhub4 port 8 "Standard Microsystems Hub" rev 2.00/b.b3 addr 3
uhub6 at uhub5 port 1 "Apple Inc. BRCM20702 Hub" rev 2.00/1.00 addr 4
uhidev0 at uhub6 port 1 configuration 1 interface 0 "Apple Computer product 0x820a" rev 2.00/1.00 addr 5
uhidev0: iclass 3/1, 1 report id
ukbd0 at uhidev0 reportid 1: 8 variable keys, 6 key codes
wskbd0 at ukbd0: console keyboard, using wsdisplay0
uhidev1 at uhub6 port 2 configuration 1 interface 0 "Apple Computer product 0x820b" rev 2.00/1.00 addr 6
uhidev1: iclass 3/1, 2 report ids
ums0 at uhidev1 reportid 2: 3 buttons
wsmouse0 at ums0 mux 0
ugen1 at uhub6 port 3 "Apple Inc. Bluetooth USB Host Controller" rev 2.00/1.50 addr 7
uhidev2 at uhub5 port 2 configuration 1 interface 0 "Apple Computer, Inc. IR Receiver" rev 2.00/0.16 addr 8
uhidev2: iclass 3/0, 38 report ids
uhid0 at uhidev2 reportid 36: input=4, output=0, feature=0
uhid1 at uhidev2 reportid 37: input=4, output=0, feature=0
uhid2 at uhidev2 reportid 38: input=4, output=0, feature=0
uhidev3 at uhub5 port 3 configuration 1 interface 0 "Apple Inc. Apple Internal Keyboard / Trackpad" rev 2.00/2.19 addr 9
uhidev3: iclass 3/1, 9 report ids
ukbd1 at uhidev3 reportid 1: 8 variable keys, 6 key codes, country code 13
wskbd1 at ukbd1 mux 1
wskbd1: connecting to wsdisplay0
uhid3 at uhidev3 reportid 9: input=0, output=0, feature=3
uhidev4 at uhub5 port 3 configuration 1 interface 1 "Apple Inc. Apple Internal Keyboard / Trackpad" rev 2.00/2.19 addr 9
uhidev4: iclass 3/0, 68 report ids
uhid4 at uhidev4 reportid 68: input=511, output=0, feature=0
ubcmtp0 at uhub5 port 3 configuration 1 interface 2 "Apple Inc. Apple Internal Keyboard / Trackpad" rev 2.00/2.19 addr 9
wsmouse1 at ubcmtp0 mux 0
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd0a (d8385997f4d1963d.a) swap on sd0b dump on sd0b
clock: unknown CMOS layout


[   473.718] (--) checkDevMem: using aperture driver /dev/xf86
[   473.729] (--) Using wscons driver on /dev/ttyC4 in pcvt compatibility mode (version 3.32)
[   473.740]
X.Org X Server 1.17.4
Release Date: 2015-10-28
[   473.740] X Protocol Version 11, Revision 0
[   473.740] Build Operating System: OpenBSD 5.8 amd64
[   473.740] Current Operating System: OpenBSD cn0022.my.domain 5.8 GENERIC.MP#1646 amd64
[   473.740] Build Date: 22 November 2015  02:02:34AM
[   473.740]  
[   473.740] Current version of pixman: 0.32.8
[   473.740] Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[   473.740] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   473.740] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Nov 22 16:14:54 2015
[   473.741] (==) Using system config directory "/usr/X11R6/share/X11/xorg.conf.d"
[   473.742] (==) No Layout section.  Using the first Screen section.
[   473.742] (==) No screen section available. Using defaults.
[   473.742] (**) |-->Screen "Default Screen Section" (0)
[   473.742] (**) |   |-->Monitor "<default monitor>"
[   473.743] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[   473.743] (==) Disabling SIGIO handlers for input devices
[   473.743] (==) Automatically adding devices
[   473.743] (==) Automatically enabling devices
[   473.743] (==) Not automatically adding GPU devices
[   473.744] (==) FontPath set to:
        /usr/X11R6/lib/X11/fonts/misc/,
        /usr/X11R6/lib/X11/fonts/TTF/,
        /usr/X11R6/lib/X11/fonts/OTF/,
        /usr/X11R6/lib/X11/fonts/Type1/,
        /usr/X11R6/lib/X11/fonts/100dpi/,
        /usr/X11R6/lib/X11/fonts/75dpi/
[   473.744] (==) ModulePath set to "/usr/X11R6/lib/modules"
[   473.744] (II) The server relies on wscons to provide the list of input devices.
        If no devices become available, reconfigure wscons or disable AutoAddDevices.
[   473.744] (II) Loader magic: 0x1d54c8e31ce0
[   473.744] (II) Module ABI versions:
[   473.744] X.Org ANSI C Emulation: 0.4
[   473.744] X.Org Video Driver: 19.0
[   473.744] X.Org XInput driver : 21.0
[   473.744] X.Org Server Extension : 9.0
[   473.744] (--) PCI:*(0:0:2:0) 8086:0166:106b:00fa rev 9, Mem @ 0xa0000000/4194304, 0x90000000/268435456, I/O @ 0x00002000/64
[   473.744] (II) LoadModule: "glx"
[   473.745] (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
[   473.749] (II) Module glx: vendor="X.Org Foundation"
[   473.749] compiled for 1.17.4, module version = 1.0.0
[   473.749] ABI class: X.Org Server Extension, version 9.0
[   473.749] (==) AIGLX enabled
[   473.749] (==) Matched intel as autoconfigured driver 0
[   473.749] (==) Matched vesa as autoconfigured driver 1
[   473.749] (==) Assigned the driver to the xf86ConfigLayout
[   473.749] (II) LoadModule: "intel"
[   473.749] (II) Loading /usr/X11R6/lib/modules/drivers/intel_drv.so
[   473.750] (II) Module intel: vendor="X.Org Foundation"
[   473.750] compiled for 1.17.4, module version = 2.99.916
[   473.750] Module class: X.Org Video Driver
[   473.750] ABI class: X.Org Video Driver, version 19.0
[   473.750] (II) LoadModule: "vesa"
[   473.751] (II) Loading /usr/X11R6/lib/modules/drivers/vesa_drv.so
[   473.752] (II) Module vesa: vendor="X.Org Foundation"
[   473.752] compiled for 1.17.4, module version = 2.3.3
[   473.752] Module class: X.Org Video Driver
[   473.752] ABI class: X.Org Video Driver, version 19.0
[   473.752] (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
[   473.752] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[   473.752] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[   473.752] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[   473.752] (II) VESA: driver for VESA chipsets: vesa
[   473.753] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20080730
[   473.753] (WW) Falling back to old probe method for vesa
[   473.753] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 4000
[   473.753] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx
[   473.753] (II) intel(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[   473.753] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[   473.753] (==) intel(0): RGB weight 888
[   473.754] (==) intel(0): Default visual is TrueColor
[   473.754] (II) intel(0): Output LVDS1 has no monitor section
[   473.755] (--) intel(0): Found backlight control interface wscons (type 'platform') for output LVDS1
[   473.755] (II) intel(0): Enabled output LVDS1
[   473.755] (II) intel(0): Output VGA1 has no monitor section
[   473.755] (II) intel(0): Enabled output VGA1
[   473.755] (II) intel(0): Output HDMI1 has no monitor section
[   473.755] (II) intel(0): Enabled output HDMI1
[   473.755] (II) intel(0): Output DP1 has no monitor section
[   473.755] (II) intel(0): Enabled output DP1
[   473.755] (II) intel(0): Output HDMI2 has no monitor section
[   473.755] (II) intel(0): Enabled output HDMI2
[   473.755] (II) intel(0): Output HDMI3 has no monitor section
[   473.755] (II) intel(0): Enabled output HDMI3
[   473.755] (II) intel(0): Output DP2 has no monitor section
[   473.755] (II) intel(0): Enabled output DP2
[   473.755] (II) intel(0): Output DP3 has no monitor section
[   473.755] (II) intel(0): Enabled output DP3
[   473.755] (--) intel(0): Using a maximum size of 64x64 for hardware cursors
[   473.755] (II) intel(0): Output VIRTUAL1 has no monitor section
[   473.755] (II) intel(0): Enabled output VIRTUAL1
[   473.755] (--) intel(0): Output LVDS1 using initial mode 1280x800 on pipe 0
[   473.755] (==) intel(0): TearFree disabled
[   473.755] (==) intel(0): DPI set to (96, 96)
[   473.755] (II) Loading sub module "dri2"
[   473.755] (II) LoadModule: "dri2"
[   473.755] (II) Module "dri2" already built-in
[   473.755] (II) Loading sub module "present"
[   473.755] (II) LoadModule: "present"
[   473.755] (II) Module "present" already built-in
[   473.755] (II) UnloadModule: "vesa"
[   473.755] (II) Unloading vesa
[   473.755] (==) Depth 24 pixmap format is 32 bpp
[   473.755] (II) intel(0): SNA initialized with Ivybridge (gen7, gt2) backend
[   473.755] (==) intel(0): Backing store enabled
[   473.755] (==) intel(0): Silken mouse disabled
[   473.756] (II) intel(0): HW Cursor enabled
[   473.756] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[   473.756] (==) intel(0): DPMS enabled
[   473.756] (II) intel(0): [DRI2] Setup complete
[   473.756] (II) intel(0): [DRI2]   DRI driver: i965
[   473.756] (II) intel(0): [DRI2]   VDPAU driver: i965
[   473.756] (II) intel(0): direct rendering: DRI2 enabled
[   473.756] (II) intel(0): hardware support for Present enabled
[   473.756] (--) RandR disabled
[   473.781] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[   473.781] (II) AIGLX: enabled GLX_ARB_create_context
[   473.781] (II) AIGLX: enabled GLX_ARB_create_context_profile
[   473.781] (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
[   473.781] (II) AIGLX: enabled GLX_INTEL_swap_event
[   473.781] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[   473.781] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[   473.781] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[   473.781] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[   473.781] (II) AIGLX: enabled GLX_ARB_create_context_robustness
[   473.781] (II) AIGLX: Loaded and initialized i965
[   473.781] (II) GLX: Initialized DRI2 GL provider for screen 0
[   473.783] (II) intel(0): switch to mode 1280x800@60.2 on LVDS1 using pipe 0, position (0, 0), rotation normal, reflection none
[   473.799] (II) intel(0): Setting screen physical size to 338 x 211
[   473.925] (II) config/wscons: checking input device /dev/wskbd
[   473.925] (II) wskbd: using layout se
[   473.925] (II) LoadModule: "kbd"
[   473.926] (II) Loading /usr/X11R6/lib/modules/input/kbd_drv.so
[   473.927] (II) Module kbd: vendor="X.Org Foundation"
[   473.927] compiled for 1.17.4, module version = 1.8.0
[   473.927] Module class: X.Org XInput Driver
[   473.927] ABI class: X.Org XInput driver, version 21.0
[   473.927] (II) Using input driver 'kbd' for '/dev/wskbd'
[   473.927] (**) /dev/wskbd: always reports core events
[   473.927] (**) /dev/wskbd: always reports core events
[   473.927] (**) Option "Protocol" "standard"
[   473.927] (**) Option "XkbRules" "base"
[   473.927] (**) Option "XkbModel" "pc105"
[   473.927] (**) Option "XkbLayout" "se"
[   473.927] (II) XINPUT: Adding extended input device "/dev/wskbd" (type: KEYBOARD, id 6)
[   473.959] (II) config/wscons: checking input device /dev/wsmouse1
[   473.959] (**) /dev/wsmouse1: Applying InputClass "touchpad catchall"
[   473.959] (**) /dev/wsmouse1: Applying InputClass "Default clickpad buttons"
[   473.959] (II) LoadModule: "synaptics"
[   473.960] (II) Loading /usr/X11R6/lib/modules/input/synaptics_drv.so
[   473.961] (II) Module synaptics: vendor="X.Org Foundation"
[   473.961] compiled for 1.17.4, module version = 1.8.2
[   473.961] Module class: X.Org XInput Driver
[   473.961] ABI class: X.Org XInput driver, version 21.0
[   473.961] (II) Using input driver 'synaptics' for '/dev/wsmouse1'
[   473.961] (**) /dev/wsmouse1: always reports core events
[   473.961] (**) Option "Device" "/dev/wsmouse1"
[   473.965] (--) synaptics: /dev/wsmouse1: x-axis range -4750 - 5280 resolution 0
[   473.965] (--) synaptics: /dev/wsmouse1: y-axis range -150 - 6730 resolution 0
[   473.965] (**) /dev/wsmouse1: always reports core events
[   473.966] (II) XINPUT: Adding extended input device "/dev/wsmouse1" (type: TOUCHPAD, id 7)
[   473.966] (**) synaptics: /dev/wsmouse1: (accel) MinSpeed is now constant deceleration 2.5
[   473.966] (**) synaptics: /dev/wsmouse1: (accel) MaxSpeed is now 1.75
[   473.966] (**) synaptics: /dev/wsmouse1: (accel) AccelFactor is now 0.016
[   473.967] (**) /dev/wsmouse1: (accel) keeping acceleration scheme 1
[   473.967] (**) /dev/wsmouse1: (accel) acceleration profile 1
[   473.967] (**) /dev/wsmouse1: (accel) acceleration factor: 2.000
[   473.967] (**) /dev/wsmouse1: (accel) acceleration threshold: 4
[   473.968] (II) config/wscons: checking input device /dev/wsmouse
[   473.968] (II) LoadModule: "ws"
[   473.969] (II) Loading /usr/X11R6/lib/modules/input/ws_drv.so
[   473.970] (II) Module ws: vendor="X.Org Foundation"
[   473.970] compiled for 1.17.4, module version = 1.3.0
[   473.970] Module class: X.Org XInput Driver
[   473.970] ABI class: X.Org XInput driver, version 21.0
[   473.970] (II) Using input driver 'ws' for '/dev/wsmouse'
[   473.970] (**) /dev/wsmouse: always reports core events
[   473.970] (II) ws: /dev/wsmouse: debuglevel 0
[   473.970] (**) Option "Device" "/dev/wsmouse"
[   473.970] (**) ws: /dev/wsmouse: ZAxisMapping: buttons 4 and 5
[   473.970] (**) ws: /dev/wsmouse: WAxisMapping: buttons 6 and 7
[   473.970] (**) ws: /dev/wsmouse: associated screen: 0
[   473.970] (II) ws: /dev/wsmouse: minimum x position: 0
[   473.970] (II) ws: /dev/wsmouse: maximum x position: 1279
[   473.970] (II) ws: /dev/wsmouse: minimum y position: 0
[   473.970] (II) ws: /dev/wsmouse: maximum y position: 799
[   473.970] (==) ws: /dev/wsmouse: Buttons: 7
[   473.970] (**) ws: /dev/wsmouse: YAxisMapping: buttons 4 and 5
[   473.970] (II) XINPUT: Adding extended input device "/dev/wsmouse" (type: MOUSE, id 8)
[   473.970] (**) /dev/wsmouse: (accel) keeping acceleration scheme 1
[   473.970] (**) /dev/wsmouse: (accel) acceleration profile 0
[   473.970] (**) /dev/wsmouse: (accel) acceleration factor: 2.000
[   473.970] (**) /dev/wsmouse: (accel) acceleration threshold: 4
[   548.030] (II) intel(0): EDID vendor "APP", prod id 40135
[   548.030] (II) intel(0): Printing DDC gathered Modelines:
[   548.030] (II) intel(0): Modeline "1280x800"x0.0   72.50  1280 1328 1360 1423  800 803 809 846 -hsync -vsync (50.9 kHz eP)
[   587.176] (II) UnloadModule: "ws"
[   587.176] (II) UnloadModule: "synaptics"
[   587.176] (II) UnloadModule: "kbd"
[   587.453] (II) APM registered successfully
[   587.453] (II) intel(0): SNA initialized with Ivybridge (gen7, gt2) backend
[   587.453] (II) intel(0): HW Cursor enabled
[   587.453] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[   587.453] (==) intel(0): DPMS enabled
[   587.453] (II) intel(0): [DRI2] Setup complete
[   587.453] (II) intel(0): [DRI2]   DRI driver: i965
[   587.453] (II) intel(0): [DRI2]   VDPAU driver: i965
[   587.453] (II) intel(0): direct rendering: DRI2 enabled
[   587.453] (II) intel(0): hardware support for Present enabled
[   587.453] (--) RandR disabled
[   587.479] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[   587.479] (II) AIGLX: enabled GLX_ARB_create_context
[   587.479] (II) AIGLX: enabled GLX_ARB_create_context_profile
[   587.479] (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
[   587.479] (II) AIGLX: enabled GLX_INTEL_swap_event
[   587.479] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[   587.479] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[   587.479] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[   587.479] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[   587.479] (II) AIGLX: enabled GLX_ARB_create_context_robustness
[   587.479] (II) AIGLX: Loaded and initialized i965
[   587.479] (II) GLX: Initialized DRI2 GL provider for screen 0
[   587.480] (II) intel(0): switch to mode 1280x800@60.2 on LVDS1 using pipe 0, position (0, 0), rotation normal, reflection none
[   587.714] (II) intel(0): Setting screen physical size to 338 x 211
[   587.800] (II) config/wscons: checking input device /dev/wskbd
[   587.800] (II) wskbd: using layout se
[   587.800] (II) Using input driver 'kbd' for '/dev/wskbd'
[   587.800] (**) /dev/wskbd: always reports core events
[   587.800] (**) /dev/wskbd: always reports core events
[   587.800] (**) Option "Protocol" "standard"
[   587.800] (**) Option "XkbRules" "base"
[   587.800] (**) Option "XkbModel" "pc105"
[   587.800] (**) Option "XkbLayout" "se"
[   587.830] (II) config/wscons: checking input device /dev/wsmouse1
[   587.830] (**) /dev/wsmouse1: Applying InputClass "touchpad catchall"
[   587.830] (**) /dev/wsmouse1: Applying InputClass "Default clickpad buttons"
[   587.830] (II) Using input driver 'synaptics' for '/dev/wsmouse1'
[   587.830] (**) /dev/wsmouse1: always reports core events
[   587.830] (**) Option "Device" "/dev/wsmouse1"
[   587.833] (--) synaptics: /dev/wsmouse1: x-axis range -4750 - 5280 resolution 0
[   587.833] (--) synaptics: /dev/wsmouse1: y-axis range -150 - 6730 resolution 0
[   587.833] (**) /dev/wsmouse1: always reports core events
[   587.835] (**) synaptics: /dev/wsmouse1: (accel) MinSpeed is now constant deceleration 2.5
[   587.835] (**) synaptics: /dev/wsmouse1: (accel) MaxSpeed is now 1.75
[   587.835] (**) synaptics: /dev/wsmouse1: (accel) AccelFactor is now 0.016
[   587.835] (**) /dev/wsmouse1: (accel) keeping acceleration scheme 1
[   587.835] (**) /dev/wsmouse1: (accel) acceleration profile 1
[   587.835] (**) /dev/wsmouse1: (accel) acceleration factor: 2.000
[   587.835] (**) /dev/wsmouse1: (accel) acceleration threshold: 4
[   587.836] (II) config/wscons: checking input device /dev/wsmouse
[   587.836] (II) Using input driver 'ws' for '/dev/wsmouse'
[   587.836] (**) /dev/wsmouse: always reports core events
[   587.836] (II) ws: /dev/wsmouse: debuglevel 0
[   587.836] (**) Option "Device" "/dev/wsmouse"
[   587.836] (**) ws: /dev/wsmouse: ZAxisMapping: buttons 4 and 5
[   587.836] (**) ws: /dev/wsmouse: WAxisMapping: buttons 6 and 7
[   587.836] (**) ws: /dev/wsmouse: associated screen: 0
[   587.836] (II) ws: /dev/wsmouse: minimum x position: 0
[   587.836] (II) ws: /dev/wsmouse: maximum x position: 1279
[   587.836] (II) ws: /dev/wsmouse: minimum y position: 0
[   587.836] (II) ws: /dev/wsmouse: maximum y position: 799
[   587.836] (==) ws: /dev/wsmouse: Buttons: 7
[   587.836] (**) ws: /dev/wsmouse: YAxisMapping: buttons 4 and 5
[   587.837] (**) /dev/wsmouse: (accel) keeping acceleration scheme 1
[   587.837] (**) /dev/wsmouse: (accel) acceleration profile 0
[   587.837] (**) /dev/wsmouse: (accel) acceleration factor: 2.000
[   587.837] (**) /dev/wsmouse: (accel) acceleration threshold: 4
[   614.178] (II) AIGLX: Suspending AIGLX clients for VT switch
[   644.826] (II) AIGLX: Resuming AIGLX clients after VT switch
[   644.826] (II) intel(0): switch to mode 1280x800@60.2 on LVDS1 using pipe 0, position (0, 0), rotation normal, reflection none


--
Ossi Herrala

Reply | Threaded
Open this post in threaded view
|

Re: inteldrm(4) display corruption on MacBook

Joerg Jung
In reply to this post by Mark Kettenis
On Sat, Nov 21, 2015 at 04:27:34PM +0100, Mark Kettenis wrote:

> Hi Ossi,
>
> Your digging:
>
> > I went digging what produces the error
> >
> >   error: [drm:pid0:inteldrm_attach] *ERROR* failed to init modeset
> >
> > and it looks like in sys/dev/pci/drm/drm_irq.c:1.66
> >
> > drm_irq_install() calls
> >
> >         if (drm_dev_to_irq(dev) == 0)
> >                 return -EINVAL;
> >
> > drm_dev_to_irq(dev) returns 0 and my skills end here to dig this
> > further.
> >
> > these lines in dmesg are my debugging from kernel (and "stacktrace"):
> >
> > error: [drm:pid0:drm_dev_to_irq] *ERROR* irq == 0
> > error: [drm:pid0:drm_irq_install] *ERROR* oherrala: drm_irq_install: drm_dev_to_irq
> > error: [drm:pid0:i915_load_modeset_init] *ERROR* oherrala: i915_load_modeset_init: drm_irq_install
> > error: [drm:pid0:inteldrm_attach] *ERROR* oherrala: i915_drm.c: failed to init modeset
>
> Helped quite a bit.  I'm fairly certain the diff I just committed will fix your problem.

This also fixed the 12" Macbook Retina (2015).

Thanks!