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.8 required=5.0 tests=DATE_IN_PAST_12_24 autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 15969 invoked from network); 28 Apr 2021 08:39:52 -0000 Received: from 1ess.inri.net (216.126.196.35) by inbox.vuxu.org with ESMTPUTF8; 28 Apr 2021 08:39:52 -0000 Received: from duke.felloff.net ([216.126.196.34]) by 1ess; Tue Apr 27 05:19:51 -0400 2021 Message-ID: <95422615A3D8B6F945C9D4313D8E98F9@felloff.net> Date: Tue, 27 Apr 2021 11:19:39 +0200 From: cinap_lenrek@felloff.net To: 9front@9front.org In-Reply-To: <44B4B98AE91B67B66EAAB14070915321@smtp.pobox.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: open-source template JSON polling-based property locator Subject: Re: [9front] aux/vga -p intermittent edid reporting Reply-To: 9front@9front.org Precedence: bulk > It looks to me like the edid fetching is not very stable in igfx.c, so > might be giving some wrong values, or misapplying the values provided. > I've concluded this because I've used the returned edid values in > /lib/vgadb, and it produces a scrambled (illegible) screen. that is not possible. the edid structure is checksummed. so even if theres a problem on transmission it is unlikely to contain conconsitent values. it is more likely that theres some problem with your specific controller version that hasnt been addressed (wrong clock calculation, wrong reference frequency used). you have to read the documentation from 01.org and verify. > I have no idea how to do that. I see auxctl and auxdat in > /sys/src/cmd/aux/vga/igfx.c so assume that's where I should start, and > refer to the manuals to figure things out. yeah, pretty much. also, you have to be more specific what "garbled" means. the controller might just work fine producing a clean signal (the image is stable), but theres some issue with the video memory mapping in the GTT so it renders garbage? > # > # Apple MacBook Pro early 2011 > # > mbp2011=1280x800 > clock=72.5 > shb=1328 ehb=1360 ht=1423 > vrs=803 vre=809 vt=846 > hsync=- vsync=- you should add lcd=1 attribute here too. -- cinap