limaunion
Posts: 18
Joined: Sun Mar 11, 2012 1:49 pm

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Wed Aug 15, 2012 6:59 pm

Hi! I just wanted to thank Tomaz for his hard work making possible to use xbmc under raspbian, it's really amazing. Keep up your hard work! (updating it whenever possible).
LU

smonkey
Posts: 37
Joined: Wed Aug 15, 2012 8:44 pm

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Wed Aug 15, 2012 8:53 pm

Another thanks from me :)

Have there been any updates recently? I've been playing around with the version from a few weeks ago and it's great!

Mertz
Posts: 10
Joined: Wed Jun 06, 2012 1:50 am
Location: Moscow, Russia
Contact: ICQ Website

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Thu Aug 16, 2012 9:42 am

tomaz wrote:Hi Mertz,
maybe XBMC doesn't support MPEG-2 ?
Tomaz.
Mertz wrote:Hello! Thank you for your excellent work, but I do when receiving channels of MPEG-2 from Tvheadend, only sound no picture. MPEG-4 channels, including HD, works fine. Who knows how to fix this problem?
Hi tomaz! XBMC works fine with MPEG-2 on Ubuntu 12_04_LTS.
I think the problem is that the Broadcom chip in the Raspberry-PI supports MPEG-4 only. Excellent play movies *. Mkv, but do not open *. Wmv and *. Mov in HD on Raspi

dysplaced
Posts: 3
Joined: Thu Aug 16, 2012 12:05 pm

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Thu Aug 16, 2012 12:11 pm

I'm also a user of this image, great work!

However, I have a problem with CPU usage when XBMC is idle: It is around 80%-90% and interferes, for example, with my samba server (only half of the transfer rate when XBMC runs). I have already disabled the RSS feed and made sure that dirty regions are active - is there anything else I am missing? And do others have this problem as well?

r0nnie
Posts: 49
Joined: Fri Aug 03, 2012 1:53 am

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Thu Aug 16, 2012 6:56 pm

hello im using this deb but im trying to edit the automount letter and type

at the moment i have to ssh from laptop and type sudo mount -t hfsplus -o rw,users /dev/sda /mnt/xbmc1

ive tried editing /usr/bin/xbmc but not sure what else is missing cause its still not automounting

Code: Select all

#!/bin/sh
#idea of payneardo on http://www.raspberrypi.org/phpBB3/viewtopic.php?f=66&t=10$
#idea of tomaz, try to mount sda1 and sdb1 devices
#if you want to mount something else you can simply chang variable usb1 or usb2$
usb1="/dev/sda"
usb2="/dev/sdb"
if [ -e ~/.automountUSBforXBMC ]
then
 echo "Trying to mount $usb1 and $usb2"
  if  [ ! -d /mnt/xbmc1 ] ; then
     sudo mkdir /mnt/xbmc1 >/dev/null 2>&1
  fi
  if  [ ! -d /mnt/xbmc2 ] ; then
     sudo mkdir /mnt/xbmc2 >/dev/null 2>&1
  fi
 sudo mount hfsplus $usb1 /mnt/xbmc1 >/dev/null 2>&1
 sudo mount hfsplus $usb2 /mnt/xbmc2 >/dev/null 2>&1
fi
mode=`fbset|grep "mode "|sed -e "s/.*\"\(.*\)\"/\1/"`
ps=$PS1
export PS1=''
setterm -cursor off
clear ; sudo /usr/lib/xbmc/xbmc.bin
export PS1=$ps
setterm -cursor on
xres=`echo $mode|sed -e "s/x.*//"`
yres=`echo $mode|sed -e "s/.*x\([0-9]*\)-\?.*/\1/"`
fbset -fb /dev/fb0 -xres $xres -yres $yres
sudo chvt 2
sudo chvt 1
if [ -e ~/.autoumountUSBforXBMC ]
then
 echo "Trying to unmount /mnt/xbmc1($usb1) and /mnt/xmbc2($usb2)"
 sudo umount /mnt/xbmc1 >/dev/null 2>&1
 sudo umount /mnt/xbmc2 >/dev/null 2>&1
