console resolution 1680x1050?

I'm truly enjoying FreeBSD 8.2. I work in the console, but I can't get vidcontrol to accept a 1680x1050 resolution. How to get the console to run in 1680x1050? I would really appreciate anyone to share how to do it.

Thanks.
 
sc(4), look for SC_PIXEL_MODE. Put
Code:
vesa_load="YES"
in /boot/loader.conf and reboot. Use # vidcontrol -i mode to see what is available.

&quot said:
Code:
    mode#     flags   type    size       font      window      linear buffer
------------------------------------------------------------------------------
  0 (0x000) 0x00000001 T 40x25           8x8   0xb8000 32k 32k 0x00000000 32k
  1 (0x001) 0x00000001 T 40x25           8x8   0xb8000 32k 32k 0x00000000 32k
  2 (0x002) 0x00000001 T 80x25           8x8   0xb8000 32k 32k 0x00000000 32k
  3 (0x003) 0x00000001 T 80x25           8x8   0xb8000 32k 32k 0x00000000 32k
  4 (0x004) 0x00000003 G 320x200x2 C     8x8   0xb8000 32k 32k 0x00000000 32k
  5 (0x005) 0x00000003 G 320x200x2 C     8x8   0xb8000 32k 32k 0x00000000 32k
  6 (0x006) 0x00000003 G 640x200x1 C     8x8   0xb8000 32k 32k 0x00000000 32k

skip output

326 (0x146) 0x0000000f G 1600x1200x16 D  8x16  0xa0000 64k 64k 0xd0000000 3750k
327 (0x147) 0x0000000f G 1400x1050x8 P   8x14  0xa0000 64k 64k 0xd0000000 1435k
328 (0x148) 0x0000000f G 1400x1050x16 D  8x14  0xa0000 64k 64k 0xd0000000 2871k
338 (0x152) 0x0000000f G 2048x1536x32 D  8x16  0xa0000 64k 64k 0xd0000000 12288k

After you select what you like then set it like this:
# vidcontrol MODE_338
Use
Code:
allscreens="MODE_333"
in /etc/rc.conf to be persistent. Restart your machine and you are done.
Note that your card may or may not support every resolution.
 
Thanks for your reply. But I still have not got a solution for my question. I don't know whether there is a possibility that console only accepts 4:3 resolution?
 
dean said:
I don't know whether there is a possibility that console only accepts 4:3 resolution?
That seems to depend on the graphics card, some do, some don't.
 
SirDice said:
That seems to depend on the graphics card, some do, some don't.

Thanks. Could you tell me which kinds of graphic cards support and which don't?
 
Hit and miss really. And I don't know of any lists you could check.

Besides that, I really don't recommend setting the console resolution too high. It tends to make it really, really slow. Especially scrolling. It'll probably work a lot better if you start Xorg, even if it only loads a terminal application. Instead of launching a window manager or complete desktop environment you can load xterm or rxvt. It might take a little fiddling to get it to fill the screen but that shouldn't be too difficult.
 
As SirDice said, it is hit and miss. We can't even say that all nvidia GT430 cards will list a 1680x1050 resolution in the BIOS since it varies from manufacturer to manufacturer. An EVGA card might support it, but a PNY card might not.
 
I modified dwm to support logging in via the default console /bin/login application but running in an xterm.
Screenshots can be found here (http://forums.freebsd.org/showpost.php?p=120834&postcount=281)

And a download for it can be found a few posts later if you are interested in a similar setup.

(I have modified it recently to pop up GUI applications in motif WM windows but leaving an xterm terminal in the background but this does require a bit more work).
 
Back
Top