红联Linux门户
Linux帮助

Ubuntu 10.10安装ATI显卡后开机分辨率低的完美解决

发布时间:2015-03-05 11:26:02来源:linux网站作者:linux人

文首声明,Ubuntu 10.10 安装ATI显卡后开机分辨率低的完美解决主体参照于这篇文章,只不过这篇文章应用的环境是Ubuntu 10.04 @ Nvidia显卡
我的机器配置:
ASUS F8Vr;Intel Core Duo T8300;ATI Mobility Radeon HD 3470;VRAM:256MB;14"WXGA

1.需要解决的问题:
(1)安装驱动后开机和关机画面花屏,分辨率低;
(2)开机画面直接出现,一闪而过,错过点点进度过程。
2.解决 方案:uvesafb 替代 vesafb
3.所需包:
(1)v86d(uvesafb需要)
(2)hwinfo(查看framebuffer)
4.解决步骤:
(1)安装驱动
系统-系统管理-附加驱动
Ubuntu 10.10安装ATI显卡后开机分辨率低的完美解决

(2)安装所需包:
sudo apt-get install v86d hwinfo
(3)查看framebuffer
sudo hwinfo --framebuffer

我的显示器分辨率是1024x768的所以我需要的是:1024x768-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=20
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset video=uvesafb:mode_option=1024x768-24,mtrr=3,scroll=ywrap"
GRUB_CMDLINE_LINUX=""
Ubuntu 10.10安装ATI显卡后开机分辨率低的完美解决

# 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=1024x768
# 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=1024x768-24 mtrr=3 scroll=ywrap
----------------------------------------------------

(6)强制使用Framebuffer:
echo FRAMEBUFFER=y | sudo tee /etc/initramfs-tools/conf.d/splash
显示结果:FRAMEBUFFER=y
(7)更新grub和initramfs:
sudo update-grub2
sudo update-initramfs -u
(8)重启
重启时的退出Ubuntu画面还是低分辨率的,重启后就ok了

小声说,最后成功了才知道,原来是有这么个开机进度条的……
Ubuntu 10.10安装ATI显卡后开机分辨率低的完美解决

注:以上图片上传到红联Linux系统教程频道中。