9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Richard Miller <9fans@hamnavoe.com>
To: 9fans@9fans.net
Subject: Re: [9fans] Forcing display size on Pi4
Date: Tue, 17 Dec 2019 21:31:47 +0000	[thread overview]
Message-ID: <ccf05f7fc6869e9af651de3e44505b6f@hamnavoe.com> (raw)
In-Reply-To: <f4e5442d5afb8586@orthanc.ca>

> 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?


  reply	other threads:[~2019-12-17 21:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-17 21:05 Lyndon Nerenberg
2019-12-17 21:31 ` Richard Miller [this message]
2019-12-17 23:18   ` [9fans] " Bakul Shah
2019-12-18  0:13     ` hiro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ccf05f7fc6869e9af651de3e44505b6f@hamnavoe.com \
    --to=9fans@hamnavoe.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).