viafb: do modesetting after updating variables