Forum
Alpha 4 black screens after 10m of streaming - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Kodi (/forum-18.html)
+---- Forum: Kodi Settings (/forum-36.html)
+---- Thread: Alpha 4 black screens after 10m of streaming (/thread-176.html)



Alpha 4 black screens after 10m of streaming - tcjeep - 3rd Jan, 2013 08:44 PM

Help. All previous versions worked. Alpha 4 crashed after about 10 min. here is a dump of the dmesg. Can you help??

[ 1518.387858] Normal: 1671*4kB 853*8kB 304*16kB 0*32kB 0*64kB 0*128kB 0*256kB 1*512kB 0*1024kB 0*2048kB 0*4096kB = 18884kB
[ 1518.387898] 434 total pagecache pages
[ 1518.387905] 0 pages in swap cache
[ 1518.387913] Swap cache stats: add 0, delete 0, find 0/0
[ 1518.387919] Free swap = 0kB
[ 1518.387924] Total swap = 0kB
[ 1518.422559] 39936 pages of RAM
[ 1518.422581] 4981 free pages
[ 1518.422588] 1972 reserved pages
[ 1518.422594] 4473 slab pages
[ 1518.422600] 458 pages shared
[ 1518.422606] 0 pages swap cached
[ 1518.422614] [ pid ] uid tgid total_vm rss nr_ptes swapents oom_score_adj name
[ 1518.422718] [ 142] 0 142 738 128 5 0 -1000 udevd
[ 1518.422738] [ 268] 0 268 737 132 5 0 -1000 udevd
[ 1518.422754] [ 282] 0 282 737 130 5 0 -1000 udevd
[ 1518.422769] [ 1363] 0 1363 426 23 5 0 -1000 ifplugd
[ 1518.422876] [ 1401] 0 1401 575 50 5 0 0 rpcbind
[ 1518.422957] [ 1405] 0 1405 426 25 4 0 -1000 ifplugd
[ 1518.422975] [ 1436] 103 1436 655 104 5 0 0 rpc.statd
[ 1518.422991] [ 1452] 0 1452 685 49 5 0 0 rpc.idmapd
[ 1518.423007] [ 1617] 0 1617 937 40 5 0 0 cron
[ 1518.423022] [ 1663] 104 1663 849 115 5 0 0 dbus-daemon
[ 1518.423132] [ 1687] 0 1687 1213 428 6 0 -1000 dhclient
[ 1518.423153] [ 1717] 106 1717 834 69 5 0 0 avahi-daemon
[ 1518.423234] [ 1718] 106 1718 834 58 5 0 0 avahi-daemon
[ 1518.423252] [ 1808] 0 1808 4498 188 9 0 0 NetworkManager
[ 1518.423268] [ 1819] 0 1819 5683 178 9 0 0 polkitd
[ 1518.423284] [ 1832] 0 1832 1766 130 7 0 0 modem-manager
[ 1518.423299] [ 1851] 0 1851 504 45 5 0 0 lircd
[ 1518.423314] [ 1902] 102 1902 1377 99 6 0 0 ntpd
[ 1518.423329] [ 2002] 0 2002 1542 108 6 0 -1000 sshd
[ 1518.423405] [ 2013] 0 2013 709 76 4 0 0 xbmc
[ 1518.423425] [ 2014] 0 2014 413 23 5 0 0 startpar
[ 1518.423440] [ 2015] 0 2015 709 76 4 0 0 xbmc
[ 1518.423456] [ 2019] 1001 2019 91893 23243 110 0 0 xbmc.bin
[ 1518.423471] [ 2034] 0 2034 937 101 5 0 0 login
[ 1518.423486] [ 2035] 0 2035 925 33 5 0 0 getty
[ 1518.423502] [ 2036] 0 2036 925 33 5 0 0 getty
[ 1518.423516] [ 2037] 0 2037 925 33 5 0 0 getty
[ 1518.423910] [ 2038] 0 2038 925 33 5 0 0 getty
[ 1518.424004] [ 2039] 0 2039 925 33 6 0 0 getty
[ 1518.424023] [ 2040] 0 2040 505 32 5 0 0 getty
[ 1518.424099] [ 2042] 0 2042 6620 272 9 0 0 console-kit-dae
[ 1518.424118] [ 2115] 1001 2115 1537 454 6 0 0 bash
[ 1518.424134] [ 2158] 0 2158 3622 124 8 0 0 udisks-daemon
[ 1518.424149] [ 2159] 0 2159 1535 68 7 0 0 udisks-daemon
[ 1518.424161] Out of memory: Kill process 2019 (xbmc.bin) score 614 or sacrifice child
[ 1518.424182] Killed process 2019 (xbmc.bin) total-vm:367572kB, anon-rss:92700kB, file-rss:272kB
xbian@xbian:~#


