Running on Raspberry Pi 3B+ with 18.04.2 LTS.
I am unable to change the screen resolution using the settings in /boot/config.txt. I am trying to set the resolution to 1080 p which is the resolution of my laptop.
I tried hdmi_group = 2 (DMT) with hdmi_mode = 82 (1080p) and hdmi_group = 1 (CEA) and hdmi_mode = 16 (1080p). No change in resolution in either case.
I used the first of those two settings in Ubuntu 16.04 and it worked.