fi

thanks

tomaz
Posts: 38
Joined: Thu Jul 12, 2012 9:08 am

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Thu Aug 16, 2012 11:24 pm

Hi r0nnie,

if it works like you wrote:
mount -t hfsplus -o rw,users /dev/sda /mnt/xbmc1

than change line:
sudo mount hfsplus $usb1 /mnt/xbmc1 >/dev/null 2>&1
to:
sudo mount -t hfsplus -o rw,users $usb1 /mnt/xbmc1 >/dev/null 2>&1

Or use automounting as chochis has explained here.

Tomaz.
r0nnie wrote:hello im using this deb but im trying to edit the automount letter and type

at the moment i have to ssh from laptop and type sudo mount -t hfsplus -o rw,users /dev/sda /mnt/xbmc1

ive tried editing /usr/bin/xbmc but not sure what else is missing cause its still not automounting
...

thanks

r0nnie
Posts: 49
Joined: Fri Aug 03, 2012 1:53 am

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Fri Aug 17, 2012 1:48 am

tomaz wrote:Hi r0nnie,

if it works like you wrote:
mount -t hfsplus -o rw,users /dev/sda /mnt/xbmc1

than change line:
sudo mount hfsplus $usb1 /mnt/xbmc1 >/dev/null 2>&1
to:
sudo mount -t hfsplus -o rw,users $usb1 /mnt/xbmc1 >/dev/null 2>&1

Or use automounting as chochis has explained here.

Tomaz.
hello thanks for pointing that post out, at first i thought it was gonna be super hard but it was really easy!

just followed the list, didnt need to edit nothing !

thanks

gabello
Posts: 51
Joined: Sun Aug 05, 2012 8:02 pm

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Sat Aug 18, 2012 1:00 pm

Tomaz, thanks so much for the hard work on this project.

I have only one minor issue with the xbmc installation. Sometimes when the movie is not the same resolution as the monitor, when it starts playing I see the background (lxde) desktop for some time (a few minutes) and after that the space turns to black (as expected). Note that in the mean time the subtitles appear on the are where I see the desktop, so it is not like xbmc player is opened in a window or smth.

tomaz
Posts: 38
Joined: Thu Jul 12, 2012 9:08 am

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Sun Aug 19, 2012 2:08 pm

Hi gabello,

can you check with "ps", if you are running X?
or
are you running xbmc from X ? (I don't, know if this XBMC is working if you start it from X)

Tomaz.
gabello wrote:Tomaz, thanks so much for the hard work on this project.

I have only one minor issue with the xbmc installation. Sometimes when the movie is not the same resolution as the monitor, when it starts playing I see the background (lxde) desktop for some time (a few minutes) and after that the space turns to black (as expected). Note that in the mean time the subtitles appear on the are where I see the desktop, so it is not like xbmc player is opened in a window or smth.

gabello
Posts: 51
Joined: Sun Aug 05, 2012 8:02 pm

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Sun Aug 19, 2012 7:01 pm

I'm connecting over ssh and start xmbc remotely. As for X

Code: Select all

[email protected] ~ $ ps aux | grep X
root      1547  0.7 10.5  48484 13056 tty7     Ss+  21:54   0:02 /usr/bin/X :0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch

tomaz
Posts: 38
Joined: Thu Jul 12, 2012 9:08 am

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Tue Aug 21, 2012 1:05 am

Hi gabello,
you don't need X for XMBC to work. Or you need X for something else?

Tomaz.
gabello wrote:I'm connecting over ssh and start xmbc remotely. As for X

Code: Select all

[email protected] ~ $ ps aux | grep X
root      1547  0.7 10.5  48484 13056 tty7     Ss+  21:54   0:02 /usr/bin/X :0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch

dante6913
Posts: 15
Joined: Sat May 19, 2012 2:45 pm

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Tue Aug 21, 2012 12:23 pm

Hi Tomaz, first i would like to thank you four your work, but i have a question, are thinking to update yor deb pakages, with new builds?

Mertz
Posts: 10
Joined: Wed Jun 06, 2012 1:50 am
Location: Moscow, Russia
Contact: ICQ Website

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Wed Aug 22, 2012 8:09 pm

Hi! Maybe someone is interested, especially lazy :), I suggest to download the image Raspberri Pi, including xbmc by Tomaz
http link: http://www.letayka.tv/2012-08-16-wheezy ... -tomaz.rar
Everything fine works us Plug-N-Play on the SD 2GB. Set time zone GMT +4 (Moscow). Can be changed via sudo raspi-config

