Will Raspi display correctly on a rotated HD TV?


16 posts
by fbuechner » Mon Jun 25, 2012 1:38 pm
Does anybody know if Raspi is able to drive a physically rotated HD TV (or any other monitor with 1050 x 1920 pixels resolution)?

I studied various posts here, including the "Setting up HDMI output" which contains a list of supported resolutions.

That list is devoid of any portrait rotated resolutions; but other posts suggest it might be possible to rotate the output to portrait.

So: Does anybody know for sure??

Many thanks for answering in advance!
Posts: 5
Joined: Mon Jun 25, 2012 12:57 pm
by RaTTuS » Mon Jun 25, 2012 1:56 pm
watching with interest as I'd like to drive my in portrait mode on my monitor
http://www.catb.org/esr/faqs/smart-questions.html <- ask smart Questions
"That's not right, the badgers have moved the goalposts."
1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX - Prosliver FTW
User avatar
Posts: 5296
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
by AndrewS » Mon Jun 25, 2012 2:45 pm
Never needed to do it myself, but I guess you'd want to look at http://www.x.org/wiki/Projects/XRandR
User avatar
Posts: 3626
Joined: Sun Apr 22, 2012 4:50 pm
Location: Cambridge, UK
by RaTTuS » Mon Jun 25, 2012 2:48 pm
the one in portrait mode is console mode for me
http://www.catb.org/esr/faqs/smart-questions.html <- ask smart Questions
"That's not right, the badgers have moved the goalposts."
1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX - Prosliver FTW
User avatar
Posts: 5296
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
by AndrewS » Mon Jun 25, 2012 4:28 pm
A clever series of mirrors? :lol:

More seriously, a quick search finds http://www.mjmwired.net/kernel/Document ... on.txt#126 (but again, I haven't tried this myself)
User avatar
Posts: 3626
Joined: Sun Apr 22, 2012 4:50 pm
Location: Cambridge, UK
by RaTTuS » Tue Jun 26, 2012 9:56 am
ok I need to re-compile the kernel with CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
I may be some time
http://www.catb.org/esr/faqs/smart-questions.html <- ask smart Questions
"That's not right, the badgers have moved the goalposts."
1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX - Prosliver FTW
User avatar
Posts: 5296
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
by fbuechner » Tue Jun 26, 2012 12:29 pm
I hope my question will not seem too stupid: Will the rotated frame buffer allow the display of vertically oriented web pages?

What i try to understand is, if the frame buffer rotation applies only to textual content or is ALL CONTENT (including graphics) rotated?

Many thanks again for your patience...

Felix
Posts: 5
Joined: Mon Jun 25, 2012 12:57 pm
by AndrewS » Tue Jun 26, 2012 1:00 pm
Framebuffer rotation only applies to the text consoles used by Linux, e.g. the messages you see during bootup. After typing "startx" the XWindow server (X11) then takes over the control of the display (GUI) including drawing any text, so you'd need to look at the link to XR&R I already posted. :geek:
But as I said, I've never had any need to try any of this myself.
User avatar
Posts: 3626
Joined: Sun Apr 22, 2012 4:50 pm
Location: Cambridge, UK
by fbuechner » Tue Jun 26, 2012 1:56 pm
Dear Andrew,


gotcha. Problem is, I yesterday DID look into that link.

I am a "classical" database programmer with some C, a lot of Pascal, and assorted other languages under my belt. LINUX basics are BASICALLY ok; means with a lot of man pages i find my way. More than that, i am completely "innocent", meaning: stupid.

