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 9303 invoked from network); 17 Apr 2023 08:08:10 -0000 Received: from 9front.inri.net (168.235.81.73) by inbox.vuxu.org with ESMTPUTF8; 17 Apr 2023 08:08:10 -0000 Received: from wopr.sciops.net ([216.126.196.60]) by 9front; Mon Apr 17 04:06:36 -0400 2023 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sciops.net; s=20210706; t=1681718681; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to; bh=o4DayU+ae6rlTFAZaPE35Dg0TKJgqkJhiOGE1msUt4Q=; b=G0IHcN9KhdvOX15kCFETMBH2WTITRk2a7Ogx8Ilqef3i4PQyCxKerRftAOKji0saB/3x7X NFV+IwdMgwKSt9ZEcW/IuHLoLgahJsG1SkUO7oJyflQu5Q2MHNc3PW8uZAIETkI/Bwez2B dr6oO0AGnZmyiSy0uLHGTaKaL8dxX9I= Received: by wopr.sciops.net (OpenSMTPD) with ESMTPSA id 91f2b426 (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256:NO) for <9front@9front.org>; Mon, 17 Apr 2023 01:04:40 -0700 (PDT) Message-ID: <73ED3D0B49C9A8A2AB169C6B7B430C07@wopr.sciops.net> Date: Mon, 17 Apr 2023 10:06:28 +0200 From: qwx@sciops.net To: 9front@9front.org In-Reply-To: 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: flexible XML over AJAX persistence API replication Subject: Re: [9front] Screen resolution Reply-To: 9front@9front.org Precedence: bulk On Sun Apr 16 18:05:12 +0200 2023, ng@0x80.stream wrote: > Hi all, > > this weekend I moved from a RPi 2B+ to an Intel NUC. Recent > discussions on this list motivated me to finally try that move. My > only problem is that I can't seem to change screen resolution from > monitor=vesa vgasize=1024x768x16. > > My sysinfo is at http://sysinfo.9front.org/src/498/body and the > relevant bits, I think, are: [...] > @{ rfork n; aux/realemu; aux/vga -m igfx -l 3840x2160@30Hz } Same as unobe, you don't need to run aux/realemu unless you're using vesa. Also same as them, you have an ivybridge machine which I assume is connected via displayport. If it's hdmi, you are out of luck for now. igfx manages to snarf the monitor's edid, so you should be able to just use `monitor=auto' in plan9.ini or for your command line, and you don't need to deal with /lib/vgadb at all. Therefore, I think your problem is the same as unobe's, please try again with the patch they sent earlier, at this point there's a good chance that it would work. > Some more guesswork. /lib/vgadb:/0166/ makes me think the controller > entry is already present. Perhaps then I need an entry describing the > monitor? I guessed the edid output could be used here, so I added > > mymon=3840x2160@30Hz > clock=297 > shb=4016 ehb=4104 ht=4400 > vrs=2168 vre=2178 vt=2250 > hsync=+ vsync=+ Don't mash buttons! This alone would not work as this entry would attempt to configure the vga port. If aux/vga failed to snarf the edid, you would have to add a display=N here, where N is a number between 3 and 7 for DP ports A to E. Obtuse, but that's how it works right now. I refer you to my (crappy) old post [1] describing all of this. It needs to be rewritten, but it covers most of the steps. So, try the patch, and let's hope that it's enough, otherwise more weird crap is missing. Cheers, qwx [1] http://nopenopenope.net/posts/igfx