make use of --preferred to set the resolution