please choosego to mobile | Continue to access the PC version
Author: swordfish6975

Openelec Build for OPI PC and 2 now with HW decoding

  [Copy link]

4

threads

1118

posts

9144

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9144
Published in 2015-11-26 06:23:32 | Show all floors
Good news, sound is fixed, although more testing is needed.

And now on decoding support...
 Author| Published in 2015-11-27 19:24:27 | Show all floors
Edited by swordfish6975 at 2015-11-27 19:46

I pulled from git an followed all your instructions @jernej

All three USB work for OPI PC using https://github.com/loboris/Orang ... ld/orange_pi_pc.fex

Didnt change any overclocking - I have a heatsink on my OPI PC.    ( even then the tempture sensor reported 75 °C )
Next time I build I think i will set it back down.

Sound is also working well, so not sure I needed to add mpg123 for testing, tested both HDMI and normal.

Other things I have tested,  x264 video plays as long as the file is not large (1.5gb will work, 7gb wont play smoothly) becuase of no HW decoding.

MP3 and FLAC play fine

GUI sounds seem to not play not sure why, not that this is a big deal for now.

0

threads

10

posts

54

credits

Registered member

Rank: 2

credits
54
Published in 2015-11-27 23:58:14 | Show all floors
sounds good swordfish.
I'm getting smooth 720p x265 playback with vlc set to Xvideo rendering, I will try 1080p x265 soon.
I'm unable to get binary mali EGL libs to work. keep getting EGL errors. not sure why.

4

threads

1118

posts

9144

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9144
Published in 2015-11-28 00:34:34 | Show all floors
@lyoko,
you are probably not talking about OpenELEC distribution from my github? OpenGL ES is working just fine here and also there is no X system and vlc, just plain kodi as media player.

@swordfish,
great to hear. For now it should do, but in the future we can prepare multi script.bin edition and every user could choose correct one in uEnv.txt.

It seems to me that only major function missing is HW acceleration. After that, we can go on bug hunting and cosmetic changes.

18

threads

303

posts

9573

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9573
Published in 2015-12-2 17:10:45 | Show all floors
jernej replied at 2015-11-28 00:34
@lyoko,
you are probably not talking about OpenELEC distribution from my github? OpenGL ES is workin ...

Hello jernej. Check this post below.
http://www.orangepi.org/orangepi ... 8&fromuid=37174

4

threads

1118

posts

9144

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9144
Published in 2015-12-3 01:03:05 | Show all floors
jacer replied at 2015-12-2 10:10
Hello jernej. Check this post below.
http://www.orangepi.org/orangepibbsen/forum.php?mod=redirect& ...

Hi jacer,

do you mean that one about setting up vdpau? I'm following discussion in details, however, vdpau itself doesn't help me. Problem is that it is X11 dependant. OpenELEC on ARM platform doesn't usually use X11 system and instead draws directly on framebuffer. Granted, you can build X11 version of kodi which can use vdpau also on OpenELEC, but I prefer not to use X11. That way in theory you have more resources for kodi.

Currently I'm developing CedarX codec and it should work in a few days. However, it will be still rendered via GPU at first, but it shouldn't be problematic to add zero copy display support soon after. I have a lot of reference code from different projects (also from H3 VDPAU driver) but it is not the simplest job to put it together. I thought that zidoo's CedarX Kodi codec code would be great help. It turned out that it is so badly and Android specific written that I need to rewrote almost all of it.

18

threads

303

posts

9573

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9573
Published in 2015-12-3 22:07:38 | Show all floors
jernej replied at 2015-12-3 01:03
Hi jacer,

do you mean that one about setting up vdpau? I'm following discussion in details, howev ...

It will be great if you can make it work. Have you tried OpenMAX?
http://wiki.lemaker.org/LeMaker_Guitar:Video_decoder_engine
https://en.wikipedia.org/wiki/OpenMAX

4

threads

1118

posts

9144

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9144
Published in 2015-12-4 01:01:11 | Show all floors
jacer replied at 2015-12-3 15:07
It will be great if you can make it work. Have you tried OpenMAX?
http://wiki.lemaker.org/LeMaker_ ...

Yeah, it did try, however, I didn't receive full OpenMAX implementation and one cruical function is not implemented, at least for Kodi OpenMAX codec - OMX_UseEGLImage(). Unfortunatelly, I don't have enough knowledge to implement it myself yet. Instead, I tried to implement codec same way as Zidoo implemented, however, I found out that approach taken by xbmca10 project is much more appropriate. It will be essentially the same codec with updated CedarX API. Implementation which you linked it is for different processor from different company. LeMaker Guitar doesn't use Allwinner SoC. It is possible that this missing function is implemented there, however I'm close to producing working native CedarX codec without intermediate OpenMAX IL layer.

18

threads

303

posts

9573

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9573
Published in 2015-12-4 11:59:47 | Show all floors
jernej replied at 2015-12-4 01:01
Yeah, it did try, however, I didn't receive full OpenMAX implementation and one cruical function i ...

Great, I`m looking forward to it. HW playback is a big obstacle. So as Kodi.
Published in 2015-12-7 15:47:11 | Show all floors
jernej replied at 2015-11-21 01:51
I also found out that kswapd is the most hungry thread and not Kodi.

And why is your system swapping all the time? Have you checked for processes suffering from memory leaks (eg. irqbalanced)?
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list