Odroid N2 test builds

@anon88919003

Thanks :+1:

I was having similar issues as rabaraf with my Panasonic TV (connected via Onkyo AVR). Sometimes it worked but more often than not button presses simply didn’t work at all.

CEC in this test build seems to be working much more reliably than the standard build. Not perfect (lost CEC at one point after switching to TV’s internal tuner and back) but after a reboot I haven’t been able to break it despite multiple source switches. Also my play/stop/pause etc buttons work in this build when they didn’t in the standard build. Seems like there may be a regression for Panasonic TVs in recent versions of libCEC?

I do have a persisting bug where when ‘devices to power off during shutdown’ is enabled, the N2 turns off my AVR (not the TV) around 5 seconds after booting Kodi.

Edit: play/pause etc have stopped working again. I hate CEC… it’s slippery, so hard to nail down when it’s working and when it’s not.

Overall things are better but not perfect with this build. Here is a log in case it’s helpful. http://ix.io/1Lis

About CEC. On 3.14 I originally made the cec driver to work in a hybrid mode. You had the kernel input driver that was independent from libcec. And there was the libcec mode. When I disabled kernel input driver because I thought nobody used it a lot of issues started.

Which now makes me think that those having issues now is because we don’t have the input mode and libcec is buggy.

Did you also try this test version?
https://test.coreelec.org/arthur/CoreELEC-Amlogic-ng.arm-9.0-devel-1560018436.tar

Guys,
I spent almost whole night testing all things what comes to my mind.
Devel build what @TheCoolest compiled for me (libCEC 4.0.1) (Thanks for your time you spent on that) did not solved the issue, so version is not the root cause.
Then I prepared new microSD with nightly 20190603 and CEC was working. Then gradually I was adding addons checking if CEC still works in different scenarios (TV off/on, TV source selection TV/HDMI , AVR off/on, switching TV while watching something, etc…) always CEC was working… so I was so satisfied.
Finally I changed CEC Adapter settings changing them to my needs which are:

Enabled - on
Switch source to this device on startup - off
Devices to power on during startup - None
Devices to power off during startup - None
Send “Inactive source” command on shutdown - off
Put devices in standby mode when activating the screensaver - off
Wake devices deactivating the screensaver - off
When the TV is switched off - Ignore
Devices to also put in standby mode - off
Use the TV’s language setting - off
Action when switching to another source - Pause Playback
Physical address (overrules HDMI port) - 0
Force AVR to wake up when Kodi is activated - off
Remote button press delay before repeating (ms) - 600
Remote button press repeat rate (ms) - 20
Remote button press release time (ms) - 150

and then… CEC stopped working!

So I thought it has something to do with those settings.
Finally withe the following settings:

Enabled - on
Switch source to this device on startup - on
Devices to power on during startup - None
Devices to power off during startup - None
Send “Inactive source” command on shutdown - on
Put devices in standby mode when activating the screensaver - off
Wake devices deactivating the screensaver - on
When the TV is switched off - Ignore
Devices to also put in standby mode - on
Use the TV’s language setting - off
Action when switching to another source - None
Physical address (overrules HDMI port) - 0
Force AVR to wake up when Kodi is activated - off
Remote button press delay before repeating (ms) - 300
Remote button press repeat rate (ms) - 20
Remote button press release time (ms) - 150

everything with CEC is OK except with one small issue: after N2 reboot 4 buttons do not respond: Stop, Pause, Next (>>|) and Previous (|<<) but powering off and on TV while HDMI 2 (N2) is active source brings back those buttons functionalities.

As CEC works now in all scenarios mentioned above I would not touch anything in order to not break running system :slightly_smiling_face:
I don’t know if next nightly builds after 20190603 are having some CEC components modifications so I’m a little bit scared to perform upgrade to 20190608

And one thing broke down:
for most 4K movies there is no video signal at all. Example: https://4kmedia.org/ultra-hd-hdr-samsung-4k-demo-wonderland/ --> dispinfo result: http://ix.io/1Lix
but this 4K video is properly displayed: https://4kmedia.org/sony-mont-blanc-hdr-uhd-4k-demo/ --> dispinfo result: http://ix.io/1Liy

Now that makes sense. If you don’t set active source on startup it will not work.
Again on 3.14 kernel I made a kernel input mode and it always set source automatically.
But I’m happy it is resolved for you.

Does your AVR and TV support HDMI 2.0?
Because it looks like it can’t play 4k24p with 444 10bit which is not in the HDMI 1.4 spec.

TV for sure, Denon AVR-2200W - apparently yes as well as https://4kmedia.org/ultra-hd-hdr-samsung-4k-demo-wonderland was properly displayed yesterday with nightly 20190608 but I just did a check and connected N2 directly to TV and that demo movie was properly displayed so something wrong is with AVR…

Both demo videos looks similar in the terms of resolution, color depth, etc… so why for the first is no video and the second is OK?

No signal video (Samsung Wonderland Two HDR UHD 4K Demo.ts):
Video
ID : 257 (0x101)
Menu ID : 1 (0x1)
Format : HEVC
Format/Info : High Efficiency Video Coding
Commercial name : HDR10
Format profile : Main 10@L5.1@High
Codec ID : 36
Duration : 2 min 9 s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 10 bits
Writing library : ATEME Titan File 3.7.9 (4.7.9.0)
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color primaries : Display P3
Mastering display luminance : min: 0.0500 cd/m2, max: 1000 cd/m2

