Announcement

Collapse
No announcement yet.

how to change resolution of usplash

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [SOLVED] how to change resolution of usplash

    Resolution is very small, so the Kubuntu wheel looks very big. Only after login the resolution looks normal, I mean is adjusted to my monitor resolution 1440x900.
    Last edited by gnomek; Jun 30, 2012, 03:17 AM.

    #2
    You mean Plymouth.

    http://byobu.info/wiki/Changing_Plym...tion_in_Ubuntu

    Install v86d

    First of all, run the following command in a terminal to install the v86d package.

    sudo apt-get install v86d

    Set the resolution for GRUB2 and Plymouth

    Now you need to edit the resolutions in the GRUB2 files, so run gksu gedit /etc/default/grub and look for the line,

    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

    and replace it with (this will set the resolution for Plymouth),

    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset video=uvesafb:mode_option=1280x1024-24,mtrr=3,scroll=ywrap"

    Then look for,

    #GRUB_GFXMODE=640x480

    and replace it with (this will set the resolution for the GRUB2 menu; the resolution you set here may differ from the resolution set in GRUB_CMDLINE_LINUX_DEFAULT),

    GRUB_GFXMODE=1280x1024

    Note that you need to remove the # from the beginning of the GRUB_GFXMODE line else it will be commented out. Also, I repeat, you may use any resolution you wish to use in place of 1280x1024 as long as your monitor supports it. Sometimes you need to set a lower resolution for GRUB_GFXMODE because GRUB may not support the same resolutions as Plymouth (e.g. 1366x768 may work for Plymouth, but may not in GRUB2. In this case, set GRUB_GFXMODE to 1024x768 instead). Save the file and close the text editor.

    Note: The GRUB_GFXMODE option configures the resolution of the GRUB 2 menu. Not all resolutions are supported for GRUB itself. If unsure of what resolutions are available to GRUB 2 they can be displayed by typing vbeinfo in the GRUB 2 command line. The command line is accessed by typing "c" when the main GRUB 2 menu screen is displayed.[2]
    Hope that helps.
    "Just keep on learning. Little by little... If you're empty, then you can take in anything. If you want to be reborn, then it's in your best interest to become empty." - Vinland Saga

    Comment


      #3
      Edit:
      This worked for me.
      Step 1
      Code:
      sudo nano /etc/default/grub
      # If you change this file, run 'update-grub' afterwards to update
      # /boot/grub/grub.cfg.
      # For full documentation of the options in this file, see:
      #   info -f grub -n 'Simple configuration'
      
      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="vga=792 quiet splash nomodeset video=uvesafb:mode_option=1440x900-24,mtrr=3,scroll=ywrap"
      GRUB_CMDLINE_LINUX=""
      
      # Uncomment to enable BadRAM filtering, modify to suit your needs
      # This works with Linux (no patch required) and with any kernel that obtains
      # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
      #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
      
      # 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=1440x900
      GRUB_GFXPAYLOAD_LINUX=1440x900
      
      # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
      #GRUB_DISABLE_LINUX_UUID=true
      
      # Uncomment to disable generation of recovery mode menu entries
      #GRUB_DISABLE_RECOVERY="true"
      
      # Uncomment to get a beep at grub start
      #GRUB_INIT_TUNE="480 440 1"
      Step 2
      Code:
      sudo nano /etc/initramfs-tools/modules
      # add:
      uvesafb mode_option=1440x900-24 mtrr=3 scroll=ywrap
      Step 3, 4, 5
      Code:
      echo FRAMEBUFFER=y | sudo tee /etc/initramfs-tools/conf.d/splash
      sudo update-grub2
      sudo update-initramfs -u
      reboot!

      I use nano editor because it works in terminal, so you don't need graphical editor. It is good be familiar with non-graphical editor.
      Remember to save changes: right keyboard site Ctrl+O, and you exit nano with Ctrl+X.

      vga=792 is 1024x768@24bit
      This is GRUB VGA Mode
      http://pierre.baudu.in/other/grub.vga.modes.html
      Maybe it is not necessary to write vga=792. I don't know. I don't want to chceck it again. So you may first check without it.
      Last edited by gnomek; Jun 30, 2012, 03:16 AM.

      Comment

      Working...
      X