Author: swordfish6975

Openelec Build for OPI PC and 2 now with HW decoding

  [Copy link]

0

threads

6

posts

64

credits

Registered member

Rank: 2

credits
64
Published in 2015-12-26 07:33:01 | Show all floors
Edited by CGarces at 2015-12-26 07:50
jernej replied at 2015-12-26 06:50
Actually, you do require sudo privileges for official build. Check this script on line 325 in origi ...

Thanks for your reply... so my build SHOULD work without sudo but is not...

I'm very confused with my own build, without sudo I get this error.

  1. configure: error: in `/media/hdd/Development/OpenELEC-OPi2/build.OpenELEC-A10.arm-7.0-devel/gcc-5.2.0/.armv7ve-openelec-linux-gnueabi-bootstrap/gcc':
  2. configure: error: C compiler cannot create executables
  3. See `config.log' for more details.
Copy code



See full config.log
And one similar execution with sudo

The diff that I see is...
  1. /media/hdd/Development/OpenELEC-OPi2/build.OpenELEC-A10.arm-7.0-devel/toolchain/armv7ve-openelec-linux-gnueabi/bin/as: unrecognized option '--64'
Copy code

Similar error is described there, but clean and rm my folders not fix the problem.


No idea why happens, probably is related to my build system (debian jessie)

4

threads

1118

posts

9501

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9501
Published in 2015-12-26 08:16:09 | Show all floors
CGarces replied at 2015-12-26 00:33
Thanks for your reply... so my build SHOULD work without sudo but is not...

I'm very confused with ...

Not sure why you have report for gcc 4.9.3 It should be for 5.2.0 Additionally, I see that you added A10 build target. I don't think that this is my fork anymore Just be aware that you are probably better off porting changes from a xbmca10 project than using my modifications. Maybe you could just change to a newer CedarX library, but in that case you would probably need different libVE.so and you are on your own. Maybe you can ask zhao_steven for a SDK.

0

threads

6

posts

64

credits

Registered member

Rank: 2

credits
64
Published in 2015-12-26 08:51:24 | Show all floors
Edited by CGarces at 2015-12-26 08:53
jernej replied at 2015-12-26 08:16
Not sure why you have report for gcc 4.9.3 It should be for 5.2.0 Additionally, I see that you add ...

The build is just for learn, I think that I'll never will get a working version, and in any case will be imposible to mantain with m current skills... but I have some free time on holidays

BTW I found the error comparing again the two logs....

http://pastebin.com/mHcYhP84
http://pastebin.com/qnJxfdzQ

The error was the PATH envitoment same error that this thead


/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
vs...
.:.:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

PD. Looks like my kernel not compile with GCC 5, thats the reason to downgrade.

4

threads

1118

posts

9501

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9501
Published in 2015-12-26 16:05:34 | Show all floors
CGarces replied at 2015-12-26 01:51
The build is just for learn, I think that I'll never will get a working version, and in any case wi ...

It's not hard to fix kernel to compile with 5.2. Check patch linux-01-kernel-3.4.patch or this one: https://github.com/ssvb/linux-su ... 650943b3425d2e5e858

5

threads

354

posts

2724

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
2724
Published in 2015-12-26 17:21:43 | Show all floors
jernej replied at 2015-12-25 18:35
What about this one:
https://app.box.com/s/1xukyumf6nqdxfkgtvedxjs7utopu1ce

Seems OK for now.

Boards:
orangepi plus, olinuxino A20, cubieboard A10, mele A2000 .....

4

threads

1118

posts

9501

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9501
Published in 2015-12-26 17:32:16 | Show all floors
Can you confirm that Kodi's CPU load is low also for interlaced videos?

0

threads

41

posts

213

credits

Intermediate member

Rank: 3Rank: 3

credits
213
Published in 2015-12-26 17:36:01 | Show all floors
jernej replied at 2015-12-26 01:35
What about this one:
https://app.box.com/s/1xukyumf6nqdxfkgtvedxjs7utopu1ce

First report after some use with this patch.
Problems:
1) Seems that videos in TS container show only a black screen. They worked before.
Sample: https://tivostream.googlecode.com/files/h264_tivo_sample.ts
2) MPEG2 videos drop a lot of frames. Maybe this was already present before.

I tried again the VC1 video i posted some days ago and now it's smooth as you said
And i'm not an expert of interlacing but seems now it's deinterlaced properly and i cannot see tearing.
(Maybe because of enabled VSync in Kodi settings? I will try with it disabled. Or maybe it's because i cannot see it)

I tried those videos only to do some testing.
Usually i watch only H264 and H265 and low cpu use thanks to direct rendering is AWESOME.
Thank you

PS: I did a small pull request yesterday: a small thing for consistency.

5

threads

354

posts

2724

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
2724
Published in 2015-12-26 17:47:05 | Show all floors

added 576i

Edited by fritz at 2015-12-26 12:56

Yep can confirm no TS.
I have some recordings in TS format and none works.

metadata from 720p, 1080i and 576i:
http://pastebin.com/TPrUqsJh
Boards:
orangepi plus, olinuxino A20, cubieboard A10, mele A2000 .....

4

threads

1118

posts

9501

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9501
Published in 2015-12-26 18:47:40 | Show all floors
runnerway replied at 2015-12-26 10:36
First report after some use with this patch.
Problems:
1) Seems that videos in TS container show o ...

Can you please check if there was a lot of dropped frames for MPEG2 video also with GPU rendering? I will try to locate issue with TS files, but that may take a while.

4

threads

1118

posts

9501

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9501
Published in 2015-12-26 23:59:34 | Show all floors
Edited by jernej at 2015-12-26 17:55
runnerway replied at 2015-12-26 10:36
First report after some use with this patch.
Problems:
1) Seems that videos in TS container show o ...

I managed to fix black screen for TS files. Main problem was video files with multiple streams inside. Here is the new patch:
https://app.box.com/s/p7h3cd5se3d7z27glww9pju5hxd72x6s

It has partial VSync support. For full support kernel patch would be needed. However, I would like to push this patch to github before that. If there is enough confirmations that it works and hopefully no major regression, I will commit it.

EDIT: I forgot to comment out resolution changing code. This feature doesn't work yet.
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list