Vim4 How do I set Screen res higher than 1920

Hello @winslowb

Which image you used?

If you use the desktop image, you can goto System Settings-> Displays to setup the resolution.

If you use the server image, you can follow the steps below to create a overlay to setup the resolutions.

Here is an example to setup the resoluion to 4k (3840x2160P60Hz).

  1. Create device tree overlay fb.dts with contents below:
$ khadas@Khadas:~$ cat fb.dts 
/dts-v1/;
/plugin/;

/ {
        fragment@3 {
                target = <&drm_subsystem>;

                __overlay__ {
                        fbdev_sizes = <3840 2160 3840 4320 32>;
                };
        };
};
  1. Compile to dtbo
$ dtc -@ -I dts fb.dts -O dtb -o fb.dtbo
  1. Copy dtbo to overlay directory
$ sudo cp fb.dtbo /boot/dtb/amlogic/kvim4.dtb.overlays/
  1. Enable fb overlay

Edit /boot/dtb/amlogic/kvim4.dtb.overlay.env to add fb to node fdt_overlays=

$ cat /boot/dtb/amlogic/kvim4.dtb.overlay.env 
fdt_overlays=fb
  1. Save the file and reboot.