Raspberry Pi4 custom resolution and screen rotation

Support for Air Player desktop on ARM devices, like the Raspberry Pi.

Moderators: russ, Ralph

Post Reply
Message
Author
a340peter
Posts: 11
Joined: Wed Sep 14, 2016 9:15 am

Raspberry Pi4 custom resolution and screen rotation

#1 Post by a340peter »

Hello
I have a waveshare HDMI display with a resolution of 1024x600 and want to use this display in the portrait orientation to display the G5 instruments using AirPlayer on a Raspberry Pi 4. I have looked for solutions in this forum and on other locations, but could not find any instructions to get it to work.
I can rotate the screen on the raspberry by 90 or 270 degrees, the boot messages and even the SimInnovations logo are displayed in the correct orientation by using the following settings in /boot/config.txt:

disable_overscan=1
hdmi_force_hotplug=1
hdmi_cvt=1024 600 60 3
hdmi_group=2
hdmi_mode=88
display_rotate=1
[pi4]
# Enable DRM VC4 V3D driver on top of the dispmanx display stack
#dtoverlay=vc4-fkms-v3d

Using these parameters the AirManager on my computer sees the AirPlayer device, but no SimInnovations logo is displayed and when I start the G5 panel it is displayed only partially (a flickering diagonal band displayed on top of the boot messages) using only the top half of the screen.

If I activate the setting:
dtoverlay=vc4-fkms-v3d
the SimInnovations logo appears in the right orientation and uses the whole screen (the left and right sides of the logo are cut off though as it is too large for a 600x1024 screen), but the AirPlayer device does not show up in AirManager. I can access the raspberry via ssh or Windows terminal, but for unknown reasons not by AirManager.

Still trying out more options, but so far I could find no solution.

Thanks
Peter

redman
Posts: 69
Joined: Wed Nov 07, 2018 3:58 pm

Re: Raspberry Pi4 custom resolution and screen rotation

#2 Post by redman »

HI Peter,

Where you able to find a solution to your display problem? I Have the same issue with my 1920x1080 15.6 inch waveshare monitor.
I set the screen to 90 degrees vertical view using display_rotate=1 command in putty, but the screen displays the instrument panel on only top half of the screen.
Any suggestions on how to get the full screen vertical instrument panel to work?

Thanks
Michael
269705312_256575543250210_8330305380209726057_n.jpg
271221644_251017753775510_4837028833773501709_n.jpg
271446768_323094796391787_3903032775942465408_n.jpg

User avatar
Ralph
Posts: 7876
Joined: Tue Oct 27, 2015 7:02 pm
Location: De Steeg
Contact:

Re: Raspberry Pi4 custom resolution and screen rotation

#3 Post by Ralph »

The Raspberry Pi 4 GPU does not allow for screen rotation. I can give you a refund if you want.

redman
Posts: 69
Joined: Wed Nov 07, 2018 3:58 pm

Re: Raspberry Pi4 custom resolution and screen rotation

#4 Post by redman »

Ralph wrote: Tue Jan 11, 2022 6:44 am The Raspberry Pi 4 GPU does not allow for screen rotation. I can give you a refund if you want.
Hi Ralph, what if I used PI 3 B+, would that work?

User avatar
Ralph
Posts: 7876
Joined: Tue Oct 27, 2015 7:02 pm
Location: De Steeg
Contact:

Re: Raspberry Pi4 custom resolution and screen rotation

#5 Post by Ralph »

Yes that would work. Although the frame rate at 1920x1080 can be a bit low at ~15 FPS. If you can scale it down to for example 1280x720 then you'll have a pretty high frame rate.

User avatar
nnyerges
Posts: 65
Joined: Sat Jun 18, 2022 6:28 pm

Re: Raspberry Pi4 custom resolution and screen rotation

#6 Post by nnyerges »

Just for curiosity, what versión of Air Player are you guys using in your Raspberry Pi4?
I cannot get Air Player 4.1 to work. See https://siminnovations.com/forums/viewt ... 800#p47800
Chief Technology Officer (CTO) at 360ATC Aviation Training Center
Electronic Engineer. Control & Software Specialist

Post Reply