Find the answer to your Linux question:
Results 1 to 10 of 10
Greetings. My home server (Squeeze) has a command line resolution of 1280x1024, but the graphics card only goes up to 1024x768 (it supports 1280x1024 but is quite old and no ...
  1. #1
    Just Joined!
    Join Date
    Mar 2011
    Posts
    5

    [SOLVED] Command line resolution

    Greetings.

    My home server (Squeeze) has a command line resolution of 1280x1024, but the graphics card only goes up to 1024x768 (it supports 1280x1024 but is quite old and no longer works at this resolution ). I've changed the resolution successfully for GRUB2, which didn't help. I also installed X and GNOME to verify that they work at 1024x768.

    Finding a solution would be great, currently the system is only usable through SSH.

  2. #2
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    How did you change it for GRUB2? Making the change in GRUB2 should change it for the console.

    See this thread:
    Debian User Forums • View topic - Grub2 and framebuffer

  3. #3
    Just Joined!
    Join Date
    Mar 2011
    Posts
    5
    Quote Originally Posted by reed9 View Post
    How did you change it for GRUB2? Making the change in GRUB2 should change it for the console.
    "set gfxmode="1024x768" in /boot/grub/grub.cfg. Making the change for either GRUB or X doesn't seem to affect it.

    Set the resolution in /etc/default/grub too.
    Last edited by ubuntunix; 03-07-2011 at 08:31 PM.

  4. #4
    Just Joined!
    Join Date
    Nov 2010
    Posts
    22
    vesafb is probably included in your kernel and is configured by adding "vga=____" to your kernel line in your grub file. This table lists resolutions and colors.

    Code:
        | 640x480  800x600  1024x768 1280x1024
    ----+-------------------------------------
    256 |  0x301    0x303    0x305    0x307   
    32k |  0x310    0x313    0x316    0x319   
    64k |  0x311    0x314    0x317    0x31A   
    16M |  0x312    0x315    0x318    0x31B
    You'll probably want 1024x768@16M so add to your grub configuration file, in the kernel line add this text:
    Code:
    vga=0x318
    and you should be good. For more complex resolutions (widescreen and such) use uvesafb, but you should be fine with this configuration

  5. #5
    Linux Newbie
    Join Date
    Apr 2005
    Location
    CT --> PA
    Posts
    170

    grub2 video mode

    the "vga=" option will cause grub2 to flag the command and warn you to use the set gfxmode option, which is the appropriate way of setting the grub2 video mode .
    Chicks dig giant mechanized war machines

  6. #6
    Just Joined!
    Join Date
    Mar 2011
    Posts
    5
    Didn't work, when the system is booting (post-grub) it is initally the correct resolution but then changes to 1280x1024. =\

  7. #7
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Post the output of these commands :
    Code:
    grep -n GFX /etc/default/grub
    grep -n GFX /etc/grub.d/00_header
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  8. #8
    Just Joined!
    Join Date
    Mar 2011
    Posts
    5
    Quote Originally Posted by devils casper View Post
    Post the output of these commands :
    Code:
    grep -n GFX /etc/default/grub
    grep -n GFX /etc/grub.d/00_header
    Code:
    21:#GRUB_GFXMODE=1024x768
    Code:
    39:if [ "x${GRUB_GFXMODE}" = "x" ] ; then GRUB_GFXMODE=1024x768 ; fi
    127: set gfxmode=${GRUB_GFXMODE}
    The resolution reverts to 1280x1024 or similar right after "Waiting for /dev to populate"...

  9. #9
    Just Joined!
    Join Date
    Sep 2008
    Posts
    73
    I'm having this same issue. It's not really a big problem in itself for me.
    But it might be causing some other ill effects.
    Happens at around the same time as the OP stated, and sometimes makes the screen scramble with vertical colored lines. Then after restarting X or reboot the screen locks up after 15-20 mins.
    I think it's because I changed the display card.
    It had an on-board display chipset and I added an Nvidia PCI card in an attempt to make KDE4 more responsive.
    The BIOS has no option for disabling the on-board adapter, only lets me set it to initialize the PCI card 1st.
    I assume this is the problem because it didn't happen at all until I put the PCI card in.

    On a different note, it's aggrevating that this board has to load so many images that it prevents me from scrolling around the page because it always has a problem with a couple images loading.
    It constantly says "Read images.kontera.com" but never finishes so navigating the page makes it seem like I'm on a Pentium Pro ca. 1995.
    It all but disables the scroll wheel, and when I start reading the thread it all of the sudden goes to the absolute top or bottom of the page due to a huge delay in scrolling. Using the scroll bar is super slow too. Makes reading anything here difficult.
    It's doing it right now as I'm trying to type.
    Last edited by glaston; 03-15-2011 at 09:55 PM.

  10. #10
    Just Joined!
    Join Date
    Mar 2011
    Posts
    5
    Resolved the problem by simply installing nvidia-glx, but I don't see why this was necessary. It now runs at 1024x768.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •