Xorg -configure
mv ~/xorg.conf.new /etc/X11/xorg.conf
service gdm start
/boot/grub/menu.lst
中的 kernel 參數加上 vga=xxx
(xxx
是解析度和色彩深度的參數)來解決。username@ubuntu:~$ sudo vi /etc/modprobe.d/blacklist-framebuffer
vesafb
和 vga16fb
最前面加上 #
。username
@ubuntu:~$ sudo vi /etc/initramfs-tools/modules
vesafb
vga16fb
fbcon
username
@ubuntu:~$ sudo update-initramfs -u
username
@ubuntu:~$ sudo hwinfo --framebuffer
username
@ubuntu:~$ sudo apt-get install hwinfo
02: None 00.0: 11001 VESA Framebuffer
[Created at bios.447]
Unique ID: rdCR.94E0DOEgq9F
Hardware Class: framebuffer
Model: "Intel(r)Broadwater-G Graphics Chip Accelerated VGA BIOS Intel(r)Broadwater-G Graphics Controller"
Vendor: "Intel Corporation"
Device: "Intel(r)Broadwater-G Graphics Controller"
SubVendor: "Intel(r)Broadwater-G Graphics Chip Accelerated VGA BIOS"
SubDevice:
Revision: "Hardware Version 0.0"
Memory Size: 7 MB + 448 kB
Memory Range: 0xc0000000-0xc076ffff (rw)
Mode 0x033c: 1920x1440 (+1920), 8 bits
Mode 0x034d: 1920x1440 (+3840), 16 bits
Mode 0x033a: 1600x1200 (+1600), 8 bits
Mode 0x034b: 1600x1200 (+3200), 16 bits
Mode 0x035a: 1600x1200 (+6400), 24 bits
Mode 0x0307: 1280x1024 (+1280), 8 bits
Mode 0x031a: 1280x1024 (+2560), 16 bits
Mode 0x031b: 1280x1024 (+5120), 24 bits
Mode 0x0305: 1024x768 (+1024), 8 bits
Mode 0x0317: 1024x768 (+2048), 16 bits
Mode 0x0318: 1024x768 (+4096), 24 bits
Mode 0x0312: 640x480 (+2560), 24 bits
Mode 0x0314: 800x600 (+1600), 16 bits
Mode 0x0315: 800x600 (+3200), 24 bits
Mode 0x0301: 640x480 (+640), 8 bits
Mode 0x0303: 800x600 (+832), 8 bits
Mode 0x0311: 640x480 (+1280), 16 bits
Config Status: cfg=new, avail=yes, need=no, active=unknown
Mode
後面的代碼,把想要用的記下來,以 1280x1024, 24 bits 為例子,他的代碼就是 0x031b
。username
@ubuntu:~$ sudo vi /boot/grub/menu.lst
kernal
加上 vga=0x031b
(以下都是同一行沒有換行):kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=452c3352-f739-4df0-8930-8c80a9f212d4 ro quiet splash locale=zh_TW vga=0x031b
defoptions
在最後面也加上 vga=0x031b
(註解符號不要去掉)# defoptions=quiet splash locale=zh_TW vga=0x031b