Forum
[PROBLEM] BSOD when playing large files - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Kodi (/forum-18.html)
+--- Thread: [PROBLEM] BSOD when playing large files (/thread-523.html)



BSOD when playing large files - DuffMcShank - 25th Feb, 2013 06:21 AM

When I try to start playing large files on my RPI Model B 256MB RAM, typically 10GB+, I end up getting a Black Screen of Death after waiting for a minute or so.
I use HaneWin NFS in Windows 8 pro, after experiencing SMB being too slow to cope with large files.
My RPI is connected to a cabled Gigabit network, directly to the router.

Xbian version: 1.0a5
XBMC version: 12.0 Git:20130127-fb595f2 (Compiled Jan 30 2013)

System is not overclocked.

Power supply rating 1250 mAH, also tried several different ones.

No devices connected to the USB ports of the RPi, although I have tried that, but it ended up being able to play even fewer files for me than the NFS network setup.

Both RPi and video source PC connected to the network through LAN.

SD Card: 8GB Verbatim class 10, checked it was listed as compatible before buying

Log file: http://pastebin.com/b13qhTQd


RE: BSOD when playing large files - Koenkk - 25th Feb, 2013 07:33 AM

First upgrade to the latest XBMC 12 (contains major DTS playback improvements): https://github.com/xbianonpi/xbmc-nightly/blob/Frodo/README.md .

After that reduce reduce the overclock, change arm_freq=840 to arm_freq=700 and core_freq=375 to core_freq=250 in your /boot/config.txt. You can also do this in xbian-config.


RE: BSOD when playing large files - DuffMcShank - 25th Feb, 2013 09:22 AM

Tried both your suggestions, it doesn't seem to have an impact on my experienced errors. No errors or warnings in the log either.
I guess I've just hit the limits of how big files/high bitrate the RPi/XBMC can handle, seems to be between 10-11GB for my setup.


RE: BSOD when playing large files - CurlyMo - 25th Feb, 2013 09:27 AM

Can you try disabling watchdog:

Edit /etc/watchdog.conf, so make sure these lines look like:
Code:
# Uncomment to enable test. Setting one of these values to '0' disables it.
# These values will hopefully never reboot your machine during normal use
# (if your machine is really hung, the loadavg will go much higher than 25)
max-load-1              = 0
max-load-5              = 0
max-load-15             = 0

And make these lines match:
Code:
# This greatly decreases the chance that watchdog won't be scheduled before
# your machine is really loaded
#realtime               = yes
#priority               = 1

Now run the following command and reboot:
Code:
sudo update-rc.d watchdog remove

Also, i just tried the biggest file i got (17,1 GB) and the XBMC system load was in general 50-60% in Turbo mode on a 256 RPi. I believe the new buffer patch from Dom works Smile

Top in turbo mode
Code:
PID USER      PR  NI  VIRT  RES  SHR S  %CPU %MEM    TIME+  COMMAND
2330 xbian     20   0  327m  69m 2816 S  49.8 57.8   7:49.70 xbmc.bin

Top without OC
Code:
PID USER      PR  NI  VIRT  RES  SHR S  %CPU %MEM    TIME+  COMMAND
2337 xbian     20   0  311m  57m  11m S  68.6 47.3   1:34.14 xbmc.bin



RE: BSOD when playing large files - DuffMcShank - 26th Feb, 2013 03:59 AM

(25th Feb, 2013 09:27 AM)CurlyMo Wrote:  And make these lines match:
Code:
# This greatly decreases the chance that watchdog won't be scheduled before
# your machine is really loaded
#realtime               = yes
#priority               = 1
Do you mean to comment them out, or to comment them in with the values "yes" and "1"? The descriptive comment in the file is kind of badly written with a kind of double negation, "decreases chance that watchdog won't be scheduled" = "increases chance that watchdog will be scheduled"?

Either way, no dice for me with them commented in or out + the other changes you mentioned Sad
I notice the 13GB video i'm testing it on is behaving fairly heavy on my stationary pc aswell, skipping sometimes crashes VLC... i'll try copying it to my SSD disk and sharing from there.