Alpha 4 black screens after 10m of streaming - Koenkk - 3rd Jan, 2013 09:37 PM

Probably because we removed the swap file. What pi version do you have?


RE: Alpha 4 black screens after 10m of streaming - tcjeep - 4th Jan, 2013 07:22 AM

(3rd Jan, 2013 09:37 PM)Koenkk Wrote:  Probably because we removed the swap file. What pi version do you have?

Yip, thanks Koenkk. I've got the 256MB Revision 1 board. My 512 pi is due in a couple of days, so I'll know for sure. But I believe you've hit the spot. If I monitor the cach during streaming HD I see it slowly rise to around 37MB this is where it crashes.

Guess we'll just have to reserve Alpha4 for our new board.

Thanks for your time and effort.


RE: Alpha 4 black screens after 10m of streaming - SolGarlic - 11th Jan, 2013 09:24 PM

(3rd Jan, 2013 09:37 PM)Koenkk Wrote:  Probably because we removed the swap file. What pi version do you have?

Hi

Does this mean that
1 - Alpha 5 will have to be optimized (and put back the swap) so that it works with 256's PI
2 - xbian will no longer support 256mb pies ( Smile )

What will it be? 1 or 2?


RE: Alpha 4 black screens after 10m of streaming - CurlyMo - 11th Jan, 2013 09:26 PM

I'm still using a 256 pi and never had any problems...


Alpha 4 black screens after 10m of streaming - Koenkk - 11th Jan, 2013 11:46 PM

can you try changing the gpu_mem_256=128


RE: Alpha 4 black screens after 10m of streaming - Aeefire - 10th Feb, 2013 11:05 PM

I have a similiar issue! How to set the gpu_mem ?


RE: Alpha 4 black screens after 10m of streaming - CurlyMo - 10th Feb, 2013 11:08 PM

By editing /boot/config.txt

(Can also be done in windows)


RE: Alpha 4 black screens after 10m of streaming - Aeefire - 10th Feb, 2013 11:22 PM

(10th Feb, 2013 11:08 PM)CurlyMo Wrote:  By editing /boot/config.txt

(Can also be done in windows)

Thanks, i've managed to do it. However, it seems not to have helped.. but my problem is a bit different however. When I start a movie, xbmc will crash shortly after, although the system runs fine in the background (switches to "terminal view", with messages from other applications)

edit: and i can't find logs to the crash in ~/.xbmc/temp/xbmc.log

edit2: however, found this in dmesg:

Code:
[  161.491454] Out of memory: Kill process 2544 (xbmc.bin) score 303 or sacrifice child
[  161.491477] Killed process 2544 (xbmc.bin) total-vm:316972kB, anon-rss:36152kB, file-rss:1084kB



RE: Alpha 4 black screens after 10m of streaming - rikardo1979 - 10th Feb, 2013 11:30 PM

(10th Feb, 2013 11:22 PM)Aeefire Wrote:  
(10th Feb, 2013 11:08 PM)CurlyMo Wrote:  By editing /boot/config.txt

(Can also be done in windows)

Thanks, i've managed to do it. However, it seems not to have helped.. but my problem is a bit different however. When I start a movie, xbmc will crash shortly after, although the system runs fine in the background (switches to "terminal view", with messages from other applications)

edit: and i can't find logs to the crash in ~/.xbmc/temp/xbmc.log

try to enable Debugging under System>Settings>System and than replicate your error
After you should be able find informations in log
Please Do not post raw output from log here ! Always use service such pastebin and post just link here
-thx-


RE: Alpha 4 black screens after 10m of streaming - CurlyMo - 10th Feb, 2013 11:35 PM

Do you run additional programs besides XBMC?

Also, try adding a swap file:
Code:
dd if=/dev/zero of=/var/swapfile bs=1024 count=128000
mkswap /var/swapfile
swapon /var/swapfile
echo -e '/var/swapfile\t\t\t\tswap\t\tswap\tdefaults\t\t\t0\t0' >> /etc/fstab



RE: Alpha 4 black screens after 10m of streaming - Aeefire - 10th Feb, 2013 11:47 PM

Funny enough, it now works (it crashed 6 times before...) . I'll report if it happens again.