vidcontrol -i mode, please help!!!

2003-02-18 Thread Didier Wiroth
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  vga0at 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:0xa, buffer size:0x200
window size:0x1, origin:0x0
display start address (0, 0), scan line width:100
reserved:0x0
mode# flags   typesize   font  window  linear buffer
--
 24 (0x018) 0x0001 T 80x25   8x16  0xb8000 32k 32k 0x 32k
 30 (0x01e) 0x0001 T 80x50   8x8   0xb8000 32k 32k 0x 32k
 32 (0x020) 0x0001 T 80x30   8x16  0xb8000 32k 32k 0x 32k
 34 (0x022) 0x0001 T 80x60   8x8   0xb8000 32k 32k 0x 32k
 40 (0x028) 0x0001 T 90x25   8x16  0xb8000 32k 32k 0x 32k
 42 (0x02a) 0x0001 T 90x30   8x16  0xb8000 32k 32k 0x 32k
 46 (0x02e) 0x0001 T 90x50   8x8   0xb8000 32k 32k 0x 32k
 48 (0x030) 0x0001 T 90x60   8x8   0xb8000 32k 32k 0x 32k
256 (0x100) 0x000f G 640x400x8 1 8x16  0xa 64k 64k 0xe800 
32768k
257 (0x101) 0x000f G 640x480x8 1 8x16  0xa 64k 64k 0xe800 
32768k
258 (0x102) 0x000b G 800x600x4 4 8x16  0xa 64k 64k 0x 
32768k
259 (0x103) 0x000f G 800x600x8 1 8x16  0xa 64k 64k 0xe800 
32768k
260 (0x104) 0x000b G 1024x768x4 48x16  0xa 64k 64k 0x 
32768k
261 (0x105) 0x000f G 1024x768x8 18x16  0xa 64k 64k 0xe800 
32768k
262 (0x106) 0x000b G 1280x1024x4 4   8x16  0xa 64k 64k 0x 
32768k
263 (0x107) 0x000f G 1280x1024x8 1   8x16  0xa 64k 64k 0xe800 
32768k
264 (0x108) 0x000d T 80x60   8x8   0xb8000 32k 32k 0xe800 
32768k
270 (0x10e) 0x000f G 320x200x16 18x16  0xa 64k 64k 0xe800 
32768k
271 (0x10f) 0x000f G 320x200x32 18x16  0xa 64k 64k 0xe800 
32768k
273 (0x111) 0x000f G 640x480x16 18x16  0xa 64k 64k 0xe800 
32768k
274 (0x112) 0x000f G 640x480x32 18x16  0xa 64k 64k 0xe800 
32768k
276 (0x114) 0x000f G 800x600x16 18x16  0xa 64k 64k 0xe800 
32768k
277 (0x115) 0x000f G 800x600x32 18x16  0xa 64k 64k 0xe800 
32768k
279 (0x117) 0x000f G 1024x768x16 1   8x16  0xa 64k 64k 0xe800 
32768k
280 (0x118) 0x000f G 1024x768x32 1   8x16  0xa 64k 64k 0xe800 
32768k
282 (0x11a) 0x000f G 1280x1024x16 1  8x16  0xa 64k 64k 0xe800 
32768k
304 (0x130) 0x000f G 320x200x8 1 8x16  0xa 64k 64k 0xe800 
32768k
305 (0x131) 0x000f G 320x400x8 1 8x16  0xa 64k 64k 0xe800 
32768k
306 (0x132) 0x000f G 320x400x16 18x16  0xa 64k 64k 0xe800 
32768k
307 (0x133) 0x000f G 320x400x32 18x16  0xa 64k 64k 0xe800 
32768k
308 (0x134) 0x000f G 320x240x8 1 8x16  0xa 64k 64k 0xe800 
32768k
309 (0x135) 0x000f G 320x240x16 18x16  0xa 64k 64k 0xe800 
32768k
310 (0x136) 0x000f G 320x240x32 18x16  0xa 64k 64k 0xe800 
32768k
317 (0x13d) 0x000f G 640x400x16 18x16  0xa 64k 64k 0xe800 
32768k
318 (0x13e) 0x000f G 640x400x32 18x16  0xa 64k 64k 0xe800 
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 [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: vidcontrol -i mode, please help!!!

2003-02-18 Thread Dan Nelson
In the last episode (Feb 18), Didier Wiroth said:
 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

(Only used by Xfree86.  The console doesn't need it)

 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
 devicevga0at 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:0xa, buffer size:0x200
 window size:0x1, origin:0x0
 display start address (0, 0), scan line width:100
 reserved:0x0
 mode# flags   typesize   font  window  linear buffer
 --
  24 (0x018) 0x0001 T 80x25   8x16  0xb8000 32k 32k 0x 32k
  30 (0x01e) 0x0001 T 80x50   8x8   0xb8000 32k 32k 0x 32k
  32 (0x020) 0x0001 T 80x30   8x16  0xb8000 32k 32k 0x 32k
  34 (0x022) 0x0001 T 80x60   8x8   0xb8000 32k 32k 0x 32k
  40 (0x028) 0x0001 T 90x25   8x16  0xb8000 32k 32k 0x 32k
  42 (0x02a) 0x0001 T 90x30   8x16  0xb8000 32k 32k 0x 32k
  46 (0x02e) 0x0001 T 90x50   8x8   0xb8000 32k 32k 0x 32k
  48 (0x030) 0x0001 T 90x60   8x8   0xb8000 32k 32k 0x 32k
 
 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?

You're using 800x600, which is a special graphical (not a text) mode. 
It's really only useful for certain older laptops, which is why only
800x600 is supported.
 
 3) Why I can't I set a mode like: VESA_132x60? Are not all modern
 cards able to display these console resolution?

Nope.  Video card makers don't care about text modes anymore.  The
modes I left in your list above are the only ones that vidcontrol
really cares about.  Your card does not support 132-column mode, so you
can't get any of those 132x### resolutions.
 
-- 
Dan Nelson
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message