Linux Kodi hangs without warnings
#16
(2015-09-15, 22:58)djcrash1981 Wrote:
(2015-09-14, 23:13)fritsch Wrote: For the BYT guy it does not matter - he is doomed anyways :-) Can either downgrade to kernel 3.16 or self patch a recent kernel with the patch provided in the above kernel bug.

Alternatively - if he trusts me as a stranger:

Code:
wget https://dl.dropboxusercontent.com/u/55728161/linux-headers-3.19.2-legacy%2Bedid%2B_3.19.2-legacy%2Bedid%2B-10.00.Custom_amd64.deb
wget https://dl.dropboxusercontent.com/u/55728161/linux-image-3.19.2-legacy%2Bedid%2B_3.19.2-legacy%2Bedid%2B-10.00.Custom_amd64.deb
sudo dpkg -i *edid*deb

Thanks Fritsch so if I'm reading correctly this or the BIOS change should do the trick?

Now, here is the strange thing, I've removed the .kodi folder and reopened a new session, I haven't added any folders so my library is empty and kodi has been running for 1 day and 16 hrs and I've been watching some videos without issue and downloading their subtitles.

Here is the log: http://pastebin.com/9Vhph8Pz

So I'm guessing that the issue could be when I add new paths to the library and it starts doing the scan. I'll try that and let you know my findings.

Regards.

Hehe, sorry - you had another issue as the other guy that highjacked your thread.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#17
(2015-09-16, 07:38)fritsch Wrote: If you also have the bug _with_ my kernel - you have a different issue. Make 100% sure that you are running this kernel.

Did C1 fix it?

Concerning kodi + vaapi: Yes, we have an architecture designed for full throughput. Bad drivers always happen with kodi first ...

OK, will try your kernel first before trying C1 Smile ... I was only concerned that going forward, opting for C1 would be a more long-term solution if the issue was not going to be resolved in future kernel releases (hence my previous query on this subject ... but I guess that's not really your department Smile ). But you are right, must first make sure I don't have a different issue, but I'm pretty sure it is that bug as the only thing that I updated that seems relevant was the new kernel ... and the seg faults started then. Since it only seemed to happen with Kodi (randomly when watching video stuff) I purged Kodi and re-installed for good measure but that did not fix it. So when I get home tonight I will first proceed with installing your custom kernel and test ... and let you know the results in the morning (I'm in Oz), leaving Live TV running all night on a HD channel ... should be a good exercise Smile. If that works (no more crashes) then I might still add the kernel parameter through grub2 as I don't wish to alter the BIOS (and forego C6) as I sometimes use other non-unix partitions on that PC which would not be affected by that bug.

Regarding Kodi + VAAPI - full throughput is what it should be, and believe me, we're very thankful for Team Kodi's dev efforts to deliver a high performance, quality app that we still classify the Best Media Player in the world! Smile

Cheers
Reply
#18
As for me, C1 state forced in BIOS seems to stabilize OS. Yesterday I played 5hr of mkv files with no hangs. Temperature of CPU raised to 60C (from 53C). I will check that patched kernel soon.
Reply
#19
(2015-09-16, 07:38)fritsch Wrote: If you also have the bug _with_ my kernel - you have a different issue. Make 100% sure that you are running this kernel.

Did C1 fix it?

Concerning kodi + vaapi: Yes, we have an architecture designed for full throughput. Bad drivers always happen with kodi first ...

I installed your custom kernel Fritsch and it did the trick ... the crashes/seg faults stopped for sure Smile. So many thanks!

However, I do get 'ACPI PCC Probe Failed' errors when booting ... and my mouse is behaving a 'little strangely' when in desktop mode. Aside from that I also noted my Mythtv backend takes a lot longer to start up? Are these side effects of the changes you implemented in your custom kernel or unrelated?

Anyway, the seg faults have stopped. so very pleased about that - thanks for your help Fritsch

