Kodi Community Forum

Full Version: OpenELEC Testbuilds for RaspberryPi (Kodi 15.0) Part 2
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
(2015-05-18, 21:41)Milhouse Wrote: [ -> ]Can you upload your kodi.log?

You should have a pause when this line appears in the log:
Code:
20:10:55   9.952027 T:1968017408  NOTICE: Checking resolution 16
until the splash video has played out, when logging (and Kodi) continues.

No pause for me it seems: http://paste.ubuntu.com/11211935/

Code:
20:52:15   9.687023 T:1968226304  NOTICE: Checking resolution 16
20:52:15   9.711180 T:1968226304   DEBUG: EGL set HDMI mode (1,31)=0
20:52:16   9.798334 T:1920988224   DEBUG: EGL tv_service_callback (8,1,31)
20:52:16   9.798736 T:1968226304   DEBUG: EGL set resolution 1920x1080 -> 1920x1080 @ 50.00 fps (1,31) flags:1f010004 aspect:1.00
20:52:16   9.826921 T:1968226304   DEBUG: CreateWindow: Created surface of size 1920x1080
20:52:16   9.827884 T:1968226304  NOTICE: GL_VENDOR = Broadcom

This is with the default video.
Had someone also problems with the actors pictures? After a few builds i don't get the pictures after scraping the movie. The setting for actor pictures is on. I have downgraded for a short test to OE 5.95.1 and the pictures will be loaded. After upgrading to the #0517 and scraping a movie again the actor pictures are lost.
(2015-05-18, 22:00)Leopold Wrote: [ -> ]No pause for me it seems: http://paste.ubuntu.com/11211935/

Very odd. Can you upload the system log and status of the kodi-splash service:
Code:
journalctl --no-pager | pastebinit
systemctl status kodi-splash | pastebinit
md5sum /storage/.cache/splash.h264

I also included the md5sum check just to be sure we're all working with the same splash video - the hash of the "default" video should be 5c7c52454211dc50c34f0bcdaf3faf81.
(2015-05-18, 22:21)querty1000 Wrote: [ -> ]Had someone also problems with the actors pictures? After a few builds i don't get the pictures after scraping the movie. The setting for actor pictures is on. I have downgraded for a short test to OE 5.95.1 and the pictures will be loaded. After upgrading to the #0517 and scraping a movie again the actor pictures are lost.

Check your kodi.log for errors, or upload a debug log.
New OpenELEC Isengard build #0518: RPi / RPi2
(Supercedes previous build)

Code:
# uname -a
Linux rpi512 4.0.3 #1 Mon May 18 21:07:52 BST 2015 armv6l GNU/Linux

# vcgencmd version
May 18 2015 16:26:35
Copyright (c) 2012 Broadcom
version dda584d6907a6c642dcae5a260aa3396f9146cd2 (clean) (release)

# lsb_release
OpenELEC (Milhouse) - Version: devel-20150518210448-#0518-g6255426 [Build #0518]

# vcdbg log msg 2>&1 | grep DTOK
001538.161: Kernel trailer DTOK property says yes

# Kernel device tree status: Enabled

Based on tip of OpenELEC master (6255426d, changelog) and tip of XBMC master (c8640e97, changelog) with the following modifications: Build Highlights:
  1. New firmware
  2. h265: add support for weighted prediction in P frames
