SSブログ

Raspberry Piで遊ぼう [No.11:Raspbian(wheezy)にXBMCをインストールしてみよう] [Raspberry Pi]


さて、今回はRaspbian(wheezy)にXBMCをインストールしてみたいと思います。
XBMCは無料のオープンソースメディアプレイヤーアプリケーションです。
XBMCはXBox Media Centerの略です。
XBMCを使うには、一般的にOpenELECやraspbmcなどのメディアセンターソフト専用にするディストリビューションを使います。
しかし、ここまでRaspbianの設定をしているので、Raspbianにインストールしてみました。
検索すると、XBMCをコンパイルしてインストールする方法がヒットしますが、今回は3rd party apt sourceを使いました。

さっそくはじめましょう。
まず、rootになります。
pi@raspberrypi ~ $ su -
パスワード:********


パッケージの登録をします。
root@raspberrypi:~# echo "deb http://archive.mene.za.net/raspbian wheezy contrib" > /etc/apt/sources.list.d/mene.list
root@raspberrypi:~# ls -l /etc/apt/sources.list.d/mene.list
-rw-r--r-- 1 root root 55  3月 31 18:51 /etc/apt/sources.list.d/mene.list
root@raspberrypi:~# cat /etc/apt/sources.list.d/mene.list
deb http://archive.mene.za.net/raspbian wheezy contrib



鍵の登録をします。
root@raspberrypi:~# apt-key adv --keyserver keyserver.ubuntu.com --recv-key 5243CDED
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.1gJD5LcTjq --trustdb-name /etc/apt//trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv-key 5243CDED
gpg: 鍵5243CDEDをhkpからサーバーkeyserver.ubuntu.comに要求
gpg: 鍵5243CDED: 公開鍵“Michael Gorven (Package Signing Key) ”を読み込みました
gpg:     処理数の合計: 1
gpg:           読込み: 1




パッケージリストのアップデートを実行します。
root@raspberrypi:~# apt-get update
取得:1 http://archive.raspberrypi.org wheezy Release.gpg [490 B]
取得:2 http://mirrordirector.raspbian.org wheezy Release.gpg [490 B]
取得:3 http://archive.raspberrypi.org wheezy Release [7,200 B]
取得:4 http://archive.mene.za.net wheezy Release.gpg [198 B]
取得:5 http://mirrordirector.raspbian.org wheezy Release [12.0 kB]
ヒット http://archive.raspberrypi.org wheezy/main armhf Packages
取得:6 http://archive.mene.za.net wheezy Release [1,631 B]
ヒット http://mirrordirector.raspbian.org wheezy/main armhf Packages
取得:7 http://archive.mene.za.net wheezy/contrib armhf Packages [7,833 B]
ヒット http://mirrordirector.raspbian.org wheezy/contrib armhf Packages
ヒット http://mirrordirector.raspbian.org wheezy/non-free armhf Packages
ヒット http://mirrordirector.raspbian.org wheezy/rpi armhf Packages
無視 http://archive.raspberrypi.org wheezy/main Translation-ja_JP
無視 http://archive.raspberrypi.org wheezy/main Translation-ja
無視 http://archive.raspberrypi.org wheezy/main Translation-en
無視 http://archive.mene.za.net wheezy/contrib Translation-ja_JP
無視 http://archive.mene.za.net wheezy/contrib Translation-ja
無視 http://archive.mene.za.net wheezy/contrib Translation-en
無視 http://mirrordirector.raspbian.org wheezy/contrib Translation-ja_JP
無視 http://mirrordirector.raspbian.org wheezy/contrib Translation-ja
無視 http://mirrordirector.raspbian.org wheezy/contrib Translation-en
無視 http://mirrordirector.raspbian.org wheezy/main Translation-ja_JP
無視 http://mirrordirector.raspbian.org wheezy/main Translation-ja
無視 http://mirrordirector.raspbian.org wheezy/main Translation-en
無視 http://mirrordirector.raspbian.org wheezy/non-free Translation-ja_JP
無視 http://mirrordirector.raspbian.org wheezy/non-free Translation-ja
無視 http://mirrordirector.raspbian.org wheezy/non-free Translation-en
無視 http://mirrordirector.raspbian.org wheezy/rpi Translation-ja_JP
無視 http://mirrordirector.raspbian.org wheezy/rpi Translation-ja
無視 http://mirrordirector.raspbian.org wheezy/rpi Translation-en
29.8 kB を 19秒 で取得しました (1,524 B/s)
パッケージリストを読み込んでいます... 完了



