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

9183

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9183
Published in 2015-12-11 07:41:36 | Show all floors
Edited by jernej at 2015-12-11 00:48
bronco replied at 2015-12-10 23:22
The DRAM settings are those from loboris. Identical with Xunlong's and linux-sunxi's. The adjusted ...

Can you confirm that this image behaves sane? Definitely has 4 CPUs reported
https://app.box.com/s/x911ngwp9iaopelk81rfw8hc1fipasje

If it is ok, I will push changes to git.

I noticed that entire decoding/rendering loop is pretty single core. Without rendering optimizations, frames could still be skipped sometimes.

Published in 2015-12-11 13:53:10 | Show all floors
jernej replied at 2015-12-11 07:41
Can you confirm that this image behaves sane? Definitely has 4 CPUs reported
https://app.box.com ...

Seems to work (can not test it though since my USB peripherals aren't recognized).

All CPU cores up and one busy serving kswapd, temperature here (no heatsink): already 70°C. I thought about zsram but it seems more like a kernel bug to me so adding swap won't help: https://lkml.org/lkml/2013/3/17/50

1

threads

13

posts

242

credits

Intermediate member

Rank: 3Rank: 3

credits
242
Published in 2015-12-11 17:46:12 | Show all floors
Hi,

@Jernej
I have a problem with completing the kodi with your patches. The entire compilation looks fine but when linking kodi.bin pops up this error:

make [1]: Leaving directory `/ root / orangepi / Kodi / XBMC / lib / libdvd '
AR XBMC / cores / VideoPlayer / VideoPlayer.a
CPP XBMC / CompileInfo.o
AR XBMC / xbmc.a
LD kodi.bin
XBMC / cores / VideoPlayer / DVDCodecs / Video / Video.a (DVDVideoCodecSunxi.o): In function `CDVDVideoCodecSunxi :: GetPlayerPts () ':
/root/orangepi/kodi/xbmc/xbmc/cores/VideoPlayer/DVDCodecs/Video/DVDVideoCodecSunxi.cpp:444: undefined reference to `CDVDClock :: GetMasterClock ()

Do you know how to deal with it?

0

threads

5

posts

106

credits

Registered member

Rank: 2

credits
106
Published in 2015-12-11 19:45:54 | Show all floors
So I just want to chime in with my own experiences with the latest "sane" image you posted.  Installation was smooth, setup worked great, did have to switch my keyboard and mouse to a different usb port since I'm using an Orange Pi PC.  In terms of HDMI it was working fine, I threw a few things of my library at it and HW decoding was working as far as I can tell, didn't get a chance to throw a lot at it but will do later after work.  Sound was also working through HDMI once I changed the output, it had defaulted to analog so I just had to select HDMI and I got sound.  Temps seem reasonable as far as I can tell.
The only thing that I had issue with was MPEG2 decoding from my HDHomerunPrime which I assume was been done in SW vs HW.  Not sure if that is something that can be fixed in the future or not, but so far great work.
 Author| Published in 2015-12-11 21:01:38 | Show all floors
I have updated the first post, also building OPI PC image now.

1

threads

90

posts

762

credits

Senior member

Rank: 4

credits
762
Published in 2015-12-11 21:23:14 | Show all floors
runnerway replied at 2015-12-11 03:33
Yes. I missed this post.

I don't know how to change resolution to 1080p 60Hz.

I was able to change resolution to 1920x1080@60Hz by using this uEnv.txt:

bootargs=console=ttyS0,115200 quiet hdmi.audio=EDID:0 boot=/dev/mmcblk0p1 disk=/dev/mmcblk0p2 video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24,bpp=32 dmfc=3 consoleblank=0
uenvcmd=fatload mmc 0:1 0x42000000 kernel;bootm 0x42000000




Question: How do I enable/install PVR addons in this particular release ?
Or is it unavailable for this (unofficial) version of Openelec ?





 Author| Published in 2015-12-11 21:39:24 | Show all floors
Edited by swordfish6975 at 2015-12-11 21:43
lymon replied at 2015-12-11 21:23
Question: How do I enable/install PVR addons in this particular release ?
Or is it unavailable for this (unofficial) version of Openelec ?

you should be able to enable it in the settings under TV, it will then complain that you need an addon enabled.


Edit: System -> Settings -> TV -> General -> Enabled

0

threads

41

posts

213

credits

Intermediate member

Rank: 3Rank: 3

credits
213
Published in 2015-12-11 22:05:23 | Show all floors
swordfish6975 replied at 2015-12-11 21:01
I have updated the first post, also building OPI PC image now.

Just did a pull request to jernejsk' repository to easily build images for different boards.

1

threads

90

posts

762

credits

Senior member

Rank: 4

credits
762
Published in 2015-12-11 22:18:05 | Show all floors
swordfish6975 replied at 2015-12-11 21:39
you should be able to enable it in the settings under TV, it will then complain that you need an ad ...

tried that, but it won't let me enable it...after the message/complaint it is still disabled.
Also there are no repositories that have PVR addons included, so maybe that is causing the issue... (see system > settings > Add-ons > All repositories)




0

threads

41

posts

213

credits

Intermediate member

Rank: 3Rank: 3

credits
213
Published in 2015-12-11 22:29:34 | Show all floors
lymon replied at 2015-12-11 21:23
I was able to change resolution to 1920x1080@60Hz by using this uEnv.txt:

bootargs=console=ttyS0, ...

If i edit uEnv.txt (in the same folder as KERNEL and SYSTEM) with the one you posted my screen remains black.
Is this the uEnv.txt to edit?
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list