Changing the terminal resolution - BSD

This is a discussion on Changing the terminal resolution - BSD ; Hello, I've been trying to change the resolution on my terminal to 1024x768 on my laptop. I read on the Internet that I should compile the kernel with: options VESA options SC_PIXEL_MODE and so I did. After that I tried ...

+ Reply to Thread
Results 1 to 4 of 4

Thread: Changing the terminal resolution

  1. Changing the terminal resolution

    Hello,

    I've been trying to change the resolution on my terminal to 1024x768 on
    my laptop. I read on the Internet that I should compile the kernel with:

    options VESA
    options SC_PIXEL_MODE

    and so I did. After that I tried to set the resolution with
    ``vidcontrol''. It didn't work very nicely, though. The command
    ``vidcontrol -i mode'' gives me a list of possible modes. This are the
    ones I' interested in:

    261 (0x105) 0x0000000b G 1024x768x8 1 8x16 0xa0000 64k 64k 0x00000000 1024k
    278 (0x116) 0x0000000b G 1024x768x15 1 8x16 0xa0000 64k 64k 0x00000000 1024k
    279 (0x117) 0x0000000b G 1024x768x16 1 8x16 0xa0000 64k 64k 0x00000000 1024k

    But doing ``vidcontrol MODE_261'' the program says the operation is not
    supported by the device, 278 will get me to a weird screen where I can
    change to other ttys, but I keep seeing what was on the old tty when I
    go back to the one I ran vidcontrol. And 279 spawns a black screens and
    I get stuck there, the only solution is a reboot. The command
    ``vidcontrol VESA_800x600'' is the only one which worked so far.

    Am I missing some configuration? Is this kinda stuff limited to a few
    hardware? Note that I do have xorg with 1024x768 resolution.

  2. Re: Changing the terminal resolution

    On Wed, 21 Mar 2007 23:41:39 +0000 (UTC)
    rafael@dcc.ufmg.br wrote:

    > Hello,
    >
    > I've been trying to change the resolution on my terminal to 1024x768
    > on my laptop. I read on the Internet that I should compile the kernel
    > with:
    >
    > options VESA
    > options SC_PIXEL_MODE
    > - snip -
    > The
    > command ``vidcontrol VESA_800x600'' is the only one which worked so
    > far.
    >
    > Am I missing some configuration? Is this kinda stuff limited to a few
    > hardware? Note that I do have xorg with 1024x768 resolution.


    VESA support depends on what video card will do.

    May also need to add some font support in /etc/rc.conf for some modes.

    I once used 80x25, 80x43, 132 col modes with NV card.

    Have recently seen a number of Linux Live demo CD's APPEAR to hang when
    using some of the newer 3D, NV and ATI cards. Others work in VESA mode
    but are extremely slow. All are OK on a simpler 64/128 Mb NV etc.
    i.e. your (?onboard) video card may only support a limited number of
    VESA modes...

    Will X run in VESA mode (without card specific driver) at 102x768 ?

    Another option may be to run X and start only a Terminal full screen.


  3. Re: Changing the terminal resolution

    rafael@dcc.ufmg.br wrote:

    > Hello,
    >
    > I've been trying to change the resolution on my terminal to 1024x768 on
    > my laptop. I read on the Internet that I should compile the kernel with:


    Every time I have a problem with X I seem to find that installing PC-BSD and
    looking at their settings to see how they got it to works. Unless you value your
    time at $1USD/hour, it'll be cheaper to get a used or low capacity replacement
    drive and experiment on it that.

    And sometimes you have to bite the bullet, and go with something like Xubuntu
    that is lightweight, and and yet has all the drivers and such.

    http://www.pcbsd.org/
    http://www.xubuntu.org/

    I use xubuntu right now on my home laptop since Christmas, and can vouch it
    works excellent on my Toshiba, especially after I installed a package that had
    all the microsoft codecs/fonts/etc. I also installed the Mac core fonts as well,
    and was surprised at how many websites look better with the fonts the designer
    intended them to be viewed with.

    I hate running any server with Linux. Hate. Hate. Hate. But for a laptop, since
    I cannot afford a Mac, you might just try either Xubuntu, or if it's really low
    on power/ram Puppy Linux is the only way to go.

    --
    Walter

  4. Re: Changing the terminal resolution

    rafael@dcc.ufmg.br wrote:
    >
    > I've been trying to change the resolution on my terminal to 1024x768 on
    > my laptop. I read on the Internet that I should compile the kernel with:
    >
    > options VESA
    > options SC_PIXEL_MODE
    >
    > and so I did. After that I tried to set the resolution with
    > ``vidcontrol''. It didn't work very nicely, though. The command
    > ``vidcontrol -i mode'' gives me a list of possible modes. This are the
    > ones I' interested in:
    >
    > 261 (0x105) 0x0000000b G 1024x768x8 1 8x16 0xa0000 64k 64k 0x00000000 1024k
    > 278 (0x116) 0x0000000b G 1024x768x15 1 8x16 0xa0000 64k 64k 0x00000000 1024k
    > 279 (0x117) 0x0000000b G 1024x768x16 1 8x16 0xa0000 64k 64k 0x00000000 1024k
    >
    > But doing ``vidcontrol MODE_261'' the program says the operation is not
    > supported by the device, 278 will get me to a weird screen where I can
    > change to other ttys, but I keep seeing what was on the old tty when I
    > go back to the one I ran vidcontrol. And 279 spawns a black screens and
    > I get stuck there, the only solution is a reboot. The command
    > ``vidcontrol VESA_800x600'' is the only one which worked so far.


    Yes. The only reliably available one I've found is

    vidcontrol -g 100x37 VESA_800x600

    or

    allscreens_flags="-g 100x37 VESA_800x600"

    in /etc/rc.conf.

    > Am I missing some configuration? Is this kinda stuff limited to a few
    > hardware? Note that I do have xorg with 1024x768 resolution.


    I think it's limited by what the video card's BIOS supports, and that
    tends to be vestigial.

    --
    Warren Block * Rapid City, South Dakota * USA

+ Reply to Thread