Exploration of trivial and nontrivial electronic phases and of collinear and noncollinear magnetic phases in low-spin d5 perovskites