Display Monitor(s) - spaceshiptrip/raspberrypi GitHub Wiki
List out the displays that are available
xrandr -q
Config.txt file:
While booting up, the Raspberry Pi reads some configuration parameters from the SD card. These parameters are stored in a file named config. txt and located in the /boot partition at /boot/config. txt.
config.txt for 2K display
hdmi_group=2
hdmi_mode=87
hdmi_cvt=2560 1440 60 3 0 0 1
max_framebuffer_width=2560
max_framebuffer_height=1440
hdmi_pixel_freq_limit=400000000
https://gist.github.com/snobu/daf54b415e986baf8b0935d6e0caf4b1