{"id":166,"date":"2018-02-03T12:02:00","date_gmt":"2018-02-03T11:02:00","guid":{"rendered":"http:\/\/www.ncodenicer.com\/?p=166"},"modified":"2026-05-12T21:17:10","modified_gmt":"2026-05-12T19:17:10","slug":"configuring-default-resolution-for-freebsd-11-with-uefi","status":"publish","type":"post","link":"https:\/\/www.codenicer.com\/?p=166","title":{"rendered":"Configuring default resolution for FreeBSD 11 with UEFI"},"content":{"rendered":"\n<p>If you have to set native resolution on system console (if for example you have to run scfb driver for X), first check resolutions supported by UEFI &#8211; escape to loader prompt when booting OS and type:<br><code>mode<\/code><br>That should list all textual modes recognized by loader (alternatively you can also try <code>gop list<\/code> or <code>uga list<\/code>, but saving gop mode setting using following method won&#8217;t work (I don&#8217;t know about uga since my computer doesn&#8217;t support it)). After this you can set mode you want to use using<br><code>mode NUMBER<\/code><br>(for example <code>mode 2<\/code>), and continue booting typing <code>boot<\/code> (NOTE: you can use <code>gop set<\/code> instead of <code>mode<\/code> (but with gop mode number), and that will also boot in correct resolution).<\/p>\n\n\n\n<p>To make this mode setting permanent save it to <code>\/boot\/loader.rc.local<\/code> (just one line &#8220;<code>mode NUMBER<\/code>&#8220;).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you have to set native resolution on system console (if for example you have to run scfb driver for X), first check resolutions supported by UEFI &#8211; escape to loader prompt when booting OS and type:modeThat should list all textual modes recognized by loader (alternatively you can also try gop list or uga list, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[6,111,113,112,110],"class_list":["post-166","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-freebsd","tag-mode","tag-native-resolution","tag-scfb","tag-uefi"],"_links":{"self":[{"href":"https:\/\/www.codenicer.com\/index.php?rest_route=\/wp\/v2\/posts\/166","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.codenicer.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.codenicer.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.codenicer.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.codenicer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=166"}],"version-history":[{"count":1,"href":"https:\/\/www.codenicer.com\/index.php?rest_route=\/wp\/v2\/posts\/166\/revisions"}],"predecessor-version":[{"id":167,"href":"https:\/\/www.codenicer.com\/index.php?rest_route=\/wp\/v2\/posts\/166\/revisions\/167"}],"wp:attachment":[{"href":"https:\/\/www.codenicer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=166"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.codenicer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=166"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.codenicer.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=166"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}