> Date: Thu, 6 Jul 2017 11:44:04 +0200 > From: Sebastien Marie <[email protected]> > Content-Disposition: inline > > Hi, > > I have a problem in screen initialisation with latest update of > inteldrm(4) (amd64). > > I have the problem since snap Jun 27 and it is still present on snap of > Jul 5. > > > On my laptop (dmesg below), I use an external monitor on VGA1 port (and > xrandr to make VGA1 left-of LVDS1). > > > 1. When booting with VGA1 connected, on inteldrm(4) initialisation, > LVDS1 switchs to black screen, and VGA1 have the output. > > Previously, the output was only duplicated on VGA1 (same output on LVDS1 > and VGA1). > > If I put "xrandr --output LVDS1 --auto" in my .xsession, I got the > following error: > > xrandr: Output LVDS1 is not disconnected but has no modes > > But if I open a xterm, and run the same command, LVDS1 is correctly > used, and LVDS1 and VGA1 have the same output (on X11, if switching to > textual console, only VGA1 has output). > > > 2. When booting with external monitor disconnected, LVDS1 is correctly > used, and plug in the external monitor to VGA1 after inteldrm(4) > initialisation works well. > > > Thanks. > -- > Sebastien Marie > > > (output while booting with external monitor unplugged, and plugged after > interldrm(4) initialisation) > > $ xrandr > Screen 0: minimum 8 x 8, current 2304 x 800, maximum 32767 x 32767 > LVDS1 connected primary 1280x800+1024+0 (normal left inverted right x axis y > axis) 304mm x 190mm > 1280x800 59.91*+ > 1024x768 60.00 > 800x600 60.32 56.25 > 640x480 59.94 > TV1 unknown connection (normal left inverted right x axis y axis) > 848x480 59.94 + > 640x480 59.94 + > 1024x768 59.94 > 800x600 59.94 > VGA1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 304mm > x 228mm > 1024x768 60.00*+ 75.08 75.03 70.07 > 832x624 74.55 > 800x600 75.00 60.32 56.25 > 640x480 75.00 66.67 60.00 > 720x400 70.08 > VIRTUAL1 disconnected (normal left inverted right x axis y axis) > > $ dmesg > OpenBSD 6.1-current (GENERIC.MP) #62: Tue Jun 27 19:22:12 MDT 2017 > [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP > real mem = 2122121216 (2023MB) > avail mem = 2052075520 (1957MB) > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf398f (23 entries) > bios0: vendor Hewlett-Packard version "68YCU Ver. F.0B" date 09/05/2007 > bios0: Hewlett-Packard HP Compaq nc6400 (EH522AV) > acpi0 at bios0: rev 2 > acpi0: sleep states S0 S3 S4 S5 > acpi0: tables DSDT FACP SLIC HPET APIC MCFG TCPA SSDT SSDT SSDT SSDT SSDT > acpi0: wakeup devices C098(S5) C0F7(S3) C0F8(S3) C0F9(S3) C0FA(S3) C101(S5) > C229(S5) C111(S5) C234(S5) C235(S5) > 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)2 CPU T5500 @ 1.66GHz, 1662.76 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: 2MB 64b/line 8-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 166MHz > 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 CPU T5500 @ 1.66GHz, 1662.51 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: 2MB 64b/line 8-way L2 cache > cpu1: smt 0, core 1, package 0 > ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins > acpimcfg0 at acpi0 addr 0xf8000000, bus 0-63 > acpiprt0 at acpi0: bus 2 (C098) > acpiprt1 at acpi0: bus 8 (C101) > acpiprt2 at acpi0: bus 16 (C111) > acpiprt3 at acpi0: bus 0 (C002) > acpiec0 at acpi0 > acpicpu0 at acpi0: !C2(500@1 mwait.1@0x10), C1(1000@1 mwait.1), PSS > acpicpu1 at acpi0: !C2(500@1 mwait.1@0x10), C1(1000@1 mwait.1), PSS > acpipwrres0 at acpi0: C1E7, resource for C1E2 > acpipwrres1 at acpi0: C1EF, resource for C1E8 > acpipwrres2 at acpi0: C1F6, resource for C1F0 > acpipwrres3 at acpi0: C220, resource for C21E > acpipwrres4 at acpi0: C228, resource for C11A > acpipwrres5 at acpi0: C32D, resource for C331 > acpipwrres6 at acpi0: C32E, resource for C332 > acpipwrres7 at acpi0: C32F, resource for C333 > acpipwrres8 at acpi0: C330, resource for C334 > acpitz0 at acpi0: critical temperature is 256 degC > acpitz1 at acpi0: critical temperature is 105 degC > acpitz2 at acpi0: critical temperature is 105 degC > acpitz3 at acpi0: critical temperature is 105 degC > acpitz4 at acpi0: critical temperature is 110 degC > "PNP0A06" at acpi0 not configured > tpm0 at acpi0: C205 addr 0xfed40000/0x5000: Infineon SLB9635 1.2 rev 0x10 > "PNP0303" at acpi0 not configured > "SYN0122" at acpi0 not configured > "HPQ0004" at acpi0 not configured > "HPQ0006" at acpi0 not configured > acpibat0 at acpi0: C1B4 model "Primary" serial 03899 2007/05/17 type LIon oem > "Hewlett-Packard" > acpibat1 at acpi0: C1B3 not present > acpiac0 at acpi0: AC unit online > acpibtn0 at acpi0: C249 > acpibtn1 at acpi0: C241 > "PNP0C14" at acpi0 not configured > "PNP0C0B" at acpi0 not configured > "PNP0C0B" at acpi0 not configured > "PNP0C0B" at acpi0 not configured > "PNP0C0B" at acpi0 not configured > acpivideo0 at acpi0: C085 > cpu0: Enhanced SpeedStep 1662 MHz: speeds: 1667, 1333, 1000 MHz > pci0 at mainbus0 bus 0 > pchb0 at pci0 dev 0 function 0 "Intel 82945GM Host" rev 0x03 > inteldrm0 at pci0 dev 2 function 0 "Intel 82945GM Video" rev 0x03 > drm0 at inteldrm0 > intagp0 at inteldrm0 > agp0 at intagp0: aperture at 0xe0000000, size 0x10000000 > inteldrm0: apic 1 int 16 > inteldrm0: 848x480, 32bpp
That is an odd resolution. The native resolution of your panel is 1280x800 I presume? For some reason the initial mode set for the kernel framebuffer selects this weird resolution. Building a kernel with DRMDEBUG un sys/dev/pci/drm/drmP.h uncommented might provide some hints what is going wrong here. Cheers, Mark
