Changing display resolution for "None-1" ("unknown display") - when no physical screen is connected (headless)

Hello,

The mission: to change display resolution for “None-1” (‘unknown display’) - when no physical screen/display/monitor is attached.

Machine: Banana Pi M5 (Bpi M5).

I use it as a headless machine (without any monitor connected) and access it via a remote control/share screen application (such as: Teamviewer).

The problem: the display is very small as the resolution is set to 720 X 576.

I couldn’t find any way or method to define/change the resolution in such a case. How can this be done?

I’ll appreciate any assistance you can provide.

Thanks in advance!

This is the information of the machine and Armbian version installed:

BOARD=bananapim5
BOARD_NAME="Banana Pi M5/M2P"
BOARDFAMILY=meson-sm1
BUILD_REPOSITORY_URL=https://github.com/armbian/build
BUILD_REPOSITORY_COMMIT=b475b12
VERSION=22.11.4
LINUXFAMILY=meson64
ARCH=arm64
IMAGE_TYPE=stable
BOARD_TYPE=conf
INITRD_ARCH=arm64
KERNEL_IMAGE_TYPE=Image
BRANCH=current

If the device is booting an upstream kernel (not the vendor 4.9 kernel) append this to kernel boot params:

video=HDMI-A-1:1920x1080M@60

This forces HDMI to output at 1080p@60

The resolution of M5 is automatically detected by default, I used ubuntu image, hope my method for changing resoluation can help you:

/boot/boot.ini

The above is false, and the values in the list below are arbitrarily modified b55ad82cdb5f4645eb3d70a2bad8990

You are using “Ubuntu” with Android kernel which is completely different. https://docs.armbian.com/User-Guide_FAQ/#why-does-hardware-feature-xy-work-in-old-kernel-but-not-in-more-recent-one