Google Earth for Linux

Google EarthLinux版がでたのでさっそく試してみることに。
と、その前に

$ glxinfo
ERROR!  sizeof(I830DRIRec) does not match passed size from device driver
libGL warning: 3D driver returned no fbconfigs.
libGL error: InitDriver failed
libGL error: reverting to (slow) indirect rendering
display: :0  screen: 0
direct rendering: No
(略)

direct renderingを使えるようにしないと…ちなみにVideoチップはi915。


ググってるとそのものズバリを発見。
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=359328
ここにあるとおり
http://dri.freedesktop.org/snapshots/i915-20060403-linux.i386.tar.bz2
を取ってきてコンパイル
できたi810_drv.so、i915_dri.soをそれぞれ/usr/lib/xorg/modules/drivers、/usr/lib/dri/にコピーしてX再起動。

$ glxinfo
name of display: :0.0
libGL warning: 3D driver claims to not support visual 0x23
libGL warning: 3D driver claims to not support visual 0x25
libGL warning: 3D driver claims to not support visual 0x27
libGL warning: 3D driver claims to not support visual 0x29
libGL warning: 3D driver claims to not support visual 0x2b
libGL warning: 3D driver claims to not support visual 0x2d
libGL warning: 3D driver claims to not support visual 0x2f
libGL warning: 3D driver claims to not support visual 0x31
display: :0  screen: 0
direct rendering: Yes
(略)

無事direct renderingが有効に。
なんか警告がでてるけど後で調べることにして先に進む。


あとはhttp://earth.google.com/download-earth.htmlからLinux版のGoogle EarthをDLして実行、インストール。
無事Google Earthが立ち上がりました。

表示しているのは北朝鮮某所。