XBMC on the Wandboard

XBMC subforum

Re: XBMC on the Wandboard

Postby JoKo » Wed Jan 29, 2014 9:34 pm

wolfgar wrote:I use the kernel parameter consoleblank=0 in my image

consoleblank=0 kept the blinking on my setup, I had to set also "vt.global_cursor_default=0" to stop the blinking.
JoKo
 
Posts: 3
Joined: Sun Jan 19, 2014 2:40 am

Re: XBMC on the Wandboard

Postby LeoKesler » Tue Feb 04, 2014 8:41 pm

Are there any image available for download ?

Edit: I am totally new in Arch Linux, so can point me what to do with this pkgbuilds ?
https://github.com/CrawX/PKGBUILDs

I am searching for info, but any directions will be very nice.
LeoKesler
 
Posts: 26
Joined: Sat Aug 31, 2013 10:56 am

Re: XBMC on the Wandboard

Postby CruX » Wed Feb 05, 2014 5:52 pm

I'd recommend you to read this wikipage (as in: read it. Do not follow the instructions there, these are for x86).
After that, you should probably be able to figure out how to adapt this to my PKGBUILDS.

Its actually pretty easy :)

You can also visit us at #wandboard at freenode.

Cheers
CruX
 
Posts: 68
Joined: Sun Oct 27, 2013 1:29 pm

Re: XBMC on the Wandboard

Postby LeoKesler » Sun Feb 09, 2014 1:38 pm

Finally I have a XBMC working. It was a very interesting way to compile, using archlinux. Good work in that recipes, CruX.

But I have some problems / questions:

1. I am starting XBMC manually and I am getting a blinking cursor. If I start xbmc, with the cursor at middle of screen, I will get a blinking cursor at middle of screen.

2. The interface is slow, at 30-40fps. Is it normal ?

3. The mouse is very slow, with lag.

I will test later, but for now, it working.

And by the way, that is my first time using XBMC, so, I am still learning how to use it.

Edit: after some time, I am getting this error, with a black screen ( standby TV, with no signal warning) :

Code: Select all
[root@alarm ~]# [  635.321399] __dma_free_remap: trying to free invalid coherent area:   (null)
[  635.328461] Backtrace:
[  635.330976] [<c0044cf8>] (dump_backtrace+0x0/0x104) from [<c05008e4>] (dump_stack+0x18/0x1c)
[  635.339421]  r6:00000000 r5:00040000 r4:00000000 r3:00000001
[  635.345161] [<c05008cc>] (dump_stack+0x0/0x1c) from [<c004bc58>] (dma_free_coherent+0x9c/0x1c8)
[  635.353888] [<c004bbbc>] (dma_free_coherent+0x0/0x1c8) from [<c03b3e5c>] (vpu_free_dma_buffer+0xd4/0xe4)
[  635.363394] [<c03b3d88>] (vpu_free_dma_buffer+0x0/0xe4) from [<c03b41a8>] (vpu_release+0x1f8/0x28c)
[  635.372454]  r8:00100100 r7:c06e74fc r6:de6c7d40 r5:00000000 r4:c0730fb8
[  635.379040] r3:00200200
[  635.381720] [<c03b3fb0>] (vpu_release+0x0/0x28c) from [<c0103a98>] (fput+0x118/0x1d4)
[  635.389553]  r9:e9bd2788 r8:e9fc7260 r7:e600ae60 r6:00000008 r5:e9ccfa78
[  635.396149] r4:e9bd2780
[  635.398805] [<c0103980>] (fput+0x0/0x1d4) from [<c0100100>] (filp_close+0x78/0x84)
[  635.406405] [<c0100088>] (filp_close+0x0/0x84) from [<c0077200>] (put_files_struct+0x9c/0xf4)
[  635.414946]  r6:0000004f r5:00000001 r4:de178de0 r3:e99598bc
[  635.420673] [<c0077164>] (put_files_struct+0x0/0xf4) from [<c00772e0>] (exit_files+0x40/0x44)
[  635.429228]  r9:de405060 r8:00000002 r7:de6c6018 r6:e994b5f0 r5:de178de0
[  635.435828] r4:e994b2c0
[  635.438484] [<c00772a0>] (exit_files+0x0/0x44) from [<c0077a68>] (do_exit+0x238/0x6ac)
[  635.446417]  r6:00000001 r5:de2a3120 r4:e994b2c0 r3:de666f0c
[  635.452152] [<c0077830>] (do_exit+0x0/0x6ac) from [<c0077f74>] (do_group_exit+0x5c/0xc4)
[  635.460247]  r7:e9b8b564
[  635.462819] [<c0077f18>] (do_group_exit+0x0/0xc4) from [<c00832c4>] (get_signal_to_deliver+0x3b0/0x3f0)
[  635.472225]  r7:e9b8b564 r6:de6c6030 r5:de6c7ee8 r4:00000009
[  635.477952] [<c0082f14>] (get_signal_to_deliver+0x0/0x3f0) from [<c00440e0>] (do_signal+0xc8/0x540)
[  635.487045] [<c0044018>] (do_signal+0x0/0x540) from [<c0044854>] (do_notify_resume+0x20/0x58)
[  635.495594] [<c0044834>] (do_notify_resume+0x0/0x58) from [<c00415d8>] (work_pending+0x24/0x28)
[  635.504306]  r4:00002710 r3:e9bcdf40



