Author: swordfish6975

Openelec Build for OPI PC and 2 now with HW decoding

  [Copy link]

0

threads

37

posts

256

credits

Intermediate member

Rank: 3Rank: 3

credits
256
Published in 2016-3-21 18:06:50 | Show all floors
on my orange pi pc (FYI) just my music player atm ;-) works fine.
  1. OrangeELEC:~ # cat /sys/devices/virtual/thermal/thermal_zone1/temp
  2. 64
  3. OrangeELEC:~ # cat /etc/release
  4. H3.OPiPC.arm-devel-20160227213238-r22224-g8189147
  5. OrangeELEC:~ #
Copy code

12

threads

99

posts

375

credits

Intermediate member

Rank: 3Rank: 3

credits
375
Published in 2016-3-21 18:37:00 | Show all floors
rapalat replied at 2016-3-21 08:25
While using the latest build, I am getting a small stutter every few minutes. While decoding very mo ...

Simply - downgrade it to version from beginning of February. It works perfect for me. I use it very frequently also for YouTube videos.
"Wrong version" was stuttering every 10-15s not minutes, and it was very visible even observing scrolling text at the bottom of the screen.
AFAIK jernej is working on it.

4

threads

1118

posts

9203

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9203
Published in 2016-3-22 01:20:02 | Show all floors
rapalat replied at 2016-3-21 01:25
While using the latest build, I am getting a small stutter every few minutes. While decoding very mo ...

This bug is known and it's fixed in latest git sources. Test image for OPiPC is published few pages back. I provide images only now and then, I usually try to encourage users to do it themselfs. However, if someone builds and publish images for ALL boards in this thread, I include them in "Latest images" thread.

There are also known issues with decoding MPEG2 streams. I think this is CedarX fault but I won't be sure until libvdpau-sunxi port will start to work.

You must understand that I'm sole developer on this project with occasional help from others and this project is done in my spare time which can be limited at times.

4

threads

1118

posts

9203

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9203
Published in 2016-3-22 01:26:12 | Show all floors
chaszim replied at 2016-3-18 22:09
I know your probably already aware of it, but, this issue seems to reoccur with Kodi on a fairly reg ...

I'm not aware of this issue and because my policy is to follow original OpenELEC development on packages which are not CPU dependant, I won't change anything (with extremely rare exceptions). If it gets updated in original OpenELEC, I will merge it in my code in a week or two.

Published in 2016-3-22 01:59:01 | Show all floors
Understandable, didn't know your protochol on matters like this. Let's hope they catch it, as it can effect stream handling.

12

threads

99

posts

375

credits

Intermediate member

Rank: 3Rank: 3

credits
375
Published in 2016-3-23 01:35:16 | Show all floors
Edited by cbm80 at 2016-3-23 01:38

jernej, I've just found what causes that your last OpenELEC image doesn't boot as I mentioned above.
Because your default script.bin is 1080p60 which doesn't work with my old TV I replaced it with 1080i version (also tried 720p) which I generated for your previous images and it has worked great there.
And this is the problem. Current script.bin has changed and OpenELEC is no longer compatible with older script.bin files!
So I prepared new 1080i (from current script.bin) and it works fine. By the way I noticed that you use wrong dvfs_table.
The most optimal for Orange Pi PC is:
  1. [dvfs_table]
  2. pmuic_type = 2
  3. pmu_gpio0 = port:PL06<1><1><2><1>
  4. pmu_level0 = 11300
  5. pmu_level1 = 1100
  6. extremity_freq = 1296000000
  7. max_freq = 1200000000
  8. min_freq = 480000000
  9. LV_count = 7
  10. LV1_freq = 1296000000
  11. LV1_volt = 1320
  12. LV2_freq = 1200000000
  13. LV2_volt = 1240
  14. LV3_freq = 1104000000
  15. LV3_volt = 1180
  16. LV4_freq = 1008000000
  17. LV4_volt = 1140
  18. LV5_freq = 960000000
  19. LV5_volt = 1080
  20. LV6_freq = 816000000
  21. LV6_volt = 1020
  22. LV7_freq = 480000000
  23. LV7_volt = 980
Copy code


So I would ask you to make 720p60 as default script.bin - this is the most compatible one. Nobody will complain here that OpenELEC doesn't boot/work/show anything.
Or better - please provide complete set of script.bin files for:
- 1080p60
- 1080i60
- 720p60
- 2160p (I know that there are people with UHD screens)
Separate set for Orange Pi One would be also nice.

12

threads

99

posts

375

credits

Intermediate member

Rank: 3Rank: 3

credits
375
Published in 2016-3-23 01:58:25 | Show all floors
Edited by cbm80 at 2016-3-23 02:05

By the way - most recent build made from current sources from repo (not exactly your build, I tried one from FB forum) is not perfectly smooth as 0203 version I use currenly. It is better than March versions indeed, but it is visible little stuttering on RSS scroll.

4

threads

1118

posts

9203

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9203
Published in 2016-3-23 02:13:23 | Show all floors
cbm80 replied at 2016-3-22 18:35
jernej, I've just found what causes that your last OpenELEC image doesn't boot as I mentioned above. ...

Where did you find those values? I'm following those published at: https://github.com/linux-sunxi/s ... ng_orange_pi_pc.fex I'm also reluctant to change resolution in script.bin. At the beginning, I had default resolution 720p@50Hz but users complained to set it to 1080p@60Hz. I would imagine that majority of them are using FullHD displays/TVs and usually are not knowledgeable enough to change script.bin. Yes, I'm not user friendly person, I don't like to provide 101 different images with 101 different script.bins. I consider this time much better spent coding and debugging, which at least can provide some challenge to me. Different script.bins, which you can find in sticky topic, were provided by another forum user.

Frankly speaking, I basically lost all my patience with this old 3.4 crap. As you may notice, I updated sources to latest OpenELEC 7.0 beta and I just found that some (not as much as before) stuttering reappered. Even worse, kswapd goes to 100% while playing H265 video and stays at 100% after that. So, I will try to implement some workarounds for that things, but then I will leave development on 3.4 for good and focused on mainline kernel. It will take quiet some time to produce anything useful, but at the end, it should be much better.

0

threads

1

posts

14

credits

Novice

Rank: 1

credits
14
Published in 2016-3-23 03:17:29 | Show all floors
Hi,
I am very interested to test this device with OpenElec :p
does it work exactly the same on Orange Pi PC and Orange Pi One ?
does CEC work ?

4

threads

1118

posts

9203

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9203
Published in 2016-3-23 03:32:40 | Show all floors
Koxx replied at 2016-3-22 20:17
Hi,
I am very interested to test this device with OpenElec :p
does it work exactly the same on Oran ...

1. OPi One is semi supported. Problem is in RAM size.
2. CEC support is experimental and only if you are willing to cut traces and solder wires on PCB and even then no guarantee.
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list