Author: swordfish6975

Openelec Build for OPI PC and 2 now with HW decoding

  [Copy link]

0

threads

1

posts

24

credits

Novice

Rank: 1

credits
24
Published in 2015-12-20 02:36:27 | Show all floors
Thanks for this port of Openelec. I't trying to install on emmc, but loboris install_to_emmc script seems don't work. It is possible to install on emmc? Thanks.
 Author| Published in 2015-12-20 07:44:00 | Show all floors
Ok looking for reports of the OPi PC image https://mega.nz/#F!tt1U0BBI!0ZGsqzJxpS_UWZy0moqNDQ , booting the first time.

Also can anyone report back if the other builds OPi2 and OPi Plus work? I don't have these boards.

I cant build for HYH-TBH3, still get the error I posted a few posts back.

0

threads

5

posts

392

credits

Intermediate member

Rank: 3Rank: 3

credits
392
Published in 2015-12-20 21:33:15 | Show all floors
Edited by slayx at 2015-12-20 15:28

Hi swordfish6975,

I've tried for OPi Plus and it works fine, except first boot issue and unable to reboot. In case of reboot (with reboot or shutdown -r now command) I need unplug then plug the power back to the board. I will check with serial console later why it stucks.
I've also tried building an image with "Installer" option enabled but it seems the image lacks of some drivers. It does not see built-in EMMC so it cannot install.

  1. opiplus:~ # cat /proc/partitions
  2. major minor  #blocks  name

  3.    7        0     101944 loop0
  4. 179        0    7761920 mmcblk0
  5. 179        1     262144 mmcblk0p1
  6. 179        2    7497728 mmcblk0p2
Copy code


If you are able to add this feature  or give some me directions to do it by my own I will be more than happy to test it



0

threads

5

posts

106

credits

Registered member

Rank: 2

credits
106
Published in 2015-12-20 23:28:49 | Show all floors
swordfish6975 replied at 2015-12-20 07:44
Ok looking for reports of the OPi PC image https://mega.nz/#F!tt1U0BBI!0ZGsqzJxpS_UWZy0moqNDQ , boot ...

So I have a OPi PC and so tried the image and had no problems at all, it did indeed boot first time without me having to do anything.  I had it hooked up to the serial port to monitor the progress and saw that first boot it resizes the partition on the SD card, once complete it then reboots and boots into Kodi after a couple of mintes.  I suspect that maybe the first boot problem could be related to to the resize of the SD card, I am using a 16gb card, I believe its a Mushkin SDHC 16gb, I believe I bought it from Staples.  Anyway not sure if it helps or not but thats my experience so far.

0

threads

5

posts

106

credits

Registered member

Rank: 2

credits
106
Published in 2015-12-20 23:40:10 | Show all floors
So for me almost everything I throw at it works, even one of my movies that was always a good test since it pushed the limits of the OS/Graphics etc.  The one issue I have is with my HDHomerun Prime, I nailed down the issue to the fact that deinterlacing causes issues which I believe isn't fully HW decoded from reading prior posts, if I disable interlacing playback is perfect minus the fact that obviously I get those lovely lines.  Just wanted to throw in my 2 cents.

0

threads

2

posts

385

credits

Intermediate member

Rank: 3Rank: 3

credits
385
Published in 2015-12-22 03:05:44 | Show all floors
Edited by destruct0r at 2015-12-22 03:08

Hello! I'm trying to run analog TV-Out with Openelec, but nothing happens, tv shown "No signal". My steps is:
1. Decompile script.bin to script.fex with fexc;
2. Change some values in script.fex
In section [boot_disp]
  1. output_type     = 2 ;output_type -   0:none; 1:lcd; 2:tv; 4:hdmi; 8:vga (as default config in homlet)
Copy code
In section [disp_init]
  1. screen0_output_type      = 2 ;screenx_output_type  (0:none; 1:lcd; 2:tv; 3:hdmi;)
  2. screen0_output_mode      = 11
  3. screen1_output_type      = 2
  4. screen1_output_mode      = 11
Copy code
3. Compile updated script.fex to script.bin with fexc
4. Copy script.bin to partition with KERNEL, SYSTEM and boot.scr files
5. Try to run OrangePI-PC with serial cable attached

In dmesg output I see things like that:
  1. [    1.676004] [DISP] disp_init_tv,line:531:screen 0 do not support TV TYPE!
  2. [    1.683565] [DISP] bsp_disp_tv_register,line:938:'ptv is null
Copy code
What I am doing wrong?

18

threads

303

posts

9894

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9894
Published in 2015-12-22 15:18:08 | Show all floors

@swordfish6975 @jernej It works great. No green stripe anymore. Only issues are reported below.
1. One CPU stays 100%, cause by systemd?
2. Overscan issue which cannot see the whole screen.
And one request. @jernej, can you add rtl8188eus, rtl8188cus, MT7601 drivers to this Openelec build? I use USB wifi dongle to connect to internet. I can use it on Debian Jessie and Lubuntu. Can to add these three drivers?
MT7601 driver how to can check below link.
http://www.orangepi.org/orangepibbsen/forum.php?mod=redirect&goto=findpost&ptid=495&pid=5667&fromuid=37174

1

threads

90

posts

785

credits

Senior member

Rank: 4

credits
785
Published in 2015-12-22 17:06:29 | Show all floors
Edited by lymon at 2015-12-22 17:46

@jacer
The kswapd is what causes the 100% usage on one of the cores.
There currently is no solution for it yet, only workaround at the moment is to open/close a couple of videos and then it will usually settle down.

Overscan issues is being worked on by jernej....
" implement direct rendering which will take care of image cropping and it will have fake deinterlacing (it will show same interleaved image twice). Once this will work, I will add HW deinterlacing."

Adding (wireless) drivers will not work for any devices that need firmware loading...eg. most wireless cards.
This is caused by incompatibility issues between the systemd/udevd version (227) and the kernel version used in this version of Openelec.
I tried to downgrade systemd to version 215, which does support firmware loading and is known to work correctly with kernel 3.4.39, but I couldn't get it to compile (yet).

On the other hand you can ask yourself, do I really need all sorts of (wireless)  drivers on a mediaplayer-OS ?
Streaming videos over wifi connections is known to be very limited.


18

threads

303

posts

9894

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9894
Published in 2015-12-22 22:01:57 | Show all floors
lymon replied at 2015-12-22 17:06
@jacer
The kswapd is what causes the 100% usage on one of the cores.
There currently is no solution  ...

Wifi driver is good for no cable or short of cable situations.

1

threads

13

posts

242

credits

Intermediate member

Rank: 3Rank: 3

credits
242
Published in 2015-12-23 18:01:16 | Show all floors
Edited by pieta at 2015-12-23 18:05

@jernej

Hi, Jernej as we have already written, it is well known bug with kswapd.
It is wealth of information on the Web.
I did some tests and I have a request to check both settings at the same time:

[root @ orangepi~] # cat /etc/sysctl.d/10-swap.conf
vm.swappiness = 1
vm.vfs_cache_pressure = 1


From my observations on Fedora 23 and kernel3.4.39-02-lobo, that these settings give the best results.

This is not of course solve the problem, rather the bypass and this settings also may seem controversial.
The fact, however, is that the system is much more responsive with these settings.

Best regards and Merry Christmas !
Pieta

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

Points Rule

Quick reply Top Return list