XBMCのインストールをします。
root@raspberrypi:~# apt-get install xbmc
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています
状態情報を読み取っています... 完了
以下のパッケージが自動でインストールされましたが、もう必要とされていません:
  libblas3gf liblapack3gf
これを削除するには 'apt-get autoremove' を利用してください。
以下の特別パッケージがインストールされます:
  fonts-liberation hdparm libass4 libcec2 libcurl3-gnutls libenca0 libfribidi0 libglew1.7 libglu1-mesa libhal-storage1 libhal1 liblockdev1 liblzo2-2 libmicrohttpd10 libmodplug1
  libmpeg2-4 libmysqlclient18 libnfs1 libpcrecpp0 libqt3-mt libshairport0 libssh-4 libtag1-vanilla libtag1c2a libtinyxml2.6.2 libupower-glib1 libvdpau1 libyajl2 mesa-utils mysql-common
  pm-utils powermgmt-base python-imaging python-qt3 python-sip ttf-liberation upower xbmc-bin
提案パッケージ:
  apmd glew-utils libqt3-mt-psql libqt3-mt-mysql libqt3-mt-odbc vdpau-driver cpufrequtils ethtool radeontool python-imaging-doc python-imaging-dbg python-qt3-gl python-qt3-doc
推奨パッケージ:
  vbetool
以下のパッケージが新たにインストールされます:
  fonts-liberation hdparm libass4 libcec2 libcurl3-gnutls libenca0 libfribidi0 libglew1.7 libglu1-mesa libhal-storage1 libhal1 liblockdev1 liblzo2-2 libmicrohttpd10 libmodplug1
  libmpeg2-4 libmysqlclient18 libnfs1 libpcrecpp0 libqt3-mt libshairport0 libssh-4 libtag1-vanilla libtag1c2a libtinyxml2.6.2 libupower-glib1 libvdpau1 libyajl2 mesa-utils mysql-common
  pm-utils powermgmt-base python-imaging python-qt3 python-sip ttf-liberation upower xbmc xbmc-bin
