Hey, I'm wondering how you can increase the resolution of the console in FreeBSD stable. I have read the man page on vidcontrol and googled around a bit, but I'm still confused about what to do. I'm currently running FreeBSD in VMWare on a windows machine (But that'll change as soon as I learn enough to put it up my server, which currently runs linux). I'd like to have something like 1024x768 resolution or so. Also, the man pages mention something about VESA modules. What exactly is this, and do I need it? My kernel is currently compiled without support for it. Would I need to recompile my kernel again? Thanks, ~Schiz0
On Monday 02 April 2007 01:55:45 pm Schiz0 wrote:> I'm wondering how you can increase the resolution of the console in FreeBSD > stable. I have read the man page on vidcontrol and googled around a bit, > but I'm still confused about what to do. I'm currently running FreeBSD in > VMWare on a windows machine (But that'll change as soon as I learn enough > to put it up my server, which currently runs linux). I'd like to have > something like 1024x768 resolution or so. Also, the man pages mention > something about VESA modules. What exactly is this, and do I need it? My > kernel is currently compiled without support for it. Would I need to > recompile my kernel again?Without recompiling your kernel, you should be able to do modes like: # vidcontrol -f 8x8 cp437-8x8.fnt VGA_80x50 # vidcontrol -f 8x8 cp437-8x8.fnt VGA_80x60 If you add "options VGA_WIDTH90" to your kernel you can do things like: # vidcontrol -f 8x8 cp437-8x8.fnt VGA_90x50 # vidcontrol -f 8x8 cp437-8x8.fnt VGA_90x60 (note that not all hardware likes the 90-column modes) And if you add "options VESA" and "options SC_PIXEL_MODE" to your kernel you can use any fontsize (of the three: 8x16, 8x14, 8x8) with any VESA video mode supported by your hardware. You get a list of modes by running "vidcontrol -i mode" from a virtual terminal. On my machine mode 279 is 1024x768x16. If I wanted to use that with an 8x14 font I'd do this: # vidcontrol -f 8x14 cp437-8x14.fnt MODE_279 JN
On Mon, 2 Apr 2007, Schiz0 wrote:> Hey, > > I'm wondering how you can increase the resolution of the console in > FreeBSD stable. I have read the man page on vidcontrol and googled around > a bit, but I'm still confused about what to do. I'm currently running > FreeBSD in VMWare on a windows machine (But that'll change as soon as I > learn enough to put it up my server, which currently runs linux). I'd like > to have something like 1024x768 resolution or so. Also, the man pages > mention something about VESA modules. What exactly is this, and do I need > it? My kernel is currently compiled without support for it. Would I need > to recompile my kernel again?You're question does not quite make sense. "Console" is more or less the FreeBSD word for "boss text-mode terminal." It has nothing to do with what a terminal window might look like in a GUI such as Windows or X. The first question is what *text* modes does your hardware support. I don't know of video hardware that supports 1024x768 raster text. If your hardware supports it and you want the VESA modes, you can compile VESA support into the kernel (which you should do if you use it just about all the time) or it can be load dynamically (see man 4 vga). Ditto for 90 column VGA. Most of the console modes are regular vga text modes and they are usually expressed in terms of lines(high) x columns(wide), for example the standard 25x80. I suspect you do not really want a console resolution of 1024x768 (px). I suspect you want 1024x758 in a GUI, in which case you need to be researching X as vidcontrol has nothing to do with that.
On Wednesday 04 April 2007 00:05, you wrote:> Console is not intended for everyday use! You should login > to your FreeBSD box with ssh-client of your choise and from > the OS of your choise (preferably from graphic mode). >please stay on topic the question is not what one should or not but to hook into your talk, if there is a console it can be used as wanted> 1024x768 is more than enough for 120x50 virtual terminals.may be for you, for me and lot of other users it is definitly not> > p.s. Or you just trolling? RH is rather professional, but definitely > not because of graphics in console... :-\don't try to be smart with me nobody said that RH is professional because of it's graphics in console I said that for example RH looks professional with the graphic boot they offer> > > that is very easy to understand, look: > > A/ fits much more info on one screen > > B/ line wraps do not complicate orientation on screen > > both points are very usefull debugging any kind of problem or tailing > > logs-- Jo?o A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura. Service fornecido pelo Datacenter Matik https://datacenter.matik.com.br
Hi, first i understand your need's right! More Text on screen at boot time, but i have never get this working at boot time, but directly after boot. In my case my Kernels would be compiles with: options SC_PIXEL_MODE and in /boot/loader.conf vesa_load="YES" and in /etc/rc.conf something like this: keymap="german.iso" font8x16="iso15-8x16" font8x14="iso15-8x14" font8x8="iso15-8x8" allscreens_flag="MODE_280" In my case with german keyboard, change these things to your needs. The allscreens_flag you could get as mentoided in other answers with vidcontrol -i mode, i remember that someone has tell you to use MODE_279, but i doesn't know if this is the best case for all cards. For a single test you can set the mode from one terminal (like ttyv0) after logging in with vidcontrol MODE_280 or that likes to your modes for your Graphiccard. If anyone else knows how we can set the vid-mode at boot-time so that the bootmessages are every time in such a mode tell me please how it works. In the Kernel NOTEs i have only found a line like options VGA_WIGTH90, but thi is not my desired resolution. cheers michael -- === michael-schuh.net ==Michael Schuh Preu?enstr. 13 66111 Saarbr?cken phone: 0681/8319664 mobil: 0177/9738644 @: michael.schuh@gmail.com === Ust-ID: DE251072318 ===