grub2: get primary screen's best resolution