Have you tried an input followed by r.SetRes or/and r.FullscreenMode 0?
Alternatively try this tutorial: