Calculate and show display resolution.