Build Details:
  1. Firmware (May 18):
    • firmware: di_adv: Fix memory leak of converted buffers. See: link
    • firmware: arm_display: Fix initialisation of framebuffer struct when framebuffer base is passed in
    • firmware: hdmi: Tweak hdmi_mai_thresh for 192kHz audio. See: link
    • firmware: vcsm: Update to header from kernel side
  2. XBMC:
    • Minor fixups for cross builds (PR:7060, 2 commits, 1 file changed)
    • dvdplayer: fix unused variable after e1b2c94049fa34bc9de7d067ae220664… (PR:7158, 1 commit, 1 file changed)
    • videorefclock: fix wrong speed when in windowed mode (PR:7149, 3 commits, 7 files changed)
  3. dcadec:
    • Don't make FORCE_DMIX_2CH flag part of public API. (1b87dfba)
    • Protect GCC visibility attribute in a public header. (c4d213b3)
    • Update .gitignore (b93227f4)
    • Use shasum when sha1sum is not available. (3226660a)
    • Fix full 64 subband fixed point IDCT. (e89ba707)
  4. kodi-platform:
    • [debian] fix packaging after version bump (PR:7, 1 commit, 1 file changed)
  5. newclock4:
    • New commits in this build:
      • fixup! configure: Add raspberry-pi2 platform (4e2bb3a7)
      • [ffmpeg] squash: h265: add support for weighted prediction in P frames (124d66ab)
  6. kernel 4.0.y:
    • New commits in this build:
      • bcm2835-sdhost: Round up the overclock, so 62 works for 62.5Mhz (39488597)
      • bcm2835-mmc: Round up the overclock, so 62 works for 62.5Mhz (aa339680)
      • BCM2708_DT: Add missing CM aliases (8beaa1d2)
      • usb: dwc_otg: Don't use dma_to_virt() (d54112e7)
      • fixup: restore dma-mapping.h (3048b2ee)
(2015-05-18, 22:21)querty1000 Wrote: [ -> ]Had someone also problems with the actors pictures? After a few builds i don't get the pictures after scraping the movie. The setting for actor pictures is on. I have downgraded for a short test to OE 5.95.1 and the pictures will be loaded. After upgrading to the #0517 and scraping a movie again the actor pictures are lost.

I'm having the same issues. Downgraded to 14.2 and the cast information works as expected.
We found weighted prediction in P frames was disabling the gpu acceleration and was present in the samples that didn't play well. Can you retest you h.265 files with latest build and let us know if it improves things.
(2015-05-18, 23:20)Milhouse Wrote: [ -> ]
(2015-05-18, 22:21)querty1000 Wrote: [ -> ]Had someone also problems with the actors pictures? After a few builds i don't get the pictures after scraping the movie. The setting for actor pictures is on. I have downgraded for a short test to OE 5.95.1 and the pictures will be loaded. After upgrading to the #0517 and scraping a movie again the actor pictures are lost.

Check your kodi.log for errors, or upload a debug log.

