[i.MX6] XBMC running on Freescale SoC's
(2013-07-18, 23:18)wolfgar Wrote: First of all, many thanks for this very detailed and valuable feedback...

You're welcome, your work is truly inspiring after trying XBMC on lots of ARM small boards and failing.

Quote:1. The Kernel reports 512MB of RAM
You are perfectly right !
Short story : My mistake with kernel config.
Long story : I changed a lot of settings regarding memory while I was trying to understand why I did not have the theorical 184MiB available to allocate DMA buffers.
At the begining I tweaked the config to have a 2G/2G split and no highmem at all to avoid highmem overhead. During my tests I reverted to a standard 3G/1G split and forgot to reenable highmem Wink

Anyway, it is already solved : If you want I can even repost the kernel which gives all your memory back right now....

No problem. I compiled a Kernel from your repo; will test it later though and report back.

Quote:2. Once again you are right : I have not properly installed CP1252 locales in my RFS
Yet I am unsure about the required package to solve this issue
Be aware that the zypper package manager utility is installed and that I host a repository with additional packages....
you can do :
zypper refresh
zypper search xxxxx
zypper install xxxxx

I'm a complete newbie on Yocto didn't know about zipper and that you tied the image to a functional repository Big Grin indeed installing eglic-gconv-cp1252 fixed my problem with ISO-8859-1 subs files. Why XBMC decode them as CP1252 instead of ISO-8859-1 I don't know but it's solved now Smile

Quote:3. For the dropped frames : I think I know the issue : Could you check the XBMC log when it happens please ?
You will find it in /home/root/.xbmc/temp/xbmc.log
If it is the issue I am aware of, you should have some explicit messages which state that I am voluntary dropping frames...
Here again you are right : Not a resource issue (just a buggy behavior I have to investigate regarding the way V4L buffers are sometimes given back after rendering)

Indeed, here is a log of a file MKV (H.264) @23.976 fps it has a periodic hiccup when playing (most people will not note them)

Code:
23:11:53 T:1219159136  NOTICE: Decode - No frame buffer available (min Free 6 - Ready picture 1)
23:11:53 T:1219159136  NOTICE: Decode - Dropping one frame at idx 2 to free frame buffer
23:11:53 T:1219159136  NOTICE: Decode - No frame buffer available (min Free 6 - Ready picture 1)
23:11:53 T:1219159136  NOTICE: Decode - Dropping one frame at idx 7 to free frame buffer
23:11:54 T:1467466848   DEBUG: CDVDPlayerAudio:: Discontinuity2 - was:173735482.519434, should be:173724812.641069, error:-10669.878365
23:11:55 T:1219159136   DEBUG: CPullupCorrection: detected pattern of length 47: 41500.00 41500.00 42000.00 41500.00 41500.00 42000.00 42000.00 41500.00 41500.00 42000.00 41500.00 41500.00 42000.0
0 41500.00 42000.00 41500.00 42000.00 41500.00 41500.00 42000.00 41500.00 41500.00 41500.00 42000.00 42000.00 41500.00 41500.00 42000.00 41500.00 41500.00 42000.00 41500.00 42000.00 41500.00 42000
.00 41500.00 41500.00 42000.00 83500.00 83500.00 41500.00 41500.00 42000.00 41500.00 42000.00 41500.00 42000.00, frameduration: 43478.723404
23:11:55 T:1219159136   DEBUG: CPullupCorrection: pattern lost on diff 42000.000000
23:11:56 T:1219159136  NOTICE: Decode - No frame buffer available (min Free 6 - Ready picture 1)
23:11:56 T:1219159136  NOTICE: Decode - Dropping one frame at idx 7 to free frame buffer

I don't know H.264 internals but I thought that PULLUP/PULLDOWN was something that was only signaled on interlaced MPEG-2 streams. And this particular stream seems progressive to me. I think (correct me if I wrong) the video signal is keep at 1080p@60 so this XBMC CPullupCorrection is to correct the 23.976 HZ stream played on a 60HZ signal.

