Kodi Community Forum

Full Version: XBMC freezes
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi Guys,

Looking for some assistance. I have been having intermittent XBMC freezes since Eden, but they were few and far between, recntly with Frodo these have become more regular.

When the system freezes it does not recover without a system reboot. It has always happened when the system hasn't been used for a period and I go to start using it, so the freezes are always on part of the GUI.

I found an error in syslog indicating an issue with my nvidia driver which was version 280.13, I found other threads here on the forum with similar symptoms and advising they had been able to rectify by updating the nvidia drivers. Therefore I have done the same which upgraded my nvidia driver to 304.84, Since then the system has been crashing and freezing almost cnstantly sometimes to the point of being unable to even SSH onto it.

For example at around 8:15am this morning the system was frozen when I turned the TV on and was completely unresponsive, even the RSS ticker at the bottom of the home screen had stopped. The system was rebooted and this reoccurred shortly afterward this time with tearing of the screen.


I have captured logs as requested and pasted them on pastebin and linked them below, If any others are needed please advise and I can get them.



Debug Logs:
xbmc.log from 24/04: http://pastebin.com/aAs6hc0L (system was not in debug at this time)
Log following reboot after system freeze on 25/04: http://pastebin.com/hTJiqNkc
Previous Log (xbmc.old.log) 25/04: http://pastebin.com/EZwyEMEZ

Syslog extracts:
24/04: http://pastebin.com/je6fVRxv
25/04 system in frozen state: http://pastebin.com/4jDxLzhb
25/04 - post reboot then froze again: http://pastebin.com/jnHUBT8y


XBMC Version:
12.1 Git:0d373cc

Linux Distribution and Version:
Platform: Linux (Ubuntu 11.10 - XBMCbuntu, 3.0.0-16-generic i686). Built on Mar 17 2013

Architecture:
i686

Install Method:
Original install from XBMXBuntu disc on Eden, then PPA upgrade to Frodo

Skin:
Confluence


If more information or logs are are needed please advise.

Thank you in advance for any help you can give.
Try rename userdata (wiki) folder to test.

uNi
Hi uNi,

Just to clarify, you are advising renaming userdata folder , would I then reboot and see how XBMC performs?


I assume this is effectively to have the system run as if it were a fresh install?
Reboot system or restart XBMC.

Im guessing its either addons in userdata (wiki) or guisettings.xml or both.

If it works then you want to restore the userdata (wiki)/Database and Thumbnails folders (gives you back library and art) and reinstall addons fresh while reconfiguring xbmc all else can be kept as backup.

uNi
Ok uNi, thanks for the advice, I will test tonight and post back.
The only other clew is the errors in syslog idk if that would cause your problem.

Code:
LR-HTPC kernel: [ 626.045204] hda-intel: spurious response 0x0:0x0, last cmd=0x0f0000

Theres like a ton of those.

http://unix.stackexchange.com/questions/...tel-issues

It has the error and a possible fix in reply, up to you.

uNi
Hi,

Before I got round to renaming userdata tonight I found the below crashlogs:

25/04 18:55 --- http://pastebin.com/HGRLGsXj
25/04 19:49 --- http://pastebin.com/4R19sw5q
25/04 21:03 --- http://pastebin.com/YVqSscgu


Following this I renamed userdata as per uNis suggestion. I decided to rebuild the system DB without the use of the backup, the system scanned and imported all the TV shows, and shortly afterward crashed again so it seems the userdata was not the issue.

It has now also done it during playback of a tv show.

I have also had a look at the link uNi provided but I am unsure about how to implement this. Instructions say:

adding options snd_hda_intel probe_only=0,1 in snd_hda_intel.conf in /etc/modprobe.d

but in /etc/modprobe.d

I only have:

Code:
xbmc@LR-HTPC:/etc/modprobe.d$ ls
alsa-base.conf              blacklist-modem.conf
blacklist-amd.conf          blacklist-nvidia.conf
blacklist-ath_pci.conf      blacklist-oss.conf
blacklist.conf              blacklist-rare-network.conf
blacklist-firewire.conf     blacklist-watchdog.conf
blacklist-framebuffer.conf  nvidia-graphics-drivers.conf


Can anyone give any further advice?

Also can anyone tell me how to change back to the previous nvidia driver (280.13)? the issue has been much worse since upgrading to 304.84.
Had a core file generated tonight also, here is the gdb output:

http://pastebin.com/m1Wc86Yw


Note, this core may be a red herring as I was uninstalling nvidia driver and reinstalling at this time. (reintalled 304.84 as still dont know how to downgrade)
Try

Code:
sudo apt-get install --reinstall nvidia-current nvidia-settings libvdpau1

uNI
Tried this today, it just reinstalls 304.84.

I think my next step is a rebuild unless anyone has any other ideas?
Its probably faster than getting to bottom of it at this rate.

Backup your userdata (wiki) so you can restore the databases/thumbnails at least. saves the bandwiths and time rescraping.

uNi
Will do, though I am considering a switch back to Windows. I really don't like the XBMCbuntu implementation, it was far better under XBMC Live.
What you dont like specifically?

You should really install XBMCbuntu 12 and then upgrade Frodo 12 to Frodo 12.1 (12.2 bugfix soon out) and try it... Upgrading from Eden to Frodo is too many possibilities for crap going wrong, Documnetaion of some fixes and stuff for that is ok'ish but I bet doesn't cover all possibilities.

IMO XBMCBuntu shouldn't be based on Ubuntu variants like Lubuntu it should be based on minimal Ubuntu and then install/configure whatever packages ontop of that to get the desired effect but hey. If I were that clever I would submit a better solution.

I have always used Ubuntu minimal and its really hard to go wrong there but its does happen.

uNi
I have had random crashes ever since the change to XBMCbuntu, never had any issues under XBMC Live.
So for me its a stability issue.
Random crashes are often a hardware problem, like bad RAM or overheating.

Bad RAM can become more obvious if more RAM is being used - As software matures it gets bigger and uses more RAM, so maybe Frodo is showing up problems that Eden didn't.

As far as overheating is concerned, take the lid off and give everything a good blast with some compressed air (available in cans like flyspray). Pay particular attention to heatsinks, fans and power supply. (Do this with the better half out of the house, because you'll end up with dust for Africa, which you can blame on a small local tornado if she ain't there at the time.)

These issues are always frustrating. Good luck going forward.
Pages: 1 2