Kodi Community Forum

Full Version: AMD driver crash with Assertion failed, XBMC freezes
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Once every few days, my XBMC machine (openelec with ATI videocard) will appear to be frozen and wont accept any input. SSH-ing still works fine, its like X crashed. This appears to happen while the TV/AVR is off, but Im not quite sure about that.

Combing through the log files, I found dmesg will always show this before X freezes:

Code:
[95685.745463] Assertion failed in ../../../../../../../../drivers/2d/lnx/fgl/drm/kernel/hal_evergreen.c at line: 64

Googling that error appears to indicate its a bug in AMD drivers that has been around for ages, so Im not expecting a miracle solution, but never hurts asking Smile

Meanwhile, I decided to work around it by creating a little script to check the kernel log for that error, and reboot the machine if needed.

Code:
#! /bin/sh
echo $(date -u) "fixx started" >> /storage/.config/fixx.log
sleep 10;

while :
do
        echo "sleeping"
    sleep 10;
        echo "checking dmesg"
        if dmesg | grep "Assertion failed"  ; then
        echo  $(date -u) "assertion failed detected, rebooting " >> /storage/.config//fixx.log
            reboot
        else            
             echo $(date -u) "ok"
    fi                    
done

In case someone has the same issue.
@Vertigo:
Can you post the complete dmesg | pastebinit when this happens? Can you try to use the Black Screensaver?
And a complete xbmc.log (I want to check the advancedsettings.xml)
Sure, kernel log:
http://pastebin.com/8iB6uUCp

xbmclog:
http://pastebin.com/FegcVZBr

The black screen saver is going to confuse the rest of the house, so id rather not use it, but I can just turn off the screensaver, see if that makes a difference.
ok scratch the above, I think.
It was again "frozen". This time, no " Assertion failed " error message. When I tried controlling xbmc with my android phone, it worked just fine. Only it was not getting any USB input. I tried running irw and it gave no response to my remote button pressing, even though the led on the usb receiver lit up on every press. rebooting and it was solved. not too sure what to make of this, could be two unrelated issues, or the assertion failed thing perhaps has nothing to do with it.

BTW, screensaver already was turned off.
@Vertigo:
Could you upgrade / newly install the 2.99.2 version of OpeneELEC? It uses another fglrx version, that could perhaps fix this issue (and incorporate some others :p).

As this will upgrade your Eden version to frodo, make sure you get the settings right: http://openelec.tv/forum/117-xvba-amd/55...enelec-3-0