Springen naar inhoud


Foto

Kodi in FullHD on VU+

kodi vuplus

  • Please log in to reply
Er zijn 8 reacties in dit onderwerp

#1 munster

  • Member
  • 4 berichten

0
Neutral

Geplaatst op 29 november 2017 - 12:25

Hi all,

 

If anybody is interested in running Kodi UI in FullHD on a VU+, please check out the attachment.
Note that I'm talking here only about UI, not the media which is played by gstreamer in whatever resolution available.

 

How to use:

1. Compile OpenPLi as usual.

2. Comment "rm_work" in site.conf so that the sources will not be deleted:

#INHERIT += "rm_work"

3. Build Kodi by running

MACHINE=<machine> bitbake enigma2-plugin-extensions-kodi

4. Put file from the archive into folder

.../openpli-oe-core/build/tmp/work/<machine>-oe-linux-gnueabi/kodi/*/git/xbmc/windowing/egl/

5. Recompile Kodi. For example, by running:

export PATH=$PATH:.../openpli-oe-core/build/tmp/sysroots/x86_64-linux/usr/bin/arm-oe-linux-gnueabi
cd .../openpli-oe-core/build/tmp/work/<machine>-oe-linux-gnueabi/kodi/*/git/
make -j 4
arm-oe-linux-gnueabi-strip --remove-section=.comment --remove-section=.note kodi.bin

Bijlage  EGLNativeTypeV3D.cpp.zip   1,82K   58 Aantal bijlagen



Re: Kodi in FullHD on VU+ #2 littlesat

  • PLi® Core member
  • 56123 berichten

+685
Excellent

Geplaatst op 29 november 2017 - 13:20

Do you mean here 1920x1080 skin on Kodi? (as far I understood we currently have 1280x720)...


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Kodi in FullHD on VU+ #3 munster

  • Member
  • 4 berichten

0
Neutral

Geplaatst op 29 november 2017 - 17:03

No, I'm not talking about the skins.

I mean that currently the Kodi's platform code (EGLNativeTypeV3D.cpp) initializes native UI window to be always 1280x720.

Internally the window is created in libKodiGLESPL.so in function GLES_Native_CreateNativeWindow. And this function always uses 1280x720 with stretch enabled.

So even if your display resolution was 4K, you'd see the Kodi UI in 1280x720 (stretched of course).



Re: Kodi in FullHD on VU+ #4 pepinoogorino

  • Senior Member
  • 65 berichten

+2
Neutral

Geplaatst op 4 december 2017 - 17:03

So even if your display resolution was 4K, you'd see the Kodi UI in 1280x720 (stretched of course).

I confirm the above.



Re: Kodi in FullHD on VU+ #5 bogdanm

  • Senior Member
  • 59 berichten

+1
Neutral

Geplaatst op 8 december 2017 - 09:56

If im understend good after used your  file:

- Kodi will be run in FHD or 4K ?

- skin will be in FHD ?

- all movie/video etc will be play with resolution who is created



Re: Kodi in FullHD on VU+ #6 littlesat

  • PLi® Core member
  • 56123 berichten

+685
Excellent

Geplaatst op 8 december 2017 - 10:21

The movie/video was already shown in FHD,,,, as far I understand this is only User Interface Skin related.


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Kodi in FullHD on VU+ #7 munster

  • Member
  • 4 berichten

0
Neutral

Geplaatst op 8 december 2017 - 17:07

If im understend good after used your  file:

- Kodi will be run in FHD or 4K ?

- skin will be in FHD ?

- all movie/video etc will be play with resolution who is created

Kodi UI and its skin will be FHD. Movies will be played in whatever resolution they are.



Re: Kodi in FullHD on VU+ #8 foxbob

  • Senior Member
  • 612 berichten

+18
Neutral

Geplaatst op 17 december 2017 - 07:13

I build it with your changes in for solo2. If 720p is set in the system nothing changes, put 1080P changes the skin to fullhd. And in the log writes 720P.  Thank you.

 
NOTICE: Starting Kodi (17.6 Git:2017-12-10-a9a7a20-dirty). Platform: Linux MIPS 32-bit
20:06:51.417 T:1959317520  NOTICE: Using Release Kodi x32 build
20:06:51.417 T:1959317520  NOTICE: Kodi compiled Dec 10 2017 by GCC 7.2.0 for Linux MIPS 32-bit version 4.12.0 (265216)

 

20:06:51.417 T:1959317520  NOTICE: Running on openpli 6, kernel: Linux MIPS 32-bit version 3.13.5

NOTICE: InitWindowSystem: Using EGL Implementation: vuplus

19:06:52.094 T:1959317520  NOTICE: Found resolution 1280 x 720 for display 0 with 1280 x 720 @ 50.000000 Hz
19:06:52.094 T:1959317520  NOTICE: Previous line repeats 2 times.
19:06:52.094 T:1959317520  NOTICE: Found (1280x720@50.000000) at 16, setting to RES_DESKTOP at 16

Veranderd door foxbob, 17 december 2017 - 07:14


Re: Kodi in FullHD on VU+ #9 munster

  • Member
  • 4 berichten

0
Neutral

Geplaatst op 18 december 2017 - 18:27

 

I build it with your changes in for solo2. If 720p is set in the system nothing changes, put 1080P changes the skin to fullhd. And in the log writes 720P.  Thank you.

 
NOTICE: Starting Kodi (17.6 Git:2017-12-10-a9a7a20-dirty). Platform: Linux MIPS 32-bit
20:06:51.417 T:1959317520  NOTICE: Using Release Kodi x32 build
20:06:51.417 T:1959317520  NOTICE: Kodi compiled Dec 10 2017 by GCC 7.2.0 for Linux MIPS 32-bit version 4.12.0 (265216)

 

20:06:51.417 T:1959317520  NOTICE: Running on openpli 6, kernel: Linux MIPS 32-bit version 3.13.5

NOTICE: InitWindowSystem: Using EGL Implementation: vuplus

19:06:52.094 T:1959317520  NOTICE: Found resolution 1280 x 720 for display 0 with 1280 x 720 @ 50.000000 Hz
19:06:52.094 T:1959317520  NOTICE: Previous line repeats 2 times.
19:06:52.094 T:1959317520  NOTICE: Found (1280x720@50.000000) at 16, setting to RES_DESKTOP at 16

 

I'm not sure I got it.

In my code the resolution is set to 1920x1080 @ 60 Hz, so my log contains

NOTICE: EGL initial desktop resolution 1920x1080 @ 60.00 - Full Screen
 DEBUG: EGL initial desktop resolution 1920x1080 @ 60.00 - Full Screen 3DSBS
 DEBUG: EGL initial desktop resolution 1920x1080 @ 60.00 - Full Screen 3DTB
NOTICE: Found resolution 1920 x 1080 for display 0 with 1920 x 1080 @ 60.000000 Hz
NOTICE: Previous line repeats 2 times.

If you see something else, it means you run a different binary.





Also tagged with one or more of these keywords: kodi, vuplus

1 gebruiker(s) lezen dit onderwerp

0 leden, 1 bezoekers, 0 anonieme gebruikers