Linux KODI 19.4 vs 21.0 - differences video quality
#1
Welcome,
a few days ago I moved my 3D cinema project from KODI 19.4 to KODI 21.0. My redundant code was meticulously ported from one version to another.

In total, my functions were transferred to turn on the projectors via python telnet, setting up filters 3D via RS232 commands and a few KODI code functions changed to change the window size from 1400x1050 to 2800x1050 and set the proportions to fixed.

The problem is that on KODI 19.4 in 3D and 2D mode the picture is nice, so in 21.0 in 3D mode you can see "pixelosis". In 21.0 in 2D it's ok. You can see it exactly in the attached 3D screenshots. And the fact that the screenshots were made by TeamViewer does not matter, because that's exactly how you can see it on the projector's screen, and even more so.

Did the rendering of the image change somehow between these two versions? Because I remember there were slight differences in windowing/X11/WinSystemX11.cpp. Maybe something else has changed? Skip, of course, transferring functions to other files, e.g. application.


Starting Kodi (19.4 (19.4.0) Git:20221025-4173468cc9-dirty). Platform: Linux x86 64-bit
Using Release Kodi x64
Kodi compiled 2023-01-19 by GCC 12.2.0 for Linux x86 64-bit version 5.19.17 (332561)
Running on Ubuntu 22.10, kernel: Linux x86 64-bit version 5.19.0-29-generic
FFmpeg version/source: 4.3.2-Kodi
Host CPU: Intel® Pentium® CPU G4600 @ 3.60GHz, 4 cores available
2D - ok, 3D - ok
https://postimg.cc/yghLKSVh
Image


Starting Kodi (21.0-ALPHA1 (20.90.101) Git:--dirty). Platform: Linux x86 64-bit
Using Release Kodi x64
Kodi compiled 2023-01-15 by GCC 12.2.0 for Linux x86 64-bit version 5.19.17 (332561)
Running on Ubuntu 22.10, kernel: Linux x86 64-bit version 5.19.0-29-generic
FFmpeg version/source: 4.4.1-Kodi
Host CPU: Intel® Pentium® CPU G4600 @ 3.60GHz, 4 cores available
2D - ok, 3D - pixelosis
https://postimg.cc/5HCPPRTR
Image
Reply
#2
Can you add a debug log?
Reply
#3
19.4: https://paste.kodi.tv/obiripipuw.kodi

21.0: https://paste.kodi.tv/norusatalo.kodi

file 3D: /mnt/serwer/Media/Filmy/Pokazowe 3D/3D IMAX Intro SBS-lr.m2ts
Reply
#4
2023-01-19 21:40:37.824 T:377904 info <general>: Disabled debug logging due to GUI setting. Level 0.

Please always enable debugging AND restart Kodi before reproducing the problem(s), for more detailed log entries during troubleshooting.
Reply
#5
https://paste.kodi.tv/adagicamaf.kodi

Code:
2023-01-20 11:28:34.072 T:541611    info <general>: Contents of special://profile/advancedsettings.xml are...
                                                   <advancedsettings>
                                                     <loglevel>2</loglevel>
                                                   </advancedsettings>
                                                   
2023-01-20 11:28:34.072 T:541611 warning <CSettingsManager>: missing version attribute
2023-01-20 11:28:34.072 T:541611    info <general>: Default Video Player: VideoPlayer
2023-01-20 11:28:34.072 T:541611    info <general>: Default Audio Player: paplayer
2023-01-20 11:28:34.072 T:541611    info <general>: Disabled debug logging due to GUI setting. Level 1.
Reply
#6
Just a tip: using loglevel 1 is a bit easier on the eyes (no debug info via the OSD).
Reply
#7
Quote:2023-01-20 11:28:34.502 T:541611 info <general>: CWinSystemX11::SetFullScreen - calling xrandr
2023-01-20 11:28:34.502 T:541611 debug <general>: OnLostDevice - notify display change event
2023-01-20 11:28:34.502 T:541611 error <general>: CXRandR::SetMode: asked to change resolution for mode that exists but with different w/h/hz: VGA-0 mode: 0x27e. Searching for similar modes...
2023-01-20 11:28:34.502 T:541611 error <general>: CXRandR::SetMode: asked to change resolution for non existing mode: VGA-0 mode: 0x27e
Probably related to above.
Not sure about your setup, but this seems wrong to me.
Reply
#8
(2023-01-20, 12:43)a1rwulf Wrote:
Quote:2023-01-20 11:28:34.502 T:541611 info <general>: CWinSystemX11::SetFullScreen - calling xrandr
2023-01-20 11:28:34.502 T:541611 debug <general>: OnLostDevice - notify display change event
2023-01-20 11:28:34.502 T:541611 error <general>: CXRandR::SetMode: asked to change resolution for mode that exists but with different w/h/hz: VGA-0 mode: 0x27e. Searching for similar modes...
2023-01-20 11:28:34.502 T:541611 error <general>: CXRandR::SetMode: asked to change resolution for non existing mode: VGA-0 mode: 0x27e
Probably related to above.
Not sure about your setup, but this seems wrong to me.

