Kodi-rpi-19.0-2 video zoom issue

Problems with packages? Post here, using [tags] of the package name.

Kodi-rpi-19.0-2 video zoom issue

Postby foobar » Mon Feb 22, 2021 12:21 pm

Hi, I just updated my RPi 4 (ARCH on armv7l) running Kodi. Apart from the expected add-on errors (outdated python 2) at first all seemed to work fine. Except for video zoom. I have lots of movies with an aspect ratio that does not fit my monitor so I usually go to video setting and change the zoom amount. But with Kodi 19 as soon as I exceed 1.00 the screen starts flickering! I could not find anything in the Kodi forums so I'm wondering if this could be a specific problem with the Kodi rpi build.
foobar
 
Posts: 37
Joined: Wed Oct 21, 2020 12:33 pm

Re: Kodi-rpi-19.0-2 video zoom issue

Postby graysky » Mon Feb 22, 2021 12:28 pm

What resolution are you running in? Currently, 1080p @ 60 fps is the highest supported. 4K is considered experimental.
graysky
Developer
 
Posts: 1731
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: Kodi-rpi-19.0-2 video zoom issue

Postby foobar » Mon Feb 22, 2021 12:40 pm

Currently at a test monitor 1280x720p @ 60Hz. While playing video I press OK then to Settings > Video settings > Zoom amount. View mode is Normal. As soon as the slider passess 1.00 the flickering starts. With previous Kodi 18 this did not happen.
foobar
 
Posts: 37
Joined: Wed Oct 21, 2020 12:33 pm

Re: Kodi-rpi-19.0-2 video zoom issue

Postby graysky » Mon Feb 22, 2021 12:42 pm

I am running in 1920x1080 @ 60 fps. When I play this jellyfish test clip, all zoom levels are fine.

However, when I play other content, it is a mixed bag. For example, one 4k video gives flickering when i cycle through zoom levels (z key).
Normal, Stretch 4:3, and Stretch 16:9 are fine.
Zoom, Zoom 110% width, Zoom 120% width, Wide zoom, and Original size flicker for me.

Yet another, Big Buck Bunny in this case, plays all zoom levels fine except Original size.
graysky
Developer
 
Posts: 1731
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: Kodi-rpi-19.0-2 video zoom issue

Postby foobar » Mon Feb 22, 2021 12:46 pm

Same problem with mp4 from my camera. I'm downloading the jellyfish now but that takes some time.
foobar
 
Posts: 37
Joined: Wed Oct 21, 2020 12:33 pm

Re: Kodi-rpi-19.0-2 video zoom issue

Postby graysky » Mon Feb 22, 2021 12:48 pm

