Yocto image issues

Home Forums i.MX6 XBMC support Yocto image issues

Viewing 15 posts - 1 through 15 (of 32 total)
  • Author
    Posts
  • #494
    stephan
    Keymaster

    Hi,

    Please post here the issues related to this image
    For any feedback, do not forget to precise your target.
    When issues are related to specific video streams, the best way to report is to send an extract of the faulty video so that I can reproduce and investigate.

    Regards
    Stephan

    #517
    Joseba
    Guest

    Hi,

    First of all, thanks for the great job you´ve done there.
    I have briefly checked the WB quad image, and found that external subtitles arent working. I mean, XBMC dosen´t recognize *.srt included in the same folder.
    About videos not been played, just a couple, one of them was the 15 Mg
    TEST TOOL Ac3 Dolby Digital 5.1ChSoundTest.

    Regards!

    #518
    Ralix
    Guest

    I’ve now a bit of testing.
    1 SD ubuntu uptime about 20 minutes 44-46°C
    2 SSD yocto 0.0.4:

    15:07:01 up 22 min, 1 user, load average: 12:49, 00:57, 00:46
    root @ utilite: ~ # cat / sys/class/thermal/thermal_zone0/temp
    65

    Yesterday I had found that the utilité is quite warm in my opinion.

    #519
    mrpi_314
    Guest

    Hi,

    I am using your newest image on an udoo-quad. After a full restart of the board, the playback in xbmc is working fine but when the xbmc is running for a longer time, I only get audio playback.

    dmesg:

    [79742.156748] mxc_v4l2_output mxc_v4l2_output.0: Bypass IC.
    

    xbmc.log:

    18:39:50 T:737669120  NOTICE: DVDPlayer: Opening: /media/Western Digital 4TB NAS/Filme/XXXXXXX/XXXXXXX.mkv
    18:39:50 T:737669120 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
    18:39:50 T:977171536  NOTICE: Thread DVDPlayer start, auto delete: false
    18:39:50 T:977171536  NOTICE: Creating InputStream
    18:39:50 T:977171536  NOTICE: Creating Demuxer
    18:39:50 T:977171536  NOTICE: Opening video stream: 0 source: 256
    18:39:50 T:977171536  NOTICE: Creating video codec with codec id: 28
    18:39:50 T:977171536  NOTICE: Creating video thread
    18:39:50 T:986707024  NOTICE: Thread DVDPlayerVideo start, auto delete: false
    18:39:50 T:986707024  NOTICE: running thread: video_thread
    18:39:50 T:977171536  NOTICE: Opening audio stream: 1 source: 256
    18:39:50 T:977171536  NOTICE: Finding audio codec for: 86019
    18:39:50 T:977171536  NOTICE: Creating audio thread
    18:39:50 T:1083720784  NOTICE: Thread DVDPlayerAudio start, auto delete: false
    18:39:50 T:1083720784  NOTICE: running thread: CDVDPlayerAudio::Process()
    18:39:50 T:1083720784  NOTICE: Creating audio stream (codec id: 86019, channels: 2, sample rate: 48000, pass-through)
    18:39:50 T:986707024  NOTICE: DeQueue - Cannot dequeue frame as buffers were released !
    18:39:50 T:986707024   ERROR: AllocateBuffers - 13 Hw buffer allocation error (-1)
    18:39:50 T:986707024  NOTICE: DeQueue - Cannot dequeue frame as buffers were released !
    18:39:50 T:986707024   ERROR: Decode - VPU decode failed with error code 7.
    ...
    18:39:50 T:986707024 WARNING: CDVDMessageQueue(video)::Get - asked for new data packet, with nothing available
    18:39:50 T:986707024  NOTICE: DeQueue - Cannot dequeue frame as buffers were released !
    18:39:50 T:986707024   ERROR: Decode - VPU decode failed with error code 7.
    ...
    18:40:00 T:986707024   ERROR: Decode - VPU decode failed with error code 7.
    18:40:00 T:737669120  NOTICE: CDVDPlayer::CloseFile()
    18:40:00 T:737669120  NOTICE: DVDPlayer: waiting for threads to exit
    18:40:00 T:977171536  NOTICE: CDVDPlayer::OnExit()
    18:40:00 T:977171536  NOTICE: DVDPlayer: closing audio stream
    18:40:00 T:977171536  NOTICE: Closing audio stream
    18:40:00 T:977171536  NOTICE: Waiting for audio thread to exit
    18:40:00 T:1083720784  NOTICE: thread end: CDVDPlayerAudio::OnExit()
    18:40:00 T:977171536  NOTICE: Closing audio device
    18:40:00 T:977171536  NOTICE: Deleting audio codec
    18:40:00 T:977171536  NOTICE: DVDPlayer: closing video stream
    18:40:00 T:977171536  NOTICE: Closing video stream
    18:40:00 T:977171536  NOTICE: waiting for video thread to exit
    18:40:00 T:986707024   ERROR: Got MSGQ_ABORT or MSGO_IS_ERROR return true
    18:40:00 T:986707024  NOTICE: thread end: video_thread
    18:40:00 T:977171536  NOTICE: deleting video codec
    18:40:00 T:977171536   ERROR: Dispose - VPU flush failed with error code 1.
    18:40:00 T:977171536  NOTICE: CDVDPlayer::OnExit() deleting demuxer
    18:40:00 T:977171536  NOTICE: CDVDPlayer::OnExit() deleting input stream
    18:40:00 T:737669120  NOTICE: DVDPlayer: finished waiting
    18:40:00 T:737669120  NOTICE: CDVDPlayer::CloseFile()
    18:40:00 T:737669120  NOTICE: DVDPlayer: waiting for threads to exit
    18:40:00 T:737669120  NOTICE: DVDPlayer: finished waiting
    18:40:00 T:737669120  NOTICE: CDVDPlayer::CloseFile()
    18:40:00 T:737669120  NOTICE: DVDPlayer: waiting for threads to exit
    18:40:00 T:737669120  NOTICE: DVDPlayer: finished waiting
    

    A restart of xbmc.bin does not solve the problem. I have to reboot the hole system.

    The problem exists with all files that I have testet (mainly 1024p/720p h264)

    Regards!

    P.S.: I am using a self compiled kernel to have NFS3/4 and BtrFS, so I am not 100% sure that this problem exists in the official version but I have not changed any source.

    root@udoo-quad:~/.xbmc/temp# cat /proc/version 
    Linux version 3.0.35-g192842b (lspr@lspr-nexoc) (gcc version 4.4.4 (4.4.4_09.06.2010) ) #7 SMP PREEMPT Fri Jan 31 20:45:00 CET 2014
    
    #520
    stephan
    Keymaster

    Hi Joseba,

    I have just given a try a external subtitles and they work fine for me (external srt file with same file name as movie).
    It is known not to work with UPNP (because xbmc cannot see them, check here) but they work fine with local content, or SMB/NFS shares
    For TEST TOOL Ac3 Dolby Digital 5.1ChSoundTest, you are right : It is a divX3 codec which is not played (divx4 and divx5 are correctly played but not divX3) : I think I know what the issue is and should be able to fix it very quickly…

    #521
    stephan
    Keymaster

    Hi Ralix,

    First no panic : 66°C as a core temp is not dangerous for your device.
    Then there is an easy explanation for the difference with ubuntu.
    When you launch my image, you automatically launch XBMC and the main page requires permanent GPU activity (especially for displaying the RSS feed) which is largely responsible for the heat dissipation you mention.
    If you want to lower temperature you can :
    – Stop XBMC (most efficient)
    – Disable RSS feed (it will really improve GPU load)
    – Move to another page on XBMC GUI
    Regards
    Stephan

    #522
    stephan
    Keymaster

    Hi mrpi_314,

    Unfortunately I know the symptoms you describe.
    You are faced with a memory allocation failure.
    When it happens can you try the following :
    First, issue commands

      free -m
      cat /proc/zoneinfo
      cat /proc/meminfo
    

    And send to me the outputs

    Then, issue the command :
    echo 3 > /proc/sys/vm/drop_caches

    And try again to launch your movie…

    Regards
    Stephan

    • This reply was modified 9 years, 7 months ago by stephan.
    • This reply was modified 9 years, 7 months ago by stephan.
    #525
    Lloyd
    Guest

    Hi Stephan

    I have already noted it in your blog section, but I thought I would write it here again so that everyone knows and can maybe share their experiences related to my issues experienced on my Udoo Quad:

    1. Aeon MQ5 Skin(Can’t successfully enable the skin). It automatically reverts back to the default Confluence skin when I try enable MQ5 skin. Anyone else experienced this?

    2. Sports-a-holic add-on(part of the mash2k3 repository). XBMC tells me I cannot install this add-on due to missing dependencies. Any idea what it needs to be able to work? Anyone else experienced this?

    3. My 1080p movies playback with stutter(flickering of the screen) and eventually cause my Udoo to freeze up completely and reboot is required. Stephan is helping me investigate this already…but has anyone else experienced this with any of their 1080p movies and if so what types of video files were they? To provide you more info about the files I ma having a problem with: One is a 12GB 1080p x264 mkv with DTS. It is the film Prometheus.

    Thanks again Stephan for all your hard work and help! and I am interested to hear from the rest of the community if anyone has experienced problems similar to mine and if so compare notes

    #528
    mrpi_314
    Guest

    root@udoo-quad:~# free -m

                 total       used       free     shared    buffers     cached
    Mem:           875        446        428          0         17        178
    -/+ buffers/cache:        250        624
    Swap:            0          0          0
    

    root@udoo-quad:~# cat /proc/zoneinfo

    Node 0, zone      DMA
      pages free     29115
            min      195
            low      243
            high     292
            scanned  0
            spanned  47104
            present  46736
        nr_free_pages 29115
        nr_inactive_anon 10
        nr_active_anon 3138
        nr_inactive_file 70
        nr_active_file 38
        nr_unevictable 0
        nr_mlock     0
        nr_anon_pages 3128
        nr_mapped    22
        nr_file_pages 128
        nr_dirty     2
        nr_writeback 0
        nr_slab_reclaimable 232
        nr_slab_unreclaimable 215
        nr_page_table_pages 18
        nr_kernel_stack 24
        nr_unstable  0
        nr_bounce    0
        nr_vmscan_write 56092
        nr_writeback_temp 0
        nr_isolated_anon 0
        nr_isolated_file 0
        nr_shmem     20
        nr_dirtied   2018208
        nr_written   1774554
        nr_anon_transparent_hugepages 0
            protection: (0, 705, 705, 705)
      pagesets
        cpu: 0
                  count: 6
                  high:  90
                  batch: 15
      vm stats threshold: 12
        cpu: 1
                  count: 89
                  high:  90
                  batch: 15
      vm stats threshold: 12
        cpu: 2
                  count: 4
                  high:  90
                  batch: 15
      vm stats threshold: 12
        cpu: 3
                  count: 83
                  high:  90
                  batch: 15
      vm stats threshold: 12
      all_unreclaimable: 0
      start_pfn:         65536
      inactive_ratio:    1
    Node 0, zone   Normal
      pages free     78801
            min      757
            low      946
            high     1135
            scanned  0
            spanned  215040
            present  180592
        nr_free_pages 78801
        nr_inactive_anon 104
        nr_active_anon 40852
        nr_inactive_file 43322
        nr_active_file 8234
        nr_unevictable 0
        nr_mlock     0
        nr_anon_pages 40749
        nr_mapped    4776
        nr_file_pages 51759
        nr_dirty     3229
        nr_writeback 0
        nr_slab_reclaimable 2951
        nr_slab_unreclaimable 2513
        nr_page_table_pages 522
        nr_kernel_stack 193
        nr_unstable  0
        nr_bounce    0
        nr_vmscan_write 62497
        nr_writeback_temp 0
        nr_isolated_anon 0
        nr_isolated_file 0
        nr_shmem     207
        nr_dirtied   7674268
        nr_written   6720939
        nr_anon_transparent_hugepages 0
            protection: (0, 0, 0, 0)
      pagesets
        cpu: 0
                  count: 87
                  high:  186
                  batch: 31
      vm stats threshold: 24
        cpu: 1
                  count: 43
                  high:  186
                  batch: 31
      vm stats threshold: 24
        cpu: 2
                  count: 80
                  high:  186
                  batch: 31
      vm stats threshold: 24
        cpu: 3
                  count: 47
                  high:  186
                  batch: 31
      vm stats threshold: 24
      all_unreclaimable: 0
      start_pfn:         112640
      inactive_ratio:    1
    

    root@udoo-quad:~# cat /proc/meminfo

    MemTotal:         896044 kB
    MemFree:          424472 kB
    Buffers:           18076 kB
    Cached:           196272 kB
    SwapCached:            0 kB
    Active:           209040 kB
    Inactive:         180840 kB
    Active(anon):     175932 kB
    Inactive(anon):      456 kB
    Active(file):      33108 kB
    Inactive(file):   180384 kB
    Unevictable:           0 kB
    Mlocked:               0 kB
    HighTotal:             0 kB
    HighFree:              0 kB
    LowTotal:         896044 kB
    LowFree:          424472 kB
    SwapTotal:             0 kB
    SwapFree:              0 kB
    Dirty:             20008 kB
    Writeback:             0 kB
    AnonPages:        175496 kB
    Mapped:            19192 kB
    Shmem:               908 kB
    Slab:              23640 kB
    SReclaimable:      12732 kB
    SUnreclaim:        10908 kB
    KernelStack:        1728 kB
    PageTables:         2160 kB
    NFS_Unstable:          0 kB
    Bounce:                0 kB
    WritebackTmp:          0 kB
    CommitLimit:      448020 kB
    Committed_AS:     914912 kB
    VmallocTotal:     811008 kB
    VmallocUsed:        3100 kB
    VmallocChunk:     805180 kB
    

    Issuing echo 3 > /proc/sys/vm/drop_caches did not solve the problem.

    #537
    stephan
    Keymaster

    Hi mrpi_314

    Thanks for your feedback
    Obviously another DMA allocation issue for VPU…
    Unfortunately I have merged this patch from wandboard which should help but it is still not a the silver bullet solution…

    • This reply was modified 9 years, 7 months ago by stephan.
    #540
    Gabriel Guzman
    Guest

    Just tried the utilite_yocto_v0.0.4.img.xz on my utilite pro, all that happens is I see a splash screen for wandboard and that’s it. No console output either. Not sure if there is something wrong with the image I downloaded so I’m trying again, just in case I accidentally got the wrong image. Just downloaded and verified the md5:
    6b992d86b7fa7164ada3f2b3e7958386

    Will do the install and see what happens this time around.

    Thanks for your work!

    #541
    Gabriel Guzman
    Guest

    Confirmed, I have the same problem after re-trying the utilite image. I get a wandboard.org splash screen and then nothing else.

    #542
    Simon
    Guest

    Hi Stephan,

    thanks a lot for your great work. Im succesfully using your image on my wanboard quad, and it is playing most of my stuff without any jerks. There are just 2 things I recognized:

    1. I’m not able to play Ac3 passthrough over Spdif (DTS is working), means I can play the file, but there is no sound. If I turn passtrough off, sound is working perfectly.

    2. There is no scaling-method option for SD-Videos, which makes them a little “rough” looking on HD-devices. I guess this is a vpu-driver issue, and therefore you will have probably no influence on this until there is a new driver coming out…

    Hope you keep on this really good work!

    Simon

    #544
    stephan
    Keymaster

    hi simon,

    Maybe you can try the try pointed by peter : http://stephan-rafin.net/blog/2014/01/29/yet-another-yocto-image/#comment-1787
    iecset -c 1 audio 0

    Regards

    #545
    stephan
    Keymaster

    @Gabriel :
    Hi sorry for the delay of my fix : Could you try this new version please :
    https://stephan-rafin.net/owncloud/public.php?service=files&t=7846b16cb79e2f4e9ca45a78b65d07f5

    Best regards
    Stephan

Viewing 15 posts - 1 through 15 (of 32 total)
  • The forum ‘i.MX6 XBMC support’ is closed to new topics and replies.

One thought on “Yocto image issues

  1. Pingback: Yet another yocto image | Stephan's blog

Comments are closed.