アップグレード: 0 個、新規インストール: 39 個、削除: 0 個、保留: 0 個。
46.1 MB のアーカイブを取得する必要があります。
この操作後に追加で 110 MB のディスク容量が消費されます。
続行しますか [Y/n]? Y
取得:1 http://archive.mene.za.net/raspbian/ wheezy/contrib libcec2 armhf 2.0.2-1 [185 kB]
取得:2 http://mirrordirector.raspbian.org/raspbian/ wheezy/main liblockdev1 armhf 1.0.3-1.5 [13.7 kB]
取得:3 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libcurl3-gnutls armhf 7.26.0-1+wheezy1 [306 kB]
取得:4 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libfribidi0 armhf 0.19.2-3 [35.6 kB]
取得:5 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libglu1-mesa armhf 8.0.5-4 [152 kB]
取得:6 http://archive.mene.za.net/raspbian/ wheezy/contrib libtag1-vanilla armhf 1.8.0-1 [273 kB]
取得:7 http://archive.mene.za.net/raspbian/ wheezy/contrib libtag1c2a armhf 1.8.0-1 [9,346 B]
取得:8 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libglew1.7 armhf 1.7.0-3 [154 kB]
取得:9 http://archive.mene.za.net/raspbian/ wheezy/contrib xbmc-bin armhf 2:12.0-1 [12.7 MB]
取得:10 http://mirrordirector.raspbian.org/raspbian/ wheezy/main liblzo2-2 armhf 2.06-1 [56.0 kB]
取得:11 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libmicrohttpd10 armhf 0.9.20-1 [49.5 kB]
取得:12 http://mirrordirector.raspbian.org/raspbian/ wheezy/main mysql-common all 5.5.28+dfsg-1 [89.1 kB]
取得:13 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libmysqlclient18 armhf 5.5.28+dfsg-1 [631 kB]
取得:14 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libnfs1 armhf 1.3.0-2 [39.9 kB]
取得:15 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libpcrecpp0 armhf 1:8.30-5 [124 kB]
取得:16 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libssh-4 armhf 0.5.4-1 [115 kB]
取得:17 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libvdpau1 armhf 0.4.1-7 [28.7 kB]
取得:18 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libenca0 armhf 1.13-4 [67.5 kB]
取得:19 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libass4 armhf 0.10.0-3 [56.8 kB]
取得:20 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libyajl2 armhf 2.0.4-2 [22.4 kB]
取得:21 http://mirrordirector.raspbian.org/raspbian/ wheezy/main fonts-liberation all 1.07.2-6 [1,323 kB]
取得:22 http://mirrordirector.raspbian.org/raspbian/ wheezy/main hdparm armhf 9.39-1 [114 kB]
取得:23 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libhal1 armhf 0.5.14-8 [98.8 kB]
取得:24 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libhal-storage1 armhf 0.5.14-8 [88.9 kB]
取得:25 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libmodplug1 armhf 1:0.8.8.4-3 [179 kB]
取得:26 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libmpeg2-4 armhf 0.4.1-3 [61.9 kB]
取得:27 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libqt3-mt armhf 3:3.3.8b-11 [2,963 kB]
取得:28 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libtinyxml2.6.2 armhf 2.6.2-1 [39.8 kB]
取得:29 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libupower-glib1 armhf 0.9.17-1 [30.9 kB]
取得:30 http://mirrordirector.raspbian.org/raspbian/ wheezy/main mesa-utils armhf 8.0.1-2 [28.5 kB]
取得:31 http://mirrordirector.raspbian.org/raspbian/ wheezy/main powermgmt-base armhf 1.31 [11.6 kB]
取得:32 http://mirrordirector.raspbian.org/raspbian/ wheezy/main pm-utils all 1.4.1-9 [128 kB]
取得:33 http://mirrordirector.raspbian.org/raspbian/ wheezy/main python-imaging armhf 1.1.7-4 [414 kB]
取得:34 http://mirrordirector.raspbian.org/raspbian/ wheezy/main python-sip armhf 4.13.3-2 [136 kB]
取得:35 http://mirrordirector.raspbian.org/raspbian/ wheezy/main python-qt3 armhf 3.18.1-5 [4,348 kB]
取得:36 http://mirrordirector.raspbian.org/raspbian/ wheezy/main upower armhf 0.9.17-1 [100 kB]
取得:37 http://mirrordirector.raspbian.org/raspbian/ wheezy/main ttf-liberation all 1.07.2-6 [9,284 B]
取得:38 http://archive.mene.za.net/raspbian/ wheezy/contrib xbmc all 2:12.0-1 [20.9 MB]
取得:39 http://archive.mene.za.net/raspbian/ wheezy/contrib libshairport0 armhf 1:1.2.0.20310-6 [26.2 kB]
46.1 MB を 1分 25秒 で取得しました (541 kB/s)
パッケージからテンプレートを展開しています: 100%
以前に未選択のパッケージ liblockdev1 を選択しています。
(データベースを読み込んでいます ... 現在 61702 個のファイルとディレクトリがインストールされています。)
(.../liblockdev1_1.0.3-1.5_armhf.deb から) liblockdev1 を展開しています...
以前に未選択のパッケージ libcec2:armhf を選択しています。
(.../libcec2_2.0.2-1_armhf.deb から) libcec2:armhf を展開しています...
以前に未選択のパッケージ libcurl3-gnutls:armhf を選択しています。
(.../libcurl3-gnutls_7.26.0-1+wheezy1_armhf.deb から) libcurl3-gnutls:armhf を展開しています...
以前に未選択のパッケージ libfribidi0:armhf を選択しています。
(.../libfribidi0_0.19.2-3_armhf.deb から) libfribidi0:armhf を展開しています...
以前に未選択のパッケージ libglu1-mesa:armhf を選択しています。
(.../libglu1-mesa_8.0.5-4_armhf.deb から) libglu1-mesa:armhf を展開しています...
以前に未選択のパッケージ libglew1.7:armhf を選択しています。
(.../libglew1.7_1.7.0-3_armhf.deb から) libglew1.7:armhf を展開しています...
以前に未選択のパッケージ liblzo2-2:armhf を選択しています。
(.../liblzo2-2_2.06-1_armhf.deb から) liblzo2-2:armhf を展開しています...
以前に未選択のパッケージ libmicrohttpd10 を選択しています。
(.../libmicrohttpd10_0.9.20-1_armhf.deb から) libmicrohttpd10 を展開しています...
以前に未選択のパッケージ mysql-common を選択しています。
(.../mysql-common_5.5.28+dfsg-1_all.deb から) mysql-common を展開しています...
以前に未選択のパッケージ libmysqlclient18:armhf を選択しています。
(.../libmysqlclient18_5.5.28+dfsg-1_armhf.deb から) libmysqlclient18:armhf を展開しています...
以前に未選択のパッケージ libnfs1:armhf を選択しています。
(.../libnfs1_1.3.0-2_armhf.deb から) libnfs1:armhf を展開しています...
以前に未選択のパッケージ libpcrecpp0:armhf を選択しています。
(.../libpcrecpp0_1%3a8.30-5_armhf.deb から) libpcrecpp0:armhf を展開しています...
以前に未選択のパッケージ libssh-4:armhf を選択しています。
(.../libssh-4_0.5.4-1_armhf.deb から) libssh-4:armhf を展開しています...
以前に未選択のパッケージ libtag1-vanilla:armhf を選択しています。
(.../libtag1-vanilla_1.8.0-1_armhf.deb から) libtag1-vanilla:armhf を展開しています...
以前に未選択のパッケージ libvdpau1:armhf を選択しています。
(.../libvdpau1_0.4.1-7_armhf.deb から) libvdpau1:armhf を展開しています...
以前に未選択のパッケージ libenca0 を選択しています。
(.../libenca0_1.13-4_armhf.deb から) libenca0 を展開しています...
以前に未選択のパッケージ libass4:armhf を選択しています。
(.../libass4_0.10.0-3_armhf.deb から) libass4:armhf を展開しています...
以前に未選択のパッケージ libyajl2 を選択しています。
(.../libyajl2_2.0.4-2_armhf.deb から) libyajl2 を展開しています...
以前に未選択のパッケージ fonts-liberation を選択しています。
(.../fonts-liberation_1.07.2-6_all.deb から) fonts-liberation を展開しています...
以前に未選択のパッケージ hdparm を選択しています。
(.../hdparm_9.39-1_armhf.deb から) hdparm を展開しています...
以前に未選択のパッケージ libhal1 を選択しています。
(.../libhal1_0.5.14-8_armhf.deb から) libhal1 を展開しています...
以前に未選択のパッケージ libhal-storage1 を選択しています。
(.../libhal-storage1_0.5.14-8_armhf.deb から) libhal-storage1 を展開しています...
以前に未選択のパッケージ libmodplug1 を選択しています。
(.../libmodplug1_1%3a0.8.8.4-3_armhf.deb から) libmodplug1 を展開しています...
以前に未選択のパッケージ libmpeg2-4 を選択しています。
(.../libmpeg2-4_0.4.1-3_armhf.deb から) libmpeg2-4 を展開しています...
以前に未選択のパッケージ libqt3-mt を選択しています。
(.../libqt3-mt_3%3a3.3.8b-11_armhf.deb から) libqt3-mt を展開しています...
以前に未選択のパッケージ libtag1c2a:armhf を選択しています。
(.../libtag1c2a_1.8.0-1_armhf.deb から) libtag1c2a:armhf を展開しています...
以前に未選択のパッケージ libtinyxml2.6.2 を選択しています。
(.../libtinyxml2.6.2_2.6.2-1_armhf.deb から) libtinyxml2.6.2 を展開しています...
以前に未選択のパッケージ libupower-glib1 を選択しています。
(.../libupower-glib1_0.9.17-1_armhf.deb から) libupower-glib1 を展開しています...
以前に未選択のパッケージ mesa-utils を選択しています。
(.../mesa-utils_8.0.1-2_armhf.deb から) mesa-utils を展開しています...
以前に未選択のパッケージ powermgmt-base を選択しています。
(.../powermgmt-base_1.31_armhf.deb から) powermgmt-base を展開しています...
以前に未選択のパッケージ pm-utils を選択しています。
(.../pm-utils_1.4.1-9_all.deb から) pm-utils を展開しています...
以前に未選択のパッケージ python-imaging を選択しています。
(.../python-imaging_1.1.7-4_armhf.deb から) python-imaging を展開しています...
以前に未選択のパッケージ python-sip を選択しています。
(.../python-sip_4.13.3-2_armhf.deb から) python-sip を展開しています...
以前に未選択のパッケージ python-qt3 を選択しています。
(.../python-qt3_3.18.1-5_armhf.deb から) python-qt3 を展開しています...
以前に未選択のパッケージ upower を選択しています。
(.../upower_0.9.17-1_armhf.deb から) upower を展開しています...
以前に未選択のパッケージ xbmc-bin を選択しています。
(.../xbmc-bin_2%3a12.0-1_armhf.deb から) xbmc-bin を展開しています...
以前に未選択のパッケージ ttf-liberation を選択しています。
(.../ttf-liberation_1.07.2-6_all.deb から) ttf-liberation を展開しています...
以前に未選択のパッケージ xbmc を選択しています。
(.../xbmc_2%3a12.0-1_all.deb から) xbmc を展開しています...
以前に未選択のパッケージ libshairport0 を選択しています。
(.../libshairport0_1%3a1.2.0.20310-6_armhf.deb から) libshairport0 を展開しています...
fontconfig のトリガを処理しています ...
man-db のトリガを処理しています ...
menu のトリガを処理しています ...
hicolor-icon-theme のトリガを処理しています ...
desktop-file-utils のトリガを処理しています ...
liblockdev1 (1.0.3-1.5) を設定しています ...
libcec2:armhf (2.0.2-1) を設定しています ...
libcurl3-gnutls:armhf (7.26.0-1+wheezy1) を設定しています ...
libfribidi0:armhf (0.19.2-3) を設定しています ...
libglu1-mesa:armhf (8.0.5-4) を設定しています ...
libglew1.7:armhf (1.7.0-3) を設定しています ...
liblzo2-2:armhf (2.06-1) を設定しています ...
libmicrohttpd10 (0.9.20-1) を設定しています ...
mysql-common (5.5.28+dfsg-1) を設定しています ...
libmysqlclient18:armhf (5.5.28+dfsg-1) を設定しています ...
libnfs1:armhf (1.3.0-2) を設定しています ...
libpcrecpp0:armhf (1:8.30-5) を設定しています ...
libssh-4:armhf (0.5.4-1) を設定しています ...
libtag1-vanilla:armhf (1.8.0-1) を設定しています ...
libvdpau1:armhf (0.4.1-7) を設定しています ...
libenca0 (1.13-4) を設定しています ...
libass4:armhf (0.10.0-3) を設定しています ...
libyajl2 (2.0.4-2) を設定しています ...
fonts-liberation (1.07.2-6) を設定しています ...
hdparm (9.39-1) を設定しています ...
libhal1 (0.5.14-8) を設定しています ...
libhal-storage1 (0.5.14-8) を設定しています ...
libmodplug1 (1:0.8.8.4-3) を設定しています ...
libmpeg2-4 (0.4.1-3) を設定しています ...
libqt3-mt (3:3.3.8b-11) を設定しています ...
libtag1c2a:armhf (1.8.0-1) を設定しています ...
libtinyxml2.6.2 (2.6.2-1) を設定しています ...
libupower-glib1 (0.9.17-1) を設定しています ...
mesa-utils (8.0.1-2) を設定しています ...
powermgmt-base (1.31) を設定しています ...
/run/udev or .udevdb or .udev presence implies active udev.  Aborting MAKEDEV invocation.
pm-utils (1.4.1-9) を設定しています ...
python-imaging (1.1.7-4) を設定しています ...
python-sip (4.13.3-2) を設定しています ...
python-qt3 (3.18.1-5) を設定しています ...
upower (0.9.17-1) を設定しています ...
xbmc-bin (2:12.0-1) を設定しています ...
ttf-liberation (1.07.2-6) を設定しています ...
xbmc (2:12.0-1) を設定しています ...
libshairport0 (1:1.2.0.20310-6) を設定しています ...
python-support のトリガを処理しています ...
menu のトリガを処理しています ...



