Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DietPi-Software | Kodi not working on Odroid c2 #3028

Closed
alexeylutskov opened this issue Aug 3, 2019 · 9 comments · Fixed by #3162
Closed

DietPi-Software | Kodi not working on Odroid c2 #3028

alexeylutskov opened this issue Aug 3, 2019 · 9 comments · Fixed by #3162
Labels
Odroid C2 Solution available 🥂 Definite solution has been done
Milestone

Comments

@alexeylutskov
Copy link

alexeylutskov commented Aug 3, 2019

ADMIN EDIT

Solution

wget https://raw.githubusercontent.com/MichaIng/DietPi/dev/.conf/dps_6/xorg_c2.conf -O /etc/X11/xorg.conf
apt-mark auto xf86-video-mali-odroid pulseaudio
apt autoremove --purge
apt install --reinstall aml-libs-odroid mali450-odroid libump-odroid xf86-video-fbturbo-odroid

Fresh install of Dietpi 6.25, Kodi and Mpd only, after all things done just screen blink and message that Kodi can't create gui (Kodi autorun enabled). Same time Kodi runs perfect on Coreelec, so HW is ok.

@MichaIng
Copy link
Owner

MichaIng commented Aug 3, 2019

@alexeylutskov
Many thanks for your report.

I'll check our driver installs, I remember Meveric asked for Kodi 18 testers, was this probably released now? Which Kodi version is it? dpkg -l kodi-odroid
In case this might probably need some change in drivers/configs.

@alexeylutskov
Copy link
Author

alexeylutskov commented Aug 3, 2019

Here it is:

dpkg -l kodi-odroid
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-====================================-=======================-=====[=================-=============================================================================
ii kodi-odroid 17.6-5+deb9 arm64 Kodi - award-winning free and open source (GPL) software media player and ent

@MichaIng
Copy link
Owner

MichaIng commented Aug 4, 2019

@alexeylutskov
Okay I made some comparison of Kodi, desktop and X.org install steps between dietpi-software and the setup-odroid tool by Meveric, that should definitely work with the packages provided by his repo.

Differences are tiny, however worth to give it a try:

wget https://raw.githubusercontent.com/MichaIng/DietPi/dev/.conf/dps_6/xorg_c2.conf -O /etc/X11/xorg.conf
apt purge xf86-video-mali-odroid # Check that there are not other packages depending on it
apt purge pulseaudio # We added PA to install some time ago to fix corrupt sound, however it should be not required (anymore) and might even conflict with our default ALSA setup
apt autoremove --purge
apt install --reinstall aml-libs-odroid mali450-odroid libump-odroid xf86-video-fbturbo-odroid

Failsafe reboot into console:

/DietPi/dietpi/dietpi-autostart 0
reboot

Then please try to start Kodi from console:

xinit kodi-standalone

@alexeylutskov
Copy link
Author

Solution works! Kodi works fine for me for now.

@MichaIng
Copy link
Owner

@alexeylutskov
Okay perfect. Not sure which of these more-minor changes did the trick, however all of them are implemented in our install code with v6.26.

Does dietpi-autostart into Kodi also work well now?

@MichaIng MichaIng added Solution available 🥂 Definite solution has been done and removed Investigating 🤔 labels Aug 26, 2019
@MichaIng MichaIng added this to the v6.26 milestone Aug 26, 2019
@MichaIng MichaIng changed the title Kodi not working on Odroid c2 DietPi-Software | Kodi not working on Odroid c2 Aug 26, 2019
@alexeylutskov
Copy link
Author

Yes, it works, thank you.

@MichaIng
Copy link
Owner

@alexeylutskov
Many thanks for testing. We'll apply most of the steps during next DietPi-Update. All but purging PulseAudio can be done safely, in case of PulseAudio we should ask user.

@MichaIng
Copy link
Owner

MichaIng commented Sep 2, 2019

Done: 3a53ef7
Changelog: 57916d1
Covers as well: #3035

@alexeylutskov
Copy link
Author

Thank you, great news!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Odroid C2 Solution available 🥂 Definite solution has been done
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants