System hang / freeze while playing 1080p
#1
Hello Guys,

Problem:
I am experiencing hard lockups only while playing 1080p content from a external mounted usb drive (ext2 filesystem). I am unable to test playing 1080p content via wifi due streaming limitations. The problem is rather hard to reproduce as it sporadically presents itself.
I am unable to deduce whether the problem is related to streaming via the usb drive or related to some other hardware problem. Basically, the image becomes frozen on the screen, and the system becomes unusable and I must hard reset it. And there's an audible repeating pulsating noise coming from the speakers when it happens.
Total CPU usage while playing 1080p content generally hovers around 25%, so the system isn't being taxed.

Logs:
Regarding the log files, I can't find anything relevant in them around the time of the crash. I checked /var/log/syslog and /home/xbmc/.xbmc/temp/xbmc.log seems to get overwritten on each subsequent reboot. It is to be noted that the crash does not produce a crashlog in xbmc's home directory. I pasted the latest crashlog I had anyway:
http://pastebin.com/tede2Cen

How can I catch this crash in the logs if the system grinds to a halt with no recent crashlog?

Hardware:
ZBOX HD-ND02 - ZOTAC
2Gb RAM (Preformed a memtest and was ok)
32Gb SSD
HP USB MCE IR Receiver
External USB drive (formatted with ext2)

OS:
XBMCbuntu 10.04
Dharma beta 4 (happened with beta 3 as well)

Nvidia drivers
Code:
Version: 195.36.24-0ubuntu1~10.04

Any suggestions would be greatly appreciated.

Thanks.
Reply
#2
I have a similar problem. My log is as following:
http://pastebin.com/W29HzUMT

one of to things happens

1. the screen freezes for a split sec. and lost of miscolored pixels starts flickring around the screen also in the menues:
http://www.claudell.dk/pic/screenshot001.png

2. The fps drops to 1 fps

it only happens when streaming movies from my network, if I copy the file to the XBMC, there isn't any problem.

If I disable "web contol" it takes longer, before the error occure.

I have the problem with 720p and 1080p movies.

My setup is:
Shuttle XS35GT (ION2)
2 GB Kingston ram (KVR800D2S6/2G)
64 GB SSD Kingston (SNV425-S2/64GB)
Samsung DVD-RW (SN-S083)
I'v tryed Dharme 3, Dharme 4 and openELEC

I also connected a westerndigital mediaplayer to the same TV with the same cables, and it hasn't any problems.

- Christian
Reply
#3
Perhaps the older nvidia driver is the culprit. As I followed the XBMCbuntu guide, I installed the driver as so:
Code:
sudo apt-get install nvidia-185-kernel-source nvidia-glx-185 nvidia-settings mesa-utils libvdpau-dev

Is this correct to properly remove the older driver, and upgrade to the current one:
Code:
sudo apt-get remove nvidia-185-kernel-source nvidia-glx-185 nvidia-settings mesa-utils libvdpau-dev
sudo apt-get install nvidia-current
Reply
#4
joelones Wrote:Perhaps the older nvidia driver is the culprit. As I followed the XBMCbuntu guide, I installed the driver as so:
Code:
sudo apt-get install nvidia-185-kernel-source nvidia-glx-185 nvidia-settings mesa-utils libvdpau-dev

Is this correct to properly remove the older driver, and upgrade to the current one:
Code:
sudo apt-get remove nvidia-190-kernel-source nvidia-glx-190 nvidia-settings mesa-utils libvdpau-dev
sudo apt-get install nvidia-current

I'v tryed with 195, 256 and 260 nVidia driver. It's the same.
Reply
#5
Darn, you're right, no go with 260 version of the the nvidia drivers. Just got the lockup again.

Again, there was no crash log and the xbmc.log file is pasted below, not sure it shows any relevant information. debug logging was enabled in settings and gdb was installed but I guess since there was no crash log gdb didn't get executed.

I don't know what else to do to troubleshoot this further. Any suggestions?

http://pastebin.com/RqMZPiSr
Reply
#6
DeathscytheDK, did you follow the XBMCbuntu guide as well? Maybe that has something to do with. What's troubling is that I cannot figure out what exactly is causing the lockup. The logs aren't helping either.

The only error I see in the xbmc log has to do with libcrystalhd, not sure about the relevance of this with the lockups.

Quote:10:54:30 T:3079194496 M:1451167744 DEBUG: SECTION:LoadDLL(libcrystalhd.so.3)
10:54:30 T:3079194496 M:1451032576 DEBUG: Loading: libcrystalhd.so.3
10:54:30 T:3079194496 M:1451032576 ERROR: Unable to load libcrystalhd.so.3, reason: libcrystalhd.so.3: cannot open shared object file: No such file or directory
10:54:30 T:3079194496 M:1451032576 DEBUG: Dll libcrystalhd.so.3 was not found in path
Reply
#7
joelones Wrote:DeathscytheDK, did you follow the XBMCbuntu guide as well? Maybe that has something to do with. What's troubling is that I cannot figure out what exactly is causing the lockup. The logs aren't helping either.

I did the following:

1. installed Dharma 4 live with deafult settings.
2. Added "auto eth0" and "iface eth0 inet dhcp" manuly to interfaces.
3. changed the audio out to HDMI, nVidia HDMI and nVidia HDMI.
4. test = Error
5. trimmed the SSD following the trim part in this guide: http://breden.org.uk/2010/09/30/shuttle-...ta-2-live/
6. Test = error
7. Updater the nVidia driver like this: http://forum.xbmc.org/showpost.php?p=626...stcount=10
8. Test = Error
9. Used the JumJum script: http://forum.xbmc.org/showthread.php?tid...dia+update
10. Test = Error Sad

And this is where I am today.
Reply
#8
At first I thought it was because I was playing hd content from an external usb drive that I was experiencing this crash (perhaps due to the drive sleep or power saving function). However, I recently tried the some hd content via 100baseT and expericed the same lockup.

I also noted a lot of libc segfaults in the syslog like so, not sure if that has something to do with it
Code:
[18237.815848] xbmc.bin[2286]: segfault at eeec000 ip 04f64d3e sp bfcfe838 error 4 in libc-2.11.1.so[4e54000+153000

I posted my syslog below
http://pastebin.com/MJpKDZXm

Any help?
Reply
#9
Using latest nvidia drivers. How can one grab the media info (codec, resolution, etc) of a mkv in linux? I'd like to post the file attributes, perhaps it's something to do with that?
Reply
#10
joelones Wrote:Using latest nvidia drivers. How can one grab the media info (codec, resolution, etc) of a mkv in linux? I'd like to post the file attributes, perhaps it's something to do with that?

You can use 'mediainfo'

http://mediainfo.sourceforge.net/en/Download/Ubuntu

Once installed, then from the CLI you can then type:
Code:
mediainfo filename.mkv
This will give you output of the file; or if you want the full guts n' glory

Code:
mediainfo -f filename.mkv | more
Using the more (or you could use less) through pipe so you can actually read the information page by page
Reply

Logout Mark Read Team Forum Stats Members Help
System hang / freeze while playing 1080p0