Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
Author: swordfish6975

Openelec Build for OPI PC and 2 now with HW decoding

  [Copy link]

4

Threads

1128

Posts

8251

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
8251
Post time 2015-12-11 07:41:36 | Show all posts
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.

Post time 2015-12-11 13:53:10 | Show all posts
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

240

Credits

Intermediate member

Rank: 3Rank: 3

Credits
240
Post time 2015-12-11 17:46:12 | Show all posts
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
Post time 2015-12-11 19:45:54 | Show all posts
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| Post time 2015-12-11 21:01:38 | Show all posts
I have updated the first post, also building OPI PC image now.

1

Threads

90

Posts

727

Credits

Senior member

Rank: 4

Credits
727
Post time 2015-12-11 21:23:14 | Show all posts
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| Post time 2015-12-11 21:39:24 | Show all posts
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
Post time 2015-12-11 22:05:23 | Show all posts
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

727

Credits

Senior member

Rank: 4

Credits
727
Post time 2015-12-11 22:18:05 | Show all posts
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
Post time 2015-12-11 22:29:34 | Show all posts
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 have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2021-12-4 18:40 GMT+8 , Processed in 0.037344 second(s), 20 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list