From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 14714 invoked from network); 30 Mar 2023 17:40:02 -0000 Received: from 9front.inri.net (168.235.81.73) by inbox.vuxu.org with ESMTPUTF8; 30 Mar 2023 17:40:02 -0000 Received: from pb-smtp1.pobox.com ([64.147.108.70]) by 9front; Thu Mar 30 13:38:05 -0400 2023 Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 4CC8E172D47 for <9front@9front.org>; Thu, 30 Mar 2023 13:38:01 -0400 (EDT) (envelope-from unobe@cpan.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=pobox.com; h=message-id :to:from:subject:date:mime-version:content-type :content-transfer-encoding; s=sasl; bh=8Mer7v+Tk55cq4Pns9SKbnksp Z/oZZ36MRldUri2WGE=; b=VbUOrxBcMM7aUS/eGq/m1pU5WkvNMDU3Gzn9Ead83 LORJuAY1NExm5yzxRjtXkOYZuFZ+pbr7hUs/jHEFOgxAKrb3ddR7ZJNr2U9kNb+M k7yK1HAwpAFC+TmgRBrRL7+KGwcpupGkl/06quBoxVB+438SVnDrqK1WGu9Y222G PM= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 42F55172D46 for <9front@9front.org>; Thu, 30 Mar 2023 13:38:01 -0400 (EDT) (envelope-from unobe@cpan.org) Received: from strider.localdomain (unknown [75.204.169.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pb-smtp1.pobox.com (Postfix) with ESMTPSA id D265C172D45 for <9front@9front.org>; Thu, 30 Mar 2023 13:37:59 -0400 (EDT) (envelope-from unobe@cpan.org) Message-ID: <77E481DAE27DCF5720BE14B37790E9A2@smtp.pobox.com> To: 9front@9front.org From: Romano Date: Thu, 30 Mar 2023 10:37:57 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Pobox-Relay-ID: 9D66B502-CF21-11ED-963D-B449C2D8090B-09620299!pb-smtp1.pobox.com Content-Transfer-Encoding: quoted-printable List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: SSL cache just-in-time lifecycle control Subject: [9front] displayport thinkpad x230 external monitor black screen Reply-To: 9front@9front.org Precedence: bulk I have a TP x230 that has a displayport and vga socket. I have an adapter from vga-to-hdmi (w=D0=B8th =D0=B0 USB dongle for power) that wor= ks with an ultrawide LG, but the largest mode via VGA is 1920x1080. Using the displayport to connect to the monitor shows a 2560x1080 mode, along with the same modes that are shown with the VGA adapter. However, when trying to use any mode with the displayport directly, I just get a black screen. I ran 'cat /dev/vgactl' "blind", when using the ultrawide LG external monitor to see if that yielded anything interesting, but didn't see it. I then switched back to built-in LCD screen to capture the rc output, which I've attached to the end of this message. I reviewed the log for changes to igfx to see if I could pin down the com= mit that might be related, and the best I could come up with is=20 6f63752d84254b470322fc028dce1c79f7443e3b back in May 2017 (almost 6 years ago). I reverted /sys/src/9/pc/vgaigfx.c to that commit to see if it would build, but unsurprisingly, it does not: vgaigfx.c:18 structure not fully declared Pcidev vgaigfx.c:68 structure not fully declared Pcidev warning: vgaigfx.c:61 used and not set: gtt=20 vgaigfx.c:92 structure not fully declared Pcidev vgaigfx.c:92 structure not fully declared Pcidev vgaigfx.c:95 structure not fully declared Pcidev vgaigfx.c:95 structure not fully declared Pcidev vgaigfx.c:161 structure not fully declared Pcidev vgaigfx.c:214 name not declared: arrow Before go any further, I thought I'd ask on the list: has anyone had something similar happen, or know of where the problem might be? # --- rc output when connecting to external monitor --- cpu% whatis modes fn modes { @ { rfork n; aux/realemu; aux/vga -m igfx -p } } cpu% modes ... edid mfr LGD edid serialstr =20 edid name =20 edid product 728 edid serial 0 edid version 1.3 edid mfrdate 2012.0 edid size (cm) 28x16 edid gamma 2.20 edid vert (Hz) 0-0 edid horz (Hz) 0-0 edid pclkmax 0 edid flags digital standby suspend activeoff edid 1366x768@60Hz =20 clock=3D75.2 shb=3D1414 ehb=3D1478 ht=3D1582 vrs=3D772 vre=3D779 vt=3D792 hsync=3D+ vsync=3D-=20 edid mfr GSM edid serialstr =20 edid name LG ULTRAWIDE edid product 23026 edid serial 256914 edid version 1.4 edid mfrdate 2021.6 edid size (cm) 80x34 edid gamma 2.20 edid vert (Hz) 56-75 edid horz (Hz) 30000-90000 edid pclkmax 240000000 edid flags digital standby edid 2560x1080@60Hz=20 clock=3D185.58 shb=3D2624 ehb=3D2688 ht=3D2784 vrs=3D1083 vre=3D1093 vt=3D1111 hsync=3D- vsync=3D-=20 edid 1920x1080@60Hz=20 clock=3D148.5 shb=3D2008 ehb=3D2052 ht=3D2200 vrs=3D1084 vre=3D1089 vt=3D1125 hsync=3D+ vsync=3D-=20 edid 640x480@60Hz =20 clock=3D25.175 shb=3D656 ehb=3D752 ht=3D800 vrs=3D490 vre=3D492 vt=3D525 hsync=3D- vsync=3D-=20 edid 640x480@75Hz =20 clock=3D31.5 shb=3D656 ehb=3D720 ht=3D840 vrs=3D481 vre=3D484 vt=3D500 hsync=3D- vsync=3D-=20 edid 800x600@60Hz =20 clock=3D40 shb=3D840 ehb=3D968 ht=3D1056 vrs=3D601 vre=3D605 vt=3D628 hsync=3D+ vsync=3D+=20 edid 800x600@75Hz =20 clock=3D49.5 shb=3D816 ehb=3D896 ht=3D1056 vrs=3D601 vre=3D604 vt=3D625 hsync=3D+ vsync=3D+=20 edid 1024x768@60Hz =20 clock=3D65 shb=3D1048 ehb=3D1184 ht=3D1344 vrs=3D771 vre=3D777 vt=3D806 hsync=3D- vsync=3D-=20 edid 1024x768@75Hz =20 clock=3D78.75 shb=3D1040 ehb=3D1136 ht=3D1312 vrs=3D769 vre=3D772 vt=3D800 hsync=3D+ vsync=3D+=20 edid 1280x1024@75Hz=20 clock=3D135 shb=3D1296 ehb=3D1440 ht=3D1688 vrs=3D1025 vre=3D1028 vt=3D1066 hsync=3D+ vsync=3D+=20 cpu% whatis lcd fn lcd { @ { rfork n; aux/realemu; aux/vga -m igfx -l 1366x768 } } cpu% whatis lg fn lg { @ { rfork n; aux/realemu; aux/vga -m igfx -l 1920x1080 } } cpu% cat /dev/vgactl type igfx size 1376x768x32 x8r8g8b8 actualsize 1366x768 tilt none hwgc igfxhwgc hwaccel off hwblank on addr p 0xe0000000 v 0xfffffe80e0000000 size 0x4000000 softscreen on cpu% lg cpu% cat /dev/vgactl type igfx size 1920x1080x32 x8r8g8b8 tilt none hwgc igfxhwgc hwaccel off hwblank on addr p 0xe0000000 v 0xfffffe80e0000000 size 0x4000000 softscreen on cpu% lcd cpu%