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.0 required=5.0 tests=none autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 15760 invoked from network); 30 Mar 2023 17:48:40 -0000 Received: from 9front.inri.net (168.235.81.73) by inbox.vuxu.org with ESMTPUTF8; 30 Mar 2023 17:48:40 -0000 Received: from gaff.inri.net ([168.235.71.243]) by 9front; Thu Mar 30 13:47:05 -0400 2023 Received: from [127.0.0.1] ([168.235.81.123]) by gaff; Thu Mar 30 13:47:05 -0400 2023 Date: Thu, 30 Mar 2023 13:47:04 -0400 From: Stanley Lieber To: 9front@9front.org In-Reply-To: <77E481DAE27DCF5720BE14B37790E9A2@smtp.pobox.com> References: <77E481DAE27DCF5720BE14B37790E9A2@smtp.pobox.com> Message-ID: <4981F09E-D6AD-4E0D-96DF-43FEEEC7C10B@stanleylieber.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: API software TOR package factory element high-performance-based locator Subject: Re: [9front] displayport thinkpad x230 external monitor black screen Reply-To: 9front@9front.org Precedence: bulk On March 30, 2023 1:37:57 PM EDT, Romano wrote: >I have a TP x230 that has a displayport and vga socket=2E 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=2E Using the >displayport to connect to the monitor shows a 2560x1080 mode, along >with the same modes that are shown with the VGA adapter=2E However, >when trying to use any mode with the displayport directly, I just get >a black screen=2E 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=2E I then switched back to built-in LCD >screen to capture the rc output, which I've attached to the end of this >message=2E > >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)=2E I reverted >/sys/src/9/pc/vgaigfx=2Ec to that commit to see >if it would build, but unsurprisingly, it does not: > >vgaigfx=2Ec:18 structure not fully declared Pcidev >vgaigfx=2Ec:68 structure not fully declared Pcidev >warning: vgaigfx=2Ec:61 used and not set: gtt=20 >vgaigfx=2Ec:92 structure not fully declared Pcidev >vgaigfx=2Ec:92 structure not fully declared Pcidev >vgaigfx=2Ec:95 structure not fully declared Pcidev >vgaigfx=2Ec:95 structure not fully declared Pcidev >vgaigfx=2Ec:161 structure not fully declared Pcidev >vgaigfx=2Ec: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 >=2E=2E=2E >edid mfr LGD >edid serialstr =20 >edid name =20 >edid product 728 >edid serial 0 >edid version 1=2E3 >edid mfrdate 2012=2E0 >edid size (cm) 28x16 >edid gamma 2=2E20 >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=2E2 > 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=2E4 >edid mfrdate 2021=2E6 >edid size (cm) 80x34 >edid gamma 2=2E20 >edid vert (Hz) 56-75 >edid horz (Hz) 30000-90000 >edid pclkmax 240000000 >edid flags digital standby >edid 2560x1080@60Hz=20 > clock=3D185=2E58 > shb=3D2624 ehb=3D2688 ht=3D2784 > vrs=3D1083 vre=3D1093 vt=3D1111 > hsync=3D- vsync=3D-=20 >edid 1920x1080@60Hz=20 > clock=3D148=2E5 > shb=3D2008 ehb=3D2052 ht=3D2200 > vrs=3D1084 vre=3D1089 vt=3D1125 > hsync=3D+ vsync=3D-=20 >edid 640x480@60Hz =20 > clock=3D25=2E175 > shb=3D656 ehb=3D752 ht=3D800 > vrs=3D490 vre=3D492 vt=3D525 > hsync=3D- vsync=3D-=20 >edid 640x480@75Hz =20 > clock=3D31=2E5 > 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=2E5 > 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=2E75 > 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% > > i do not have direct experience with the x230 vs displayport, but with my = x301 vs displayport i needed to use an "active" adapter=2E this was years a= go and i no longer have the hardware, but this might be a place to start=2E sl