rootを抜けます。
root@raspberrypi:~# exit


さぁ、起動です。
pi@raspberrypi ~ $ clear;/usr/lib/xbmc/xbmc.bin


どうですか? こんな画面が表示できましたか?
rp11-01.png

[No.1:Raspberry Piが届いた]はこちらです。
[No.2:ブートイメージSDカードを作ろう]はこちらです。
[No.3:初期設定をしよう]はこちらです。
[No.4:環境設定をしよう]はこちらです。
[No.5:VNC接続をしよう]はこちらです。
[No.6:無線LANを接続しよう]はこちらです。
[No.7:ファイル共有サーバを作ろう]はこちらです。
[No.8:動画ファイル(mp4)を再生してみよう]はこちらです。
[No.9:音楽ファイル(mp3)を再生してみよう]はこちらです。
[No.10:firefox(iceweasel)をインストールしてみよう]はこちらです。

次回もお楽しみに!!

nice!(1)  コメント(10)  トラックバック(0) 
共通テーマ:パソコン・インターネット

nice! 1

コメント 10

Yoshibay

XMBCでMOVやMP4の再生ができました!!
でも、EXITで抜けたあと、画面がブラックアウトしてしまいます。
by Yoshibay (2013-07-06 18:47) 

assimane

Yoshibayさん、コメントありがとうございます。
XBMCの画面でEXITするとブラックアウトするのですね。そのようになった覚えは無いのですが、確かめてみます。
by assimane (2013-07-06 19:01) 

