Author: swordfish6975

Openelec Build for OPI PC and 2 now with HW decoding

  [Copy link]

4

threads

1118

posts

9227

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9227
Published in 2016-8-28 22:36:13 | Show all floors
starsail0r replied at 2016-8-28 14:01
jernej i use tvheadend as backend dvb streamer and kodi-htsp client as frontend on openelec-kodi. i  ...

This issue is known for a long time. I fixed one bug, but it seems that there is another. The problem lies in freeing CedarX frame buffer during channel switch. For now, I can't find the problematic place in the code. Main problem here is that CedarX library is not good fit to Kodi workflow, so I added few hacks, but evidently I didn't predict everything... There is something different how Kodi handles DVB clients. Maybe I should make a debug version which would print a lot of info to log.

3

threads

165

posts

1203

credits

Gold member

Rank: 6Rank: 6

credits
1203
Published in 2016-8-28 23:03:35 | Show all floors
BTW: I read that Kodi now handles TV (DVB / DVR) differently in Kodi 17?

1

threads

18

posts

320

credits

Intermediate member

Rank: 3Rank: 3

credits
320
Published in 2016-8-29 05:55:25 | Show all floors
so it is the cedarx library.

if you need any bug test for a debug version, i can help as far as i can. (compile/test builds)

ty again for your work. much appreciated.
Published in 2016-8-29 18:54:28 | Show all floors
@jernej:
The are some good news about progress on Cedrus (http://www.phoronix.com/scan.php ... nitial-Video-Decode)
Are you planning to use this code ?
Orange PI PC

1

threads

15

posts

191

credits

Registered member

Rank: 2

credits
191
Published in 2016-8-29 23:10:32 | Show all floors
Edited by grymster at 2016-8-30 15:05

jeevasv replied at 2016-2-3 04:33
Working USB WiFi Adapter list:
------DEVICE---------------CHIPSET----------NW STD ----------------- ...

ASUS USB-N53 (Ralink RT3572, dual band, ABGN) works just fine from the box with rt2x00 driver.
Tested on Orange Pi PC Plus.
Orange Pi PC Plus [OpenELEC 7.0]
Orange Pi One [Armbian 5.23]

4

threads

1118

posts

9227

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9227
Published in 2016-8-29 23:42:46 | Show all floors
darqoq replied at 2016-8-29 11:54
@jernej:
The are some good news about progress on Cedrus (http://www.phoronix.com/scan.php?page=new ...

Not in a near future. Currently that is interesting only to a C.H.I.P. and other R8/A13 boards.

Published in 2016-8-31 04:00:38 | Show all floors
@jernej: Could you tell me how currently is configured poweroff/suspend in your images ?
I see that "Shutdown button" in OpenELEC menu probably check using System.CanPowerDown and then calls Powerdown()
(see https://github.com/xbmc/skin.con ... gButtonMenu.xml#L99),
then it is possible to wake up OpenELEC using phisical button.
I think that menu button goes to suspend mode (it is different than "poweroff" or "shutdown" shell command).
Is it possible to active System.CanSuspend to use Suspend() command ?
Some times I need use Suspend() some time PoweDown().

See also (S1-S4 codes):
http://kodi.wiki/view/list_of_built-in_functions (S1/S3 - Suspend, S4 - Hibernate)
https://en.wikipedia.org/wiki/Ad ... and_Power_Interface
Orange PI PC

4

threads

1118

posts

9227

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9227
Published in 2016-8-31 04:06:46 | Show all floors
darqoq replied at 2016-8-30 21:00
@jernej: Could you tell me how currently is configured poweroff/suspend in your images ?
I see that  ...

The easiest way to explain is to show you the patch:
https://github.com/jernejsk/Open ... _of_powerdown.patch

It is copied from Wetek project...

BTW, ACPI and S1-S4 modes have nothing to do with arm32 SoCs...

Published in 2016-8-31 04:32:44 | Show all floors
jernej replied at 2016-8-30 21:06
The easiest way to explain is to show you the patch:
https://github.com/jernejsk/Open ... _of_power ...

So, your OpenELEC images intentionally perform suspend instead of powerdown, is it really needed ?Did you try use suspend/powerdown without this patch ?
Is something goes wrong or orginal
  1. CLogindUPowerSyscall::Powerdown
Copy code

doesn't work ?







Orange PI PC

4

threads

1118

posts

9227

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9227
Published in 2016-8-31 05:16:33 | Show all floors
darqoq replied at 2016-8-30 21:32
So, your OpenELEC images intentionally perform suspend instead of powerdown, is it really needed ?D ...

This patch is necessary for power button to work. Obviously, it is not used only for H3. Without it, press on the power button would shutdown the board and power cycle (power cable plug off/on) would be needed to bring it to life. Same goes for remote, etc.

I didn't try CLogindUPowerSyscall because as I already said, I reused the patch from Wetek target.

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

Points Rule

Quick reply Top Return list