Quote:Reproducing the build is not so trivial at this time : kernel and xbmc sources are already public but I made a rfs build 2 months ago and I patched some components by hand...
I plan to clean up everything and enable to perform a full build with yocto in the near future : If you are not in a hurry it is the best way.
Otherwise I can tell you and to rebuild specific components : kernel would be easy for instance

I'll wait since I do think it is better to rebuild based on last Yocto, any help testing build or Yocto layers I can help Smile Building last master following Otavio's blog was fairly easy; modifying it and adding bb recipes should be a different matter.

Quote:Regarding your remark about ramfs (you mean tmpfs in fact right ?), be aware that my image already takes care of storing logs in tmpfs var/tmp var/log and a few others (including /home/root/.xbmc/tmp/) end up in tmpfs in order to save erase/write cycles on sdcard... Not perfect but already much better than many images which just don't care at all ;-)
Yet on my side, I don't aim at having all the rfs in tmpfs as I wish to keep my xmbc database (what the hell if scrapers had to run at each boot lol) and I wish to be able to easily change a configuration file and so on....

I use to install XBMC on top of a minimal Debian, there is a package on it called flashybrid. You tell it which parts go on volatile tmpfs and what goes to non-volatile tmpfs; it basically rsync changes on reboot and when you want it (using crontab) and it mounts these tmps on top of the original fs so is somewhat transparent. I want to have something similar if it speeds things and keep my cards safe. I use it on work on about 700 units and is working like a champ.

But first I'll like to enable my PS3 remote Smile

Quote:At last, I was aware of the udev perm rule and was too lazy to change it before release ;-) Sorry for that...

Finally, sorry for the public key : My secret plan to take over the world thanks to a wandboard botnet has just failed ! ;-)
No, really sorry : I will add a comment in my blog regarding this issue and it will be solved in future images for sure...

No problem. There are lot of ways to take over the world, one of them is making XBMC really works on a cheap SBC Wink

I minor thing I just noted. On some H.264 files (using iMX-H264 decoder) the last (bottom) line of macroblocks looks shifted somehow it is very subtle and maybe 16 or 32 pixels wide I cannot tell but it seems to be one or two bottom line of macroblocks. It actually seems like that the first line of the last macroblock line was copied on the next lines of the macroblock line.

I tried to take screenshots but I just got 0 byte PNGs so I just taked a crappy picture with my phone and I cannot find how to attach it here so I'll send it by email on the Wandboard forum. O my god this thing is complaining about the number of emoticons I use !!! I had to erase them. I miss when mailing lists ruled the world.
Reply


