Posts: 7,650
Joined: Jun 2011
Reputation:
287
there was ~2 years ago, but our wayland support is unmaintained ever since its introduction and doesn't work with halfway current wayland, so it will be removed again.
Posts: 8
Joined: Jan 2016
Reputation:
0
Is there a reason for not being actively developed? I mean, it seems like a good move to have wayland support for the "de facto" media player of all embedded devices. Ditching Xorg seems like a great performance improvement for not-so-powerful devices which only GUI most of the time is Kodi itself. Isn't it?. Maybe I'm missing something.
Posts: 11
Joined: Feb 2016
Reputation:
0
maxk
Junior Member
Posts: 11
Don't overestimate the advantages of Wayland. You won't see a "great performance improvement". Maybe a small one. There are many advantages in Wayland, but few of them are really visible to users.
I was about to switch my Kodi box to Wayland when I saw that the Kodi Team had removed the feature. Fortunately, it's open source, and I'm not bound to anybody's decisions but my own ones. If the Kodi Team is interested in taking advantage of my Wayland work, they can just merge my code. Either way, my own Kodi box will run Wayland very soon.
Posts: 8
Joined: Jan 2016
Reputation:
0
Thanks all for the insights !
Posts: 23,266
Joined: Aug 2011
Reputation:
1,074
fritsch
Team-Kodi Developer
Posts: 23,266
We even got MIR support without much discussion, without any trouble. Within just 2 weeks of time ... team kodi never decided against wayland, but against a certain way of broken implementation, but it seems the message did not come through.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Posts: 6,810
Joined: Jul 2010
Reputation:
198
Right. Mir works with OpenGL and GLES and it supports vaapi. It followed the suggested design. This is different to the hacks submitted for Wayland.
Posts: 11
Joined: Feb 2016
Reputation:
0
maxk
Junior Member
Posts: 11
The Wayland code was not broken - it was just badly designed. Just like the Mir code is badly designed. I wouldn't have merged that. And I admit I would never have merged the Wayland code in the first place - and for the same reasons, I wouldn't have accepted 99% of all pull requests. Almost all of the Kodi code is bad from my point of view, and I'm terrified each time I look at it, but maybe that's because my expectations are too high.
The problem with our Wayland discussion (with you and FernetMenta) was contradictory or impossible or stupid requirements on when Wayland code would be accepted. I suggested a roadmap which would lead not only to good Wayland support, but would also repair other windowing implementations which are just as bad as the old Wayland code - but are still there! Not because of its code quality - but because nobody is brave enough to kill Kodi's Android port. (Yes, Kodi's Android code is bad for exactly the very same reasons why Wayland was deleted.) Anyway, all of my suggestions were rejected. That was when it was time for me to give up.
Posts: 6,564
Joined: Apr 2008
Reputation:
160
natethomas
Enjoying Retirement by Staying Busy
Posts: 6,564
I don't really have a dog in this race, so my apologies for being uninformed. Are you advocating killing the Android port or advocating fixing the windowing system across platforms including the android port?