Core implementation of --[no]-autoscale and --scale with x11 vout support