ukki

私も同じようにブラックアウトしてしまいます。
死んではいないようなので、sshでWindowsからログインし、startxを起動すると復帰しました。
startx上にさらにstartxが起動している状態なので復帰したあとは不要なstartxをログアウトすれば、元の状態には戻りますが、根本的な原因は分からず・・・・

こちらのサイトは非常に役にたっています。ありがとうございます。
by ukki (2013-08-22 21:58) 

assimane

あぁぁぁ、忘れていました。
ごめんなさい。
週末確認してみます。

by assimane (2013-08-22 23:48) 

ukki

その後、いろいろ試していて分かったことがあります。この現象がおきるのはHDMI接続の場合でした。
コンポジット接続の場合は問題ありませんでした。さすがに画質がわるいので使いませんが・・・・・

根本的な解決方法は結局わかっていませんが、今のところ以下の方法で逃げています。
・x-windowを起動しないようにしておく
・コンソールからxbmcを起動
・xbmcの終了でブラックアウト
・コンソールは生きているので画面は見えないままstartxを打ち込んでwindowを起動。これで画面は復帰w

根本的な解決方法がわかりましたら、また追記します。

アシマネさんのほうで、なにか思い当たる節がありましたら、教えて下さい。
by ukki (2013-08-23 20:22) 

assimane

