LibreELEC (Leia) 9.2 ALPHA1 with Raspberry Pi 4B Support

  • Hej all,

    I installed LibreELEC-RPi4.arm-9.1.002.img.gz on my Pi 4 (4GB RAM).

    The playback of video starts, but it only plays the sound. The video itself stays black.

    Any ideas why this is happening?

    Cheers,

    Bjoern

  • Quote

    I have a strange behavior when i use the Simple Iptv client.

    First the FPS from the Stream is at 50, after 2sec i goes to 25 and after additionally 2sec i goes to 12,5.

    Im on the newest Alpha Build.

    When i come home i will attach an log.

    Here is the log for the 50fps to 25fps Video Stream switch.

    These 2 lines are the problem i think:

    CalcFrameRate framerate was:50.000000 calculated:25.000000

    CMMALRenderer::Configure - 1920x1080->[email protected] flags:1 format:-1 orient:0

    Is there a setting i can run to stop CMMALRender switch fps rates?


    Display Spoiler

    2019-08-08 14:11:23.348 T:2589971312 DEBUG: CalcFrameRate framerate was:50.000000 calculated:25.000000

    2019-08-08 14:11:23.349 T:3011134800 DEBUG: CMMALRenderer::RenderUpdate - MMAL: clear:0 flags:0 alpha:255 source:2 omvb:0xb0052430 mmal:0xb0044540 mflags:30004 skipping

    2019-08-08 14:11:23.349 T:3011134800 DEBUG: CMMALRenderer::RenderUpdate - vsync 4924 (+1)

    2019-08-08 14:11:23.365 T:3011134800 DEBUG: PrepareNextRender: frameOnScreen: 6621983.437921 renderPts: 6707482.098258 nextFramePts: 6699399.000000 -> diff: 8083.098258 render: 1 forceNext: 0

    2019-08-08 14:11:23.365 T:3011134800 DEBUG: CMMALRenderer::Update

    2019-08-08 14:11:23.366 T:2589971312 INFO: CMMALVideo::GetPicture dts:0.000 pts:6.859 flags:0:30004 MMALBuffer:0xb0017c48 mmal_buffer:0xb0041e88

    2019-08-08 14:11:23.367 T:2589971312 DEBUG: CMMALVideo::GetPicture - ret(4) pics(1) inputs(2) slept( 0) queued(0.20) (7.10:6.90) full(0) flags(0) preroll(0) eos(0 321/-1)

    2019-08-08 14:11:23.367 T:2589971312 DEBUG: CRenderManager::Configure - change configuration. 1920x1080. display: 1920x1080. framerate: 25.00.

    2019-08-08 14:11:23.367 T:3011134800 DEBUG: CMMALRenderer::RenderUpdate - MMAL: clear:0 flags:0 alpha:255 source:3 omvb:0xb004d160 mmal:0xb0044718 mflags:30004 len:128 data:0x22 enc:OPQV

    2019-08-08 14:11:23.385 T:3011134800 DEBUG: PrepareNextRender: frameOnScreen: 6641789.659921 renderPts: 6727288.320258 nextFramePts: 6739399.000000 -> diff: -12110.679742 render: 0 forceNext: 1

    2019-08-08 14:11:23.385 T:3011134800 DEBUG: CMMALRenderer::Update

    2019-08-08 14:11:23.387 T:3011134800 DEBUG: CMMALRenderer::RenderUpdate - MMAL: clear:0 flags:0 alpha:255 source:0 omvb:0xb0050150 mmal:0xb00448f0 mflags:30004 len:128 data:0x23 enc:OPQV

    2019-08-08 14:11:23.406 T:3011134800 DEBUG: PrepareNextRender: frameOnScreen: 6662617.789921 renderPts: 6748116.450258 nextFramePts: 6779399.000000 -> diff: -31282.549742 render: 0 forceNext: 1

    2019-08-08 14:11:23.407 T:3011134800 DEBUG: CMMALRenderer::Update

    2019-08-08 14:11:23.411 T:3011134800 DEBUG: CMMALRenderer::RenderUpdate - MMAL: clear:0 flags:0 alpha:255 source:1 omvb:0xb004f5f0 mmal:0xb0044ac8 mflags:30004 len:128 data:0x24 enc:OPQV

    2019-08-08 14:11:23.426 T:3011134800 DEBUG: PrepareNextRender: frameOnScreen: 6683014.641921 renderPts: 6768513.302258 nextFramePts: 6819399.000000 -> diff: -50885.697742 render: 0 forceNext: 1

    2019-08-08 14:11:23.427 T:3011134800 DEBUG: CMMALRenderer::Update

    2019-08-08 14:11:23.445 T:3011134800 DEBUG: DeleteRenderer - deleting renderer

    2019-08-08 14:11:23.445 T:3011134800 DEBUG: CMMALRenderer::~CMMALRenderer

    2019-08-08 14:11:23.445 T:3011134800 DEBUG: CMMALRenderer::DestroyDeinterlace

    2019-08-08 14:11:23.449 T:3011134800 DEBUG: CMMALRenderer::UnInitMMAL

    2019-08-08 14:11:23.466 T:2471879536 DEBUG: CMMALPool::~CMMALPool Destroying pool 0xaff195c0 for port vc.ril.image_fx:out:0(I420)

    2019-08-08 14:11:23.471 T:2471879536 DEBUG: CMMALRenderer::Run - stopping

    2019-08-08 14:11:23.472 T:2471879536 DEBUG: Thread MMALProcess 2471879536 terminating

    2019-08-08 14:11:23.472 T:3011134800 DEBUG: CMMALRenderer::CMMALRenderer

    2019-08-08 14:11:23.472 T:3011134800 DEBUG: CMMALRenderer::Configure - 1920x1080->[email protected] flags:1 format:-1 orient:0

    2019-08-08 14:11:23.472 T:2471879536 DEBUG: Thread MMALProcess start, auto delete: false

    2019-08-08 14:11:23.472 T:3011134800 DEBUG: CMMALRenderer::GetRenderInfo opaque:0x2381218

    2019-08-08 14:11:23.472 T:2471879536 DEBUG: CMMALRenderer::Run - starting

    2019-08-08 14:11:23.472 T:3011134800 DEBUG: CMMALRenderer::Update

    2019-08-08 14:11:23.472 T:3011134800 DEBUG: CRenderManager::Configure - 4

    2019-08-08 14:11:23.472 T:3011134800 DEBUG: PrepareNextRender: frameOnScreen: 6728896.251921 renderPts: 6798896.251921 nextFramePts: 6859399.000000 -> diff: -60502.748079 render: 0 forceNext: 0

    2019-08-08 14:11:23.472 T:3011134800 DEBUG: CMMALRenderer::RenderUpdate - MMAL: No buffer to update clear:0 flags:0 alpha:255 source:0 omvb:(nil) mmal:(nil)

    2019-08-08 14:11:23.473 T:2589971312 INFO: CMMALVideo::GetPicture dts:0.000 pts:6.899 flags:0:30004 MMALBuffer:0xb0017d48 mmal_buffer:0xb0042060

    2019-08-08 14:11:23.473 T:2589971312 DEBUG: CMMALVideo::GetPicture - ret(4) pics(0) inputs(2) slept( 0) queued(0.20) (7.10:6.90) full(0) flags(0) preroll(0) eos(0 321/-1)

    2019-08-08 14:11:23.474 T:2589971312 DEBUG: CMMALVideo::GetPicture - ret(3) pics(0) inputs(2) slept( 0) queued(0.20) (7.10:6.90) full(0) flags(0) preroll(0) eos(0 321/-1)

    2019-08-08 14:11:23.475 T:2589971312 DEBUG: CMMALVideo::AddData - 0xb0035c40 49958 /0 dts:6.939 pts:7.019 flags:4 ready_queue(0)

    2019-08-08 14:11:23.475 T:2589971312 DEBUG: CMMALVideo::GetPicture - ret(3) pics(0) inputs(1) slept( 0) queued(0.12) (7.02:6.90) full(0) flags(0) preroll(0) eos(0 322/-1)

    2019-08-08 14:11:23.475 T:2589971312 DEBUG: CMMALVideo::AddData - 0xb0035e18 13486 /0 dts:6.979 pts:6.979 flags:4 ready_queue(0)

    2019-08-08 14:11:23.475 T:2488664944 DEBUG: CMMALVideo::dec_input_port_cb port:0xb002b9f0 buffer 0xb0035c40, len 0 cmd:0

    2019-08-08 14:11:23.475 T:2589971312 DEBUG: CMMALVideo::GetPicture - ret(3) pics(0) inputs(1) slept( 0) queued(0.08) (6.98:6.90) full(0) flags(0) preroll(0) eos(0 323/-1)

    2019-08-08 14:11:23.475 T:2589971312 DEBUG: CMMALVideo::AddData - 0xb0035c40 13684 /0 dts:6.999 pts:6.999 flags:4 ready_queue(0)

    2019-08-08 14:11:23.475 T:2488664944 DEBUG: CMMALVideo::dec_input_port_cb port:0xb002b9f0 buffer 0xb0035e18, len 0 cmd:0

    2019-08-08 14:11:23.476 T:2589971312 DEBUG: CMMALVideo::GetPicture - ret(3) pics(0) inputs(1) slept( 0) queued(0.10) (7.00:6.90) full(0) flags(0) preroll(0) eos(0 324/-1)

    2019-08-08 14:11:23.476 T:2589971312 DEBUG: CMMALVideo::AddData - 0xb0035e18 27785 /0 dts:7.019 pts:7.059 flags:4 ready_queue(0)

    2019-08-08 14:11:23.476 T:2488664944 DEBUG: CMMALVideo::dec_input_port_cb port:0xb002b9f0 buffer 0xb0035c40, len 0 cmd:0

    2019-08-08 14:11:23.476 T:2589971312 DEBUG: CMMALVideo::GetPicture - ret(3) pics(0) inputs(1) slept( 0) queued(0.16) (7.06:6.90) full(0) flags(0) preroll(0) eos(0 325/-1)

    2019-08-08 14:11:23.476 T:2488664944 DEBUG: CMMALVideo::dec_input_port_cb port:0xb002b9f0 buffer 0xb0035e18, len 0 cmd:0

    2019-08-08 14:11:23.476 T:2589971312 DEBUG: CMMALVideo::AddData - 0xb0035c40 133297/0 dts:7.059 pts:7.259 flags:4 ready_queue(0)

    2019-08-08 14:11:23.477 T:2589971312 DEBUG: CMMALVideo::GetPicture - ret(3) pics(0) inputs(1) slept( 0) queued(0.36) (7.26:6.90) full(0) flags(0) preroll(0) eos(0 326/-1)

    2019-08-08 14:11:23.477 T:2589971312 DEBUG: CMMALVideo::AddData - 0xb0035e18 26479 /0 dts:7.099 pts:7.179 flags:4 ready_queue(0)

    2019-08-08 14:11:23.479 T:2488664944 DEBUG: CMMALVideo::dec_output_port_cb - omvb:0xb0042410 mmal:0xb0032140 len:128 dts:-9223372036854.775 pts:6.939 flags:30004:30000 pool:0xb004cebc 1920x1080 (1920x1088) 1920x1080 (1920x1088) enc:OPQV

    2019-08-08 14:11:23.479 T:2488664944 DEBUG: CMMALPool::Configure pool:0xb0006650 1920x1080 (1920x1088) pix:-1 size:128 fmt:OPQV

    2019-08-08 14:11:23.479 T:2589971312 INFO: CMMALVideo::GetPicture dts:0.000 pts:6.939 flags:0:30004 MMALBuffer:0xb0032140 mmal_buffer:0xb0042410

    2019-08-08 14:11:23.479 T:2589971312 DEBUG: CMMALVideo::GetPicture - ret(4) pics(0) inputs(0) slept( 2) queued(0.28) (7.18:6.94) full(0) flags(0) preroll(0) eos(0 327/-1)

    2019-08-08 14:11:23.483 T:3011134800 DEBUG: CMMALRenderer::RenderUpdate - vsync -1 (+4933)

  • Hi

    If you plug your cable on HDMI1 you will not get the video. It's on HDMI0

  • there won't be any RPi4 testbuilds for a while.

    That's understandable. The .002 build works quite well. Nevertheless curious as I am I made another image from the Github source. It boots and it's even running on Linux kernel 5.1.8 so that's quite amazing. However instead of scaling down the image my 720P tv shows only the upper left portion of the HDMI output when the Pi4 is set to 1080p. Other builds I made in the past few weeks had the exact same issue. The official test builds work fine though. Is there a reason why all builds straight from Github show this behavior? Is there something I can do with these builds that fixes the HDMI output so that my TV receives the entire output?

  • Hi

    If you plug your cable on HDMI1 you will not get the video. It's on HDMI0

    OMG! Thanks this has been a PITA for the last week. Upgrade from Alpha 1 to Alpha 2 must have coincided with me changing input, couldn't for the life of me figure out why video wasn't playing after the upgrade.

  • So I updated a RPi 3b from LibreElec Addon from 9.0.2 to 9.1.002 and it starting acting weirdly...went to safe mode many times and got over 2000 crash logs in a week..

    Addons don't respond and couldn't connect in any way to the Rpi.

    Main error I could see in every log is this :

    Code
    2019-08-03 11:20:34.362 T:1937531456   ERROR: failed to create window surface (EGL_BAD_NATIVE_WINDOW)
    2019-08-03 11:20:34.362 T:1937531456   FATAL: CApplication::Create: Unable to create window
    
    2019-08-03 11:20:34.720 T:1937531456   ERROR: eglSwapBuffers failed (EGL_SUCCESS)
    2019-08-03 11:20:34.720 T:1937531456   ERROR: Exception in CApplication::Cleanup()

    This is a headless Rpi being used as a TvHeadened server with RPi TVHat attached..

    Only addons installed are VNC,Tvheadend Server/HTSP Client and Emby4.

    Please understand this is far away from my home so it's bit hard for me to try certain things.

    Any Help appreciated..

    More Logs HERE

  • So I updated a RPi 3b from LibreElec Addon from 9.0.2 to 9.1.002 and it starting acting weirdly...went to safe mode many times and got over 2000 crash logs in a week..

    Can you try enabling hdmi_force_hotplug=1 in config.txt? Looks like kodi is having troubles with composite video mode (which is default if no HDMI device is connected).

    so long,

    Hias

  • Can you try enabling hdmi_force_hotplug=1 in config.txt? Looks like kodi is having troubles with composite video mode (which is default if no HDMI device is connected).

    so long,

    Hias

    Hi thanks for your reply...to be honest I had a hard time to roll back to 9.0.2 as the addons I have installed where updated to work with 9.1.002 and after I reinstalled 9.0.2 again the addons didn't downgrade and I lost VNC connection...

    Anyway now I am back on 9.0.2 and all is working fine..

    I would like to try what you suggested but perhaps I will try to replicate issue on my other RPi at home so I can fix quickly if something goes wrong as the Rpi in question is 3000km away from home with no tv attached to it...so got to do everything through ssh and vnc so hardwork..

    Maybe someone else who got same issue can try this...

  • Hello all,

    Taking chance of free time, and willing to test the new PI4 with Libreelec I am happy to see a positive and impressive results on my own system : PI4 2 Gb + Hifiberry DAC+ +NAS database access : works with a much reactive system vs by RPI3B+

    At the moment I confirm the heat is significantly higher than my P3 B+, and considering it is yet not in any case (unavailable here in Paris area, for such a config) I am sure it will get worst once fully packed...

    I am currently seeing temp btw 70 and 75°C (for 25¨° in the room) ... so close to the 80° limit I heard about.

    I have seen and read that the new firmware update from Rasp team is allowing up to 6 deg decrease so I wonder if this is something I can implement over the current Libreelec version I am running : "LibreELEC (Leia) 9.2 ALPHA1 with Raspberry Pi 4B Support"

    I have to say I am very rooky when it matters to dig with Linux systems, but am able to access to my Rasp through SSH. Therefore my question is how can I get the proposed new firmware update in my Rasp system ? I can see how to do the update from the downloaded zip file, but I am unable to get it downloaded from the web when in SSH mode.

    Hope I am clear enough ...

    Thanks


  • Hello all,


    I am currently seeing temp btw 70 and 75°C (for 25¨° in the room) ... so close to the 80° limit I heard about.

    I have seen and read that the new firmware update from Rasp team is allowing up to 6 deg decrease so I wonder if this is something I can implement over the current Libreelec version I am running : "LibreELEC (Leia) 9.2 ALPHA1 with Raspberry Pi 4B Support"


    I have not updated my firmware and I had same temps as you before I added a small 40mm fan on top of the pi.

    My idle temps are now around 34-42 C depending on the room temperature.

    I've read some various reports about the firmwares pros and cons and decided not to update for now.

    The fan is doing a great job and i can only hear it if i put my ear close to it.

  • I have not updated my firmware and I had same temps as you before I added a small 40mm fan on top of the pi.

    My idle temps are now around 34-42 C depending on the room temperature.

    I've read some various reports about the firmwares pros and cons and decided not to update for now.

    The fan is doing a great job and i can only hear it if i put my ear close to it.

    Hello Sanity,

    Thanks for your comments. Understood your option. Would you share how does it looks like ? Which type of casing, and fan, power supply ?

    Thanks

  • Hello Sanity,

    Thanks for your comments. Understood your option. Would you share how does it looks like ? Which type of casing, and fan, power supply ?

    Thanks

    Hey,

    At the moment I don't use a case for it. There were none availible when i bought my pi4 :P

    The fan is just a noname that I had spare and I have just put it on top of the pi for now. The power supply is a original one.

    I'll buy a case as soon as I can find one and it will prolly be a larger case cause I believe that I always need a fan to keep decent temperatures!