Author: swordfish6975

Openelec Build for OPI PC and 2 now with HW decoding

  [Copy link]

0

threads

5

posts

42

credits

Novice

Rank: 1

credits
42
Published in 2016-12-9 15:51:33 | Show all floors
jernej replied at 2016-12-9 06:28
Unless you know how to fiddle with kernel drivers source, you can't, unfortunatelly.

You say you need an LG TV to fix the CEC bugs. Are extensive logs not sufficient to do that?
Over on the ODroid C2 forum they are building LibreELEC for the C2 (created by wrxtasy).
They too have had problems getting CEC to work properly yet they came very far.
Maybe they are willing to help you or point you to a source which you can easely implement.

Actually, they even got official support for LibreELEC because of their combined efforts.

Maybe you can too with their help!

6

threads

26

posts

485

credits

Intermediate member

Rank: 3Rank: 3

credits
485
Published in 2016-12-9 19:41:27 | Show all floors
WMV1, WMV2, VP6 and VP9 codecs, although supported by CedarX, are SW decoded (nothing can be done to improve this)

what about wmv3?
software decode or HW or not supported
I know wmv3 is not playable
no error message
debug message says wmv3
It recognize wmv3
what happens inside?

reading DVDVideoCodecCedarX.cpp
I find wmv3 treated in almost the same way as wmv2 wmv1

4

threads

1118

posts

9503

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9503
Published in 2016-12-9 23:56:16 | Show all floors
IanPH replied at 2016-12-9 08:51
You say you need an LG TV to fix the CEC bugs. Are extensive logs not sufficient to do that?
Over  ...

There are many obstacles:
1. Allwinner doesn't provide any kind of information about CEC HW, so driver is based on reverse engineering and even on guessing (blind trial and error).
2. I currently don't own any kind of HW which is CEC capable (not even a TV). I will get soon HDMI audio splitter, which might support CEC.
3. Remote debugging doesn't work, unless issues are trivial. Here issues are not trivial and I don't have full understandment what is going on (check points above).
4. I won't never ask to accept this into LibreELEC. Kernel code and CedarX libs violate GPL license. There is no redistribution license for Mali driver. H3 support in Kodi is naive at best and it has a lot of issues. Most issues are/will be addressed in mainline kernel. With current state it would be already possible to make working image with SW decoding (still with Mali redistribution issues). I expect that mainline kernel will be capable of HW decoding in a year or two (MPEG1, MPEG2 and partially MPEG4 already works for A10/A20 with patches).

4

threads

1118

posts

9503

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9503
Published in 2016-12-9 23:59:00 | Show all floors
oppai replied at 2016-12-9 12:41
what about wmv3?
software decode or HW or not supported
I know wmv3 is not playable

I'm looking into it. WMV3 is threated completely different than WMV1 and WMV2. Don't let few lines of code difference to confuse you.

4

threads

1118

posts

9503

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9503
Published in 2016-12-10 00:27:35 | Show all floors
oppai replied at 2016-12-9 12:41
what about wmv3?
software decode or HW or not supported
I know wmv3 is not playable

Fixed (or at least I think so). Please test this update: https://transfer.sh/fLdlQ/openel ... r23159-g21fd889.tar

0

threads

5

posts

42

credits

Novice

Rank: 1

credits
42
Published in 2016-12-10 03:22:19 | Show all floors
Okay Jernej, thanks for clearing that up.

6

threads

26

posts

485

credits

Intermediate member

Rank: 3Rank: 3

credits
485
Published in 2016-12-10 18:17:37 | Show all floors
jernej replied at 2016-12-10 00:27
Fixed (or at least I think so). Please test this update: https://transfer.sh/fLdlQ/openelec-h3.arm ...

Hi
played completely
great


3

threads

165

posts

1203

credits

Gold member

Rank: 6Rank: 6

credits
1203
Published in 2016-12-10 23:35:37 | Show all floors
Quick question: is there a list of supported Bluetooth chips?

4

threads

1118

posts

9503

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9503
Published in 2016-12-11 04:57:26 | Show all floors
Dima replied at 2016-12-10 16:35
Quick question: is there a list of supported Bluetooth chips?

I guess kernel config is the best place to check. I didn't enable some of the options, but most USB bluetooth dongles should work.

0

threads

15

posts

218

credits

Intermediate member

Rank: 3Rank: 3

credits
218
Published in 2016-12-14 23:30:49 | Show all floors
So i got usb to ttl cable, i'll provide some logs, when it crashes and reboots in next few days.
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list