Author: swordfish6975

Openelec Build for OPI PC and 2 now with HW decoding

  [Copy link]

4

threads

1118

posts

110K

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
10219
Published in 2016-5-2 18:13:02 | Show all floors
Dima replied at 2016-5-2 11:00
I have the Orangepi PC.

Resume always works. It's the suspend that doesn't work for me using the ...

Ah, ok. I always though that you have plus board. USB is the issue on OPi2 and Plus boards.

Maybe crashing deinterlacing driver has something to do with it. After second resume, there is a lot of errors in dmesg also for other programs like systemd-sleep, but if this driver is disabled, there is no problems at all. Could you please build image without it (CONFIG_SUNXI_DI) and test? Kodi will still work, but there would be no HW deinterlacing.

3

threads

165

posts

1203

credits

Gold member

Rank: 6Rank: 6

credits
1203
Published in 2016-5-2 18:40:12 | Show all floors
jernej replied at 2016-5-2 18:13
Ah, ok. I always though that you have plus board. USB is the issue on OPi2 and Plus boards.

Maybe ...

Oh, OK. Sorry for the confusion.

At this moment I cannot build a test image because for the next week I'll only have my ultrabook at my disposal (which is painfully slow to build images).
It would be strange if it's caused by the DI driver as all the problems are in fact on inital boot... After a suspend and wakeup, everything works just like it should (except DI). But would be a cool thing to test

3

threads

165

posts

1203

credits

Gold member

Rank: 6Rank: 6

credits
1203
Published in 2016-5-2 19:39:05 | Show all floors
BTW: I saw this commit:  5ad82638fb5bb9f150f8c680e455128d5cd0ceb8 (Unify all images and enable full system updates without losing changes)
Does it mean we will soon be able to update without rewriting the microSD card? And maybe OTA?

4

threads

1118

posts

110K

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
10219
Published in 2016-5-2 20:08:24 | Show all floors
Dima replied at 2016-5-2 12:39
BTW: I saw this commit:  5ad82638fb5bb9f150f8c680e455128d5cd0ceb8 (Unify all images and enable full  ...

Yes manual updates should work (tar file), although I think there is a bug for updating boot.scr. OTA would be possible if someone would look into update script here https://github.com/OpenELEC/serv ... ules/system.py#L519 and create compatible php script which we could put on the server.

3

threads

165

posts

1203

credits

Gold member

Rank: 6Rank: 6

credits
1203
Published in 2016-5-2 21:01:02 | Show all floors
I actually don't see anything there that could help me on the way.
However, I've found this: http://devupdate.leopold.me.uk/ Maybe we could use that addon (with custom URL setting) to update OpenELEC OTA :-)

4

threads

1118

posts

110K

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
10219
Published in 2016-5-2 21:51:06 | Show all floors
Dima replied at 2016-5-2 14:01
I actually don't see anything there that could help me on the way.
However, I've found this: http:// ...

The code I referenced call some php script on official OpenELEC server (http://update.openelec.tv/updates.php) with appropriate arguments to see if there is a new version. While I couldn't find source of this file I think it shouldn't be too hard to emulate it. It seems that it needs to return json structure something like that (or empty if there is no never version):
  1. {
  2.     "data": {
  3.         "folder": "some-folder"
  4.         "update": "something"
  5.     }
  6. }
Copy code


Final update url is formated like this:
'http://%s.openelec.tv/%s' % (folder_value, update_value)

Both urls can be simply changed by the patch during build. Isn't that simpler than including some plugin by default?

3

threads

165

posts

1203

credits

Gold member

Rank: 6Rank: 6

credits
1203
Published in 2016-5-2 22:08:01 | Show all floors
Hmm, thanks. Will try to find something here the next few days.

0

threads

3

posts

32

credits

Novice

Rank: 1

credits
32
Published in 2016-5-4 00:10:38 | Show all floors
jernej replied at 2016-5-2 16:53
It seems that Kodi wants to switch resolution on the fly due to some error in resolution detection ...

Thank you very much for the explaination!

This might be right, the TV is very old... maybe EDID lags at this model!

Looking forward for new Versions (or a new TV )

Have a nice day!

0

threads

7

posts

156

credits

Registered member

Rank: 2

credits
156
Published in 2016-5-4 10:50:46 | Show all floors
j  tried latest builds and finally reverted to trusty absolutely stutter free 20160203 ,  all next builds stutter more or less  

0

threads

1

posts

12

credits

Novice

Rank: 1

credits
12
Published in 2016-5-4 12:08:53 | Show all floors
how long should first boot take?
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list