JollyRoger
Posts: 154
Joined: Wed Feb 01, 2012 9:48 am

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Fri Aug 24, 2012 8:34 am

Thanks Mertz. I've downloaded and unpacked Tomaz's .rar file. I must say his version of XBMC seems to work pretty well - thanks Tomaz. My question is, there are a number of files besides the .img file included in the .rar (e.g. libgcc_s_dw2-1.dll). Do I need to do anything with these other files? So far I've ignored them and simply written the .img to an sd card which I've then successfully used on my Pi.

Mertz
Posts: 10
Joined: Wed Jun 06, 2012 1:50 am
Location: Moscow, Russia
Contact: ICQ Website

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Fri Aug 24, 2012 8:47 am

JollyRoger wrote:Thanks Mertz. I've downloaded and unpacked Tomaz's .rar file. I must say his version of XBMC seems to work pretty well - thanks Tomaz. My question is, there are a number of files besides the .img file included in the .rar (e.g. libgcc_s_dw2-1.dll). Do I need to do anything with these other files? So far I've ignored them and simply written the .img to an sd card which I've then successfully used on my Pi.
Hi JollyRoger! All files, except the image is intended to record the SD in Windows, I wrote earlier that this is for the lazy and do not have something to look elsewhere ... :) Maybe someone has some pieces Raspberry, then you can clone OS. After recording the image, go start raspi-config and run the "Expand root patition to fill SD card"
Sorry for my English
Last edited by Mertz on Fri Aug 24, 2012 9:12 am, edited 1 time in total.

alias_neo
Posts: 108
Joined: Fri Jul 29, 2011 8:55 am
Location: London, England
Contact: Website

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Fri Aug 24, 2012 9:10 am

Hi, nice work.

Quick question, did you compile this with CEC support?

I was running Raspbmc and OpenELEC which both support CEC so I could control them from my TV remote, but I wanted Raspbian, so when I switched I found an XBMC package elsewhere on the forum but it doesn't support CEC.

I really don't want to have to try compile this myself, it takes 12+ hours I believe on the Pi.
http://2byt.es - Just my two bytes - RPi - Android - Arduino - Blog

Mertz
Posts: 10
Joined: Wed Jun 06, 2012 1:50 am
Location: Moscow, Russia
Contact: ICQ Website

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Fri Aug 24, 2012 9:46 am

alias_neo wrote:Hi, nice work.
Quick question, did you compile this with CEC support?
I was running Raspbmc and OpenELEC which both support CEC so I could control them from my TV remote, but I wanted Raspbian, so when I switched I found an XBMC package elsewhere on the forum but it doesn't support CEC. I really don't want to have to try compile this myself, it takes 12+ hours I believe on the Pi.
Hi! I have no control. Maybe you forgot to include support for CEC in XBMC?
Go to System = Settings = System = Input devices = Remote control sends keyboard presses = ON

alias_neo
Posts: 108
Joined: Fri Jul 29, 2011 8:55 am
Location: London, England
Contact: Website

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Fri Aug 24, 2012 10:38 am

Mertz wrote:
alias_neo wrote:Hi, nice work.
Quick question, did you compile this with CEC support?
I was running Raspbmc and OpenELEC which both support CEC so I could control them from my TV remote, but I wanted Raspbian, so when I switched I found an XBMC package elsewhere on the forum but it doesn't support CEC. I really don't want to have to try compile this myself, it takes 12+ hours I believe on the Pi.
Hi! I have no control. Maybe you forgot to include support for CEC in XBMC?
Go to System = Settings = System = Input devices = Remote control sends keyboard presses = ON
Actually, I don't think this will help, when compiled with CEC support, XBMC detects the TV on start and shows a toast at the bottom. I manually compiled and installed libcec but still no joy since XBMC is compiled without support for it, I haven't tried this version here yet, but unless Tomaz explicitly enabled it, the instructions he followed default to building without it.
http://2byt.es - Just my two bytes - RPi - Android - Arduino - Blog

