DietPi-Software | Kodi will not run.

Created on 28 Jun 2016  路  7Comments  路  Source: MichaIng/DietPi

All 7 comments

Due to shift from fbdev to X11 with recent mali driver release. Many thanks to Meveric for his help on this one:

Changes for X11 installing xf86-video-mali and libump-odroid aside of mali450-odroid and a new set of aml-libs-odroid.
xorg.conf for /etc/X11

so, is it fixable?

@rhkean Yep, just testing now

notes:

  • :u55b6: boot.ini setenv vout "dvi" now disables hdmi audio. So this must now be commented out.
  • :u6307: Kodi 32bit works from console.
  • :u55b6: Kodi 24bit from console visually appears slower and stutters. 32bit is alot smoother.
  • :u5408: LXDE 24bit fails on xorg.
  • :u55b6: LXDE 32bit desktop fine. Kodi stutters and flashes in menus. Desktop visible in video playback. img_20160629_173325

    • Desktop visible is caused by xcompmgr -n in /etc/xdg/lxsession/LXDE/autostart

    • xcompmgr -a hides the desktop and Kodi runs as smooth as butter. However, if a window is open prior to running Kodi, Kodi's menu interface stutters.

    • We need to use xcompmgr -a/n for LXDE, else, moving windows results in 100% cpu.

  • :u55b6: MATE 32bit desktop fine. Kodi stutters and flashes in menus. Audio latency in Kodi menus. Video playback is fine.

    • xcompmgr -a resolves all the above issues.

notes:

  • 32bit is now default. Required for optimal performance in Kodi and allows for working Desktops.
  • setenv vout "dvi" is now commented out by default to allow HDMI audio.
  • xcompmgr -a is set when user runs Kodi from any Desktop. Prevents stuttering/flashing in Kodi menus and prevents laggy audio in pulseaudio desktops (eg: MATE).

The main question is patching:

  • Due to so many needed changes from fbdev to X11, might not be feasible.
  • Might need to consider a forced v121 image for C2. Lets see, maybe we can uninstall and reinstall KODI.

The above commit should cover patching. But i'll test it tomorrow from 120 master with Kodi+LXDE installed > 121 testing.

Reason for boot.ini overwrite:
Patching boot.ini would be risky due to far too many additions and changes at various lines, and, I honestly don't have the time at the moment to code around it :-1: . Also contains the new "nographics" (headless) option which i'll add to dietpi-config at a later date (+300MB RAM whoooho :+1: ).

Patch tests completed. Resolved for v121.
Marking as closed :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

k-plan picture k-plan  路  3Comments

aesirteam picture aesirteam  路  3Comments

oshank picture oshank  路  3Comments

bhaveshgohel picture bhaveshgohel  路  3Comments

Kapot picture Kapot  路  3Comments