Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Feb 2003 15:23:05 +0100
From:      Didier Wiroth <didier.wiroth@mcesr.etat.lu>
To:        freebsd-questions@freebsd.org
Subject:   vidcontrol -i mode, please help!!!
Message-ID:  <200302181523.05337.didier.wiroth@mcesr.etat.lu>

next in thread | raw e-mail | index | archive | help
Hey,

Could someone please enlighten me about  the meaning of the "vidcontrol -i 
mode" output!

Here is some info: I'm using the native freebsd nvidia driver from 
www.nvidia.com which brings its own nvidia.ko module. My card is a 32mb "Asus 
AGP-V7100D/2V1D" which uses the nvidia Geforce 2 MX chipset ! I've the 
following kernel devices/options compiled in my custom kernel:
-----------------------------------------
device agp
options		VESA
device		vga0	at isa?
options		SC_PIXEL_MODE
options		VGA_WIDTH90
----------------------------------------
Actually I'm using these settings in rc.conf:
font8x16="iso-8x16"
font8x14="iso-8x14"
font8x8="iso-8x8"
allscreens_flags="-g 100x37 VESA_800x600"

Here is the output of vidcontrol -i adapter & vidcontrol -i mode :
fb0:
    vga0, type:VESA VGA (5), flags:0x700ff
    initial mode:24, current mode:258, BIOS mode:3
    frame buffer window:0xa0000, buffer size:0x2000000
    window size:0x10000, origin:0x0
    display start address (0, 0), scan line width:100
    reserved:0x0
    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 0xe8000000 
32768k
257 (0x101) 0x0000000f G 640x480x8 1     8x16  0xa0000 64k 64k 0xe8000000 
32768k
258 (0x102) 0x0000000b G 800x600x4 4     8x16  0xa0000 64k 64k 0x00000000 
32768k
259 (0x103) 0x0000000f G 800x600x8 1     8x16  0xa0000 64k 64k 0xe8000000 
32768k
260 (0x104) 0x0000000b G 1024x768x4 4    8x16  0xa0000 64k 64k 0x00000000 
32768k
261 (0x105) 0x0000000f G 1024x768x8 1    8x16  0xa0000 64k 64k 0xe8000000 
32768k
262 (0x106) 0x0000000b G 1280x1024x4 4   8x16  0xa0000 64k 64k 0x00000000 
32768k
263 (0x107) 0x0000000f G 1280x1024x8 1   8x16  0xa0000 64k 64k 0xe8000000 
32768k
264 (0x108) 0x0000000d T 80x60           8x8   0xb8000 32k 32k 0xe8000000 
32768k
270 (0x10e) 0x0000000f G 320x200x16 1    8x16  0xa0000 64k 64k 0xe8000000 
32768k
271 (0x10f) 0x0000000f G 320x200x32 1    8x16  0xa0000 64k 64k 0xe8000000 
32768k
273 (0x111) 0x0000000f G 640x480x16 1    8x16  0xa0000 64k 64k 0xe8000000 
32768k
274 (0x112) 0x0000000f G 640x480x32 1    8x16  0xa0000 64k 64k 0xe8000000 
32768k
276 (0x114) 0x0000000f G 800x600x16 1    8x16  0xa0000 64k 64k 0xe8000000 
32768k
277 (0x115) 0x0000000f G 800x600x32 1    8x16  0xa0000 64k 64k 0xe8000000 
32768k
279 (0x117) 0x0000000f G 1024x768x16 1   8x16  0xa0000 64k 64k 0xe8000000 
32768k
280 (0x118) 0x0000000f G 1024x768x32 1   8x16  0xa0000 64k 64k 0xe8000000 
32768k
282 (0x11a) 0x0000000f G 1280x1024x16 1  8x16  0xa0000 64k 64k 0xe8000000 
32768k
304 (0x130) 0x0000000f G 320x200x8 1     8x16  0xa0000 64k 64k 0xe8000000 
32768k
305 (0x131) 0x0000000f G 320x400x8 1     8x16  0xa0000 64k 64k 0xe8000000 
32768k
306 (0x132) 0x0000000f G 320x400x16 1    8x16  0xa0000 64k 64k 0xe8000000 
32768k
307 (0x133) 0x0000000f G 320x400x32 1    8x16  0xa0000 64k 64k 0xe8000000 
32768k
308 (0x134) 0x0000000f G 320x240x8 1     8x16  0xa0000 64k 64k 0xe8000000 
32768k
309 (0x135) 0x0000000f G 320x240x16 1    8x16  0xa0000 64k 64k 0xe8000000 
32768k
310 (0x136) 0x0000000f G 320x240x32 1    8x16  0xa0000 64k 64k 0xe8000000 
32768k
317 (0x13d) 0x0000000f G 640x400x16 1    8x16  0xa0000 64k 64k 0xe8000000 
32768k
318 (0x13e) 0x0000000f G 640x400x32 1    8x16  0xa0000 64k 64k 0xe8000000 
32768k

1) Now!? How to I set a mode like 132x60 or for instance I'm using 100x37 but 
this mode is not listed here!? Why?

2) What kind of mode (see first column) is mode 282 or 279? How can I set this 
mode?

3) Why I can't I set a mode like: VESA_132x60? Are not all modern cards able 
to display these console resolution?

4) How do the different column ouput actually, like flags, type, linear buffer 
help me or even the size column for example:
1024x768x16, what do I know with this output?

Thanks
Didier

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302181523.05337.didier.wiroth>