Messages In This Thread
RE: GK802/Hi802 - by wolfgar - 2013-04-11, 02:25
RE: GK802/Hi802 - by Hedda - 2013-07-28, 22:49
RE: GK802/Hi802 - by wolfgar - 2013-07-29, 23:36
RE: GK802/Hi802 - by mtx512 - 2013-04-11, 10:06
RE: GK802/Hi802 - by wolfgar - 2013-04-12, 01:15
RE: GK802/Hi802 - by mtx512 - 2013-04-12, 09:26
RE: GK802/Hi802 - by wolfgar - 2013-04-12, 21:02
RE: GK802/Hi802 - by wolfgar - 2013-04-14, 16:13
RE: GK802/Hi802 - by jhlaird - 2013-04-20, 12:47
RE: GK802/Hi802 - by wolfgar - 2013-04-15, 03:18
RE: GK802/Hi802 - by mtx512 - 2013-04-15, 08:04
RE: GK802/Hi802 - by wolfgar - 2013-04-15, 21:48
RE: GK802/Hi802 - by wolfgar - 2013-04-17, 00:45
RE: GK802/Hi802 - by wolfgar - 2013-04-17, 07:43
RE: GK802/Hi802 - by mtx512 - 2013-04-17, 07:55
RE: GK802/Hi802 - by wolfgar - 2013-04-17, 23:57
RE: GK802/Hi802 - by mtx512 - 2013-04-21, 19:41
RE: GK802/Hi802 - by wolfgar - 2013-04-18, 00:48
RE: GK802/Hi802 - by wolfgar - 2013-04-20, 21:51
RE: GK802/Hi802 - by mtx512 - 2013-04-21, 20:29
RE: GK802/Hi802 - by wolfgar - 2013-04-21, 21:10
RE: GK802/Hi802 - by wolfgar - 2013-04-22, 00:09
RE: GK802/Hi802 - by wolfgar - 2013-04-22, 00:36
RE: GK802/Hi802 - by mtx512 - 2013-04-22, 20:39
RE: GK802/Hi802 - by wolfgar - 2013-04-22, 22:08
RE: GK802/Hi802 - by mtx512 - 2013-04-23, 09:02
RE: GK802/Hi802 - by JCLB - 2013-04-23, 13:47
RE: GK802/Hi802 - by wolfgar - 2013-04-23, 22:09
RE: GK802/Hi802 - by wolfgar - 2013-04-23, 22:56
RE: GK802/Hi802 - by wolfgar - 2013-04-24, 21:32
RE: GK802/Hi802 - by mtx512 - 2013-04-25, 07:54
RE: GK802/Hi802 - by wolfgar - 2013-04-29, 01:46
RE: GK802/Hi802 - by wolfgar - 2013-05-02, 00:12
RE: GK802/Hi802 - by mtx512 - 2013-05-02, 09:15
RE: GK802/Hi802 - by Trozmagon - 2013-05-02, 02:13
RE: GK802/Hi802 - by wolfgar - 2013-05-02, 03:29
RE: GK802/Hi802 - by Trozmagon - 2013-05-02, 05:04
RE: GK802/Hi802 - by mtx512 - 2013-05-05, 13:34
RE: GK802/Hi802 - by wolfgar - 2013-05-06, 23:22
RE: GK802/Hi802 - by ColtB45 - 2013-05-12, 04:46
RE: GK802/Hi802 - by wolfgar - 2013-05-12, 05:13
RE: GK802/Hi802 - by mtx512 - 2013-05-12, 11:27
RE: GK802/Hi802 - by wolfgar - 2013-05-12, 16:20
RE: GK802/Hi802 - by wolfgar - 2013-05-13, 03:21
RE: GK802/Hi802 - by mtx512 - 2013-05-13, 21:03
RE: GK802/Hi802 - by wolfgar - 2013-05-13, 22:10
RE: GK802/Hi802 - by mtx512 - 2013-05-14, 08:03
RE: GK802/Hi802 - by wolfgar - 2013-05-14, 21:03
RE: GK802/Hi802 - by mtx512 - 2013-05-14, 22:07
RE: GK802/Hi802 - by wolfgar - 2013-05-14, 22:33
RE: GK802/Hi802 - by Kib - 2013-05-15, 08:34
RE: GK802/Hi802 - by mtx512 - 2013-05-15, 15:40
RE: GK802/Hi802 - by wolfgar - 2013-05-15, 23:13
RE: GK802/Hi802 - by viumden - 2013-05-24, 17:41
RE: GK802/Hi802 - by wolfgar - 2013-05-17, 22:39
RE: GK802/Hi802 - by newone12 - 2013-05-20, 18:28
RE: GK802/Hi802 - by wolfgar - 2013-05-25, 00:41
RE: GK802/Hi802 - by viumden - 2013-05-25, 04:51
RE: GK802/Hi802 - by wolfgar - 2013-05-25, 15:37
RE: GK802/Hi802 - by wolfgar - 2013-05-30, 02:45
RE: GK802/Hi802 - by Trozmagon - 2013-05-31, 03:29
RE: GK802/Hi802 - by wolfgar - 2013-06-02, 14:05
RE: GK802/Hi802 - by imonlinux - 2013-06-03, 07:54
RE: GK802/Hi802 - by wolfgar - 2013-06-04, 01:46
RE: GK802/Hi802 - by wolfgar - 2013-06-04, 02:16
RE: GK802/Hi802 - by wolfgar - 2013-06-04, 23:10
RE: GK802/Hi802 - by imonlinux - 2013-06-05, 18:11
RE: GK802/Hi802 - by wolfgar - 2013-06-05, 22:13
RE: GK802/Hi802 - by Toverkwark - 2013-06-05, 22:57
RE: GK802/Hi802 - by wolfgar - 2013-06-06, 00:17
RE: GK802/Hi802 - by Toverkwark - 2013-06-09, 22:06
RE: GK802/Hi802 - by imonlinux - 2013-06-06, 03:47
RE: GK802/Hi802 - by wolfgar - 2013-06-07, 02:45
RE: GK802/Hi802 - by Trozmagon - 2013-06-07, 05:38
RE: GK802/Hi802 - by Trozmagon - 2013-06-08, 01:25
RE: GK802/Hi802 - by wolfgar - 2013-06-08, 03:35
RE: GK802/Hi802 - by Trozmagon - 2013-06-08, 05:06
RE: GK802/Hi802 - by Trozmagon - 2013-06-08, 05:41
RE: GK802/Hi802 - by wolfgar - 2013-06-09, 23:24
RE: GK802/Hi802 - by j4ns - 2013-06-11, 21:49
RE: GK802/Hi802 - by wolfgar - 2013-06-12, 02:03
RE: GK802/Hi802 - by j4ns - 2013-06-12, 17:58
RE: GK802/Hi802 - by j4ns - 2013-06-12, 06:21
RE: GK802/Hi802 - by wolfgar - 2013-06-12, 23:11
RE: GK802/Hi802 - by mtx512 - 2013-06-15, 21:55
RE: GK802/Hi802 - by j4ns - 2013-06-17, 07:41
RE: GK802/Hi802 - by mtx512 - 2013-06-17, 21:36
RE: GK802/Hi802 - by j4ns - 2013-06-18, 00:41
RE: GK802/Hi802 - by wolfgar - 2013-06-15, 23:00
RE: GK802/Hi802 - by wolfgar - 2013-06-16, 17:13
RE: GK802/Hi802 - by j4ns - 2013-06-18, 00:53
RE: GK802/Hi802 - by viumden - 2013-06-17, 16:42
RE: GK802/Hi802 - by wolfgar - 2013-06-18, 02:54
RE: GK802/Hi802 - by mtx512 - 2013-06-18, 21:00
RE: GK802/Hi802 - by j4ns - 2013-06-18, 23:13
RE: GK802/Hi802 - by wolfgar - 2013-06-18, 23:39
RE: GK802/Hi802 - by wolfgar - 2013-06-20, 00:48
RE: GK802/Hi802 - by wolfgar - 2013-06-20, 03:10
RE: GK802/Hi802 - by wolfgar - 2013-06-20, 08:42
RE: GK802/Hi802 - by mtx512 - 2013-06-20, 22:14
RE: GK802/Hi802 - by llexoduz - 2013-06-20, 09:44
RE: GK802/Hi802 - by mtx512 - 2013-06-20, 21:11
RE: GK802/Hi802 - by hste - 2013-06-21, 00:12
RE: GK802/Hi802 - by wolfgar - 2013-06-21, 02:38
RE: GK802/Hi802 - by mtx512 - 2013-06-22, 21:35
RE: GK802/Hi802 - by wolfgar - 2013-06-22, 01:06
RE: GK802/Hi802 - by wolfgar - 2013-06-22, 03:15
RE: GK802/Hi802 - by wolfgar - 2013-06-23, 03:44
RE: GK802/Hi802 - by wolfgar - 2013-06-23, 17:18
RE: GK802/Hi802 - by mtx512 - 2013-06-24, 21:19
RE: GK802/Hi802 - by wolfgar - 2013-06-25, 00:39
RE: GK802/Hi802 - by mtx512 - 2013-07-13, 15:14
RE: GK802/Hi802 - by j4ns - 2013-06-25, 01:06
RE: GK802/Hi802 - by wolfgar - 2013-06-25, 02:00
RE: GK802/Hi802 - by wolfgar - 2013-07-01, 03:03
Wandboard - by xn2000 - 2013-07-02, 19:46
RE: GK802/Hi802 - by wolfgar - 2013-07-02, 22:38
RE: GK802/Hi802 - by CruX - 2013-07-03, 08:27
RE: GK802/Hi802 - by xn2000 - 2013-07-03, 12:13
RE: GK802/Hi802 - by xn2000 - 2013-07-03, 12:38
RE: GK802/Hi802 - by wolfgar - 2013-07-03, 23:38
RE: GK802/Hi802 - by xn2000 - 2013-07-04, 11:53
RE: GK802/Hi802 - by wolfgar - 2013-07-04, 02:36
RE: GK802/Hi802 - by mtx512 - 2013-07-04, 08:03
RE: GK802/Hi802 - by xn2000 - 2013-07-04, 12:14
RE: GK802/Hi802 - by hste - 2013-07-04, 09:39
RE: GK802/Hi802 - by wolfgar - 2013-07-04, 23:02
RE: GK802/Hi802 - by ProsjektX - 2013-07-05, 10:09
RE: GK802/Hi802 - by hste - 2013-07-05, 10:38
RE: GK802/Hi802 - by jpearn - 2013-07-05, 20:26
RE: GK802/Hi802 - by wolfgar - 2013-07-06, 19:31
RE: GK802/Hi802 - by jpearn - 2013-07-07, 07:57
RE: GK802/Hi802 - by wolfgar - 2013-07-07, 16:57
RE: GK802/Hi802 - by sepinho - 2013-07-07, 19:53
RE: GK802/Hi802 - by wolfgar - 2013-07-07, 23:14
RE: GK802/Hi802 - by jpearn - 2013-07-08, 09:03
RE: GK802/Hi802 - by ProsjektX - 2013-07-08, 10:41
RE: GK802/Hi802 - by xn2000 - 2013-07-09, 17:38
RE: GK802/Hi802 - by xn2000 - 2013-07-09, 17:56
RE: GK802/Hi802 - by CruX - 2013-07-09, 20:31
RE: GK802/Hi802 - by xn2000 - 2013-07-10, 17:46
RE: GK802/Hi802 - by wolfgar - 2013-07-10, 01:29
RE: GK802/Hi802 - by ProsjektX - 2013-07-10, 09:31
RE: GK802/Hi802 - by wolfgar - 2013-07-11, 01:56
RE: GK802/Hi802 - by wolfgar - 2013-07-11, 01:27
RE: GK802/Hi802 - by xn2000 - 2013-07-11, 16:07
RE: GK802/Hi802 - by wolfgar - 2013-07-12, 00:36
RE: GK802/Hi802 - by xn2000 - 2013-07-12, 17:50
RE: GK802/Hi802 - by wolfgar - 2013-07-12, 03:24
RE: GK802/Hi802 - by hste - 2013-07-12, 09:19
RE: GK802/Hi802 - by wolfgar - 2013-07-13, 03:22
RE: GK802/Hi802 - by wolfgar - 2013-07-13, 03:39
RE: GK802/Hi802 - by xn2000 - 2013-07-15, 12:46
RE: GK802/Hi802 - by wolfgar - 2013-07-14, 16:03
RE: GK802/Hi802 - by mtx512 - 2013-07-15, 20:46
RE: GK802/Hi802 - by wolfgar - 2013-07-16, 00:12
RE: GK802/Hi802 - by mtx512 - 2013-07-16, 09:14
RE: GK802/Hi802 - by wolfgar - 2013-07-17, 02:10
RE: GK802/Hi802 - by wolfgar - 2013-07-16, 00:30
RE: GK802/Hi802 - by ProsjektX - 2013-07-16, 06:49
RE: GK802/Hi802 - by xn2000 - 2013-07-22, 17:14
RE: GK802/Hi802 - by wolfgar - 2013-07-17, 01:50
RE: GK802/Hi802 - by wolfgar - 2013-07-18, 02:00
RE: GK802/Hi802 - by Pulento - 2013-07-18, 03:36
RE: GK802/Hi802 - by wolfgar - 2013-07-18, 23:18
RE: GK802/Hi802 - by Pulento - 2013-07-19, 02:28
RE: GK802/Hi802 - by wolfgar - 2013-07-19, 23:21
RE: GK802/Hi802 - by rude78 - 2013-07-19, 21:07
RE: GK802/Hi802 - by wolfgar - 2013-07-19, 23:38
RE: GK802/Hi802 - by Pulento - 2013-07-20, 01:50
RE: GK802/Hi802 - by wolfgar - 2013-07-20, 10:10
RE: GK802/Hi802 - by wolfgar - 2013-07-24, 00:44
RE: GK802/Hi802 - by xn2000 - 2013-07-25, 17:26
RE: GK802/Hi802 - by TarpeDiem - 2013-07-26, 04:48
RE: GK802/Hi802 - by wolfgar - 2013-07-26, 08:16
RE: GK802/Hi802 - by TarpeDiem - 2013-07-26, 09:23
RE: GK802/Hi802 - by TarpeDiem - 2013-07-26, 10:15
RE: GK802/Hi802 - by wolfgar - 2013-07-26, 12:38
RE: GK802/Hi802 - by TarpeDiem - 2013-07-26, 18:01
RE: GK802/Hi802 - by wolfgar - 2013-07-26, 22:53
RE: GK802/Hi802 - by ProsjektX - 2013-07-28, 14:14
RE: GK802/Hi802 - by wolfgar - 2013-07-28, 21:03
RE: GK802/Hi802 - by MediaPi - 2013-08-06, 04:08
RE: GK802/Hi802 - by wolfgar - 2013-08-06, 21:34
RE: GK802/Hi802 - by CoolGate - 2013-08-08, 16:25
RE: GK802/Hi802 - by wolfgar - 2013-08-08, 21:07
RE: GK802/Hi802 - by Toverkwark - 2013-08-11, 14:04
RE: GK802/Hi802 - by wolfgar - 2013-08-12, 01:33
RE: GK802/Hi802 - by Toverkwark - 2013-08-16, 23:46
RE: GK802/Hi802 - by Toverkwark - 2013-08-17, 10:11
RE: GK802/Hi802 - by wolfgar - 2013-08-17, 12:35
RE: GK802/Hi802 - by CoolGate - 2013-08-19, 09:28
RE: GK802/Hi802 - by rmiheev - 2013-08-25, 09:25
RE: GK802/Hi802 - by heemid17 - 2013-08-29, 19:13
RE: GK802/Hi802 - by wolfgar - 2013-08-30, 00:19
RE: GK802/Hi802 - by juggie - 2013-09-04, 15:12
RE: GK802/Hi802 - by heemid17 - 2013-09-04, 17:54
RE: GK802/Hi802 - by Hedda - 2013-09-05, 16:00
RE: GK802/Hi802 - by wolfgar - 2013-09-05, 00:45
RE: GK802/Hi802 - by pszab - 2013-09-05, 12:06
RE: GK802/Hi802 - by wolfgar - 2013-09-05, 22:54
RE: GK802/Hi802 - by wolfgar - 2013-09-05, 22:37
RE: GK802/Hi802 - by j1nx - 2013-09-06, 16:13
RE: GK802/Hi802 - by wolfgar - 2013-09-06, 23:03
Logout Mark Read Team Forum Stats Members Help
[i.MX6] XBMC running on Freescale SoC's4