2014年2月18日 星期二

GMA3600 driver display issue

GMA3600 是使用PowerVR顯示晶片, 不是一般Intel 顯示晶片, Linux 下會有些 driver 顯示的問題

1. 使用vesafb driver 無顯示畫面: 改用uvesafb driver
2. VGA prot開機未插, 再插上無顯示畫面: 必須將kernel內GMA500選項拿掉, 並使用uvesafb

(1) 改用uvesafb driver 
setp 1. # apt-get install v86d hwinfo libhd16 libhal1
setp 2. # vim /etc/default/grub

   添加下列紅字
   GRUB_CMDLINE_LINUX_DEFAULT=”quiet nomodeset                                                         video=uvesafb:mode_option=1024x768-24,mtrr=3,scroll=ywrap”  
   GRUB_GFXMODE=1024X768

setp 3. # vim /etc/initramfs-tools/modules
    atl1 
    atl1c 
    atl2 
    bnx2 
    bnx2x 
    crc32c 
    uvesafb mode_option=1024x768-24 mtrr=3 scroll=ywrap 
setp 4. # update-grub
           # update-initramfs -u
           # reboot
(2) 將kernel 內GMA500選項拿掉 
setp 1. # apt-get source linux-image-3.8.0-29-generic
setp 2. # tar xvf linux-lts-raring_3.8.0.orig.tar.gz
setp 3. # cd linux-3.8
           # make menuconfig
Device Driver -> Graphic support  ->  < M > Intel GMA5/600 KMS Framebuffer, remove M , 然後儲存離開 
setp 4. # make 
           # make modules_install 
           # make install 
           # reboot