Kodi Community Forum

Full Version: Kernal killing xbmc task on 256 board
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Thanks man, For next lot of logs would the system log from the pi also help?, always best to be prepared
Tomorrow i compile new Xbmc build and give to test.

Meanwhile try this.

<cachemembuffersize>*</cachemembuffersize>

in advenced settings.

This is unlimited cache buffer. I watch 1080p long movie (Cyborg Girl) in YouTube and after 30 minute codec info show "cache:320mb" on Rpi 256mb and still grow. Cache must be write on sd card, because 320mb cache buffer on Rpi 256mb is impossible.

(2012-12-15, 21:41)jas0npc Wrote: [ -> ]I was getting my hopes up for this, but it got further into the movie, but then the sound went all funny, So will try it again

Thought i should explain went funny, The movie froze for about 3 seconds, then the audio would repeat itself, as well as making weird nosies, anyway fresh install this morning, will get logs with debugging on and will also monitor the top command to follow the numbers

So was the audio glitch a one off? It doesn't sound related to the memory killer issue.
(2012-12-16, 21:42)rbej Wrote: [ -> ]Tomorrow i compile new Xbmc build and give to test.

Meanwhile try this.

<cachemembuffersize>*</cachemembuffersize>

in advenced settings.

This is unlimited cache buffer. I watch 1080p long movie (Cyborg Girl) in YouTube and after 30 minute codec info show "cache:320mb" on Rpi 256mb and still grow. Cache must be write on sd card, because 320mb cache buffer on Rpi 256mb is impossible.

