WiilcomD4 ubuntu 11.04 で Unity

先のエントリーは動いたってだけの報告でしたので、もう少し詳しく。

インストールは普通に出来ます。インストーラー時点で無線LANも繋がります。

インストール完了時点で、Unityでは無いものの普通に音もタッチパットもタッチスクリーンも無線LANも完動です。
ただ、画面は800×600です。

■リブート時に固まるので、grubにおまじないを追加します。

$ sudo vi /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash reboot=bios mem=960mb acpi_osi=Linux"

と変更し、

$ sudo update-grub

シャットダウンして立ち上げなおすとリブートで固まらなくなると思います。
(上記設定にはグラフィックメモリを除外する設定を含めてますが、それが必要かどうかは分かりません。現状動いているので試す気には・・・・。)

■グラフィックドライバの更新

GMA500のEMGDドライバを入れます。

$sudo add-apt-repository ppa:gma500/emgd
$sudo apt-get update
$sudo apt-get install xorg-emgd emgd-dkms
$sudo emgd-xorg-conf

これで、xorgが、1.10→1.9へ落とされますが、Unityを使いたいので入れ替えちゃいます。

ただ、このまま再起動すると、画面は壁紙だけで他に何も出来ない状態になります。(Ctrl+Alt+F1でコンソールは出ますので・・・。)

/usr/share/X11/xorg.conf.d/10-emgd.conf

こちらを編集して使えるようにします。

参考にしたのはこちらです。
ただ、こちらもLooxU/C40使いのようなので解像度が合いませんのでD4に合わせて変更が必要です。

以下、自分の設定です。

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
EndSection
Section "Device"
Identifier "Intel_EMGD-0"
Driver "emgd"
VendorName "Intel(R) DEG"
BoardName "Embedded Graphics"
BusID "0:2:0"
Screen 0
VideoRAM 65536
Option "PcfVersion" "1792"
Option "ConfigId" "1"
Option "PortDrivers" "lvds"
Option "ALL/1/name" "lvds-display"
Option "ALL/1/General/DisplayConfig" "1"
Option "ALL/1/General/DisplayDetect" "1"
Option "ALL/1/Port/4/General/name" "LVDS"
Option "ALL/1/Port/4/General/Edid" "1"
Option "ALL/1/Port/4/Attr/70" "0"
Option "ALL/1/General/Accel" "1"
Option "All/1/Port/4/General/EdidAvail" "0"
Option "All/1/Port/4/General/EdidNotAvail" "4"
Option "All/1/Port/4/FpInfo/Height" "600"
Option "All/1/Port/4/FpInfo/Width" "1024"
Option "All/1/Port/4/Dtd/1/PixelClock" "68880"
Option "All/1/Port/4/Dtd/1/HorzActive" "1024"
Option "All/1/Port/4/Dtd/1/HorzSync" "16"
Option "All/1/Port/4/Dtd/1/HorzSyncPulse" "64"
Option "All/1/Port/4/Dtd/1/HorzBlank" "120"
Option "All/1/Port/4/Dtd/1/VertActive" "600"
Option "All/1/Port/4/Dtd/1/VertSync" "2"
Option "All/1/Port/4/Dtd/1/VertSyncPulse" "4"
Option "All/1/Port/4/Dtd/1/VertBlank" "20"
Option "All/1/Port/4/Dtd/1/Flags" "0xc000000"
Option "All/1/Port/4/Attr/26" "18"
Option "All/1/Port/4/Attr/27" "0"
Option "All/1/Port/4/Attr/45" "1"
Option "All/1/Port/4/Attr/72" "1"
Option "All/1/Port/4/Attr/70" "100"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Intel_EMGD-0"
Monitor "LVDS"
SubSection "Display"
Depth 24
Modes "1024x600"
EndSubSection
EndSection
Section "Monitor"
Identifier "LVDS"
ModelName "LCD Panel used by EMGD"
EndSection
Section "DRI"
Mode 0666
EndSection
Section "Extensions"
Option "composite" "enable"
EndSection

ここまで。

これを書き換えて再起動するとUnityで立ち上がります。
(パラメーターの意味が分かってないので、ここは変えたほうが良いとかあれば教えてください。)

実は、上の書き換えはD4で手打ちで入力しました。Xが動いてないと無線LANも繋がらなかったので、ファイルをPCやネットから取ってくる方法が無くて・・・。

■補足
VideoRAMに64MB割り当ててますが、当初48MBにしたところ画面が崩れたのでメモリが足りないのかなと64MBに増やしています。
なので、grubで960mb(1024-64=960)と指定しています。(←必要か解りませんが・・・。)

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です

*

次のHTML タグと属性が使えます: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>