EDIT - apparently the ACPI PCC Probe Failed error message is a 'harmless' message from a driver that's not finding its hardware. I understand that erroneous error message will be removed at the next kernel update.
Reply
#20
Can you provide: dmesg | pastebinit

And btw. please reply to the bug report and tell them, that this is still an issue for you and that adding the legacy turbo fix would solve it for you (that is what my kernel includes).
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#21
(2015-09-17, 07:49)fritsch Wrote: Can you provide: dmesg | pastebinit

And btw. please reply to the bug report and tell them, that this is still an issue for you and that adding the legacy turbo fix would solve it for you (that is what my kernel includes).

dmesg: http://pastebin.com/Gc7R4X5u

Will reply to the bug report.

Cheers
Reply
#22
Do you wait for network? Your wireless lan fails to connect for more than 40 seconds.

Quote:[ 31.585756] Adding 2047996k swap on /dev/sda7. Priority:-1 extents:1 across:2047996k FS

^^ this mkswap also needs a long time ... Use https://wiki.archlinux.org/index.php/Imp...erformance (blame and systemd-analyze plot > plot.svg) to see what is happening.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#23
(2015-09-17, 09:01)fritsch Wrote: Do you wait for network? Your wireless lan fails to connect for more than 40 seconds.

Quote:[ 31.585756] Adding 2047996k swap on /dev/sda7. Priority:-1 extents:1 across:2047996k FS

^^ this mkswap also needs a long time ... Use https://wiki.archlinux.org/index.php/Imp...erformance (blame and systemd-analyze plot > plot.svg) to see what is happening.

Mmmm ... the PC seems to get its 5GHz video connection to the network just before Kodi kicks-in so never really noticed the delay as it takes roughly about 30-40 seconds for the PC to boot-up from cold into Kodi (I rarely reboot, PC runs 24/7 most of the time). Not sure what's the story with the swap on sda7 ... will have to investigate - thanks Fritsch!

PS: Always impressive as you guys can pick-up these things from all that 'stuff' in dmesg!!! Smile ... I don't understand most of it LOL

BTW: have posted a reply for bug 88012 as you suggested - Comment 72. Hope that's OK?
Reply
#24
Your reply is sadly wrong. You never got a segfault ... you got a full freeze of the computer ... segfault is something else :-)

Here: https://en.wikipedia.org/wiki/Segmentation_fault
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#25
(2015-09-17, 09:23)fritsch Wrote: Your reply is sadly wrong. You never got a segfault ... you got a full freeze of the computer ... segfault is something else :-)

Here: https://en.wikipedia.org/wiki/Segmentation_fault

I did get a few segment faults also ... the first crash resulted in what appeared to be a segment fault, based on the text that came-up (graphics desktop reverted to text mode, I recall seeing the word 'panic' at the bottom Smile PC unresponsive to CTRL-ALT F1 etc). Then most of the subsequent crashes where screen freezes in Kodi whilst watching video material ... and did get another one of these seg faults at one stage. Come to think of it, the seg faults (my interpretation) showed-up after Kodi had crash and PC left 'untouched' for a long time ... at least 30 minutes. Perhaps the crash happens first, followed eventually by the seg fault? But that maybe a behaviour specific to my PC. One thing for sure is that Kodi now runs very nicely with no more crashes since I installed your kernel Smile

Cheers

EDIT: OK, read the wiki ... perhaps was not a segment fault Smile! Will correct my poor use of terminology in the bug report.
Reply
#26
And make fully sure, you don't mix things up there - those are kernel devs. They don't do any hand holding as we do here ...
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#27
(2015-09-17, 09:47)fritsch Wrote: And make fully sure, you don't mix things up there - those are kernel devs. They don't do any hand holding as we do here ...

Smile yep, obvious distinctions for you guys ... we, mere mortals, live blissfully unaware of these layers of complexity Smile ... I would have never ventured there in the first place if it wasn't for your request Big Grin
Reply
#28
Ok, I finally was able to add the first two paths to my library and kodi hanged as expected.

