处理ubuntu装nv显卡后开机画面分辩率低
目[宝典]
解决ubuntu装NV显卡后开机画面分辨率低问题
鍐呭 涔熼?傚悎鍦ㄨ櫄鎷熸満涓婂畨瑁卽buntu鐨勬儏鍐?
1.鍙 互瑙,喅鐨勯棶棰橈細
锛?锛夊畨瑁呴?鍔ㄥ悗寮?鏈哄拰鍏虫満鐢婚潰鑺卞睆銆佹樉绀轰綆鍒嗚鲸鐜囪秴澶р?渦buntu鈥滾ogo銆?锛?锛夊紑鏈虹敾闈?洿鎺ュ嚭鐜帮紝涓?闂 ?岃繃锛岄敊杩囩偣鐐硅繘搴,繃绋嬨??
2.瑙,喅鏂规 锛歶vesafb 鏇夸唬 vesafb锛堜笉鎳傗?,?,煡閬撳氨琛岋級
3.鎵?闇?鍖咃細
锛?锛塿86d锛坲vesafb闇?瑕侊級
锛?锛塰winfo锛堟煡鐪媐ramebuffer锛? 4.姝ラ 锛?锛?锛?瀹夎 椹卞姩锛? System-->Administration-->Hardware Drivers锛屾垜閫夌殑鏄 偅涓猂ecommended锛堜腑鏂囨眽鍖栧悗鏄剧ず鈥滄帹鑽愨?濓級
锛?锛?瀹夎 鎵?闇?鍖咃細
sudo apt-get install v86d hwinfo
锛?锛?鏌ョ湅framebuffer
sudo hwinfo --framebuffer
Termial閲屼細鏄剧ず浣犵殑鏄惧崱鍙婂叾鍒嗚鲸鐜囦俊鎭 細锛堜互涓嬫槸鎴戠殑鏄惧崱淇?伅锛屼笉鐢ㄧ湅澶 锛?
02: None 00.0: 11001 VESA Framebuffer
[Created at bios.464]
Unique ID: rdCR.VSBbdW2x3qC Hardware Class: framebuffer Model: "NVIDIA G86 Board - NV_NB8M " Vendor: "NVIDIA Corporation" Device: "G86 Board - NV_NB8M " SubVendor: "NVIDIA"
SubDevice:
Revision: "Chip Rev"
Memory Size: 14 MB
Memory Range: 0xd5000000-0xd5dfffff (rw) Mode 0x0300: 640x400 (+640), 8 bits Mode 0x0301: 640x480 (+640), 8 bits Mode 0x0303: 800x600 (+800), 8 bits Mode 0x0305: 1024x768 (+1024), 8 bits Mode 0x0307: 1280x1024 (+1280), 8 bits Mode 0x030e: 320x200 (+640), 16 bits Mode 0x030f: 320x200 (+1280), 24 bits Mode 0x0311: 640x480 (+1280), 16 bits Mode 0x0312: 640x480 (+2560), 24 bits Mode 0x0314: 800x600 (+1600), 16 bits Mode 0x0315: 800x600 (+3200), 24 bits Mode 0x0317: 1024x768 (+2048), 16 bits Mode 0x0318: 1024x768 (+4096), 24 bits Mode 0x031a: 1280x1024 (+2560), 16 bits Mode 0x031b: 1280x1024 (+5120), 24 bits Mode 0x0330: 320x200 (+320), 8 bits Mode 0x0331: 320x400 (+320), 8 bits Mode 0x0332: 320x400 (+640), 16 bits Mode 0x0333: 320x400 (+1280), 24 bits Mode 0x0334: 320x240 (+320), 8 bits Mode 0x0335: 320x240 (+640), 16 bits
Mode 0x0336: 320x240 (+1280), 24 bits
Mode 0x033d: 640x400 (+1280), 16 bits
Mode 0x033e: 640x400 (+2560), 24 bits
Mode 0x0345: 1600x1200 (+1600), 8 bits
Mode 0x0346: 1600x1200 (+3200), 16 bits
Mode 0x0347: 1400x1050 (+1400), 8 bits
Mode 0x0348: 1400x1050 (+2800), 16 bits
Mode 0x0349: 1400x1050 (+5600), 24 bits
鈥,?,紙杩樻湁涓?浜涗笉copy浜嗭級
鎴戠殑鏄惧崱鏄 渶瑕?Mode 0x0349: 1400x1050 (+5600), 24 bits 杩欎釜銆傛墍浠ュ悗闈?湁澶氫釜鍦版柟淇 敼鏄?400x1050-24
敼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=1400x1050-24,mtrr=3,scroll=ywrap "
锛堝師鏉ユ槸锛欸RUB_CMDLINE_LINUX_DEFAULT="quiet splash "锛
屾敞鎰弇ode_option杩欓噷灏辨槸浣犺 淇 敼鐨勫垎杈ㄧ巼浜?
锛?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=1400x1050
锛堝師鏉ユ槸锛? GRUB_GFXMODE=640脳480 锛屾敞鎰忚 鎶?涔熷垹
闄わ紝1400x1050鏄 綘瑕佷慨鏀圭殑鍒嗚鲸鐜?锛?
# 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"
锛?锛?淇 敼initramfs:
sudo gedit /etc/initramfs-tools/modules
锛?浠ヤ笅涓簃odules鏂囦欢鍐呭 锛岀洿鎺ュ姞涓婄孩鑹茶 鍙ワ紝 1400x1050-24 杩欎釜浣犳噦鐨?锛? # 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=1400x1050-24 mtrr=3 scroll=ywrap
锛?锛?寮哄埗浣跨敤Framebuffer:
echo FRAMEBUFFER=y | sudo tee /etc/initramfs-tools/conf.d/splash
锛?锛?鏇存柊grub鍜宨nitramfs:
sudo update-grub2
sudo update-initramfs -u
锛?锛?閲嶅惎