Ubuntu 10.04開機和關機分辨率太低

 

解決Ubuntu 10.04開機和關機分辨率太低

 

1.能夠解決的問題:ide

(1)安裝驅動後開機和關機畫面花屏,分辨率低;ui

(2)開機畫面直接出現,一閃而過,錯過點點進度過程。(這個我原來幼稚地認爲是10.04的開機速度太快,進度條來不及顯示呢。呵呵)this

2.解決 方案:uvesafb 替代 vesafb(具體什麼意思我也不知道)spa

3.所需包:v8

(1)v86d(uvesafb須要)terminal

(2)hwinfo(查看framebuffer)get

4.步驟it

(1)安裝驅動:io

方法一,Nvidia官網下載最新驅動,可是得先屏蔽掉nouveau,並且安裝後會出現Nvidia巨大的Logo,我沒有用這種方法。console

方法二,System-->Administration-->Hardware Drivers,我選的是那個Recommended

(2)安裝所需包:

sudo apt-get install v86d hwinfo

(3)查看framebuffer

sudo hwinfo --framebuffer

個人顯示器分辨率是1280x800的因此我須要的是:1280x800-24

(4)修改grub文件

sudo gedit /etc/default/grub

------------------------------------------------------------------------------------

# If you change this file, run 'update-grub' afterwards to update

# /boot/grub/grub.cfg.

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 splash nomodeset video=uvesafb:mode_option=1280x800-24,mtrr=3,scroll=ywrap"

GRUB_CMDLINE_LINUX=""

# 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=1280x800

# 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_LINUX_RECOVERY="true"

# Uncomment to get a beep at grub start

#GRUB_INIT_TUNE="480 440 1"

------------------------------------------------------------------------------------

(5)修改initramfs:

sudo gedit /etc/initramfs-tools/modules

------------------------------------------------------------------------------------

# List of modules that you want to include in your initramfs.

#

# Syntax: module_name [args ...]

#

# You must run update-initramfs(8) to effect this change.

#

# Examples:

#

# raid1

# sd_mod

uvesafb mode_option=1280x800-24 mtrr=3 scroll=ywrap

------------------------------------------------------------------------------------

(6)強制使用Framebuffer:

echo FRAMEBUFFER=y | sudo tee /etc/initramfs-tools/conf.d/splash

(7)更新grubinitramfs:

sudo update-grub2

sudo update-initramfs -u

(8)重啓。

相關文章
相關標籤/搜索