Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: Low resolution in framebuffer

  1. #1
    Join Date
    Jan 2008
    Location
    new zealand
    Beans
    50
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Low resolution in framebuffer

    My grub menu (I dual boot with another Linux OS) displays at the correct 1680x1050 but then when Plymouth starts, it reverts to a much lower resolution. I don't particularly care about the splash screen, but if I switch to TTY1-6, the low resolution (800x600?) means that I only get about a dozen lines on the screen.

    I have had this problem since 7.10, but thanks to this helpful post I solved it in 9.10 - only to have it reappear now.

    Details: Nvidia 9600GT using the nouveau driver. /etc/default/grub:

    Code:
    GRUB_DEFAULT=0
    GRUB_HIDDEN_TIMEOUT=0
    GRUB_HIDDEN_TIMEOUT_QUIET=true
    GRUB_TIMEOUT=10
    GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
    GRUB_CMDLINE_LINUX_DEFAULT="ro quiet splash vga=0x0369"
    #GRUB_CMDLINE_LINUX="gfxpayload=true"
    
    # Uncomment to disable graphical terminal (grub-pc only)
    #GRUB_TERMINAL=console
    
    # The resolution used on graphical terminal
    # note that you can use only modes which your graphic card supports via VBE
    # you can see them in real GRUB with the command `vbeinfo'
    GRUB_GFXMODE=1680x1050x24
    My understanding of KMS was that it would take care of the framebuffer resolution - is there any way to make that happen?

  2. #2
    Join Date
    Dec 2009
    Location
    United Kingdom
    Beans
    220
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Low resolution in framebuffer

    Sorry can't help with Nvidia - I'm an ATI man but did notice:
    #GRUB_CMDLINE_LINUX="gfxpayload=true"
    If you want that to work you need to remove the #.

    GRUB_GFXMODE=1680x1050x24
    Do you really need to set the colour bit depth? if so, what does the following do?
    GRUB_GFXMODE=1680x1050x32
    A vivid and creative mind characterizes you.
    ATI Radeon HD6850, E7300 Core2duo, Asus P5Q

  3. #3
    Join Date
    Jan 2008
    Location
    new zealand
    Beans
    50
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Low resolution in framebuffer

    Thanks BrokeMahPC,

    I commented out the payload line to see if that made any difference (it didn't). I'll reinstate and reboot just to confirm though.

    I set the bit depth after running hwinfo; I'll see if 32 makes a difference.

  4. #4
    Join Date
    Jan 2008
    Location
    new zealand
    Beans
    50
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Low resolution in framebuffer

    32 bit depth doesn't have any effect.

    I also removed "vga=0x0369" from the grub line as I understand this is deprecated in KMS. That had no impact either...

  5. #5
    Join Date
    Dec 2009
    Location
    United Kingdom
    Beans
    220
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Low resolution in framebuffer

    Other one to try is from the plymouth readme
    Try the last 2 lines of code - it forces the higher resolution into the framebuffer earlier in the boot:

    Changing Themes
    ---------------

    Plymouth themes are installed into sub-directories of /lib/plymouth/themes,
    some themes may require plugins installed (as .so files) into /lib/plymouth.

    Search the archive for packages named plymouth-theme-*

    To change the current theme:

    sudo update-alternatives --config default.plymouth
    sudo update-initramfs -u

    To restore the default theme:

    sudo update-alternatives --auto default.plymouth
    sudo update-initramfs -u


    Disabling the splash screen
    ---------------------------

    There are two methods to disable the splash screen. Both have the
    same effect. Your boot will show such messages as are emitted by
    the starting services, and will still be able to prompt if needs be.

    1) Remove all of the plymouth-theme-* packages from your system,
    including the text ones. Plymouth will remain installed to
    permit boot-time prompts.

    2) Remove "splash" from the kernel command-line. You can do this
    per-boot, or make it permanent by changing the
    GRUB_CMDLINE_LINUX_DEFAULT line in /etc/default/grub


    High-color graphics on nVidia, ATI and other cards
    --------------------------------------------------

    Our default configuration uses low-color graphics on cards or drivers
    for which "Kernel Mode Setting" (in-kernel graphics drivers) are not
    available.

    This is because the driver that permits high-color graphics tends to
    cause issues with suspend and resume, and we opted to prefer that
    working.

    For nVidia and ATI users, the default "nouveau" and "radeon"
    drivers are Kernel Mode Setting enabled, but do not always
    provide 3D capability at the current time. By switching to
    using the restricted/non-free nvidia-glx or fglrx drivers,
    you will gain 3D capability at the loss of a high-color
    splash screen.

    You can however chose to enable high-color (and resolution) console
    if you find it doesn't affect suspend/resume for you, or you don't
    use that feature.

    There are various methods of doing this, the most robust is the
    following four steps:

    Append video=vesafb to the GRUB_CMDLINE_LINUX_DEFAULT in
    /etc/default/grub
    sudo update-grub

    Code:
    echo FRAMEBUFFER=y | sudo tee /etc/initramfs-tools/conf.d/splash
    Code:
     sudo update-initramfs -u
    A vivid and creative mind characterizes you.
    ATI Radeon HD6850, E7300 Core2duo, Asus P5Q

  6. #6
    Join Date
    Jan 2008
    Location
    new zealand
    Beans
    50
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Low resolution in framebuffer

    Thanks for the additional pointer BrokeMahPC - but, apart from a slightly changed splash, the framebuffer is still very low resolution...

  7. #7
    Join Date
    Jan 2008
    Location
    new zealand
    Beans
    50
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Low resolution in framebuffer

    This is a hack, but it works. In /etc/default/grub remove 'splash' from the default line and add a new line:
    Code:
    GRUB_GFXPAYLOAD_LINUX=1680x1050
    You don't get any fancy splash screen - which is fine by me, but you do get a nice, crisp widescreen frambuffer to work in.

    My full grub file looks like this:
    Code:
    GRUB_DEFAULT=0
    GRUB_HIDDEN_TIMEOUT=0
    GRUB_HIDDEN_TIMEOUT_QUIET=true
    GRUB_TIMEOUT=10
    GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
    GRUB_CMDLINE_LINUX_DEFAULT="quiet"
    
    GRUB_GFXMODE=1680x1050x24
    
    # Hack to force higher framebuffer resolution
    GRUB_GFXPAYLOAD_LINUX=1680x1050
    This is still a hack as switching between X and the framebuffer (TTY1-6) is still quite slow, whereas under KMS working properly it should be virtually instantaneous...

    I found this stuff in this post. Hope it helps others...

  8. #8
    dino99's Avatar
    dino99 is offline Ubuntu addict and loving it
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Low resolution in framebuffer

    Quote Originally Posted by miromiro View Post
    This is a hack, but it works. In /etc/default/grub remove 'splash' from the default line and add a new line:
    Code:
    GRUB_GFXPAYLOAD_LINUX=1680x1050
    You don't get any fancy splash screen - which is fine by me, but you do get a nice, crisp widescreen frambuffer to work in.

    My full grub file looks like this:
    Code:
    GRUB_DEFAULT=0
    GRUB_HIDDEN_TIMEOUT=0
    GRUB_HIDDEN_TIMEOUT_QUIET=true
    GRUB_TIMEOUT=10
    GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
    GRUB_CMDLINE_LINUX_DEFAULT="quiet"
    
    GRUB_GFXMODE=1680x1050x24
    
    # Hack to force higher framebuffer resolution
    GRUB_GFXPAYLOAD_LINUX=1680x1050
    This is still a hack as switching between X and the framebuffer (TTY1-6) is still quite slow, whereas under KMS working properly it should be virtually instantaneous...

    I found this stuff in this post. Hope it helps others...
    yeah, someone need to report this bug about grub-pc on launchpad

  9. #9
    Join Date
    Dec 2009
    Location
    United Kingdom
    Beans
    220
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Low resolution in framebuffer

    Only other thing I can think of is that you are conflicting with KMS in some way - try and get grub and anything that interferes with the boot process back to the default. They are making the kernel responsible for setting everything and editing grub or your xorg.conf can conflict. Xorg.conf is now largely redundant.
    If KMS is off or suffers a conflict it seems to = low res splash in Plymouth.

    EG - I was trying to get dynamic power management to work - typed radeon.dynpm=0 in the grub boot. That does not work with the current kernel and KMS - result was low resolution Plymouth.

    The FGLRX driver causes a bad effect as it does not work with KMS - not sure about the effects of different nvidia drivers tho.

    That Grub hack above looks interesting! not seen that one yet.
    Last edited by BrokeMahPC; May 2nd, 2010 at 09:58 AM.
    A vivid and creative mind characterizes you.
    ATI Radeon HD6850, E7300 Core2duo, Asus P5Q

  10. #10
    Join Date
    Oct 2007
    Beans
    12

    Re: Low resolution in framebuffer

    hi,
    i have the same problem, tried almost everything with original drivers from ATI... and nothing! Sometimes ubuntu doesn't start neither and i have to fix the problem from previous kernel in the grub.

    now i'm trying with UVESAFB and after the subsequent changes in etc/default/grub
    ...
    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset video=uvesafb:mode_option=1440x900-24,mtrr=3,scroll=ywrap"
    ...
    GRUB_GFXMODE=1440x900

    and etc/initramfs-tools/modules
    ...
    uvesafb mode_option=1440x900-24 mtrr=3 scroll=ywrap

    and in etc/initramfs-tools/conf.d/splash
    framebuffer=y

    and off course after update
    sudo update-grub2
    sudo update-initramfs -u

    the situation is unchanged. I think the problem is that framebuffer see the wrong resolution for my monitor (acer p223W) that is a 16:10 instead of 4:3 monitor, but framebuffer as only 4:3 res

    hwinfo --framebuffer
    02: None 00.0: 11001 VESA Framebuffer
    [Created at bios.464]
    Unique ID: rdCR.eq_W9lnvNEF
    Hardware Class: framebuffer
    Model: "(C) 1988-2005, ATI Technologies Inc. RV770"
    Vendor: "(C) 1988-2005, ATI Technologies Inc. "
    Device: "RV770"
    SubVendor: "ATI ATOMBIOS"
    SubDevice:
    Revision: "01.00"
    Memory Size: 16 MB
    Memory Range: 0xd0000000-0xd0ffffff (rw)
    Mode 0x0300: 640x400 (+640), 8 bits
    Mode 0x0301: 640x480 (+640), 8 bits
    Mode 0x0303: 800x600 (+832), 8 bits
    Mode 0x0305: 1024x768 (+1024), 8 bits
    Mode 0x0307: 1280x1024 (+1280), 8 bits
    Mode 0x0311: 640x480 (+1280), 16 bits
    Mode 0x0314: 800x600 (+1600), 16 bits
    Mode 0x0317: 1024x768 (+2048), 16 bits
    Mode 0x031a: 1280x1024 (+2560), 16 bits
    Mode 0x030e: 320x200 (+640), 16 bits
    Mode 0x0320: 320x200 (+1280), 24 bits
    Mode 0x0393: 320x240 (+320), 8 bits
    Mode 0x0395: 320x240 (+640), 16 bits
    Mode 0x0396: 320x240 (+1280), 24 bits
    Mode 0x03b3: 512x384 (+512), 8 bits
    Mode 0x03b5: 512x384 (+1024), 16 bits
    Mode 0x03b6: 512x384 (+2048), 24 bits
    Mode 0x03c3: 640x350 (+640), 8 bits
    Mode 0x03c5: 640x350 (+1280), 16 bits
    Mode 0x03c6: 640x350 (+2560), 24 bits
    Mode 0x0333: 720x400 (+768), 8 bits
    Mode 0x0335: 720x400 (+1472), 16 bits
    Mode 0x0336: 720x400 (+2944), 24 bits
    Mode 0x0353: 1152x864 (+1152), 8 bits
    Mode 0x0355: 1152x864 (+2304), 16 bits
    Mode 0x0356: 1152x864 (+4608), 24 bits
    Mode 0x0363: 1280x1024 (+1280), 8 bits
    Mode 0x0365: 1280x1024 (+2560), 16 bits
    Mode 0x0366: 1280x1024 (+5120), 24 bits
    Mode 0x0321: 640x480 (+2560), 24 bits
    Mode 0x0322: 800x600 (+3200), 24 bits
    Mode 0x0323: 1024x768 (+4096), 24 bits
    Mode 0x0324: 1280x1024 (+5120), 24 bits
    Mode 0x0343: 1400x1050 (+1408), 8 bits
    Mode 0x0345: 1400x1050 (+2816), 16 bits
    Mode 0x0346: 1400x1050 (+5632), 24 bits
    Mode 0x0373: 1600x1200 (+1600), 8 bits
    Mode 0x0375: 1600x1200 (+3200), 16 bits
    Mode 0x0376: 1600x1200 (+6400), 24 bits
    Mode 0x0383: 1792x1344 (+1792), 8 bits
    Mode 0x0385: 1792x1344 (+3584), 16 bits
    Mode 0x0386: 1792x1344 (+7168), 24 bits
    Mode 0x03d3: 1856x1392 (+1856), 8 bits
    Mode 0x03d5: 1856x1392 (+3712), 16 bits
    Mode 0x03d6: 1856x1392 (+7424), 24 bits
    Mode 0x03e3: 1920x1440 (+1920), 8 bits
    Mode 0x03e5: 1920x1440 (+3840), 16 bits
    Mode 0x03e6: 1920x1440 (+7680), 24 bits
    Config Status: cfg=new, avail=yes, need=no, active=unknown

    i'm getting really frustated now. Someone can help me, perhaps telling me how tell to framebuffer that i have a 16:10 screen?

    p.s. now my tty is a 1600x1200 resolution, that is over res of my monitor

    i have set 1440x900 but is still at 1600x1200 and dmesg return this

    [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-2.6.32-24-generic root=UUID=368b3ab9-c35e-4b4e-95e3-838973ed2d63 ro splash quiet quiet splash nomodeset video=uvesafb:mode_option=1440x900-24,mtrr=3,scroll=ywrap
    [ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.32-24-generic root=UUID=368b3ab9-c35e-4b4e-95e3-838973ed2d63 ro splash quiet quiet splash nomodeset video=uvesafb:mode_option=1440x900-24,mtrr=3,scroll=ywrap
    [ 0.526441] uvesafb: (C) 1988-2005, ATI Technologies Inc. , RV770, 01.00, OEM: ATI ATOMBIOS, VBE v3.0
    [ 0.533005] uvesafb: VBIOS/hardware supports DDC2 transfers
    [ 0.578089] uvesafb: monitor limits: vf = 77 Hz, hf = 84 kHz, clk = 170 MHz
    [ 0.578154] uvesafb: scrolling: redraw
    [ 0.579577] uvesafb: framebuffer at 0xd0000000, mapped to 0xffffc90011100000, using 16384k, total 16384k
    [ 13.246118] uvesafb: mode switch failed (eax=0x34f, err=0). Trying again with default timings.
    [ 13.626910] uvesafb: mode switch failed (eax=0x34f, err=0). Trying again with default timings.
    [ 13.863722] uvesafb: mode switch failed (eax=0x34f, err=0). Trying again with default timings.
    [ 14.118597] uvesafb: mode switch failed (eax=0x34f, err=0). Trying again with default timings.
    [ 14.363813] uvesafb: mode switch failed (eax=0x34f, err=0). Trying again with default timings.
    [ 35.787891] uvesafb: mode switch failed (eax=0x34f, err=0). Trying again with default timings.
    [ 36.304396] uvesafb: mode switch failed (eax=0x34f, err=0). Trying again with default timings.

    please help me or i go crazy

Page 1 of 3 123 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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