After some fiddling. I am able to add 2560x1600 into the selection. What I really want is 2560x1440 because that's my monitor's native resolution.
Commands issued at host:
set-vmvideo -vmname vm1 -horizontalresolution:3840 -verticalresolution:2160 -resolutiontype single
If i use set-vmvideo 2560x1440, in ubuntu vm the highest resolution showing up will be 2048x1152. So I tried to issue higher resolution from the host. And it is giving me 2560x1600.
Commands inside Ubuntu 2204 vm:
cvt -reduced 2560 1440 60sudo xrandr --newmode "cvt output modeline"sudo xrandr --addmode XWAYLAND0 "2560x1440_60.00"
But I am unable to get 2560x1440.Any suggestion what to do to get that?