If you tail your kodi.log when experiencing the flicker:
$this->bbcode_second_pass_code('', '
% tail -f /var/lib/kodi/.kodi/temp/kodi.log
...
2021-02-22 07:47:18.694 T:366 ERROR <general>: CDRMAtomic::DrmAtomicCommit - atomic commit failed: Invalid argument
2021-02-22 07:47:18.711 T:366 ERROR <general>: CDRMAtomic::DrmAtomicCommit - test commit failed: (Invalid argument) - falling back to last successful atomic request
2021-02-22 07:47:18.711 T:366 ERROR <general>:
Object: plane ID: 68
Property: SRC_X ID: 9 Value: 0
Property: SRC_Y ID: 10 Value: 0
Property: SRC_W ID: 11 Value: 251527168
Property: SRC_H ID: 12 Value: 141557760
Property: CRTC_X ID: 13 Value: 4294966336
Property: CRTC_Y ID: 14 Value: 18446744073709551076
Property: CRTC_W ID: 15 Value: 3838
Property: CRTC_H ID: 16 Value: 2160
Property: FB_ID ID: 17 Value: 228
Property: CRTC_ID ID: 20 Value: 74
2021-02-22 07:47:18.711 T:366 ERROR <general>: CDRMAtomic::DrmAtomicCommit - atomic commit failed: Invalid argument
2021-02-22 07:47:18.728 T:366 ERROR <general>: CDRMAtomic::DrmAtomicCommit - test commit failed: (Invalid argument) - falling back to last successful atomic request
')
graysky
Developer
 
Posts: 1731
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: Kodi-rpi-19.0-2 video zoom issue

Postby foobar » Mon Feb 22, 2021 12:57 pm

Same as yours:

$this->bbcode_second_pass_code('', '2021-02-22 13:55:06.680 T:435 ERROR <general>: CDRMAtomic::DrmAtomicCommit - test commit failed: (Invalid argument) - falling back to last successful atomic request
2021-02-22 13:55:06.681 T:435 ERROR <general>:
Object: plane ID: 31
Property: SRC_X ID: 9 Value: 0
Property: SRC_Y ID: 10 Value: 0
Property: SRC_W ID: 11 Value: 125634489
Property: SRC_H ID: 12 Value: 52428800
Property: CRTC_X ID: 13 Value: 4294967290
Property: CRTC_Y ID: 14 Value: 90
Property: CRTC_W ID: 15 Value: 1292
Property: CRTC_H ID: 16 Value: 540
Property: FB_ID ID: 17 Value: 103
Property: CRTC_ID ID: 20 Value: 87
Object: plane ID: 38
Property: FB_ID ID: 17 Value: 95
2021-02-22 13:55:06.713 T:435 ERROR <general>: CDRMAtomic::DrmAtomicCommit - test commit failed: (Invalid argument) - falling back to last successful atomic request
2021-02-22 13:55:06.713 T:435 ERROR <general>:
Object: plane ID: 31
Property: SRC_X ID: 9 Value: 0
Property: SRC_Y ID: 10 Value: 0
Property: SRC_W ID: 11 Value: 125634489
Property: SRC_H ID: 12 Value: 52428800
Property: CRTC_X ID: 13 Value: 4294967290
Property: CRTC_Y ID: 14 Value: 90
Property: CRTC_W ID: 15 Value: 1292
Property: CRTC_H ID: 16 Value: 540
Property: FB_ID ID: 17 Value: 102
Property: CRTC_ID ID: 20 Value: 87
Object: plane ID: 38
Property: FB_ID ID: 17 Value: 100
2021-02-22 13:55:06.763 T:435 ERROR <general>: CDRMAtomic::DrmAtomicCommit - test commit failed: (Invalid argument) - falling back to last successful atomic request
2021-02-22 13:55:06.763 T:435 ERROR <general>:
Object: plane ID: 31
Property: SRC_X ID: 9 Value: 0
Property: SRC_Y ID: 10 Value: 0
Property: SRC_W ID: 11 Value: 125634489
Property: SRC_H ID: 12 Value: 52428800
Property: CRTC_X ID: 13 Value: 4294967290
Property: CRTC_Y ID: 14 Value: 90
Property: CRTC_W ID: 15 Value: 1292
Property: CRTC_H ID: 16 Value: 540
Property: FB_ID ID: 17 Value: 103
Property: CRTC_ID ID: 20 Value: 87
Object: plane ID: 38
Property: FB_ID ID: 17 Value: 97
')
foobar
 
Posts: 37
Joined: Wed Oct 21, 2020 12:33 pm

Re: Kodi-rpi-19.0-2 video zoom issue

Postby graysky » Mon Feb 22, 2021 12:57 pm

I updated this ongoing post at the kodi forum with this info. Let's see what popcornmix has to say.
graysky
Developer
 
Posts: 1731
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: Kodi-rpi-19.0-2 video zoom issue

Postby barracuda » Sun Feb 28, 2021 5:11 am

Hello,
I have the same flickering issues with zoom in. I added my comment (with the debug info i get --> the same as you) in the same post on Kodi's forum.
I made some tests with videos here https://jell.yfish.us/.
I played the following videos :
  • jellyfish-110-mbps-hd-hevc.mkv
  • jellyfish-140-mbps-4k-uhd-hevc-10bit.mkv
  • jellyfish-90-mbps-hd-hevc-10bit.mkv
.
I have flickering with all of them. I also have flickering with h264 videos as well. I use the last kodi-rpi 19.0-4 package and i have the last linux-raspberrypi4 5.10.17-2 kernel.
A precision : i also tested with manjaro arm with several 5.11 kernels : mainline and not mainline --> same issues so i am almost sure this is a Kodi issue (i think)
barracuda
 
Posts: 8
Joined: Sun Feb 21, 2021 5:35 am


Return to Packages

Who is online

Users browsing this forum: No registered users and 12 guests