Kms & retroarch

Hi guys, there is a guide/tutorial to set/use drm-kms resolutions? I would want use kms to start my ubuntu xfce and retroarch on my crt TV without X server. Thanks.