ukkiさん、状況ありがとうございます。
週末にやってみます。
いい返事が返せるといいですが。

by assimane (2013-08-23 21:38) 

assimane

確かにブラックアウトしました。
現在はアシマネの環境は、raspberry piを起動すると、Xは起動させず、raspberrypi login:のプロンプトが表示されます。
ここで、Teratermでssh接続し、xbmcを起動します。
終了はリモコンで行います。この時点でブラックアウトします。
Teratermからomxplayerを起動します。
pi@raspberrypi ~ $ omxplayer
Usage: omxplayer [OPTIONS] [FILE]
:(HELPが表示されるだけ)
ブラックアウトした画面が元に戻ります。

by assimane (2013-08-24 11:17) 

ukki

確認ありがとうございます。
当方もomxplayerで復帰すること確認しました。

その後、もう少しスマートな方法がないかいろいろ試しみました。
やはりモニタが切れるのは気持ちわるいのでw

で、よい方法をみつけました。
・Xは起動する設定にしておきます。
・Xからログアウトします。
・ログイン画面の左下のコンボからXBMCを選択してログインします
・XBMCを終了してもブラックアウトしないでログイン画面に戻れます

しばらくはこの運用で様子をみてみます。

それと他のサイトでみた情報なのですが、
XBMCの設定は
システム→設定→システム→ビデオ出力→Vertical Blank の同期方法を「常に有効」
にしておくと、何もしていない状態でも
vmstatで確認したときの負荷が無効の場合は60%程度ですが、有効にしておくと20%程度になりました。
XBMCのシステム情報で確認した場合はどちらの場合でも90%越えにはなっていましたが・・・・
どのような設定内容なのかはわかりませんが、多分CPUには優しいのではないかと思います。

