From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from tb-mx1.topicbox.com (localhost.local [127.0.0.1]) by tb-mx1.topicbox.com (Postfix) with ESMTP id F0D4BDEDEBB for <9fans@9fans.net>; Tue, 17 Dec 2019 18:18:12 -0500 (EST) (envelope-from bakul@bitblocks.com) Received: from tb-mx1.topicbox.com (localhost [127.0.0.1]) by tb-mx1.topicbox.com (Authentication Milter) with ESMTP id 715F55FF623; Tue, 17 Dec 2019 18:18:12 -0500 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1576624692; b=SfnxwIka01SVVtGuHXLsrHM3eaByzpXmJ5ILmuTWY8TWOZSDD6 F3BP72p096u0E1DG8Mvrpp33BtvjZkm5GBLPtI23lWxPOzRCabp93U8iX24+ay0m ZhbzN15bBu56THBk0EFUjhvDCXRCpn+ABgnC6cTAefrUoCeV+c2LmgZJJlcWSq17 QZgYWuWnCd/XpX6zpmFAI+xpFGoQQ0ztoEO26dV0SIm2HlnWGt2ldxnTnoGnDkN8 1pUdjtD2+ssiK53Zm5UlPP8Tfa66xBkoJqajOWeW0abWACevu/8dbBipCVS4j8O9 7/0kLciAn/08PK4nK3afaAN7Tfn3dllc/rgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=from:content-type:content-transfer-encoding :mime-version:subject:date:references:to:in-reply-to:message-id; s=arcseal; t=1576624692; bh=ZHcNXfr7ODCuCcD4K+tDmeyDOfzvhLgzHzH Es7JdWRA=; b=p298g5LvZeAKg+FdV9KTY+wg00+0AcQm5ecUZPBG1zTKjvjzRO7 OKxN2ajYJ0tfPDlezrLnxR2h59LlyHEg6UsygjWrAuLSqUls2ipH7eoRRs1j2qi7 xVCNZWXQQDJXAgGaVrroBppdUP2XKi0y3a8WDCGRIIj1xv4E47Zkfzx4Vl821Cen oQtygfS0Ee5ig3vfwNMWTU4KMs5FY2cLv1+cRmkOU6nb7dESSjvV3anntn++mMcK oFWY6ZCthfi82Wm2YkiNHXjBviMFD1GdX9VpL/xY0zE1d2LrJ7/1KH5rU/379MFA v3QZcpR1jfVXY9zogm6zM8hDUE6UZ7EFWgg== ARC-Authentication-Results: i=1; tb-mx1.topicbox.com; arc=none (no signatures found); dkim=none (no signatures found); dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=bitblocks.com; iprev=pass smtp.remote-ip=173.228.5.8 (ns1.bitblocks.com); spf=pass smtp.mailfrom=bakul@bitblocks.com smtp.helo=mail.bitblocks.com; x-aligned-from=pass (Address match); x-ptr=fail smtp.helo=mail.bitblocks.com policy.ptr=ns1.bitblocks.com; x-return-mx=pass header.domain=bitblocks.com policy.is_org=yes (MX Record found); x-return-mx=pass smtp.domain=bitblocks.com policy.is_org=yes (MX Record found); x-vs=clean score=0 state=0 Authentication-Results: tb-mx1.topicbox.com; arc=none (no signatures found); dkim=none (no signatures found); dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=bitblocks.com; iprev=pass smtp.remote-ip=173.228.5.8 (ns1.bitblocks.com); spf=pass smtp.mailfrom=bakul@bitblocks.com smtp.helo=mail.bitblocks.com; x-aligned-from=pass (Address match); x-ptr=fail smtp.helo=mail.bitblocks.com policy.ptr=ns1.bitblocks.com; x-return-mx=pass header.domain=bitblocks.com policy.is_org=yes (MX Record found); x-return-mx=pass smtp.domain=bitblocks.com policy.is_org=yes (MX Record found); x-vs=clean score=0 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgedufedrvddtkedgtdekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefhtgfggg fuffhfvfgjkffosehtjehmtdhhtddvnecuhfhrohhmpeeurghkuhhlucfuhhgrhhcuoegs rghkuhhlsegsihhtsghlohgtkhhsrdgtohhmqeenucffohhmrghinheprhgrshhpsggvrh hrhihpihdrohhrghenucfkphepudejfedrvddvkedrhedrkeenucfrrghrrghmpehinhgv thepudejfedrvddvkedrhedrkedphhgvlhhopehmrghilhdrsghithgslhhotghkshdrtg homhdpmhgrihhlfhhrohhmpeeosggrkhhulhessghithgslhhotghkshdrtghomhequcfu kfgkgfepudeltddunecuvehluhhsthgvrhfuihiivgeptd X-ME-VSCategory: clean Received-SPF: pass (bitblocks.com: 173.228.5.8 is authorized to use 'bakul@bitblocks.com' in 'mfrom' identity (mechanism 'ip4:173.228.5.8/29' matched)) receiver=tb-mx1.topicbox.com; identity=mailfrom; envelope-from="bakul@bitblocks.com"; helo=mail.bitblocks.com; client-ip=173.228.5.8 Received: from mail.bitblocks.com (ns1.bitblocks.com [173.228.5.8]) by tb-mx1.topicbox.com (Postfix) with ESMTP for <9fans@9fans.net>; Tue, 17 Dec 2019 18:18:12 -0500 (EST) (envelope-from bakul@bitblocks.com) Received: from mob.bitblocks.com (mob.bitblocks.com [192.168.125.11]) by mail.bitblocks.com (Postfix) with ESMTP id 34F5D156E42D for <9fans@9fans.net>; Tue, 17 Dec 2019 15:18:03 -0800 (PST) From: Bakul Shah Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: [9fans] Forcing display size on Pi4 Date: Tue, 17 Dec 2019 15:18:03 -0800 References: To: 9fans <9fans@9fans.net> In-Reply-To: Message-Id: <22799CF4-8633-4390-81CF-F7999D746F98@bitblocks.com> X-Mailer: Apple Mail (2.3445.104.11) Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: 81b8f6f8-2123-11ea-8979-e4f83ec6f9fc > On Dec 17, 2019, at 1:31 PM, Richard Miller <9fans@hamnavoe.com> wrote: > >> I have a 2K display that Plan9 forces to 1920x1080 resolution. >> Poking around 9/bcm/screen.c indicates that setting vgasize=WxHxD >> should force the size, but adding a suitable entry in cmdline.txt >> just gives me a blank display. >> >> Before I dig deeper, is this expected to work? > > Possibly not. I haven't tried vgasize= for years and there have been a > lot of changes to the firmware & videocore mailbox interface since then. > > Plan 9 should accept whatever resolution comes from the gpu, so it > may be the firmware which "forces" 1920x1080. Maybe gpu_mem needs > to be bigger than the usual 16, or some other config.txt adjustment > is needed? I was able run earlier pis with a 4K@30Hz display but haven't tried this with pi4. I had to use some custom parameters. https://www.raspberrypi.org/documentation/configuration/hdmi-config.md says to use hdmi_enable_4kp60=1 in config.txt if you have a 4k@60hz display. You can choose custom modes as well. There is a config_hdmi_boost parameter to increase HDMI drive strength but this doesn't work for pi4.