I think this is due to your X diff, plus mesa.
>2018-01-04 20:05 GMT+01:00 <[email protected]>:
>> Hello,
>>
>> On OpenBSD -current amd64 on my Thinkpad T500, starting X with xenodm or
>> startx presents
>> me with a black screen and an unusable session.
>
>I just upgraded my X61 from stable to today's current with almost the
>same results, just a couple of debug lines more.
>
>OpenBSD 6.2-current (GENERIC.MP) #324: Thu Jan 4 23:44:04 MST 2018
> [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
>real mem = 4201316352 (4006MB)
>avail mem = 4067065856 (3878MB)
>mpath0 at root
>scsibus0 at mpath0: 256 targets
>mainbus0 at root
>bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (63 entries)
>bios0: vendor LENOVO version "7SET39WW (1.25 )" date 03/22/2011
>bios0: LENOVO 7763W6T
>acpi0 at bios0: rev 2
>acpi0: sleep states S0 S3 S4 S5
>acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET SLIC BOOT ASF!
>SSDT SSDT SSDT SSDT
>acpi0: wakeup devices LID_(S3) SLPB(S3) IGBE(S4) EXP0(S4) EXP1(S4)
>EXP2(S4) EXP3(S4) EXP4(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3)
>USB3(S3) USB4(S3) EHC0(S3) EHC1(S3) [...]
>acpitimer0 at acpi0: 3579545 Hz, 24 bits
>acpiec0 at acpi0
>acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
>cpu0 at mainbus0: apid 0 (boot processor)
>cpu0: Intel(R) Core(TM)2 Duo CPU L7500 @ 1.60GHz, 798.16 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,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG,LAHF,PERF,SENSOR
>cpu0: 4MB 64b/line 16-way L2 cache
>cpu0: smt 0, core 0, package 0
>mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
>cpu0: apic clock running at 199MHz
>cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2, IBE
>cpu1 at mainbus0: apid 1 (application processor)
>cpu1: Intel(R) Core(TM)2 Duo CPU L7500 @ 1.60GHz, 798.00 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,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG,LAHF,PERF,SENSOR
>cpu1: 4MB 64b/line 16-way L2 cache
>cpu1: smt 0, core 1, package 0
>ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins
>, remapped to apid 1
>acpimcfg0 at acpi0 addr 0xf0000000, bus 0-63
>acpihpet0 at acpi0: 14318179 Hz
>acpiprt0 at acpi0: bus 0 (PCI0)
>acpiprt1 at acpi0: bus -1 (AGP_)
>acpiprt2 at acpi0: bus 2 (EXP0)
>acpiprt3 at acpi0: bus 3 (EXP1)
>acpiprt4 at acpi0: bus -1 (EXP2)
>acpiprt5 at acpi0: bus -1 (EXP3)
>acpiprt6 at acpi0: bus -1 (EXP4)
>acpiprt7 at acpi0: bus 5 (PCI1)
>acpicpu0 at acpi0: !C3(100@57 mwait.3@0x30), !C2(500@1 mwait.1@0x10),
>C1(1000@1 mwait.1), PSS
>acpicpu1 at acpi0: !C3(100@57 mwait.3@0x30), !C2(500@1 mwait.1@0x10),
>C1(1000@1 mwait.1), PSS
>acpipwrres0 at acpi0: PUBS, resource for USB0, USB2, USB4, EHC0, EHC1
>acpitz0 at acpi0: critical temperature is 127 degC
>acpitz1 at acpi0: critical temperature is 99 degC
>acpibtn0 at acpi0: LID_
>acpibtn1 at acpi0: SLPB
>"LEN0003" at acpi0 not configured
>"IBM3780" at acpi0 not configured
>"WACF008" at acpi0 not configured
>tpm0 at acpi0: TPM_ addr 0xfed40000/0x5000: device 0x32031114 rev 0x9
>acpibat0 at acpi0: BAT0 model "42T4661" serial 171 type LION oem "SANYO"
>acpiac0 at acpi0: AC unit offline
>acpithinkpad0 at acpi0
>acpidock0 at acpi0: GDCK not docked (0)
>acpivideo0 at acpi0: VID_
>acpivout0 at acpivideo0: LCD0
>acpivideo1 at acpi0: VID_
>cpu0: Enhanced SpeedStep 798 MHz: speeds: 1601, 1600, 1200, 800 MHz
>pci0 at mainbus0 bus 0
>pchb0 at pci0 dev 0 function 0 "Intel GM965 Host" rev 0x0c
>inteldrm0 at pci0 dev 2 function 0 "Intel GM965 Video" rev 0x0c
>drm0 at inteldrm0
>intagp0 at inteldrm0
>agp0 at intagp0: aperture at 0xe0000000, size 0x10000000
>inteldrm0: msi
>inteldrm0: 1024x768, 32bpp
>wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation)
>wsdisplay0: screen 1-5 added (std, vt100 emulation)
>"Intel GM965 Video" rev 0x0c at pci0 dev 2 function 1 not configured
>em0 at pci0 dev 25 function 0 "Intel ICH8 IGP M AMT" rev 0x03: msi,
>address 00:16:d3:ce:fb:ff
>uhci0 at pci0 dev 26 function 0 "Intel 82801H USB" rev 0x03: apic 1 int 20
>uhci1 at pci0 dev 26 function 1 "Intel 82801H USB" rev 0x03: apic 1 int 21
>ehci0 at pci0 dev 26 function 7 "Intel 82801H USB" rev 0x03: apic 1 int 22
>usb0 at ehci0: USB revision 2.0
>uhub0 at usb0 configuration 1 interface 0 "Intel EHCI root hub" rev
>2.00/1.00 addr 1
>azalia0 at pci0 dev 27 function 0 "Intel 82801H HD Audio" rev 0x03: msi
>azalia0: codecs: Analog Devices AD1984, Conexant/0x2bfa, using Analog
>Devices AD1984
>audio0 at azalia0
>ppb0 at pci0 dev 28 function 0 "Intel 82801H PCIE" rev 0x03: msi
>pci1 at ppb0 bus 2
>ppb1 at pci0 dev 28 function 1 "Intel 82801H PCIE" rev 0x03: msi
>pci2 at ppb1 bus 3
>wpi0 at pci2 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02:
>msi, MoW2, address 00:1c:bf:af:1d:89
>uhci2 at pci0 dev 29 function 0 "Intel 82801H USB" rev 0x03: apic 1 int 16
>uhci3 at pci0 dev 29 function 1 "Intel 82801H USB" rev 0x03: apic 1 int 17
>ehci1 at pci0 dev 29 function 7 "Intel 82801H USB" rev 0x03: apic 1 int 19
>usb1 at ehci1: USB revision 2.0
>uhub1 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev
>2.00/1.00 addr 1
>ppb2 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xf3
>pci3 at ppb2 bus 5
>cbb0 at pci3 dev 0 function 0 "Ricoh 5C476 CardBus" rev 0xba: apic 1 int 16
>"Ricoh 5C832 Firewire" rev 0x04 at pci3 dev 0 function 1 not configured
>sdhc0 at pci3 dev 0 function 2 "Ricoh 5C822 SD/MMC" rev 0x21: apic 1 int 18
>sdhc0: SDHC 1.0, 33 MHz base clock
>sdmmc0 at sdhc0: 4-bit, sd high-speed, mmc high-speed
>cardslot0 at cbb0 slot 0 flags 0
>cardbus0 at cardslot0: bus 6 device 0 cacheline 0x8, lattimer 0xb0
>pcmcia0 at cardslot0
>pcib0 at pci0 dev 31 function 0 "Intel 82801HEM LPC" rev 0x03
>pciide0 at pci0 dev 31 function 1 "Intel 82801HBM IDE" rev 0x03: DMA,
>channel 0 configured to compatibility, channel 1 configured to
>compatibility
>pciide0: channel 0 disabled (no drives)
>pciide0: channel 1 ignored (disabled)
>ahci0 at pci0 dev 31 function 2 "Intel 82801HBM AHCI" rev 0x03: msi, AHCI 1.1
>ahci0: port 0: 1.5Gb/s
>scsibus1 at ahci0: 32 targets
>sd0 at scsibus1 targ 0 lun 0: <ATA, Corsair Force LS, S9FM> SCSI3
>0/direct fixed t10.ATA_Corsair_Force_LS_SSD_17018111000102471173
>sd0: 57241MB, 512 bytes/sector, 117231408 sectors, thin
>ichiic0 at pci0 dev 31 function 3 "Intel 82801H SMBus" rev 0x03: apic 1 int 23
>iic0 at ichiic0
>usb2 at uhci0: USB revision 1.0
>uhub2 at usb2 configuration 1 interface 0 "Intel UHCI root hub" rev
>1.00/1.00 addr 1
>usb3 at uhci1: USB revision 1.0
>uhub3 at usb3 configuration 1 interface 0 "Intel UHCI root hub" rev
>1.00/1.00 addr 1
>usb4 at uhci2: USB revision 1.0
>uhub4 at usb4 configuration 1 interface 0 "Intel UHCI root hub" rev
>1.00/1.00 addr 1
>usb5 at uhci3: USB revision 1.0
>uhub5 at usb5 configuration 1 interface 0 "Intel UHCI root hub" rev
>1.00/1.00 addr 1
>isa0 at pcib0
>isadma0 at isa0
>pckbc0 at isa0 port 0x60/5 irq 1 irq 12
>pckbd0 at pckbc0 (kbd slot)
>wskbd0 at pckbd0: console keyboard, using wsdisplay0
>pms0 at pckbc0 (aux slot)
>wsmouse0 at pms0 mux 0
>pcppi0 at isa0 port 0x61
>spkr0 at pcppi0
>aps0 at isa0 port 0x1600/31
>vmm0 at mainbus0: VMX
>ugen0 at uhub2 port 1 "STMicroelectronics Biometric Coprocessor" rev
>1.00/0.01 addr 2
>ugen1 at uhub2 port 2 "Broadcom Corp BCM2045B" rev 2.00/1.00 addr 3
>vscsi0 at root
>scsibus2 at vscsi0: 256 targets
>softraid0 at root
>scsibus3 at softraid0: 256 targets
>root on sd0a (c95f16e26597a02c.a) swap on sd0b dump on sd0b
>EIR: 0x00000000
>IER: 0x00028053
>PGTBL_ER: 0x00000000
>FORCEWAKE: 0x00000000
>DERRMR: 0x00000000
>CCID: 0x00000000
>Missed interrupts: 0x00000000
> INSTDONE_0: 0x00e5fafd
> INSTDONE_1: 0x000ffff1
> INSTDONE_2: 0x00000000
> INSTDONE_3: 0x00000000
>render command stream:
> START: 0x00000000
> HEAD: 0x0021bd50
> TAIL: 0x0001c088
> CTL: 0x0001f001
> HWS: 0x00000000
> ACTHD: 0x00000000 0fc57144
> IPEIR: 0x00000000
> IPEHR: 0x60020100
> INSTDONE: 0x00e5fafd
> BBADDR: 0x00000000 0fc57143
> BB_STATE: 0x000000a0
> INSTPS: 0x0401f02e
> INSTPM: 0x00000000
> FADDR: 0x00000000 0fc57140
> seqno: 0x000007ee
> waiting: no
> ring->head: 0x0001ffe0
> ring->tail: 0x0001c088
> hangcheck: hung [40]
>render ring --- ringbuffer = 0x00000000
>00000000 : 02000000
>00000004 : 00000000
>00000008 : 10800001
>0000000c : 000000c0
>00000010 : fffffccc
>00000014 : 01000000
>00000018 : 02000002
>0000001c : 00000000
>00000020 : 18800180
>00000024 : 0fc5f000
>00000028 : 02000000
>0000002c : 00000000
>00000030 : 10800001
>00000034 : 000000c0
>00000038 : fffffccd
>0000003c : 01000000
>00000040 : 02000002
>00000044 : 00000000
>00000048 : 18800180
>0000004c : 0fc57000
>00000050 : 02000000
>00000054 : 00000000
>00000058 : 10800001
>0000005c : 000000c0
>00000060 : fffffcce
>00000064 : 01000000
>00000068 : 02000002
>0000006c : 00000000
>00000070 : 18800180
>00000074 : 0fc5f000
>00000078 : 02000000
>0000007c : 00000000
>00000080 : 10800001
>00000084 : 000000c0
>00000088 : fffffccf
>0000008c : 01000000
>00000090 : 02000002
>00000094 : 00000000
>00000098 : 18800180
>0000009c : 0fc57000
>000000a0 : 02000000
>000000a4 : 00000000
>000000a8 : 10800001
>000000ac : 000000c0
>000000b0 : fffffcd0
>000000b4 : 01000000
>000000b8 : 02000002
>000000bc : 00000000
>000000c0 : 18800180
>000000c4 : 0fc5f000
>000000c8 : 02000000
>000000cc : 00000000
>000000d0 : 10800001
>000000d4 : 000000c0
>000000d8 : fffffcd1
>000000dc : 01000000
>000000e0 : 02000002
>000000e4 : 00000000
>000000e8 : 18800180
>000000ec : 0fc57000
>000000f0 : 02000000
>000000f4 : 00000000
>000000f8 : 10800001
>000000fc : 000000c0
>error: [drm:pid10455:intel_display_suspend] *ERROR* Suspending crtc's
>failed with -5
>drm/i915: Resetting chip after gpu hang
>inteldrm0: no ifp
>WARNING put_domains failed at
>/usr/src/sys/dev/pci/drm/i915/intel_display.c:15476
>WARNING was_visible failed at
>/usr/src/sys/dev/pci/drm/i915/intel_display.c:11732
>
>