I've added the debug option but it seems that the log is just to big for pastebin, do you have any other way so I can upload the logs?

These are the rows that showed some error on that log:
djcrash1981@yavin4:~/.kodi/temp$ cat kodi.log |grep -i error
12:14:10 T:140326353106880 ERROR: DBus: Error org.freedesktop.DBus.Error.InvalidArgs - No such property CanSuspend
12:14:10 T:140326353106880 ERROR: DBus: Error org.freedesktop.DBus.Error.InvalidArgs - No such property CanHibernate
12:14:12 T:140326353106880 ERROR: CWinSystemX11::XErrorHandler: BadAtom (invalid Atom parameter), type:0, serial:43, error_code:5, request_code:18 minor_code:0
12:16:31 T:140325087598336 ERROR: GetVideoDetails: Invalid XML file (want <details>)
12:16:33 T:140325087598336 ERROR: GetVideoDetails: Invalid XML file (want <details>)
12:16:44 T:140325541635840 DEBUG: CDVDPlayerAudio::HandleSyncError - average error -9965.263392 below threshold of 50000.000000
12:16:45 T:140325541635840 DEBUG: CDVDClock:Big Griniscontinuity - CDVDPlayerAudio::HandleSyncError2 - was:1042707495.211000, should be:1042684059.420987, error:-23435.790013
12:16:54 T:140325087598336 ERROR: Run: Unable to parse web site
12:16:54 T:140325087598336 ERROR: GetVideoDetails: Invalid XML file (want <details>)
12:16:56 T:140325087598336 ERROR: GetVideoDetails: Invalid XML file (want <details>)
12:17:17 T:140325087598336 ERROR: Run: Unable to parse web site
12:17:40 T:140325087598336 ERROR: GetVideoDetails: Invalid XML file (want <details>)
12:17:53 T:140325087598336 ERROR: GetVideoDetails: Invalid XML file (want <details>)
12:18:31 T:140325087598336 DEBUG: scraper: ParseTMDBPlot returned <details><plot>Following the death of District Attorney Harvey Dent, Batman assumes responsibility for Dent's crimes to protect the late attorney's reputation and is subsequently hunted by the Gotham City Police Department. Eight years later, Batman encounters the mysterious Selina Kyle and the villainous Bane, a new terrorist leader who overwhelms Gotham's finest. The Dark Knight resurfaces to protect a city that has branded him an enemy.</plot></details>
12:18:33 T:140325087598336 ERROR: GetVideoDetails: Invalid XML file (want <details>)
12:18:43 T:140325087598336 DEBUG: scraper: ParseTMDBPlot returned <details><plot>In December 2004, close-knit family Maria (Naomi Watts), Henry (Ewan McGregor) and their three sons begin their winter vacation in Thailand. But the day after Christmas, the idyllic holiday turns into an incomprehensible nightmare when a terrifying roar rises from the depths of the sea, followed by a wall of black water that devours everything in its path. Though Maria and her family face their darkest hour, unexpected displays of kindness and courage ameliorate their terror.</plot></details>
12:19:00 T:140325087598336 ERROR: GetVideoDetails: Invalid XML file (want <details>)
12:19:01 T:140325087598336 ERROR: GetVideoDetails: Invalid XML file (want <details>)
12:19:03 T:140325087598336 ERROR: GetVideoDetails: Invalid XML file (want <details>)
12:20:40 T:140325541635840 DEBUG: CDVDClock:Big Griniscontinuity - CDVDPlayerAudio::HandleSyncError2 - was:1277690841.969987, should be:1277701022.292779, error:10180.322792

Regards,
Djcrash1981
Reply
#29
(2015-09-21, 19:54)djcrash1981 Wrote: Ok, I finally was able to add the first two paths to my library and kodi hanged as expected.

I've added the debug option but it seems that the log is just to big for pastebin, do you have any other way so I can upload the logs?