Code:
18:57:58 3144.463623 T:1521706048   DEBUG: GetMovieId (nfs://192.168.1.45/volume1/media/Movies/Oldboy/Oldboy.mkv), query = select idMovie from movie where idFile=594
18:57:58 3144.471191 T:1557132352   DEBUG: Previous line repeats 1 times.
18:57:58 3144.471436 T:1557132352   DEBUG: COMXReEnc::ReEncode : http://thetvdb.com/banners/actors/323657.jpg 300x450 -> 300x450
18:57:58 3144.473877 T:1521706048   ERROR: SQL: SQL error or missing database
                                            Query: select actor_id from actor where SUBSTRING(name, 1, 255) = 'Choi Min-sik'
18:57:58 3144.474365 T:1521706048   ERROR: AddActor (Choi Min-sik) failed
18:57:58 3144.476562 T:1557132352   DEBUG: COMXCoreComponent::Deinitialize : OMX.broadcom.image_decode handle 0x44038f8
18:57:58 3144.477295 T:1521706048   ERROR: SQL: SQL error or missing database
                                            Query: select actor_id from actor where SUBSTRING(name, 1, 255) = 'Yoo Ji-Tae'
18:57:58 3144.477783 T:1521706048   ERROR: AddActor (Yoo Ji-Tae) failed
18:57:58 3144.479004 T:1557132352   DEBUG: COMXCoreComponent::Deinitialize : OMX.broadcom.image_encode handle 0x4741cb0
18:57:58 3144.479736 T:1521706048   ERROR: SQL: SQL error or missing database
                                            Query: select actor_id from actor where SUBSTRING(name, 1, 255) = 'Kang Hye-jung'
18:57:58 3144.481201 T:1521706048   ERROR: AddActor (Kang Hye-jung) failed
18:57:58 3144.482422 T:1521706048   ERROR: SQL: SQL error or missing database
                                            Query: select actor_id from actor where SUBSTRING(name, 1, 255) = 'Kim Byeong-ok'
18:57:58 3144.482666 T:1521706048   ERROR: AddActor (Kim Byeong-ok) failed
18:57:58 3144.484619 T:1557132352   DEBUG: Fast Caching image 'http://thetvdb.com/banners/actors/323657.jpg' to 'c/c082a99c.jpg': (nil)
18:57:58 3144.485107 T:1521706048   ERROR: SQL: SQL error or missing database
                                            Query: select actor_id from actor where SUBSTRING(name, 1, 255) = 'Oh Dal-Su'
18:57:58 3144.485596 T:1521706048   ERROR: AddActor (Oh Dal-Su) failed
18:57:58 3144.486572 T:1521706048   ERROR: SQL: SQL error or missing database
                                            Query: select actor_id from actor where SUBSTRING(name, 1, 255) = 'Ji Dae-Han'
18:57:58 3144.487061 T:1521706048   ERROR: AddActor (Ji Dae-Han) failed
18:57:58 3144.488281 T:1521706048   ERROR: SQL: SQL error or missing database
                                            Query: select actor_id from actor where SUBSTRING(name, 1, 255) = 'Oh Tae-kyung'
18:57:58 3144.488525 T:1521706048   ERROR: AddActor (Oh Tae-kyung) failed
18:57:58 3144.490234 T:1521706048   ERROR: SQL: SQL error or missing database
                                            Query: select actor_id from actor where SUBSTRING(name, 1, 255) = 'Yoon Jin-Seo'
18:57:58 3144.490479 T:1521706048   ERROR: AddActor (Yoon Jin-Seo) failed
18:57:58 3144.491943 T:1521706048   ERROR: SQL: SQL error or missing database
                                            Query: select actor_id from actor where SUBSTRING(name, 1, 255) = 'Lee Seung-Shin'
18:57:58 3144.492188 T:1521706048   ERROR: AddActor (Lee Seung-Shin) failed
18:57:58 3144.492920 T:1521706048   ERROR: SQL: SQL error or missing database
                                            Query: select actor_id from actor where SUBSTRING(name, 1, 255) = 'Lee Dae-yeon'
18:57:58 3144.493164 T:1521706048   ERROR: AddActor (Lee Dae-yeon) failed
18:57:58 3144.493896 T:1521706048   ERROR: SQL: SQL error or missing database
                                            Query: select actor_id from actor where SUBSTRING(name, 1, 255) = 'Oh Kwang-rok'
18:57:58 3144.494385 T:1521706048   ERROR: AddActor (Oh Kwang-rok) failed
18:57:58 3144.495605 T:1521706048   ERROR: SQL: SQL error or missing database
                                            Query: select actor_id from actor where SUBSTRING(name, 1, 255) = 'Ahn Yeon-suk'
18:57:58 3144.500244 T:1521706048   ERROR: AddActor (Ahn Yeon-suk) failed
18:57:58 3144.573730 T:1521706048   ERROR: SQL: SQL error or missing database
                                            Query: select actor_id from actor where SUBSTRING(name, 1, 255) = 'Park Chan-wook'
18:57:58 3144.574219 T:1521706048   ERROR: AddActor (Park Chan-wook) failed
18:57:58 3144.574707 T:1521706048   ERROR: SQL: SQL error or missing database
                                            Query: select actor_id from actor where SUBSTRING(name, 1, 255) = 'Hwang Jo-yun'
18:57:58 3144.574951 T:1521706048   ERROR: AddActor (Hwang Jo-yun) failed
18:57:58 3144.575439 T:1521706048   ERROR: SQL: SQL error or missing database
                                            Query: select actor_id from actor where SUBSTRING(name, 1, 255) = 'Lim Chun-hyeong'
18:57:58 3144.575684 T:1521706048   ERROR: AddActor (Lim Chun-hyeong) failed
18:57:58 3144.576172 T:1521706048   ERROR: SQL: SQL error or missing database
                                            Query: select actor_id from actor where SUBSTRING(name, 1, 255) = 'Lim Joon-hyung'
18:57:58 3144.576172 T:1557132352   DEBUG: CurlFile::Open(0x4a89968) http://thetvdb.com/banners/actors/323656.jpg
18:57:58 3144.576416 T:1521706048   ERROR: AddActor (Lim Joon-hyung) failed
18:57:58 3144.576660 T:1521706048   ERROR: SQL: SQL error or missing database
                                            Query: select actor_id from actor where SUBSTRING(name, 1, 255) = 'Park Chan-wook'
18:57:58 3144.576904 T:1521706048   ERROR: AddActor (Park Chan-wook) failed

Hope this helps.
(2015-05-18, 21:46)Milhouse Wrote: [ -> ]
(2015-05-18, 21:28)SenorLoco Wrote: [ -> ]Yup I have that enabled but I don't know if it is even getting to a point where that would be needed. It seems like it is getting hung up during the shutdown process...(normally during reboot the screen will go blank and then the normal pi multi color screen will show follow by the splash video, but without umount it freezes on the blank screen before the normal pi multi color screen at startup).

It hasn't been a huge deal since I don't normally have to reboot my pi very often and usually I'm already logged in via ssh so its easy to umount before reboot but I just thought it was strange and hadn't heard anyone else mentioning having to do so.

You probably want to start a new thread to continue this discussion. I have a couple of NFS mounts in my autostart.sh and haven't had any problems rebooting. Maybe you're doing something odd in your autostart.sh, or even shutdown.sh.

I've had this in other distros when mounts aren't defined correctly, or when you have bind mounts on mounts, and try to do the unmounts out of order. unmount in the exact reverse order that you initially mounted.
(2015-05-18, 23:19)Milhouse Wrote: [ -> ]Very odd. Can you upload the system log and status of the kodi-splash service:
Code:
journalctl --no-pager | pastebinit
systemctl status kodi-splash | pastebinit
md5sum /storage/.cache/splash.h264

I also included the md5sum check just to be sure we're all working with the same splash video - the hash of the "default" video should be 5c7c52454211dc50c34f0bcdaf3faf81.

journalctl --no-pager
http://sprunge.us/fRLW

systemctl status kodi-splash
http://sprunge.us/bYWB

md5sum /storage/.cache/splash.h264
5c7c52454211dc50c34f0bcdaf3faf81 /storage/.cache/splash.h264
I'm have used these test builds since I got my RPI2 in February with little to no problems, but sometime in the past two weeks Kodi began locking up randomly when playing a video. I use a 2 TB USB hard drive connected to the PI, so it's not a network problem. I did a fresh install today and it again locked up. I Can't seem to make it freeze it just happens randomly. But more commonly it happens when I watch two or three episodes in a row. I wish I remembered what day this started and I'd go back to that release.

Sorry if this post is nonsense, it's late and I just wanted to post before I forgot
(2015-05-19, 01:21)popcornmix Wrote: [ -> ]We found weighted prediction in P frames was disabling the gpu acceleration and was present in the samples that didn't play well. Can you retest you h.265 files with latest build and let us know if it improves things.

There is a great improvement, but try this torrent (magnet link):
http://pastebin.com/b6S67x31

Edit:
if does not work, try this:
https://docs.google.com/uc?export=downlo...zg5R2J5QWs
(2015-05-19, 04:02)robnix Wrote: [ -> ]Hope this helps.

Please don't post long log snippets to the forum. Upload your *whole* log to pastebin.com or xbmclogs.com (with ssh in OpenELEC this is easy: "paste /storage/.kodi/temp/kodi.log")

Edit: OK I know what is causing this, will be fixed in next build.
(2015-05-19, 06:21)Leopold Wrote: [ -> ]journalctl --no-pager
http://sprunge.us/fRLW

systemctl status kodi-splash
http://sprunge.us/bYWB

md5sum /storage/.cache/splash.h264
5c7c52454211dc50c34f0bcdaf3faf81 /storage/.cache/splash.h264

Thanks but unfortunately the logs are rotated when the time is set (which happens quite late on your system) so the logs contain nothing useful. I guess you could try running "kodi-splash.sh" from the command line, see if it plays to the end and without error.
(2015-05-19, 07:04)Mfleigle Wrote: [ -> ]I wish I remembered what day this started and I'd go back to that release.

That's why there are daily builds, so you can go backwards through each build and determine when the problem started. Yes it can take a while and is a tedious business, but that's all part & parcel of the testing business. Smile

At the very least a debug log (wiki) that includes a freeze might help. If it's only Kodi that is freezing you should still have ssh access. If the OS has locked up you'll need to power cycle and hopefully the previous log will be called kodi.olg.log. If you leave a frozen system long enough does Kodi restart - maybe it's an out of memory situation? Track memory usage with "bcmstat.sh cgxpd10" in ssh.