VNCで何でもすませようと思いましたが、XBMCの画面は表示されないで常にXの画面表示でした;;

昨日mpeg-2のコーデックの設定も終わりかなり快適に再生されるようになりました。ライセンスがメールで2回届いたので、2重に請求されないかどうかだけ不安ですが・・・・
Raspberry Pi Storeでのライセンス購入で入力方法が英語だったので以下のサイトが役にたちました。
購入を検討されている方の参考までに
http://topick.jp/goods/raspberry-pi-order/

現在こちらのサイトのおかげでsamba,XBMC,VNCまで利用出来るようになりました。

有益な情報ありがとうございます。
今回はじめてlinuxを本格的?に使いましたが、ssh便利すぎるw
sambaの設定意外と簡単(こちらのサイトのおかげですが)
windowsの環境に染まってしまっているので、エディタのviは厳しい;;
nanoで逃げましたw
by ukki (2013-08-24 14:32) 

藤井

xrefresh で画面が再表示されますよ。
by 藤井 (2015-03-21 21:50) 

assimane

藤井さん、コメントありがとうございます。
by assimane (2015-03-21 22:09) 

コメントを書く

お名前:
URL:
コメント:
画像認証:
下の画像に表示されている文字を入力してください。

※ブログオーナーが承認したコメントのみ表示されます。

Facebook コメント

トラックバック 0

この広告は前回の更新から一定期間経過したブログに表示されています。更新すると自動で解除されます。