tomaz
Posts: 38
Joined: Thu Jul 12, 2012 9:08 am

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Fri Aug 24, 2012 11:17 am

Hi,

I don't know about CEC. I have followed this LINK to compile XBMC.

dante6913 you can upgrade it of course. If you prepare new .deb I will put it on github or even better I will give you write access to this github.

Now I'm working on internet wifi radio for Raspberrypi and rarely use XBMC...

Mertz nice :)


Tomaz.

JollyRoger
Posts: 154
Joined: Wed Feb 01, 2012 9:48 am

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Sat Aug 25, 2012 7:58 am

Thanks Tomaz, your XBMC works really well, and it's great to have both XBMC and the LXDE desktop on the same SD card. Really useful.

One slight problem I have with this LXDE desktop: it asks me for a password when I use the file manager to mount a USB drive, and it asks me for a password when I try to shutdown or reboot (and then the dialog box disappears before I can enter one). The only way to shut down or reboot is from the command line. My previous Raspbian LXDE desktop didn't behave like this, and I don't know why it's happening now. Does anyone know how I can stop it asking for a password?

Thanks in advance for any suggestions.

gabello
Posts: 51
Joined: Sun Aug 05, 2012 8:02 pm

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Tue Aug 28, 2012 12:56 am

Hi, I manged to break the xbmc install (i did a apt-get upgrade as well as installed/removed a few packages). Now, when I try to run xbmc I get:

/usr/lib/xbmc/xbmc.bin: error while loading shared libraries: libEGL.so: cannot open shared object file: No such file or directory


Code: Select all

[email protected] ~ $ sudo find / | grep libEGL.so
/root/.rpi-firmware/vc/hardfp/opt/vc/lib/libEGL.so
/root/.rpi-firmware/vc/softfp/opt/vc/lib/libEGL.so
/opt/vc/lib/libEGL.so
I tried reinstalling, but I get the same error.

Code: Select all

[email protected] /usr/lib/xbmc $ ldd xbmc.bin | grep "not found"
	libEGL.so => not found
	libGLESv2.so => not found
	libbcm_host.so => not found
	libvcos.so => not found
	libvchiq_arm.so => not found

alias_neo
Posts: 108
Joined: Fri Jul 29, 2011 8:55 am
Location: London, England
Contact: Website

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Tue Aug 28, 2012 6:06 am

gabello wrote:Hi, I manged to break the xbmc install (i did a apt-get upgrade as well as installed/removed a few packages). Now, when I try to run xbmc I get:

/usr/lib/xbmc/xbmc.bin: error while loading shared libraries: libEGL.so: cannot open shared object file: No such file or directory


Code: Select all

[email protected] ~ $ sudo find / | grep libEGL.so
/root/.rpi-firmware/vc/hardfp/opt/vc/lib/libEGL.so
/root/.rpi-firmware/vc/softfp/opt/vc/lib/libEGL.so
/opt/vc/lib/libEGL.so
I tried reinstalling, but I get the same error.

Code: Select all

[email protected] /usr/lib/xbmc $ ldd xbmc.bin | grep "not found"
	libEGL.so => not found
	libGLESv2.so => not found
	libbcm_host.so => not found
	libvcos.so => not found
	libvchiq_arm.so => not found
Make the symlinks again, that will fix it. Just copy paste them all into a terminal, might have to hit enter on the last one.
http://2byt.es - Just my two bytes - RPi - Android - Arduino - Blog

gabello
Posts: 51
Joined: Sun Aug 05, 2012 8:02 pm

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Tue Aug 28, 2012 6:36 am

I'm sorry,but to which libraries should I create the symslinks to? I see that the files are diffrent:

Code: Select all

