Author: swordfish6975

Openelec Build for OPI PC and 2 now with HW decoding

  [Copy link]

4

threads

1118

posts

9879

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9879
Published in 2016-6-6 01:23:55 | Show all floors
This bug is present for a long time. Issue is in mali framebuffer driver. It doesn't detect new resolution. I will implement workaround soon, so the driver will be completely closed and opened again at every resolution change.

The trouble here is that Kodi seems to remember last resolution and sets it at every boot. Workaround for that is that you change resolution in script.bin and then boot without HDMI cable attached. After you are sure that Kodi is fully started, you can reconnect HDMI.

P.S.: Images for all boards are the same. They differ only in script.bin and U-Boot configuration.

4

threads

1118

posts

9879

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9879
Published in 2016-6-6 01:27:03 | Show all floors
melanrz replied at 2016-6-5 18:20
now working but,dont boot with something in usb port,without boot and after solve this problem.

Which board? Can you attach serial console and provide the output from the failed boot? I tried this many times with my OPi2 and it never failed.

1

threads

23

posts

103

credits

Registered member

Rank: 2

credits
103
Published in 2016-6-6 20:30:02 | Show all floors
jernej, could you share the settings used for compiling media_build?

4

threads

1118

posts

9879

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9879
Published in 2016-6-6 23:56:55 | Show all floors
What do you mean by "settings"? Everything related to media_build, including build instructions, can be found here https://github.com/jernejsk/Open ... drivers/media_build and here https://github.com/jernejsk/Open ... patches/media_build

1

threads

23

posts

103

credits

Registered member

Rank: 2

credits
103
Published in 2016-6-7 01:33:13 | Show all floors
yeah i tried your media kernel modules on Armbian and they all worked when loaded with --force
however as i compiled them myself for Armbian, rc_core failed because double exporting a symbol

so you somehow managed to cherry-pick remove all stuff from rc_core that is in the kernel already?

4

threads

1118

posts

9879

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9879
Published in 2016-6-7 04:11:42 | Show all floors
Problem is that Armbian has rc_core driver built in. If you want to load newer one, you have to recompile kernel with disabled rc_core or marked as a module. Basically nothing in kernel should be marked with "=y" if you want to load media_build

1

threads

23

posts

103

credits

Registered member

Rank: 2

credits
103
Published in 2016-6-7 06:07:16 | Show all floors
yep, thats what i did afterwards, to have modules loadable without --force
but, i could load -your- rc_core.ko on the stock kernel with rc-core builtin...

4

threads

1118

posts

9879

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9879
Published in 2016-6-14 06:43:20 | Show all floors
Here is update file with experimental HW CEC implementation, thanks to jodamm (https://github.com/jodamm):
https://transfer.sh/oem5w/openel ... r22853-g6f063aa.tar

Please test it.

0

threads

48

posts

462

credits

Intermediate member

Rank: 3Rank: 3

credits
462
Published in 2016-6-14 11:32:11 | Show all floors
Edited by hav at 2016-6-14 11:40

CEC It works well , but if you turn off the TV and then turn it on, no longer works. LG TV. 55LA965V-ZA.
I think this could be easily solved , for in the image of zidoo for android, the hdmi is detected every time the TV is turned on.

4

threads

1118

posts

9879

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9879
Published in 2016-6-14 13:22:01 | Show all floors
Unless I'm mistaken, those two implementations are completely different. I think this HW implementation is missing hooks on monitor (un)plug detection events... This is understandable in this early stage.
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list