4K video OK (Sony Mont Blanc HDR UHD 4K Demo.mp4):
Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Commercial name : HDR10
Format profile : Main 10@L5.1@High
Codec ID : hvc1
Codec ID/Info : High Efficiency Video Coding
Duration : 1 min 28 s
Bit rate : 71.8 Mb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 50.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 2)
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.173
Stream size : 753 MiB (100%)
Encoded date : UTC 2017-01-27 06:42:55
Tagged date : UTC 2017-01-27 06:42:55
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color primaries : R: x=1.000000 y=1.000000, G: x=1.000000 y=1.000000, B: x=1.000000 y=1.000000, White point: x=1.000000 y=1.000000
Mastering display luminance : min: 0.1000 cd/m2, max: 1 cd/m2
Codec configuration box : hvcC

Arghhhh… When I changed Kodi GUI resolution to 3840x2160 23,98 Hz I lost signal so this is reason. How to back GUI to 1980x1080 50 Hz while I see nothing on TV’s screen?

Edit:
Connected directly to TV and set back GUI 1980x1080 50 Hz.
Whitelisted everything except 4096x2160 and 3840x2160p 23,98 Hz and… EVERYTHING is OK.
Finally…
Thanks to all for your time and support…
You are doing amazing work here… :slight_smile:

I’d probably agree with this with my LG.
When I used it on the c2 I would disable libcec in peripheral settings and it worked almost perfectly.
With the n2 it wouldn’t work at all with it disabled but I didn’t think anything of it.

Now when I was able to sorted out CEC and lack of 4K output problems on my system (N2 → Denon AVR → OLED Panasonic) the only remaining issue is audio formats as described above.
Looking forward for HardKernel’s devs do the work that I’m sure will be successfully implemented by CoreELEC devs…
Keep your work guys…best regards…

same issue here with BT, using a Harmony Hub. When I navigate into CE addon via remote app on phone, it seems that the wifi/BT info under CE addon takes a good 30s to populate, after which I can reconnect the BT remote. Still an issue on 6/7 build

Yes I did.

I’ve now switched back to the latest nightly and to be honest things work about as well, so the improvement I saw with the test build may have been a coincidence. With rabaraf’s settings (post #1954) most remote buttons work fine, but play/pause etc work sporadically if at all. No biggie for me as I generally use a non-CEC remote.

I have a liveTV issue. Switching to a 4k channel and back to a 1080i channel changes the colors. Everything seems overcolored. The 4k channel always looks ok.

I guess dmesg is not the right log? What do you need?

dispinfo 1080i: http://ix.io/1Lo3
dispinfo 4k: http://ix.io/1Lo4
dispinfo 1080i: http://ix.io/1Lo6 (weird colors)

It seems that the colorspace and the resolution stay after 4k->1080i?

UPDATE: Now suddenly (without doing anything) the screen turned black and when it returned after 2s the color is okay. I ran dispinfo but I didn’t get a new link…

http://ix.io/1Lo6

So maybe nothing changed in the logs but the colormap did? Weird?

I’m having an issue with CEC and was wondering if there is a setting that can fulfill my needs. What I’m after is a way to turn on the N2 on CEC events, but to NOT turn on the TV when starting the N2 through WOL or rtc wakealarm.

My use case is that I want to use the N2 as a little server that does more than just hosting kodi. Thus, the TV should not be turned on whenever the N2 wakes up to do something (especially when that is in the middle of the night).

I set the ‘Devices to power on during startup’ in the CEC Adapter settings to ‘None’, but the TV still turns on when the N2 wakes up. Only when I also disable the ‘Switch source to this device on startup’, it works correctly and the TV does not turn on anymore.
However, without this option, I seem to have more CEC issues with the TV sometimes not handing control to the N2 until I switch input back and forth once.

Is there a recommended way to set this up or is it impossible to get this right with CEC? Basically I’d need a setting to ‘Only Switch source to this device when NOT started through WOL or RTC’. Does this make sense?

I don’t know what TV brand you have but for my Panasonic powering off and on TV while watching something on Kodi brings back Stop, Pause, Next (>>|) and Previous (|<<) buttons functionalities.

Hello.
Some news about USB WIFI not working?
Here is my dmesg about this.

2.037693@2] usb 1-1.4: New USB device found, idVendor=0bda, idProduct=c811
[ 2.037696@2] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.037698@2] usb 1-1.4: Product: 802.11ac NIC
[ 2.037700@2] usb 1-1.4: Manufacturer: Realtek
[ 2.037701@2] usb 1-1.4: SerialNumber: 123456
[ 2.049225@2] usb 1-1.4: Unsupported device

Thank’s: +1:

no news because nobody reported an issue

Thank you.
I thougt it is known that some USB WIFI Devices are not working (not recognised) on USB3 Ports.
And Hardkernel is working on that. Maybe wrong information or other device.
So i am wrong, my fault, sorry.
Beside that my USB WIFI with RTL8811AU is not working.
Can i do anything for support: dmesg or somthing more helpfull?

1 Like