2023-12-06, 22:38
A while ago I upgraded the GPU in my Windows 10 HTPC. I used to run an nVidia GTX 1650 and I replaced that with an nVidia Geforce RTX 4060. (Why these? Because they're the only powerful GPUs that come in half-height cards for my case.)
My main use for Kodi is the PVR (tvheadend). The TV channels generally need de-interlacing. My problem happens when de-interlacing either HD or SD channels, but way more often with SD channels. My TV runs 4K, so Kodi upscales everything. The problem also happens with ripped DVDs, which are also interlaced. It does not happen with non-interlaced videos. It also happens seemingly at random, I cannot reproduce it at the same times in a video, it might be earlier or later.. If I turn off de-interlacing, there is no problem - but then the video obviously looks like crap.
The problem is this:
De-interlaced videos go from smooth to choppy, and vice versa.
I have a video here: https://imgur.com/a/Y0Y9R38
It's most obvious with a rolling text like in these SD news channels. I started recording when the video was choppy, then about halfway in the vid it gets smooth again. I hope you see what I mean.
I have a debug log (a few minutes after the recording above, so not the same):
https://pastebin.com/LfxEHbdv (first half)
https://pastebin.com/XVbskH5t (second half, because of size limit)
In the log, the problem visibly appears around 20:47.40.
When I still ran the GTX 1650 there was no problem, everything was smooth. I think the 4060 should be much more powerful, but maybe something changed in the way it needs to be accessed or something?
I have tried a few different drivers from the past few months, but there was no difference. The problem is the same with Kodi 20.2 and the current nightly (which I used in the recording and the log). Changing the upscaling method to Auto or others also does not make a difference. When I try MPC-HC with de-interlaced files there is also no problem, hence my thinking that it's maybe a bug in Kodi. Or maybe I just need to change some config.
Can anyone help me?
Do you need more information?
Thanks for looking
My main use for Kodi is the PVR (tvheadend). The TV channels generally need de-interlacing. My problem happens when de-interlacing either HD or SD channels, but way more often with SD channels. My TV runs 4K, so Kodi upscales everything. The problem also happens with ripped DVDs, which are also interlaced. It does not happen with non-interlaced videos. It also happens seemingly at random, I cannot reproduce it at the same times in a video, it might be earlier or later.. If I turn off de-interlacing, there is no problem - but then the video obviously looks like crap.
The problem is this:
De-interlaced videos go from smooth to choppy, and vice versa.
I have a video here: https://imgur.com/a/Y0Y9R38
It's most obvious with a rolling text like in these SD news channels. I started recording when the video was choppy, then about halfway in the vid it gets smooth again. I hope you see what I mean.
I have a debug log (a few minutes after the recording above, so not the same):
https://pastebin.com/LfxEHbdv (first half)
https://pastebin.com/XVbskH5t (second half, because of size limit)
In the log, the problem visibly appears around 20:47.40.
When I still ran the GTX 1650 there was no problem, everything was smooth. I think the 4060 should be much more powerful, but maybe something changed in the way it needs to be accessed or something?
I have tried a few different drivers from the past few months, but there was no difference. The problem is the same with Kodi 20.2 and the current nightly (which I used in the recording and the log). Changing the upscaling method to Auto or others also does not make a difference. When I try MPC-HC with de-interlaced files there is also no problem, hence my thinking that it's maybe a bug in Kodi. Or maybe I just need to change some config.
Can anyone help me?
Do you need more information?
Thanks for looking