framebuffer resolution

Vladislav New Member Posts: 20
How to set resolution for console? For example, when ctrl+alt+F1 key is pressed.
Or when I don't use X11.

And how to set resolution right after boot, for bios and some menus? It is HD by default but it would be cool to change it.

(I am going to try to output some OpenGL data without X11, directly to framebuffer with help of EGL. Which in theory could be faster than X...)