Sure mate I will try all
Yes, setting cachemembuffersize to 0 (note, * isn't a valid option and gets interpreted as 0) does:
Code:
if (g_advancedSettings.m_cacheMemBufferSize == 0)
     m_pCache = new CSimpleFileCache();
   else
     m_pCache = new CCircularCache(g_advancedSettings.m_cacheMemBufferSize

so it will buffer to sdcard. Otherwise buffering is in RAM. So setting to 0 will save RAM (but needs space on sdcard)
No probs will give all a try in the morning, I thought i might grab a vid of the sound as it might make it easier to figure it out, It happens in the same spot in the film using rbje`s OE build from earlier, but when played with latest raspbmc with downgraded firmware, it plays perfect, So will try all this out later, and video the sound problem.

Thanks guys for sticking with this.
Seems the audio glitch was a one off?, I did get it again in testing, but rebooted the router, etc, and then i couldnt replicate it
(2012-12-17, 16:32)jas0npc Wrote: [ -> ]Seems the audio glitch was a one off?, I did get it again in testing, but rebooted the router, etc, and then i couldnt replicate it

So what is your conclusion? Did the 3.6.10 kernel work better than the default raspbmc one?
Did cachemembuffersize help?
Nope, it got further into the movie and also resarted the xbmc task, But bbc ipalyer worked wellWink, So i dont know if bbc hd is lower hd than a hd movie Smile
Another test.

New official OpenElec build with kernel 3.6.10

http://netload.in/dateirqTQHMmCOw/OpenEL...ar.bz2.htm

New official OpenElec build with kernel 3.6.11

http://netload.in/datei3CONW3kyoR/OpenEL...ar.bz2.htm
Will test both now for you Smile
(2012-12-18, 01:13)rbej Wrote: [ -> ]Another test.

New official OpenElec build with kernel 3.6.10

http://netload.in/dateirqTQHMmCOw/OpenEL...ar.bz2.htm

New official OpenElec build with kernel 3.6.11

http://netload.in/datei3CONW3kyoR/OpenEL...ar.bz2.htm

With 3.6.11, 30 mins into the amazing spiderman in hd, Here is a bit of a log with "top"
Code:
Mem: 100136K used, 21820K free, 0K shrd, 7404K buff, 11152K cached
CPU: 42.5% usr 11.7% sys  0.0% nic 45.1% idle  0.0% io  0.0% irq  0.6% sirq
Load average: 0.87 1.32 1.42 3/90 1534
  PID  PPID USER     STAT   VSZ %VSZ CPU %CPU COMMAND
1455     1 root     R     297m249.4   0 51.0 /usr/lib/xbmc/xbmc.bin --standalone -fs --lircdev /var/run/lirc/lircd
  523     2 root     SW<      0  0.0   0  2.4 [VCHIQ-0]
1534  1513 root     R     2560  2.0   0  0.6 top
1511   948 root     S     6712  5.4   0  0.4 {sshd} sshd: root@pts/0
  524     2 root     SW<      0  0.0   0  0.2 [VCHIQr-0]
1510     2 root     SW       0  0.0   0  0.2 [kworker/0:2]
  960     1 root     S    24024 19.6   0  0.0 /usr/lib/polkit-1/polkitd --no-debug
  897     1 root     S    20404 16.6   0  0.0 /usr/sbin/vcfiled
  928     1 root     S    15592 12.7   0  0.0 /usr/lib/udisks/udisks-daemon
1095     1 root     S    11448  9.3   0  0.0 nmbd --daemon --configfile=/var/run/smb.conf
1097     1 root     S    11440  9.3   0  0.0 smbd --daemon --configfile=/var/run/smb.conf
  941   928 root     S     6056  4.9   0  0.0 udisks-daemon: not polling any devices
  915     1 root     S     5680  4.6   0  0.0 /usr/bin/wpa_supplicant -B -u -f /var/log/wpa_supplicant.log -c /etc/wpa_supplicant/wpa_supplicant.conf -P /var/run/wpa_supplicant.
  827   796 root     S     4640  3.7   0  0.0 /usr/sbin/connmand -n
  948     1 root     S     3984  3.2   0  0.0 /usr/sbin/sshd
1067     1 avahi    S     3160  2.5   0  0.0 avahi-daemon: running [openelec.local]
    1     0 root     S     3088  2.5   0  0.0 {init} /bin/sh /sbin/init
  796     1 root     S     3084  2.5   0  0.0 {init} /bin/sh /sbin/init
  752     1 root     S     3084  2.5   0  0.0 {init} /bin/sh /sbin/init
1513  1511 root     S     3080  2.5   0  0.0 -sh
  814     1 dbus     S     2932  2.4   0  0.0 dbus-daemon --system
  750     1 root     S     2932  2.4   0  0.0 /lib/systemd/systemd-udevd --daemon
  747     1 root     S     2556  2.0   0  0.0 klogd
  743     1 root     S     2556  2.0   0  0.0 syslogd
  756   752 root     S     2496  2.0   0  0.0 udevadm monitor -e
  855     1 root     S     2384  1.9   0  0.0 rpcbind
  896     1 root     S     2140  1.7   0  0.0 eventlircd --evmap=/etc/eventlircd.d --socket=/var/run/lirc/lircd --release=_UP
  600     2 root     SW       0  0.0   0  0.0 [mmcqd/0]
Mem: 100128K used, 21828K free, 0K shrd, 7412K buff, 11152K cached
CPU: 39.9% usr 14.7% sys  0.0% nic 44.7% idle  0.0% io  0.0% irq  0.6% sirq
Load average: 0.96 1.33 1.42 3/90 1534
  PID  PPID USER     STAT   VSZ %VSZ CPU %CPU COMMAND
1455     1 root     R     297m249.4   0 50.8 /usr/lib/xbmc/xbmc.bin --standalone -fs --lircdev /var/run/lirc/lircd
  523     2 root     SW<      0  0.0   0  2.3 [VCHIQ-0]
1511   948 root     S     6712  5.4   0  0.6 {sshd} sshd: root@pts/0
1534  1513 root     R     2560  2.0   0  0.6 top
  600     2 root     SW       0  0.0   0  0.2 [mmcqd/0]
  524     2 root     SW<      0  0.0   0  0.2 [VCHIQr-0]
  615     2 root     SW       0  0.0   0  0.2 [jbd2/mmcblk0p2-]
1510     2 root     SW       0  0.0   0  0.2 [kworker/0:2]
  960     1 root     S    24024 19.6   0  0.0 /usr/lib/polkit-1/polkitd --no-debug
  897     1 root     S    20404 16.6   0  0.0 /usr/sbin/vcfiled
  928     1 root     S    15592 12.7   0  0.0 /usr/lib/udisks/udisks-daemon
1095     1 root     S    11448  9.3   0  0.0 nmbd --daemon --configfile=/var/run/smb.conf
1097     1 root     S    11440  9.3   0  0.0 smbd --daemon --configfile=/var/run/smb.conf
  941   928 root     S     6056  4.9   0  0.0 udisks-daemon: not polling any devices
  915     1 root     S     5680  4.6   0  0.0 /usr/bin/wpa_supplicant -B -u -f /var/log/wpa_supplicant.log -c /etc/wpa_supplicant/wpa_supplicant.conf -P /var/run/wpa_supplicant.
  827   796 root     S     4640  3.7   0  0.0 /usr/sbin/connmand -n
  948     1 root     S     3984  3.2   0  0.0 /usr/sbin/sshd
1067     1 avahi    S     3160  2.5   0  0.0 avahi-daemon: running [openelec.local]
    1     0 root     S     3088  2.5   0  0.0 {init} /bin/sh /sbin/init
  796     1 root     S     3084  2.5   0  0.0 {init} /bin/sh /sbin/init
  752     1 root     S     3084  2.5   0  0.0 {init} /bin/sh /sbin/init
1513  1511 root     S     3080  2.5   0  0.0 -sh
  814     1 dbus     S     2932  2.4   0  0.0 dbus-daemon --system
  750     1 root     S     2932  2.4   0  0.0 /lib/systemd/systemd-udevd --daemon
  747     1 root     S     2556  2.0   0  0.0 klogd
  743     1 root     S     2556  2.0   0  0.0 syslogd
  756   752 root     S     2496  2.0   0  0.0 udevadm monitor -e
  855     1 root     S     2384  1.9   0  0.0 rpcbind
  896     1 root     S     2140  1.7   0  0.0 eventlircd --evmap=/etc/eventlircd.d --socket=/var/run/lirc/lircd --release=_UP
  402     2 root     SW       0  0.0   0  0.0 [kswapd0]
  623     2 root     SW<      0  0.0   0  0.0 [loop0]
1447     2 root     SW       0  0.0   0  0.0 [kworker/0:1]
    3     2 root     SW       0  0.0   0  0.0 [ksoftirqd/0]
    8     2 root     SW       0  0.0   0  0.0 [rcu_kthread]
Mem: 100156K used, 21800K free, 0K shrd, 7420K buff, 11156K cached
CPU: 38.8% usr 14.1% sys  0.0% nic 45.6% idle  0.0% io  0.2% irq  1.2% sirq
Load average: 0.88 1.31 1.41 2/90 1534
  PID  PPID USER     STAT   VSZ %VSZ CPU %CPU COMMAND
1455     1 root     R     297m249.4   0 50.4 /usr/lib/xbmc/xbmc.bin --standalone -fs --lircdev /var/run/lirc/lircd
  523     2 root     SW<      0  0.0   0  2.3 [VCHIQ-0]
1511   948 root     S     6712  5.4   0  0.4 {sshd} sshd: root@pts/0
1534  1513 root     R     2560  2.0   0  0.4 top
  524     2 root     SW<      0  0.0   0  0.4 [VCHIQr-0]
  600     2 root     SW       0  0.0   0  0.2 [mmcqd/0]
1510     2 root     SW       0  0.0   0  0.2 [kworker/0:2]
  960     1 root     S    24024 19.6   0  0.0 /usr/lib/polkit-1/polkitd --no-debug
  897     1 root     S    20404 16.6   0  0.0 /usr/sbin/vcfiled
  928     1 root     S    15592 12.7   0  0.0 /usr/lib/udisks/udisks-daemon
1095     1 root     S    11448  9.3   0  0.0 nmbd --daemon --configfile=/var/run/smb.conf
1097     1 root     S    11440  9.3   0  0.0 smbd --daemon --configfile=/var/run/smb.conf
  941   928 root     S     6056  4.9   0  0.0 udisks-daemon: not polling any devices
  915     1 root     S     5680  4.6   0  0.0 /usr/bin/wpa_supplicant -B -u -f /var/log/wpa_supplicant.log -c /etc/wpa_supplicant/wpa_supplicant.conf -P /var/run/wpa_supplicant.
  827   796 root     S     4640  3.7   0  0.0 /usr/sbin/connmand -n
  948     1 root     S     3984  3.2   0  0.0 /usr/sbin/sshd
1067     1 avahi    S     3160  2.5   0  0.0 avahi-daemon: running [openelec.local]
    1     0 root     S     3088  2.5   0  0.0 {init} /bin/sh /sbin/init
  796     1 root     S     3084  2.5   0  0.0 {init} /bin/sh /sbin/init

will watch another hd movie afterwards, What I will do i think is get all the information relating to the movies and compare, what bitrates they are encoded at audio type etc, but so far so good on 3.6.11

Well over half way into The amazing Spiderman,
Movie information:

the.campaign.2012.extended.720p-hibbs.mkv the movie that gives all the problems

Code:
General
Unique ID                                : 213762107248972936570714144496511735067 (0xA0D11596D26F6E62912564584289D51B)
Complete name                            : C:\Users\jas0npc\Downloads\the.campaign.2012.extended.720p-hibbs.mkv
Format                                   : Matroska
Format version                           : Version 2
File size                                : 787 MiB
Duration                                 : 1h 35mn
Overall bit rate mode                    : Variable
Overall bit rate                         : 1 151 Kbps
Movie name                               : the campaign 2012 extended 720p
Encoded date                             : UTC 2012-10-19 07:19:00
Writing application                      : mkvmerge v5.2.0 ('I can't explain') built on Dec 29 2011 19:29:57
Writing library                          : libebml v1.2.3 + libmatroska v1.3.0

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : [email protected]
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 3 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 1h 35mn
Bit rate mode                            : Variable
Nominal bit rate                         : 1 024 Kbps
Maximum bit rate                         : 25.0 Mbps
Width                                    : 1 280 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 23.976 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.046
Writing library                          : x264 core 120 r2120 0c7dab9
Encoding settings                        : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=0 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=1024 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=25000 / vbv_bufsize=25000 / nal_hrd=vbr / ip_ratio=1.40 / aq=1:1.00
Default                                  : Yes
Forced                                   : No

Audio
ID                                       : 2
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : A_AAC
Duration                                 : 1h 35mn
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Compression mode                         : Lossy
Language                                 : English
Default                                  : Yes
Forced                                   : No

Menu
00:00:00.000                             : en:00:00:00.000
00:09:42.582                             : en:00:09:42.582
00:20:13.295                             : en:00:20:13.295
00:32:16.393                             : en:00:32:16.393
00:41:10.635                             : en:00:41:10.635
00:55:30.744                             : en:00:55:30.744
01:09:48.726                             : en:01:09:48.726
01:19:46.448                             : en:01:19:46.448
01:30:53.198                             : en:01:30:53.198
For some reason i cant get the information for "The.Amazing.Spiderman.2012.720p.x264-scOrp.mkv"
Well watched the amazing spiderman all the way to the end on 3.6.11

as soon as i started to watch the campaign, it failed again, here is the xbmc log https://dl.dropbox.com/u/94360623/xbmc%2...mc.old.log
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15