[ 1364.074696] Backtrace:
[ 1364.077194] [<c0044cf8>] (dump_backtrace+0x0/0x104) from [<c05008e4>] (dump_stack+0x18/0x1c)
[ 1364.085708]  r6:00000000 r5:00040000 r4:00000000 r3:00000000
[ 1364.094281] [<c05008cc>] (dump_stack+0x0/0x1c) from [<c004bc58>] (dma_free_coherent+0x9c/0x1c8)
[ 1364.103021] [<c004bbbc>] (dma_free_coherent+0x0/0x1c8) from [<c03b3e5c>] (vpu_free_dma_buffer+0xd4/0xe4)
[ 1364.112555] [<c03b3d88>] (vpu_free_dma_buffer+0x0/0xe4) from [<c03b41a8>] (vpu_release+0x1f8/0x28c)
[ 1364.121623]  r8:00100100 r7:c06e74fc r6:de5dbef8 r5:00000000 r4:c0730fb8
[ 1364.128208] r3:00000018
[ 1364.130888] [<c03b3fb0>] (vpu_release+0x0/0x28c) from [<c0103a98>] (fput+0x118/0x1d4)
[ 1364.138721]  r9:e9b63328 r8:e9fc7260 r7:e600ae60 r6:00000008 r5:e9ccfa78
[ 1364.145319] r4:e9b63320
[ 1364.147975] [<c0103980>] (fput+0x0/0x1d4) from [<c0100100>] (filp_close+0x78/0x84)
[ 1364.155571] [<c0100088>] (filp_close+0x0/0x84) from [<c01001a0>] (sys_close+0x94/0xcc)
[ 1364.163506]  r6:de4244a0 r5:de424460 r4:00000032 r3:00000000
[ 1364.169230] [<c010010c>] (sys_close+0x0/0xcc) from [<c0041580>] (ret_fast_syscall+0x0/0x30)
[ 1364.177605]  r7:00000006 r6:4127b31c r5:4127b30c r4:4127b44c


[ 1500.807506] [galcore]: GPU[0] hang, automatic recovery.
[ 1619.847016] [galcore]: GPU[0] hang, automatic recovery.



I was playing a video, 720p, in backgound, while I was going to main menu to check the subtitles size. This happen always when I am playing a video and using the menus for some time.

And this:
Code: Select all
[   76.209123] imx-ipuv3 imx-ipuv3.0: IPU Warning - IPU_INT_STAT_10 = 0x00100000
[   76.675320] imx-ipuv3 imx-ipuv3.0: IPU Warning - IPU_INT_STAT_5 = 0x00800000

https://community.freescale.com/message/322666#322666
LeoKesler
 
Posts: 26
Joined: Sat Aug 31, 2013 10:56 am

Re: XBMC on the Wandboard

Postby kohonen » Sat Feb 15, 2014 5:45 pm

hi, could please someone give me some how-to regarding the pkgbuild?

i have a running arch, kernel 3.0.35-5-ARCH, updated, and installed some dependencies via pacman.

i made a "git clone" of https://github.com/CrawX/PKGBUILDs/blob ... c/PKGBUILD

now, when trying to "makepkg" the core/linux-wandboard kernel, i receive this after about 1 hour of compiling:
"missing bus glue for ehci-hcd wandboard"

am i missing something?

all i am trying to achieve right now is to have a hw accelerated xbmc, are there any specific steps in order to successfully compile/install the xbmc package?
i assume i need to have the custom kernel, some vivante modules, imx libraries etc.

i have tried for several days with debian, kernel compilation went ok, but "make xbmc" ended with some eglvivante.h undefined function error, so now i'm trying with arch, but this pkgbuild thing is something new for me :)

yocto is a no-go, i need some other custom stuff on the wandboard as well.
kohonen
 
Posts: 16
Joined: Sun Feb 02, 2014 11:42 am

Re: XBMC on the Wandboard

Postby setti » Sat Feb 15, 2014 5:48 pm

setti
 
