Solved [Windows] flickering green border with some mkv when DXVA2 is off
#1
Bug 
Same as title, when i watch certain movies when they're not FullHD, green blinking bands appear at the bottom and right of the screen,
this problem had disappeared some time ago, but lately it's reappeared in all the latest nightly.
I would like to point out that they appear ONLY when DXVA2 is disabled.

Tested with both AMD R7 250 and NVIDIA GT 1030 video cards, the problem remains.

LOG: https://pastebin.com/YqHsFUiN


Image Image

LAST EDIT:
Also 1080p have a very tiny green border:

Log: https://pastebin.com/LgdQYNtn

Image[/url]
Dev-Maintainer of InputStream Adaptive add-on, Netflix add-on ▫ Skills Python, C#, VB.NET and a bit of C++
Reply
#2
10:40:41.832 T:6272 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10

10bit h264 video... Oo It's a weird combination and it probably won't be even accelerated by your GT1030.
The only times that I saw green lines (at the bottom) was with simply badly remuxed videos.
I'm guessing your choice of download location does not offer the best of qualities.
Reply
#3
but then why if active dxva2 you can't see the green edges anymore?
I'll try other different files
Dev-Maintainer of InputStream Adaptive add-on, Netflix add-on ▫ Skills Python, C#, VB.NET and a bit of C++
Reply
#4
@Klojum "MPEG-4 part 10" does not mean 10bit, is just a different way to say H264... Confused just read wikipedia...
the videos tested are 8 bit look Mediainfo informations, (and i'm sure because i also have others files with 10bit depth):

Movies specs

FIRST TEST:
first test:

Generale
Unique ID                                : 133585081654954104657258010500019953088 (0x647F8D07037B27FE85A95C0CBCA69DC0)
Complete name                            : D:\Utente\Agent.Carter.1x01.Questa.Non.E.La.Fine.ITA.BDMux.x264.mkv
Format                                   : Matroska
Format version                           : Version 2
File size                                : 300MiB
Duration                                 : 40 min 55s
Overall bit rate                         : 1.024 kb/s
Encoded date                             : UTC 2016-02-04 19:47:39
Writing application                      : mkvmerge v8.5.2 ('Crosses') 64bit
Writing library                          : libebml v1.3.3 + libmatroska v1.4.4

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : [email protected]
Format settings                          : CABAC / 6 Ref Frames
Format settings, CABAC                   : Si
Format settings, RefFrames               : 6 frame
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 40 min 55s
Bit rate                                 : 873 kb/s
Width                                    : 720 pixel
Height                                   : 404 pixel
Display aspect ratio                     : 16:9
Frame rate mode                          : Costante
Frame rate                               : 25,000 FPS
Original frame rate                      : 23,976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bit
Scan type                                : Progressivo
Bits/(Pixel*Frame)                       : 0.120
Stream size                              : 266MiB (89%)
Writing library                          : x264 core 142 r2491 24e4fed
Encoding settings                        : cabac=1 / ref=6 / deblock=1:-2:-2 / analyse=0x3:0x133 / me=umh / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=5 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=873 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00
Language                                 : Inglese
Default                                  : Si
Forced                                   : Si

SECOND TEST (non fullhd with a different file and have same result, green fliker bars on border):
second test:

Generale
Unique ID                                : 71183449261397089389065091432227771827 (0x358D6F03899FCF4FB9074D23456F95B3)
Complete name                            : D:\Utente\The.Crossing.1x02.mkv
Format                                   : Matroska
Format version                           : Version 4 / Version 2
File size                                : 2,03 GiB
Duration                                 : 42 min 3s
Overall bit rate                         : 6.923 kb/s
Encoded date                             : UTC 2018-05-06 14:30:20
Writing application                      : mkvmerge v7.6.0 ('Garden of Dreams') 64bit built on Feb  8 2015 15:12:28
Writing library                          : libebml v1.3.1 + libmatroska v1.4.2

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : [email protected]
Format settings                          : CABAC / 9 Ref Frames
Format settings, CABAC                   : Si
Format settings, RefFrames               : 9 frame
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 42 min 3s
Bit rate                                 : 6.345 kb/s
Width                                    : 1.280 pixel
Height                                   : 720 pixel
Display aspect ratio                     : 16:9
Frame rate mode                          : Costante
Frame rate                               : 23,976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bit
Scan type                                : Progressivo
Bits/(Pixel*Frame)                       : 0.287
Stream size                              : 1,86 GiB (92%)
Writing library                          : x264 core 148 r2643 5c65704
Encoding settings                        : cabac=1 / ref=9 / deblock=1:-3:-3 / analyse=0x3:0x133 / me=umh / subme=11 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=32 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=0 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=8 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc=crf / mbtree=0 / crf=17.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / pb_ratio=1.30 / aq=3:0.85
Default                                  : Si
Forced                                   : No

THIRD TEST AT 1080P:
THIRD TEST 1080P:

Generale
Unique ID                                : 251733040729016828673390227830193369919 (0xBD62052622F0679A9E2E81A2B389B33F)
Complete name                            : D:\Utente\Downloads\TB.mkv
Format                                   : Matroska
Format version                           : Version 2
File size                                : 9,31 GiB
Duration                                 : 1 o 57 min
Overall bit rate                         : 11,3 Mb/s
Movie name                               :
Encoded date                             : UTC 2018-06-18 07:46:15
Writing application                      : mkvmerge v24.0.0 ('Beyond The Pale') 64-bit
Writing library                          : libebml v1.3.6 + libmatroska v1.4.9
Cover                                    : Yes
Attachments                              : cover front.png / cover res.png

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : [email protected]
Format settings                          : CABAC / 4 Ref Frames
Format settings, CABAC                   : Si
Format settings, RefFrames               : 4 frame
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 1 o 57 min
Bit rate                                 : 9.305 kb/s
Width                                    : 1.920 pixel
Height                                   : 804 pixel
Display aspect ratio                     : 2,40:1
Frame rate mode                          : Costante
Frame rate                               : 23,976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bit
Scan type                                : Progressivo
Bits/(Pixel*Frame)                       : 0.251
Stream size                              : 7,66 GiB (82%)
Title                                    : BjL BDRip 1080p [Avg.DRF=17.99]
Writing library                          : x264 core 155 r2901 7d0ff22
Encoding settings                        : cabac=1 / ref=4 / deblock=1:-3:-3 / analyse=0x3:0x133 / me=umh / subme=10 / psy=1 / psy_rd=1.05:0.00 / mixed_ref=1 / me_range=32 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=0 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=7 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=crf / mbtree=0 / crf=17.6 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=50000 / vbv_bufsize=50000 / crf_max=0.0 / nal_hrd=none / filler=0 / ip_ratio=1.30 / pb_ratio=1.20 / aq=3:0.80 / zones=162080,169520,q=25
Default                                  : Si
Forced                                   : No

Audio #1
ID                                       : 2
Format                                   : DTS
Format/Info                              : Digital Theater Systems
Codec ID                                 : A_DTS
Duration                                 : 1 o 57 min
Bit rate mode                            : Costante
Bit rate                                 : 1.509 kb/s
Channel(s)                               : 6 canali
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48,0 kHz
Frame rate                               : 93,750 FPS (512 SPF)
Bit depth                                : 24 bit
Compression mode                         : Con perdita
Stream size                              : 1,24 GiB (13%)
Title                                    : Italiano DTS 5.1
Language                                 : Italiano
Default                                  : Si
Forced                                   : No

Audio #2
ID                                       : 3
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Codec ID                                 : A_AC3
Duration                                 : 1 o 57 min
Bit rate mode                            : Costante
Bit rate                                 : 448 kb/s
Channel(s)                               : 6 canali
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48,0 kHz
Frame rate                               : 31,250 FPS (1536 SPF)
Bit depth                                : 16 bit
Compression mode                         : Con perdita
Stream size                              : 378MiB (4%)
Title                                    : English AC3 5.1
Language                                 : Inglese
Service kind                             : Complete Main
Default                                  : No
Forced                                   : No

Testo #1
ID                                       : 4
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Duration                                 : 1 o 53 min
Bit rate                                 : 0 b/s
Count of elements                        : 29
Stream size                              : 567 Byte (0%)
Title                                    : Italiano Forced
Language                                 : Italiano
Default                                  : Si
Forced                                   : No

Testo #2
ID                                       : 5
Format                                   : PGS
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
Duration                                 : 1 o 56 min
Bit rate                                 : 20,1 kb/s
Count of elements                        : 2304
Stream size                              : 16,8MiB (0%)
Title                                    : Italiano SDH
Language                                 : Italiano
Default                                  : No
Forced                                   : No

Testo #3
ID                                       : 6
Format                                   : PGS
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
Duration                                 : 1 o 56 min
Bit rate                                 : 20,6 kb/s
Count of elements                        : 2244
Stream size                              : 17,2MiB (0%)
Title                                    : English SDH
Language                                 : Inglese
Default                                  : No
Forced                                   : No

Menu
00:00:00.000                             : :00:00:00.000
00:13:13.251                             : :00:13:13.251
00:24:04.234                             : :00:24:04.234
00:31:57.999                             : :00:31:57.999
00:39:57.061                             : :00:39:57.061
00:50:31.070                             : :00:50:31.070
01:04:49.844                             : :01:04:49.844
01:13:58.100                             : :01:13:58.100
01:20:17.396                             : :01:20:17.396
01:27:41.131                             : :01:27:41.131
01:38:41.624                             : :01:38:41.624
01:51:17.421                             : :01:51:17.421
Dev-Maintainer of InputStream Adaptive add-on, Netflix add-on ▫ Skills Python, C#, VB.NET and a bit of C++
Reply
#5
I get the same thing (Radeon 5450/Win8.1 64bit) but only when DXVA2 decoding is off and Pixel Shaders or DXVA is selected as the renderer. Software renderer is okay.

All my videos are my own, from my blu-rays, encoded with VidCoder - no downloads.

(PS Should this thread be moved to the Windows forum?)
Reply
#6
(2018-08-02, 03:29)Yearofthegoat Wrote: I get the same thing (Radeon 5450/Win8.1 64bit) but only when DXVA2 decoding is off and Pixel Shaders or DXVA is selected as the renderer. Software renderer is okay.

All my videos are my own, from my blu-rays, encoded with VidCoder - no downloads.

(PS Should this thread be moved to the Windows forum?)
 Yes but only moderator can do it

The issue continues persist... (KodiSetup-20180922-3238e003-master-x64) -not resolved-
Dev-Maintainer of InputStream Adaptive add-on, Netflix add-on ▫ Skills Python, C#, VB.NET and a bit of C++
Reply
#7
Same here with GT 640 and GTX 660 on Windows 10, Leia RC2, except my green line is only on the bottom. May I ask why you disabled DXVA2? Was it because motion is somewhat jerky with it enabled and smooth with it disabled? Was it because Kodi sometimes hangs on HEVC files with GTX 660 and always with GT 640? Those are my reasons. On my GT 640 system, disabling DXVA2 HW acceleration and enabling DXVA rendering is the best combination. Pixel shaders cause a flickering white line on the right edge of a couple of DVD rips I made, so they're out.

ETA: I reverted to 17.6 from Leia RC2, replaced the GT 640 with a GT 1030, and hardware acceleration and Auto pixel shaders worked perfectly with everything I threw at it. Will revisit Leia with next release.

ETA2: Even 64 bit Leia RC3 is looking perfect. GT 1030 solved some problems!
Reply
#8
I saw this commit from afedchin
https://github.com/xbmc/xbmc/pull/15103

tried today with KodiSetup-20181222-4a1b32b8-master-x64.exe
but the problem continues to persist..
Dev-Maintainer of InputStream Adaptive add-on, Netflix add-on ▫ Skills Python, C#, VB.NET and a bit of C++
Reply
#9
(2018-12-23, 19:49)stefive83 Wrote: tried today with KodiSetup-20181222-4a1b32b8-master-x64.exe
but the problem continues to persist..

can you provide a sample? because I can't reproduce the issue.
Reply
#10
Hi afedchin,
Here you can download a video:
https://www.dropbox.com/s/ks0b5ni51d14ua...t.mkv?dl=0

the problem occurs randomly,
may appear from the beginning of the video, or after minutes, or appear after jumping halfway through the video.

I've also just tested with: KodiSetup-20190125-85e74285-dxva-x64.exe (clearly with DXVA2 disabled)
but same situations...
Dev-Maintainer of InputStream Adaptive add-on, Netflix add-on ▫ Skills Python, C#, VB.NET and a bit of C++
Reply
#11
thanks I think I've figured the reason out. but fix will be in 18.1-RC only
Reply
#12
thankyou afedchin
Dev-Maintainer of InputStream Adaptive add-on, Netflix add-on ▫ Skills Python, C#, VB.NET and a bit of C++
Reply
#13
Thread marked solved.
Reply

Logout Mark Read Team Forum Stats Members Help
[Windows] flickering green border with some mkv when DXVA2 is off0