[email protected]:/opt/vc/lib# ls -ltra /root/.rpi-firmware/vc/softfp/opt/vc/lib/libEGL.so
-rw-r--r-- 1 root root 205336 Aug 18 13:43 /root/.rpi-firmware/vc/softfp/opt/vc/lib/libEGL.so

[email protected]:/opt/vc/lib# ls -ltra /opt/vc/lib/libEGL.so
-rw-r--r-- 1 root root 205372 Aug 22 02:39 /opt/vc/lib/libEGL.so
Also I'm not sure how exactlly to create the symlinks.

alias_neo
Posts: 108
Joined: Fri Jul 29, 2011 8:55 am
Location: London, England
Contact: Website

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Tue Aug 28, 2012 6:41 am

gabello wrote:I'm sorry,but to which libraries should I create the symslinks to? I see that the files are diffrent:

Code: Select all

[email protected]:/opt/vc/lib# ls -ltra /root/.rpi-firmware/vc/softfp/opt/vc/lib/libEGL.so
-rw-r--r-- 1 root root 205336 Aug 18 13:43 /root/.rpi-firmware/vc/softfp/opt/vc/lib/libEGL.so

[email protected]:/opt/vc/lib# ls -ltra /opt/vc/lib/libEGL.so
-rw-r--r-- 1 root root 205372 Aug 22 02:39 /opt/vc/lib/libEGL.so
Also I'm not sure how exactlly to create the symlinks.
They're in the the wiki. Give me a half hour to get to work and I'll paste them here.
http://2byt.es - Just my two bytes - RPi - Android - Arduino - Blog

sammybarlow
Posts: 2
Joined: Tue Aug 28, 2012 10:17 am

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Tue Aug 28, 2012 10:20 am

I had the same problem with the symlinks...from the wiki you need to run

sudo ln -fs /opt/vc/lib/libEGL.so /usr/lib/libEGL.so
sudo ln -fs /opt/vc/lib/libEGL.so /usr/lib/arm-linux-gnueabihf/libEGL.so
sudo ln -fs /opt/vc/lib/libEGL.so /usr/lib/arm-linux-gnueabihf/libEGL.so.1
sudo ln -fs /opt/vc/lib/libEGL_static.a /usr/lib/libEGL_static.a
sudo ln -fs /opt/vc/lib/libEGL_static.a /usr/lib/arm-linux-gnueabihf/libEGL_static.a
sudo ln -fs /opt/vc/lib/libGLESv2.so /usr/lib/libGLESv2.so
sudo ln -fs /opt/vc/lib/libGLESv2.so /usr/lib/arm-linux-gnueabihf/libGLESv2.so
sudo ln -fs /opt/vc/lib/libGLESv2.so /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2
sudo ln -fs /opt/vc/lib/libGLESv2_static.a /usr/lib/libGLESv2_static.a
sudo ln -fs /opt/vc/lib/libGLESv2_static.a /usr/lib/arm-linux-gnueabihf/libGLESv2_static.a
sudo ln -fs /opt/vc/lib/libbcm_host.so /usr/lib/libbcm_host.so
sudo ln -fs /opt/vc/lib/libbcm_host.so /usr/lib/arm-linux-gnueabihf/libbcm_host.so
sudo ln -fs /opt/vc/lib/libvchiq_arm.a /usr/lib/libvchiq_arm.a
sudo ln -fs /opt/vc/lib/libvchiq_arm.a /usr/lib/arm-linux-gnueabihf/libvchiq_arm.a
sudo ln -fs /opt/vc/lib/libvchiq_arm.so /usr/lib/libvchiq_arm.so
sudo ln -fs /opt/vc/lib/libvchiq_arm.so /usr/lib/arm-linux-gnueabihf/libvchiq_arm.so
sudo ln -fs /opt/vc/lib/libvcos.a /usr/lib/libvcos.a
sudo ln -fs /opt/vc/lib/libvcos.a /usr/lib/arm-linux-gnueabihf/libvcos.a
sudo ln -fs /opt/vc/lib/libvcos.so /usr/lib/libvcos.so
sudo ln -fs /opt/vc/lib/libvcos.so /usr/lib/arm-linux-gnueabihf/libvcos.so

Return to “Raspbian”