歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> 完美解決Ubuntu 10.04開機和關機分辨率過低

完美解決Ubuntu 10.04開機和關機分辨率過低

日期:2017/2/28 16:35:19   编辑:Linux教程

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

1.可以解決的問題:
(1)安裝驅動後開機和關機畫面花屏,分辨率低;
(2)開機畫面直接出現,一閃而過,錯過點點進度過程。(這個我原來幼稚地認為是10.04的開機速度太快,進度條來不及顯示呢。呵呵)
2.解決 方案:uvesafb 替代 vesafb(具體什麼意思我也不知道)
3.所需包:
(1)v86d(uvesafb需要)
(2)hwinfo(查看framebuffer)
4.步驟
(1)安裝驅動:
方法一,Nvidia官網下載最新驅動,但是得先屏蔽掉nouveau,而且安裝後會出現Nvidia巨大的Logo,我沒有用這種方法。
方法二,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)更新grub和initramfs:
sudo update-grub2
sudo update-initramfs -u
(8)重啟。

Copyright © Linux教程網 All Rights Reserved