Kodi 19 epg dead slow
#1
Thought I'd give Kodi 19 a try on my MI TV 4S but navigating back and forth in the epg is extremely laggy. Kodi 19 is latest master from yesterday.

Kodi 18 with same pvr client with about 80 channels is fluent as can be. Using 2 days in the past and 4 days in the future in both versions.

@ksooo you put a lot of work into the epg. You happen to know what causes this?
Reply
#2
No crystal ball here to guess what client your are using or what skin you are using and show other key things.  Please upload debug logs to help us help you.

Martin
Reply
#3
I'm using waipu and confluence on both 18 and 19. There's no difference in configuration that could cause this massive stutter. It's the epg grid that's extremely laggy even when nothing is being played back.

It's more or less vanilla Kodi 19 with the pvr client installed.
Reply
#4
"More or less" you are telling us you don't need help when you don't post debug logs.  There were changes in v19 then could explain slowdowns depending on how frequent the EPG updates are and how many changes each time they get loaded if they addon doesn't handle the database updates properly.

Martin
Reply
#5
Tried with pvr zattoo too. It was a little bit faster with only 40 channels in the grid but still not smooth as in Kodi 18. With about 100 channels it was just as slow as with pvr.waipu. I waited until the epg was fully loaded in all cases.

I know there were internal changes to how the grid is stored / loaded to improve performance on low memory devices like rpi 1 and such. Maybe it's these changes that cause this because the process of loading events not in sight when navigating is too expensive?
Reply
#6
If I remember correctly, PVR.waipu basically is a copy of PVR.zattoo - code-wise. Both suffer from the same problem. After starting Kodi, they push EPG data to Kodi in a tight code loop. This causes very high CPU load. For my (fast) Dev machine this is 400% load for about a minute which can cause what you experience on low power devices.

So, could you please check that after some time after Kodi startup the CPU load drops and EPG window is working smoothly?

Those issues need to be fixed in the add-on. Kodi cannot do anything about the CPU load created by the add-on.
Reply
#7
As I said, I gave it some time and ensured the epg was fully loaded. There's also no lag at all in other parts of Kodi. Just the epg.

And yes, they were similar but waipu is still using sync epg while zattoo is asynchronous.
Reply
#8
BTW, even with the high CPU load after Kodi start, I can navigate the EPG window smoothly. Tested with zattoo and 80 channels 30 days EPG each. But as I said, I'm using a high power machine.
Reply
#9
I need log files, with debug for PVR and EPG enabled.
Reply
#10
As other add-ons seem not to have this problem, I tend to say you should open a GitHub issue for the two affected add-ons. The add-on maintainers should have a look.
Reply
#11
https://paste.kodi.tv/tasurowehu.kodi

Can you see anything?
Reply
#12
I can also try another pvr addon of your choice if it helps you.

And if it's related to the addons, what has changed in Kodi itself when there's no issue at all with the same addons in Kodi 18?
Reply
#13
The whole way EPG is handled by Kodi in memory and database has changed for v19. If you are a Dev, please read the GitHub changelog. If not, my explanation would not help you.
Reply
#14
I'm aware of these changes and that's also what I suspected to be causing these issues

But what I'm not aware of is why that would break existing pvr clients in such a way?
Reply
#15
Well, just did a quick test: Setup waipu account (1 month free trial), Kodi RC1, pvr.waipu 2.5.0, ~170 channels, -3 / +25 days of EPG.

On my Mac dev machine I experienced the following, when opening the EPG window directly after start.

On very first start of Kodi with the addon enabled, where all EPG data are new and need to be saved to kodi epg db, there was some lagging here and there while scrolling to the epg window with my finger permanently on the left or right or up or down cursor key. On subsequent Kodi starts, where all data are already in the kodi epg db (except some updated programmes maybe), I could not see any lag while scrolling.
Reply



Logout Mark Read Team Forum Stats Members Help
Kodi 19 epg dead slow0
This forum uses Lukasz Tkacz MyBB addons.