Pi 4 Change screen Resolution

Problems with video cards. Screen frequency refresh. Terminal speed.
Post Reply
cobash
Posts: 15
Joined: Fri Jun 23, 2023 3:09 am

Pi 4 Change screen Resolution

Post by cobash »

Hello!

I noticed with the newer update you can not specify in the config a screen resolution for the pi 4. I tried to set it in the template but it still won't change. Here is what I had. display=1600x900; HDMI


Thanks!
akatik
SUPPORT
SUPPORT
Posts: 666
Joined: Mon Jan 17, 2005 6:30 pm
Contact:

Re: Pi 4 Change screen Resolution

Post by akatik »

You can never specify screen resolution in wtware config for pi 4. display= option only works for x86. WTware on Pi ignores display=.

The best way to set screen resolution is to use good digital display and direct digital cable. hdmi-hdmi or hdmi-dvi. Not Display Port adapter. Not ancient 15-pin VGA. With good display and direct digital cable, Pi sets resolution automagically and you may not think about it.

On Raspberry, wtware always lets Raspberry firmware to set resolution. With the newer update, "vc4-kms-v3d" raspberry driver is used. Google "vc4-kms-v3d". It's from raspberry world, wtware makes no changes.

To set resolution with "vc4-kms-v3d", cmdline.txt file is used. Note cmdline.txt is single line file!

By default, cmdline.txt in wtware for SD boot is:

Code: Select all

console=tty1 quiet wtboot=mmc
To set resolution:

Code: Select all

video=HDMI-A-1:1280x1024-32@60 console=tty1 quiet wtboot=mmc
For two displays:

Code: Select all

video=HDMI-A-1:1280x1024-32@60 video=HDMI-A-2:1920x1080-32@60 console=tty1 quiet wtboot=mmc
cobash
Posts: 15
Joined: Fri Jun 23, 2023 3:09 am

Re: Pi 4 Change screen Resolution

Post by cobash »

Thank you!!
cobash
Posts: 15
Joined: Fri Jun 23, 2023 3:09 am

Re: Pi 4 Change screen Resolution

Post by cobash »

One more thing I ran into. I used to be able to set the display mode (Portrait or landscape) from the GUI M2_display = portrait but now that has stopped working. The M2_position = right-bottom still works. Any Idea how to get the monitor to rotate to portrait mode?

I Tried video=HDMI-A-1:rotate=90 and it did not work.
I Tired video=HDMI-A-1:rotate=180 and it DID work.

Thank you in advance!
akatik
SUPPORT
SUPPORT
Posts: 666
Joined: Mon Jan 17, 2005 6:30 pm
Contact:

Re: Pi 4 Change screen Resolution

Post by akatik »

video= in kernel command line is an option for video driver in kernel.

rotate=180 is easy. It's still pixel by pixel, but in reverse direction.

rotate=90 (or =270) is much more complicated. To render one line in 1920x1080, hardware should take first pixel, then 1080th pixel, then 2*1080th pixel and so on. Not pixel by pixel. Seems it's no implemented by Raspberry hardware.
cobash wrote: Tue Oct 22, 2024 9:57 pm I used to be able to set the display mode (Portrait or landscape) from the GUI M2_display = portrait but now that has stopped working.
M2_display tries to implement rotation in software (and make all painting several times slower). But I'm wondering it was working on Raspberry. Could you make me a log of previous wtware version with M2_display = portrait working?
cobash
Posts: 15
Joined: Fri Jun 23, 2023 3:09 am

Re: Pi 4 Change screen Resolution

Post by cobash »

I just set support@wtware.com an email with the log file.

Thanks!
aka
SUPPORT
SUPPORT
Posts: 956
Joined: Fri Dec 03, 2004 2:05 pm
Contact:

Re: Pi 4 Change screen Resolution

Post by aka »

Rotation should work in 6.2.44 wtware version. Manual: https://wtware.com/docs5/video.html#raspberry
Post Reply