Posts: 39
Joined: Fri Jan 10, 2014 6:15 pm

Re: XBMC on the Wandboard

Postby kohonen » Sat Feb 15, 2014 6:01 pm

ok great, thanks, will try!

what else is needed and in what specific order? i believe i need to install at least alarm/imx-lib, imx-vpu, gpu-viv-bin-mxq6, libfslvpuwrap, firmware-imx
kohonen
 
Posts: 16
Joined: Sun Feb 02, 2014 11:42 am

Re: XBMC on the Wandboard

Postby setti » Sat Feb 15, 2014 6:05 pm

Thats what I have installed:

Code: Select all
root@wandboard:/var/abs/git # ls *
alarm:
insgesamt 44
drwxr-xr-x 11 root root 4096 11. Feb 23:09 .
drwxr-xr-x  5 root root 4096 11. Feb 23:09 ..
drwxr-xr-x  4 root root 4096 12. Feb 08:33 firmware-imx
drwxr-xr-x  4 root root 4096 12. Feb 08:47 gpu-viv-bin-mxq6
drwxr-xr-x  4 root root 4096 12. Feb 09:00 imx-lib
drwxr-xr-x  4 root root 4096 12. Feb 09:05 imx-vpu
drwxr-xr-x  4 root root 4096 12. Feb 09:42 libcec-imx6
drwxr-xr-x  4 root root 4096 12. Feb 09:16 libfslvpuwrap
drwxr-xr-x  2 root root 4096 11. Feb 23:09 wandboard-bluetooth
drwxr-xr-x  4 root root 4096 12. Feb 21:34 wandboard-brcmfmac-compat
drwxr-xr-x  4 root root 4096 12. Feb 17:24 xbmc-imx

core:
insgesamt 12
drwxr-xr-x 3 root root 4096 11. Feb 23:09 .
drwxr-xr-x 5 root root 4096 11. Feb 23:09 ..
drwxr-xr-x 4 root root 4096 12. Feb 03:39 linux-wandboard-fsl


In gpu-viv-bin-mxq6 you have to use the 'gpu-viv-bin-mx6q-fb-3.10.17_1.0.0-1' package.....
setti
 
Posts: 39
Joined: Fri Jan 10, 2014 6:15 pm

Re: XBMC on the Wandboard

Postby kohonen » Sun Feb 16, 2014 8:00 am

can't go through configure in libcec-imx6, this is what i get:
Code: Select all
checking for library containing clock_gettime... none required
./configure: line 16057: syntax error near unexpected token `UDEV,libudev,use_udev="yes",{'
./configure: line 16057: `      PKG_CHECK_MODULES(UDEV,libudev,use_udev="yes",{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg_udev_missing" >&5'
==> ERROR: A failure occurred in build().
    Aborting...

imx-lib:
Code: Select all
[imx-lib]$ uname -a
Linux wandboard 3.0.35_4.1.0-5-ARCH+ #1 SMP PREEMPT Sat Feb 15 12:22:44 MST 2014 armv7l GNU/Linux
[imx-lib]$ makepkg
==> Making package: imx-lib 3.10.9_1.0.0-1 (Sun Feb 16 01:59:09 MST 2014)
==> Checking runtime dependencies...
==> Missing dependencies:
  -> fsl-bsp-kernel=4.1.0
  -> fsl-bsp-kernel-headers=4.1.0
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.

xbmc-imx:
Code: Select all
configure: error: cannot find install-sh, install.sh, or shtool in build-aux "."/build-aux
==> ERROR: A failure occurred in build().
    Aborting...

:oops:
some advice? what am i missing?




EDIT:
"pacman -S base-devel" was missing, thanks to crux!
kohonen
 
Posts: 16
Joined: Sun Feb 02, 2014 11:42 am

Re: XBMC on the Wandboard

Postby CruX » Sun Feb 16, 2014 10:35 pm

That ' trying to free invalid coherent area:' does also happen to me, but as far as I know it does not affect playback.

You can add this to your advancedsettings.xml to improve the "fps" of the gui (I have not checked if this actually makes the gui faster, but the shown fps increase greatly).
Code: Select all
<advancedsettings>
  <gui>
    <algorithmdirtyregions>1</algorithmdirtyregions>
    <nofliptimeout>1000</nofliptimeout>
  </gui>
</advancedsettings>


I have not tested the mouse at all (just keyboard and yatse for android).

The blinking of the cursor can be disabled with
Code: Select all
echo 0 > /sys/class/graphics/fbcon/cursor_blink


Cheers,
CruX
CruX
 
Posts: 68
Joined: Sun Oct 27, 2013 1:29 pm

PreviousNext

Return to Software - XBMC

Who is online

Users browsing this forum: No registered users and 3 guests