HP t5730にUbuntu8.04を入れてOpenElecみたいにする。
HP t5730にUbuntu8.04を入れてOpenElecみたいにする。
結局上手くいかなかった。ATI製のドライバがバグっぽいのが原因な気がする。
この辺の文章がムカつくというか、これさえ無ければOpenElecでもt5730サポートされたはずだ。まぁ将来がないとわかっただけでも、ヤル気になったので良かった、かな? そういう意味でYouTubeのコメントには感謝だ。
http://wiki.cchtml.com/index.php/Ubuntu_Lucid_Installation_Guide#Installing_Proprietary_Drivers_a.k.a._Catalyst.2Ffglrx
8GのUSBメモリにインストールした。
結果は出来た事は出来たが、ドライバの問題なのか画面がちらつく。
ATI製のドライバでもこんなものか?
CRYSTALHDのドライバは入れたけど、チラつきを解消しないと入れる意味がない。
基本的に最初のインストール以降は、Windowsからsshでログインして設定する。ubuntuのコンソールでは日本語が化ける。方法はあるがsshのほうが便利。
インストールの時点で普通に日本語が選べるので、インストールの時だけ、コンソールでも日本語表示。
と打てば自分のipアドレスが出るので、Windowsマシンからテラタームでログインして設定する。
ifcopnfig
複数窓OK。
最後の方の実際のビデオの設定はコンソールで入力する必要があるが、ほんのちょっと。
とりあえず英語がチャンポンだけど、導入方法。
FIRST STEP
Download and burn Ubuntu Hardy mini.iso
Ubuntu Hardy ってのが Ubuntu 8.04 を示している。
Hardy って見たら8.04の指定だと思うこと。
実際、8.04でも問題ないことが多い。
https://help.ubuntu.com/community/Installation/MinimalCD
32-bit PC (x86)
Ubuntu 8.04 "Hardy Heron" Minimal CD 9.8MB* (MD5: a2a3be51af1df5ba3524e764b65127b4) を選ぶ。
CDに焼いてt5730実機にインストール。
Now perform a default install.
please set "xbmc” for username and also for password when asked during the installation
When you have the option to choose from the optional components during the installation, check only "OpenSSH” to be able to access your HTPC remotely later via SSH.
During the installation select "OpenSSH server" as the only option if you want to have (secure) remote connections facilities.
Updating the computer
1. Log in to your new OS with the xbmc user.
2. Add the XBMC repositories to the sources list:
Code:
sudo vi /etc/apt/sources.list
3. Add the following to the bottom of the list:
Code:
deb http://ppa.launchpad.net/team-xbmc/ppa/ubuntu/ hardy main
deb-src http://ppa.launchpad.net/team-xbmc/ppa/ubuntu/ hardy main
deb http://ppa.launchpad.net/xbmc-addons/ppa/ubuntu/ hardy main
4. Add the OpenPGP keys:
Code:
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 91E7EE5E 318C7509
5. Update the lists:
Code:
sudo apt-get update
3 Install XBMC
The core XBMC application and its related dependencies can be installed by typing:
sudo apt-get install xbmc xorg
4.2 If using ATI/AMD; install ATI/AMD restricted drivers
Installing Proprietary Drivers a.k.a. Catalyst/fglrx
sudo apt-get install -y linux-headers-generic subversion make g++ gcc gawk pmount libtool nasm automake cmake gperf unzip bison libsdl1.2-dev libsdl-image1.2-dev libsdl-gfx1.2-dev libsdl-mixer1.2-dev libsdl-sound1.2-dev libsdl-stretch-dev libfribidi-dev liblzo-dev libfreetype6-dev libsqlite3-dev libogg-dev libasound-dev python-sqlite libglew-dev libcurl4-gnutls-dev x11proto-xinerama-dev libxinerama-dev libxrandr-dev libxrender-dev libmad0-dev libtre-dev libogg-dev libvorbis-dev libmysqlclient15-dev libpcre3-dev libdbus-1-dev libhal-dev libhal-storage-dev libjasper-dev libfontconfig-dev libbz2-dev libboost-dev libfaac-dev libenca-dev libxt-dev libxmu-dev libpng12-dev libjpeg-dev mesa-utils libcdio-dev wget zip curl hal build-essential linux-headers-`uname -r` xorg pm-utils cdbs fakeroot dh-make debhelper debconf libstdc++5 dkms
ubuntuのリポジリにあるATI用のドライバの場合。
メニュー画面はちらつかないが、動画の再生画面がおかしい。動画以外は大丈夫な模様。動画以外の機能が必要ならこれで十分。
sudo apt-get install linux-restricted-modules-generic
sudo apt-get install xorg-driver-fglrx
sudo depmod -a
sudo reboot
ATI製のビデオドライバインストール
xbmcのメニュー画面がちらついて非常に見にくいが、動画再生自体は結構まともに動く。でもこれも合格点は出せないなぁ。
9-1を入れる。
その後9-3を入れると動いたが、一日置くとやはりエラーが出たので、9-1に戻した。
dpkg の後には必ず再起動する事。ちゃんとドライバが入らない。
mkdir 9-1
cd 9-1wget http://www2.ati.com/drivers/linux/ati-driver-installer-9-1-x86.x86_64.run
sudo sh ati-driver-installer-9-1-x86.x86_64.run --buildpkg Ubuntu/hardy
sudo dpkg -i *.deb
sudo reboot
Generate a new /etc/X11/xorg.conf file
sudo aticonfig --initial -f
Test your installation
Reboot or fglrxinfo gives an error message. From a terminal window (minimal install must first start x-terminal with 'xinit'), type
xinit
fglrxinfo
t5730の場合は以下の様に出る
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Radeon X1200 Series
OpenGL version string: 1.4 (2.1.8395 Release)
into the terminal. If the vendor string contains ATI, you have installed the driver successfully.
Now, try:
fgl_glxgears
grep EE /var/log/Xorg.0.log
以上があればエラーを調べる。
ダメならビデオドライバインストールなどにもどる
6 Install XBMC-live and Test XBMC
sudo adduser xbmc --gecos XBMCsudo usermod --group adm,sudo,cdrom,floppy,audio,video,plugdev,netdev,powerdev,fuse,polkituser xbmc
sudo apt-get install xbmc-live
再起動で、最初からxbmcが起動する。
すごくメニュー画面がちらつく、ビデオ再生ではそうでもないので、メニューだけ我慢すれば使えるか?
動画の再生は、720Pぐらいの動画まで普通に再生できる。
これはt5730で今までの環境の中で一番高い能力。
チラつきをなくす方法を調べよう。
と思ったが、ビデオドライバによってフルインストールでも同じ現象なので、ビデオドライバのせいだと思う。
解決方法がわからない。
3.5.5 Install crystal HD driver and library
svn trunk and git trees might be unstable. So use the last tag from http://code.google.com/p/crystalhd-for-osx/ (it contains both osx and linux source code).
sudo apt-get install subversion autoconf
svn checkout http://crystalhd-for-osx.googlecode.com/svn/tags/crystalhd-for-osx-3.6.0
cd crystalhd-for-osx-3.6.0/crystalhd/linux_lib/libcrystalhd
make
sudo make install
cd ../../driver/linux
autoconf
./configure
make
sudo make install
sudo modprobe crystalhd
cd
crystal HDのドライバはこれで入った、再起動するとXBMCのシステムのビデオの設定に項目が増えて設定されている。
1080Pの動画も、何とか再生できる、というか入れてないときよりマシにはなってるが充分じゃない。
XBMC8.10は動いたのでなんでXBMC11は動かない?
というかxinit xbmcで動いてくれない?
という事で、xinitで出たターミナルでのxbmcとfglrxinfoの結果。
要するにOPEN GLのVerが1.4で古すぎるからダメって事なのか?
XBMC needs hardware accelerated OpenGL rendering.
Install an appropriate graphics driver.Please consult XBMC Wiki for supported hardware
http://wiki.xbmc.org/?title=Supported_hardware
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Radeon X1200 Series
OpenGL version string: 1.4 (2.1.8395 Release)
それなら、ATI製のドライバの意味はないな。
XBMC8.10でしか使えないということか?
でもGPUの再生支援もクリスタルHDも使ってくれないので、非常に遅いなぁ。XBMC10で行きたいんだけどな。
10.04のスリムインストールは何故かネットからダウンロードする最初の段階で失敗するから、試せないしな...