Author: swordfish6975

Openelec Build for OPI PC and 2 now with HW decoding

  [Copy link]

1

threads

37

posts

258

credits

Intermediate member

Rank: 3Rank: 3

credits
258
Published in 2016-3-10 07:30:07 | Show all floors
When you turning on, the LED is green. When you switching off is  the red, reconnection is  not possible by pressing the power button.This was meant to switch on IR remote control.Power switch on the circuit is not active.  

Orange pi pc

0

threads

15

posts

131

credits

Registered member

Rank: 2

credits
131
Published in 2016-3-10 17:18:09 | Show all floors
jernej replied at 2016-3-10 05:28
I uploaded new images. This time only full SD card images, because there were changes in bootloader  ...

Hi, thanksfor new images, (I have no linux machine yet, so I cannot compile). I did sometests…
My cfg: OPiPC, SD card: Kingston 8 GB, Class 10, image: 20160309

  • Powerswitch: works 1 time, but when I repeat switching, the system does not suspend or wake up. LEDs are working fine
  • Videoplayback: playback is still jittery, frame rate doesn't stay stable (SD, HD –h264, UHD – h265)
       V-synch does not work – vertical lines
  • PVR:Switching the channels still does not work, system freeze

1

threads

25

posts

216

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
216
Published in 2016-3-10 17:21:10 | Show all floors
Edited by Demetris at 2016-3-10 22:50

1.Switch off opi pc then on standby for ~1h then power on leads to a loading screen bottom right corner  only mouse works background greyed out you have to remove power.
2.Trying to reboot Opi pi after on from stanby system freeze  you have to remove power.
3. Major picture freeze/lag every 20 seconds on 1080p videos through samba share, not much noticable on 720p.
Not much time using it yet, will report back if anything else comes by.

12

threads

99

posts

375

credits

Intermediate member

Rank: 3Rank: 3

credits
375
Published in 2016-3-11 00:10:01 | Show all floors
jernej replied at 2016-3-10 00:31
If you want to change resolution, you must change value of screen0_output_mode. All possible modes ...

Are you sure? Value for 720p60 is for sure 5. Number 10 is 1080p60. I think that in your last test image you set HDMI 1080p60. I'd ask to return to 720p60. I haven't tested new image yet, but people above claim that is doesn't play smooth so I probably stay with previous one.


4

threads

1118

posts

110K

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
10219
Published in 2016-3-11 00:47:57 | Show all floors
Edited by jernej at 2016-3-10 19:38
cbm80 replied at 2016-3-10 17:10
Are you sure? Value for 720p60 is for sure 5. Number 10 is 1080p60. I think that in your last test ...

You are correct. I fixed my post.

About stutter: I'm pretty sure that this is not related to video resolution. Both versions are using HW supported video scaling and rendering so I suspect the issue lies somewhere in video decoding loop. It would be nice if someone would do git bisect to see which update caused the issue.

EDIT: I noticed this jittering.

4

threads

1118

posts

110K

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
10219
Published in 2016-3-11 02:38:09 | Show all floors
slaine replied at 2016-3-10 10:18
Hi, thanksfor new images, (I have no linux machine yet, so I cannot compile). I did sometests…My c ...

Thanks for report. Could you do some git bisect to figure out which commit caused jittery effect? In the latest commit, I changed CPU governor to performance. It should improve situation.

4

threads

1118

posts

110K

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
10219
Published in 2016-3-11 02:40:48 | Show all floors
Demetris replied at 2016-3-10 10:21
1.Switch off opi pc then on standby for ~1h then power on leads to a loading screen bottom right cor ...

Could you please tweak advanced settings about buffering?

4

threads

1118

posts

110K

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
10219
Published in 2016-3-11 02:47:31 | Show all floors
To all,

zhao_steven provided HDMI CEC driver and I already included it on git. Unfortunately, it's only emulating this protocol over GPIO so some soldering is needed. Currently, I don't have access to soldering equipment, so I can't try it out. If someone feels a bit adventurous, please read on.

What is basicly needed is to remove R104 resistor and solder a wire between PA21 pin and one R104 pad - that which is connected to HDMI connector. Along that, you would need an image, compiled from latest git source. If you already have some older build, don't forget to clear u-boot to get new script.bin.

12

threads

99

posts

375

credits

Intermediate member

Rank: 3Rank: 3

credits
375
Published in 2016-3-11 05:11:16 | Show all floors
Edited by cbm80 at 2016-3-11 06:01

Regarding CEC - it seems to be the same solution like in Zidoo X1. I can test CEC on my OPiOne where it is easier for me to solder this connection than solder IR receiver, especially that I wanted to use One with TV remote only. Let me know when you produce new image. And please find out if this PA21 (GPIO#26) should be connected to HDMI-CEC pin directly or via any resistor. I don't want to burn HDMI in my TV

EDIT: I've just localized R104 on OPiOne PCB - it is located in left top corner of the bottom side. It should be relatively easy to solder wire directly to pin #26.
EDIT2: I'm not sure if R104 is good place to solder. Signal from SoC comes via Q2 MOSFET transistor which works in level converter configuration. However low and high sides are powered by same voltage 3V , so probably MOSFET only buffers signal from SoC to HDMI. Signal from GPIO should rather be delivered to input side of Q2 which should be cut from HCEC. And it can be rather difficult because everything here is so tiny. Maybe someone more familiar with HDMI protection could advice.

Unfortunately I have bad news regarding stuttering. It looks really awfull. I've just watched full Spectre movie. It is definitely not related to the source of media SMB/HDD. It seems that entire OpenELEC stops for a while every 10-15s. It is very well visible even in pause mode where GUI is displayed and long name of the movie is smoothly scrolling left. Every 10-15 second it jitters. Even in file list mode when you see longer names scrolled it is the same. So it is very simple to check and replicate. I still use previous 0224 version at 720p60.
Entire Spectre dropped about 750 frames (during 144 minutes movie). This is first full movie I watched using OpenELEC so I cannot say if it was ok before. Previously I used Kodi in Androids.

4

threads

1118

posts

110K

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
10219
Published in 2016-3-11 06:06:27 | Show all floors
cbm80 replied at 2016-3-10 22:11
Regarding CEC - it seems to be the same solution like in Zidoo X1. I can test CEC on my OPiOne where ...

I'm not expert in electronics either, but I think if R104 is removed, then only ESD will pose a risk. I didn't meant to solder on resistor.

About video playback problems: Which version does and which doesn't work for you exactly?

You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list