Screen refresh rate in the console.

Michael misha at onet.ru
Tue Feb 1 04:08:30 PST 2005


Hello, folks, first of all I have to apologize for my english.

  My aim is to change screen resolution in FreeBSD console, only way
that I see now - using of vidcontrol(1). I've compiled my kernel with
proper options: SC_PIXEL_MODE and VGA_WIDTH90 and vga device. After
rebooting I obtained abbility to set some modes. But e.g. after
issuing 'vidcontrol -g 100x37 VESA_800x600' (refering to man page)
vertical refresh rate falling down from 70Hz to 60Hz, which I found
terrible for my eyes.. (I consider that 70Hz is bad too, but it's the
maximum that I've ever seen on FreeBSD machine..).
  So, the question is: how to set another refresh rate, and is it
possible to set e.g. 1024x768 mode?

Thank you for any help, promptings or advice. Have a nice day.

##############################################################################
OS: FreeBSD 5.3-RELEASE-p5
Video: NVIDIA GeForce4 MX 440 (AGP 8x)
Display: Rolsen C708
Kernel additions:
options         VGA_WIDTH90
options         SC_PIXEL_MODE
options         VESA
Full dmesg: http://www.epicsol.org/~misha/tmp/dmesg
Full kernel: http://www.epicsol.org/~misha/tmp/kernel
##############################################################################
#vidcontrol -i mode
    mode#     flags   type    size       font      window      linear buffer
------------------------------------------------------------------------------
 24 (0x018) 0x00000001 T 80x25           8x16  0xb8000 32k 32k 0x00000000 32k
 30 (0x01e) 0x00000001 T 80x50           8x8   0xb8000 32k 32k 0x00000000 32k
 32 (0x020) 0x00000001 T 80x30           8x16  0xb8000 32k 32k 0x00000000 32k
 34 (0x022) 0x00000001 T 80x60           8x8   0xb8000 32k 32k 0x00000000 32k
 40 (0x028) 0x00000001 T 90x25           8x16  0xb8000 32k 32k 0x00000000 32k
 42 (0x02a) 0x00000001 T 90x30           8x16  0xb8000 32k 32k 0x00000000 32k
 46 (0x02e) 0x00000001 T 90x50           8x8   0xb8000 32k 32k 0x00000000 32k
 48 (0x030) 0x00000001 T 90x60           8x8   0xb8000 32k 32k 0x00000000 32k
256 (0x100) 0x0000000f G 640x400x8 1     8x16  0xa0000 64k 64k 0xf4000000 65536k
257 (0x101) 0x0000000f G 640x480x8 1     8x16  0xa0000 64k 64k 0xf4000000 65536k
258 (0x102) 0x0000000b G 800x600x4 4     8x16  0xa0000 64k 64k 0x00000000 65536k
259 (0x103) 0x0000000f G 800x600x8 1     8x16  0xa0000 64k 64k 0xf4000000 65536k
260 (0x104) 0x0000000b G 1024x768x4 4    8x16  0xa0000 64k 64k 0x00000000 65536k
261 (0x105) 0x0000000f G 1024x768x8 1    8x16  0xa0000 64k 64k 0xf4000000 65536k
262 (0x106) 0x0000000b G 1280x1024x4 4   8x16  0xa0000 64k 64k 0x00000000 65536k
263 (0x107) 0x0000000f G 1280x1024x8 1   8x16  0xa0000 64k 64k 0xf4000000 65536k
264 (0x108) 0x0000000d T 80x60           8x8   0xb8000 32k 32k 0xf4000000 65536k
265 (0x109) 0x0000000d T 132x25          8x16  0xb8000 32k 32k 0xf4000000 65536k
266 (0x10a) 0x0000000d T 132x43          8x9   0xb8000 32k 32k 0xf4000000 65536k
267 (0x10b) 0x0000000d T 132x50          8x8   0xb8000 32k 32k 0xf4000000 65536k
268 (0x10c) 0x0000000d T 132x60          8x8   0xb8000 32k 32k 0xf4000000 65536k
270 (0x10e) 0x0000000f G 320x200x16 1    8x8   0xa0000 64k 64k 0xf4000000 65536k
271 (0x10f) 0x0000000f G 320x200x32 1    8x8   0xa0000 64k 64k 0xf4000000 65536k
273 (0x111) 0x0000000f G 640x480x16 1    8x16  0xa0000 64k 64k 0xf4000000 65536k
274 (0x112) 0x0000000f G 640x480x32 1    8x16  0xa0000 64k 64k 0xf4000000 65536k
276 (0x114) 0x0000000f G 800x600x16 1    8x16  0xa0000 64k 64k 0xf4000000 65536k
277 (0x115) 0x0000000f G 800x600x32 1    8x16  0xa0000 64k 64k 0xf4000000 65536k
279 (0x117) 0x0000000f G 1024x768x16 1   8x16  0xa0000 64k 64k 0xf4000000 65536k
280 (0x118) 0x0000000f G 1024x768x32 1   8x16  0xa0000 64k 64k 0xf4000000 65536k
282 (0x11a) 0x0000000f G 1280x1024x16 1  8x16  0xa0000 64k 64k 0xf4000000 65536k
283 (0x11b) 0x0000000f G 1280x1024x32 1  8x16  0xa0000 64k 64k 0xf4000000 65536k
304 (0x130) 0x0000000f G 320x200x8 1     8x8   0xa0000 64k 64k 0xf4000000 65536k
305 (0x131) 0x0000000f G 320x400x8 1     8x16  0xa0000 64k 64k 0xf4000000 65536k
306 (0x132) 0x0000000f G 320x400x16 1    8x16  0xa0000 64k 64k 0xf4000000 65536k
307 (0x133) 0x0000000f G 320x400x32 1    8x16  0xa0000 64k 64k 0xf4000000 65536k
308 (0x134) 0x0000000f G 320x240x8 1     8x8   0xa0000 64k 64k 0xf4000000 65536k
309 (0x135) 0x0000000f G 320x240x16 1    8x8   0xa0000 64k 64k 0xf4000000 65536k
310 (0x136) 0x0000000f G 320x240x32 1    8x8   0xa0000 64k 64k 0xf4000000 65536k
317 (0x13d) 0x0000000f G 640x400x16 1    8x16  0xa0000 64k 64k 0xf4000000 65536k
318 (0x13e) 0x0000000f G 640x400x32 1    8x16  0xa0000 64k 64k 0xf4000000 65536k
325 (0x145) 0x0000000f G 1600x1200x8 1   8x16  0xa0000 64k 64k 0xf4000000 65536k
326 (0x146) 0x0000000f G 1600x1200x16 1  8x16  0xa0000 64k 64k 0xf4000000 65536k
327 (0x147) 0x0000000f G 1400x1050x8 1   8x14  0xa0000 64k 64k 0xf4000000 65536k
328 (0x148) 0x0000000f G 1400x1050x16 1  8x14  0xa0000 64k 64k 0xf4000000 65536k
338 (0x152) 0x0000000f G 2048x1536x32 1  8x16  0xa0000 64k 64k 0xf4000000 65536k
##############################################################################
#vidcontrol -i adapter
fb0:
    vga0, type:VESA VGA (5), flags:0x700ff
    initial mode:24, current mode:258, BIOS mode:3
    frame buffer window:0xa0000, buffer size:0x4000000
    window size:0x10000, origin:0x0
    display start address (0, 0), scan line width:100
    reserved:0x0



More information about the freebsd-questions mailing list