It looks like there is a resolution change to a specific screen (I have 2x 1400x1050) and throws an error here.

I have to check it, but from what I remember, I set the "windowed" mode to it to make it easier for me to change the size of the KODI window.
Reply
#9
I'm not at all knowledgable at all in this area, but one thing I've noticed is that you as using v21 but are using ffmpeg 4.4.1-Kodi however v21 was recently bumped to use ffmpeg 5 see:

https://github.com/xbmc/xbmc/pull/21248
https://github.com/xbmc/xbmc/blob/master...VERSION#L3
https://github.com/xbmc/FFmpeg/releases/...xus-Alpha3

Any particular reason for using the old version of ffmpeg?
Reply
#10
(2023-01-20, 14:27)jjd-uk Wrote: I'm not at all knowledgable at all in this area, but one thing I've noticed is that you as using v21 but are using ffmpeg 4.4.1-Kodi however v21 was recently bumped to use ffmpeg 5 see:

https://github.com/xbmc/xbmc/pull/21248
https://github.com/xbmc/xbmc/blob/master...VERSION#L3
https://github.com/xbmc/FFmpeg/releases/...xus-Alpha3

Any particular reason for using the old version of ffmpeg?
Ffmpeg was what someone added in the repository. I didn't check it.

I downloaded a new fresh version of KODI 21.0 (ffmpeg 5), compiled without any changes in the code and in 3D mode you can see these pixels
logs: https://paste.kodi.tv/vequyuzixi.kodi
https://postimg.cc/BPC8vbf9
Image

on 19.5 fresh compile not see pixels (I think that difrences bettwen 19.4 isn't big)
logs: https://paste.kodi.tv/avigehafeg.kodi
https://postimg.cc/dDvx7shS
Image
Reply
#11
I can't really tell what causes this, but what I spotted in the log the v21 log:
Quote:2023-01-20 20:49:41.188 T:887936 debug <general>: CVideoPlayerVideo - video decoder returned error
This happens 4 times while it never happens in the 19.5 log - not sure if this can cause pixelation.
Reply
#12
(2023-01-23, 08:50)a1rwulf Wrote: I can't really tell what causes this, but what I spotted in the log the v21 log:
Quote:2023-01-20 20:49:41.188 T:887936 debug <general>: CVideoPlayerVideo - video decoder returned error
This happens 4 times while it never happens in the 19.5 log - not sure if this can cause pixelation.
https://postimg.cc/7GdYLh23
Image

Ok, I tunroff "Hardware acceleration VDPAU" and now haven't pixelosis Laugh

But why on v19.4 / v19.5 hardware acceleration worked?
Reply
#13
(2023-01-19, 23:12)expertup Wrote: Welcome,
a few days ago I moved my 3D cinema project from KODI 19.4 to KODI 21.0. My redundant code was meticulously ported from one version to another.

In total, my functions were transferred to turn on the projectors via python telnet, setting up filters 3D via RS232 commands and a few KODI code functions changed to change the window size from 1400x1050 to 2800x1050 and set the proportions to fixed.

The problem is that on KODI 19.4 in 3D and 2D mode the picture is nice, so in 21.0 in 3D mode you can see "pixelosis". In 21.0 in 2D it's ok. You can see it exactly in the attached 3D screenshots. And the fact that the screenshots were made by TeamViewer does not matter, because that's exactly how you can see it on the projector's screen, and even more so.

Did the rendering of the image change somehow between these two versions? Because I remember there were slight differences in windowing/X11/WinSystemX11.cpp. Maybe something else has changed? Skip, of course, transferring functions to other files, e.g. application.


Starting Kodi (19.4 (19.4.0) Git:20221025-4173468cc9-dirty). Platform: Linux x86 64-bit
Using Release Kodi x64
Kodi compiled 2023-01-19 by GCC 12.2.0 for Linux x86 64-bit version 5.19.17 (332561)
Running on Ubuntu 22.10, kernel: Linux x86 64-bit version 5.19.0-29-generic
FFmpeg version/source: 4.3.2-Kodi
Host CPU: Intel® Pentium® CPU G4600 @ 3.60GHz, 4 cores available
2D - ok, 3D - ok
https://postimg.cc/yghLKSVh
Image


Starting Kodi (21.0-ALPHA1 (20.90.101) Git:--dirty). Platform: Linux x86 64-bit
Using Release Kodi x64
Kodi compiled 2023-01-15 by GCC 12.2.0 for Linux x86 64-bit version 5.19.17 (332561)
Running on Ubuntu 22.10, kernel: Linux x86 64-bit version 5.19.0-29-generic
FFmpeg version/source: 4.4.1-Kodi
Host CPU: Intel® Pentium® CPU G4600 @ 3.60GHz, 4 cores available
2D - ok, 3D - pixelosis
https://postimg.cc/5HCPPRTR
Image

The rendering engine and scaling algorithms might have changed between Kodi 19.4 and 21.0, potentially causing the "pixelosis" issue. Check Kodi settings, graphics drivers, and investigate changes in the rendering pipeline for further troubleshooting.
Reply

Logout Mark Read Team Forum Stats Members Help
KODI 19.4 vs 21.0 - differences video quality0