In this case this means: I haven't got a clue if
- the hardware platform of Raspi will allow RandR (but I suppose so, since I suppose otherwise you wouldn't have posted the link)
- how to activate that?
- and how could I be sure if that thing will work on a Raspi?

Let me see if I got these thing right:
- As far I understand, Raspi runs Debian "squeeze", a somehow limited variant of Debian.
- Is it so that in order to achieve graphical output (as opposed to textual only), the X system is needed?
- And further, that RandR is an extension to X which allows resizing and rotation (of the entire monitor)?
- And that RandR in general runs on Raspi?
- But that you personally didn't see RandR working on Raspi AND doing the rotation thing?

Sorry for the many questions, with the best regards, Felix
Posts: 5
Joined: Mon Jun 25, 2012 12:57 pm
by stevepdp » Tue Jun 26, 2012 2:07 pm
The "squeeze" in our Debian reference image doesn't mean Debian squeezed or limited Debian, squeeze is simply a Debian development codename referring to this guy:

Image

See this post at the Debian wiki for more details.
I'm not a part of the Raspberry Pi Foundation, I'm just an enthusiastic fan.
User avatar
Forum Moderator
Forum Moderator
Posts: 285
Joined: Fri Oct 28, 2011 7:41 am
Location: Norfolk, UK
by RaTTuS » Tue Jun 26, 2012 3:43 pm
RaTTuS wrote:ok I need to re-compile the kernel with CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
I may be some time

this now works :-)
I'll find my other post and update it
http://www.catb.org/esr/faqs/smart-questions.html <- ask smart Questions
"That's not right, the badgers have moved the goalposts."
1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX - Prosliver FTW
User avatar
Posts: 5296
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
by AndrewS » Wed Jun 27, 2012 2:06 am
fbuechner wrote:In this case this means: I haven't got a clue if
- the hardware platform of Raspi will allow RandR (but I suppose so, since I suppose otherwise you wouldn't have posted the link)
- how to activate that?
- and how could I be sure if that thing will work on a Raspi?

Dunno, dunno, dunno. That's the fun of experimentation ;)

Let me see if I got these thing right:
- As far I understand, Raspi runs Debian "squeeze", a somehow limited variant of Debian.

Yep, Raspi runs full Debian squeeze, this is just the codename for the current stable version of Debian. (the unstable version is called wheezy, and the testing version is called sid https://en.wikipedia.org/wiki/Debian#Release_history ). Additionally, RPi runs the armel (ARM CPU) Debian variant (rather than x86 varian that a desktop PC might use).

- Is it so that in order to achieve graphical output (as opposed to textual only), the X system is needed?

Correct.

- And further, that RandR is an extension to X which allows resizing and rotation (of the entire monitor)?

I believe so, yes.

- And that RandR in general runs on Raspi?

No idea!

- But that you personally didn't see RandR working on Raspi AND doing the rotation thing?

Not ever looked at RandR before (on any platform) and haven't tried it on the Raspi either. I was just providing "starting points" for your investigations :D
User avatar
Posts: 3626
Joined: Sun Apr 22, 2012 4:50 pm
Location: Cambridge, UK
by chrowe » Tue Jul 24, 2012 6:47 am
RaTTuS wrote:
RaTTuS wrote:ok I need to re-compile the kernel with CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
I may be some time

this now works :-)
I'll find my other post and update it


I used your kernel from viewtopic.php?p=113662#p113662 and have the console rotated.
Do you have the GUI rotated. If so, what did you do?
Posts: 7
Joined: Sun Jul 22, 2012 2:53 pm
by fbuechner » Tue Jul 24, 2012 8:16 am
in your other thread you wrote you'd be going to try RandR in order to get the GUI rotated. Did it work?

Rotation of the console is the one thing i can do without, but rotating the GUI is a must for me.
I depend on rotating the GUI, because I need to realize a very low budget digital signage solution for my charitable music academy; I must use rotated TVs, ideally driven by Raspis - if they are able to output their GUI in portrait. Portrait mode is essential, I can't use landscape orientation.

I ordered my Raspi, but will get it somewhere in October if I am lucky, so am unable to DO something; confined to just watch and ask questions ... frustrating.

Felix
Posts: 5
Joined: Mon Jun 25, 2012 12:57 pm
by RaTTuS » Tue Jul 24, 2012 9:15 am
I've just had a quick play with xrandr
and not had any success
I'll have a play later today if I can
http://www.catb.org/esr/faqs/smart-questions.html <- ask smart Questions
"That's not right, the badgers have moved the goalposts."
1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX - Prosliver FTW
User avatar
Posts: 5296
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
by fbuechner » Tue Jul 24, 2012 3:15 pm
mhhhh ...

thanks for posting your findings!

Felix
Posts: 5
Joined: Mon Jun 25, 2012 12:57 pm