baseencoder: support external display