9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Screen rotation on the Raspberry Pi 4?
@ 2020-10-09  4:40 a
  2020-10-09  5:04 ` [9fans] " Bakul Shah
  0 siblings, 1 reply; 6+ messages in thread
From: a @ 2020-10-09  4:40 UTC (permalink / raw)
  To: 9fans

It looks like graphics on the Pi 4 have changed more than I'd
realized. As far as I can tell, the "legacy" driver (what's
used on the 0-3) no longer offers screen rotation via the
display_rotate directive in config.txt. 

Does anyone have rotation working on the Pi 4? If so, how?

Relatedly, anyone tried porting the bitsy's software rotation?
It's a lot more pixels to move around, but the cpu's also
worlds faster, so...?

Anthony

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] Screen rotation on the Raspberry Pi 4?
  2020-10-09  4:40 Screen rotation on the Raspberry Pi 4? a
@ 2020-10-09  5:04 ` Bakul Shah
  2020-10-09 17:36   ` a
  0 siblings, 1 reply; 6+ messages in thread
From: Bakul Shah @ 2020-10-09  5:04 UTC (permalink / raw)
  To: 9fans

On Oct 8, 2020, at 9:40 PM, a@9srv.net wrote:
> 
> It looks like graphics on the Pi 4 have changed more than I'd
> realized. As far as I can tell, the "legacy" driver (what's
> used on the 0-3) no longer offers screen rotation via the
> display_rotate directive in config.txt. 
> 
> Does anyone have rotation working on the Pi 4? If so, how?

Have you tried display_hdmi_rotate?


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] Screen rotation on the Raspberry Pi 4?
  2020-10-09  5:04 ` [9fans] " Bakul Shah
@ 2020-10-09 17:36   ` a
  2020-10-09 19:19     ` Bakul Shah
  0 siblings, 1 reply; 6+ messages in thread
From: a @ 2020-10-09 17:36 UTC (permalink / raw)
  To: 9fans

Yes; no difference. 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] Screen rotation on the Raspberry Pi 4?
  2020-10-09 17:36   ` a
@ 2020-10-09 19:19     ` Bakul Shah
  2020-10-10  4:27       ` a
  0 siblings, 1 reply; 6+ messages in thread
From: Bakul Shah @ 2020-10-09 19:19 UTC (permalink / raw)
  To: 9fans

On Oct 9, 2020, at 10:36 AM, a@9srv.net wrote:
> 
> Yes; no difference. 

https://github.com/raspberrypi/documentation/blob/master/configuration/display_rotation.md

uses the word "default" for graphics drivers so I was hoping it meant
there was a choice! One more thing to try (just in case there is
indeed a real choice) is to put the command under a conditional filter:

[HDMI:0]
  hdmi_group=2	// <== just an example
  display_hdmi_rotate=..

Though I very much doubt this will work. Your best bet is to ask on their forum.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] Screen rotation on the Raspberry Pi 4?
  2020-10-09 19:19     ` Bakul Shah
@ 2020-10-10  4:27       ` a
  2020-10-10  6:56         ` Digby R.S. Tarvin
  0 siblings, 1 reply; 6+ messages in thread
From: a @ 2020-10-10  4:27 UTC (permalink / raw)
  To: 9fans

Thanks, but I don't think the issues is that a different way of
getting that directive working is the issue; that family of
directives seems to be no longer supported. There are a bunch
of posts for various linux systems about this, as well; they
now rely on xrandr to do the job. I'm more asking if anyone
has done anything with the fancy new graphics system the 4
includes, or done anything like generalizing the rotation bits
that were included in the bitsy port (which on a first pass of
reading, doesn't look too hard, but we know how that goes).

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] Screen rotation on the Raspberry Pi 4?
  2020-10-10  4:27       ` a
@ 2020-10-10  6:56         ` Digby R.S. Tarvin
  0 siblings, 0 replies; 6+ messages in thread
From: Digby R.S. Tarvin @ 2020-10-10  6:56 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 1931 bytes --]

I bought one of these to test as a portable hdmi display:
https://www.waveshare.com/7inch-fhd-monitor.htm
What I didn't realize till I read the fine print was that it only supports
portrait mode (and rather non-standard video settings) - presumably the
display is made with mobile phones in mind.

The relevance to this discussion is that the manufacturer seems to have had
an incentive to look into the question of screen rotation in the different
raspberry pi models, so their installation instructions at
https://www.waveshare.com/wiki/7inch_FHD_Monitor provide some insight on
how it is expected to be done.

For Pi4 that seems to be by using the screen layout editor in the
preferences menu.

For Pi3 and earlier, it seems to be done with the line in config.txt.

I had assumed that for the Pi4 the GUI configuration was just a
convenient alternative to editing a text file that is read at boot time.
But it now seems that perhaps the menu option exists because the old boot
time functionality is no longer supported.

DigbyT

On Sat, 10 Oct 2020 at 15:31, <a@9srv.net> wrote:

> Thanks, but I don't think the issues is that a different way of
> getting that directive working is the issue; that family of
> directives seems to be no longer supported. There are a bunch
> of posts for various linux systems about this, as well; they
> now rely on xrandr to do the job. I'm more asking if anyone
> has done anything with the fancy new graphics system the 4
> includes, or done anything like generalizing the rotation bits
> that were included in the bitsy port (which on a first pass of
> reading, doesn't look too hard, but we know how that goes).
>
> ------------------------------------------
> 9fans: 9fans
> Permalink:
> https://9fans.topicbox.com/groups/9fans/T4c0ea2725cb1abdf-M6bdd2519dd8fa5454fc0ef10
> Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
>

[-- Attachment #2: Type: text/html, Size: 2717 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-10-10  6:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-09  4:40 Screen rotation on the Raspberry Pi 4? a
2020-10-09  5:04 ` [9fans] " Bakul Shah
2020-10-09 17:36   ` a
2020-10-09 19:19     ` Bakul Shah
2020-10-10  4:27       ` a
2020-10-10  6:56         ` Digby R.S. Tarvin

9fans - fans of the OS Plan 9 from Bell Labs

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.org/9fans

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 9fans 9fans/ http://inbox.vuxu.org/9fans \
		9fans@9fans.net
	public-inbox-index 9fans

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.9fans


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git