These are the rows that showed some error on that log:
djcrash1981@yavin4:~/.kodi/temp$ cat kodi.log |grep -i error
12:14:10 T:140326353106880 ERROR: DBus: Error org.freedesktop.DBus.Error.InvalidArgs - No such property CanSuspend
12:14:10 T:140326353106880 ERROR: DBus: Error org.freedesktop.DBus.Error.InvalidArgs - No such property CanHibernate
12:14:12 T:140326353106880 ERROR: CWinSystemX11::XErrorHandler: BadAtom (invalid Atom parameter), type:0, serial:43, error_code:5, request_code:18 minor_code:0
12:16:31 T:140325087598336 ERROR: GetVideoDetails: Invalid XML file (want <details>)
12:16:33 T:140325087598336 ERROR: GetVideoDetails: Invalid XML file (want <details>)
12:16:44 T:140325541635840 DEBUG: CDVDPlayerAudio::HandleSyncError - average error -9965.263392 below threshold of 50000.000000
12:16:45 T:140325541635840 DEBUG: CDVDClock:Big Griniscontinuity - CDVDPlayerAudio::HandleSyncError2 - was:1042707495.211000, should be:1042684059.420987, error:-23435.790013
12:16:54 T:140325087598336 ERROR: Run: Unable to parse web site
12:16:54 T:140325087598336 ERROR: GetVideoDetails: Invalid XML file (want <details>)
12:16:56 T:140325087598336 ERROR: GetVideoDetails: Invalid XML file (want <details>)
12:17:17 T:140325087598336 ERROR: Run: Unable to parse web site
12:17:40 T:140325087598336 ERROR: GetVideoDetails: Invalid XML file (want <details>)
12:17:53 T:140325087598336 ERROR: GetVideoDetails: Invalid XML file (want <details>)
12:18:31 T:140325087598336 DEBUG: scraper: ParseTMDBPlot returned <details><plot>Following the death of District Attorney Harvey Dent, Batman assumes responsibility for Dent's crimes to protect the late attorney's reputation and is subsequently hunted by the Gotham City Police Department. Eight years later, Batman encounters the mysterious Selina Kyle and the villainous Bane, a new terrorist leader who overwhelms Gotham's finest. The Dark Knight resurfaces to protect a city that has branded him an enemy.</plot></details>
12:18:33 T:140325087598336 ERROR: GetVideoDetails: Invalid XML file (want <details>)
12:18:43 T:140325087598336 DEBUG: scraper: ParseTMDBPlot returned <details><plot>In December 2004, close-knit family Maria (Naomi Watts), Henry (Ewan McGregor) and their three sons begin their winter vacation in Thailand. But the day after Christmas, the idyllic holiday turns into an incomprehensible nightmare when a terrifying roar rises from the depths of the sea, followed by a wall of black water that devours everything in its path. Though Maria and her family face their darkest hour, unexpected displays of kindness and courage ameliorate their terror.</plot></details>
12:19:00 T:140325087598336 ERROR: GetVideoDetails: Invalid XML file (want <details>)
12:19:01 T:140325087598336 ERROR: GetVideoDetails: Invalid XML file (want <details>)
12:19:03 T:140325087598336 ERROR: GetVideoDetails: Invalid XML file (want <details>)
12:20:40 T:140325541635840 DEBUG: CDVDClock:Big Griniscontinuity - CDVDPlayerAudio::HandleSyncError2 - was:1277690841.969987, should be:1277701022.292779, error:10180.322792

Regards,
Djcrash1981

Ok, I tried to start kodi right now and It just hangs on the splash screen with "Kodi v15.1 - Isengard"
Reply
#30
(2015-09-21, 19:54)djcrash1981 Wrote: Ok, I finally was able to add the first two paths to my library and kodi hanged as expected.

I've added the debug option but it seems that the log is just to big for pastebin, do you have any other way so I can upload the logs?


You can upload the logs wherever, and just give out the link. Google drive, dropbox, etc.

Cheers!
Reply

Logout Mark Read Team Forum Stats Members Help
Kodi hangs without warnings0