x265 matroska

2 posters

Go down

 x265 matroska Empty x265 matroska

Post by mpampisxiotel Thu Dec 30, 2021 4:20 pm

When i play a x265 matroska video,
The gpu clock on amd radeon rx580 after 20-30 sec goes at maximum clock with zero GPU load. the memory clock changes values 300-1000-2000 qickly and the video artifacting or flickering.
The K-Lite Codec Pack 16.6.9 Update fixed the artifacting and filtering but the clock goes to maximum clock after 20-30 sec again with no reason.
foto:
https://ibb.co/bWTFzsP

Code:
General
Unique ID                      : 35000122474784940593954343244165419166 (0x1A54C744C5DB991BDBC0F429206A109E)
Complete name                  : H:\Movies 2\Injustice (2021) [2160p] [4K] [BluRay] [5.1] [YTS.MX]\Injustice.2021.2160p.4K.BluRay.x265.10bit.AAC5.1-[YTS.MX].mkv
Format                         : Matroska
Format version                 : Version 4
File size                      : 3.71 GiB
Duration                       : 1 h 18 min
Overall bit rate               : 6 753 kb/s
Writing application            : Lavf58.67.100
Writing library                : Lavf58.67.100
ErrorDetectionType             : Per level 1

Video
ID                             : 1
Format                         : HEVC
Format/Info                    : High Efficiency Video Coding
Format profile                 : Main 10@L5@Main
Codec ID                       : V_MPEGH/ISO/HEVC
Duration                       : 1 h 18 min
Width                          : 3 840 pixels
Height                         : 2 160 pixels
Display aspect ratio           : 16:9
Frame rate mode                : Constant
Frame rate                     : 23.976 (24000/1001) FPS
Color space                    : YUV
Chroma subsampling             : 4:2:0
Bit depth                      : 10 bits
Writing library                : x265 3.4+32-b24459657:[Linux][GCC 7.5.0][64 bit] 10bit
Encoding settings              : cpuid=1111039 / frame-threads=4 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=3840x2160 / interlace=0 / total-frames=0 / level-idc=0 / high-tier=1 / uhd-bd=0 / ref=4 / no-allow-non-conformance / no-repeat-headers / annexb / no-aud / no-hrd / info / hash=0 / no-temporal-layers / open-gop / min-keyint=23 / keyint=250 / gop-lookahead=0 / bframes=4 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=25 / lookahead-slices=4 / scenecut=40 / hist-scenecut=0 / radl=0 / no-splice / no-intra-refresh / ctu=64 / min-cu-size=8 / rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=2 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / strong-intra-smoothing / max-merge=3 / limit-refs=3 / limit-modes / me=3 / subme=3 / merange=57 / temporal-mvp / no-frame-dup / no-hme / weightp / no-weightb / no-analyze-src-pics / deblock=0:0 / sao / no-sao-non-deblock / rd=4 / selective-sao=4 / no-early-skip / rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / no-b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=1.00 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=abr / bitrate=6000 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=2 / cplxblur=20.0 / qblur=0.5 / ipratio=1.40 / pbratio=1.30 / aq-mode=2 / aq-strength=1.00 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / no-const-vbv / sar=1 / overscan=0 / videoformat=5 / range=0 / colorprim=2 / transfer=2 / colormatrix=2 / chromaloc=0 / display-window=0 / cll=0,0 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / no-opt-qp-pps / no-opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / hist-threshold=0.03 / no-opt-cu-delta-qp / no-aq-motion / no-hdr10 / no-hdr10-opt / no-dhdr10-opt / no-idr-recovery-sei / analysis-reuse-level=0 / analysis-save-reuse-level=0 / analysis-load-reuse-level=0 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=1 / refine-ctu-distortion=0 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-analysis-type=0 / copy-pic=1 / max-ausize-factor=1.0 / no-dynamic-refine / no-single-sei / no-hevc-aq / no-svt / no-field / qp-adaptation-range=1.00 / no-scenecut-aware-qpconformance-window-offsets / right=0 / bottom=0 / decoder-max-rate=0 / no-vbv-live-multi-pass
Default                        : Yes
Forced                         : No
Color range                    : Limited

Audio
ID                             : 2
Format                         : AAC LC
Format/Info                    : Advanced Audio Codec Low Complexity
Codec ID                       : A_AAC-2
Duration                       : 1 h 18 min
Channel(s)                     : 6 channels
Channel layout                 : C L R Ls Rs LFE
Sampling rate                  : 48.0 kHz
Frame rate                     : 46.875 FPS (1024 SPF)
Compression mode               : Lossy
Writing library                : Lavc58.122.100 libfdk_aac
Default                        : Yes
Forced                         : No

Text #1
ID                             : 3
Format                         : UTF-8
Codec ID                       : S_TEXT/UTF8
Codec ID/Info                  : UTF-8 Plain Text
Duration                       : 1 h 15 min
Title                          : SRT
Language                       : English
Default                        : Yes
Forced                         : No

Text #2
ID                             : 4
Format                         : UTF-8
Codec ID                       : S_TEXT/UTF8
Codec ID/Info                  : UTF-8 Plain Text
Duration                       : 1 h 15 min
Title                          : SDH SRT
Language                       : English
Default                        : No
Forced                         : No

Text #3
ID                             : 5
Format                         : PGS
Codec ID                       : S_HDMV/PGS
Codec ID/Info                  : Picture based subtitle format used on BDs/HD-DVDs
Duration                       : 1 h 15 min
Default                        : No
Forced                         : No

Text #4
ID                             : 6
Format                         : PGS
Codec ID                       : S_HDMV/PGS
Codec ID/Info                  : Picture based subtitle format used on BDs/HD-DVDs
Duration                       : 1 h 18 min
Default                        : No
Forced                         : No

Text #5
ID                             : 7
Format                         : PGS
Codec ID                       : S_HDMV/PGS
Codec ID/Info                  : Picture based subtitle format used on BDs/HD-DVDs
Duration                       : 1 h 18 min
Default                        : No
Forced                         : No

Text #6
ID                             : 8
Format                         : PGS
Codec ID                       : S_HDMV/PGS
Codec ID/Info                  : Picture based subtitle format used on BDs/HD-DVDs
Duration                       : 1 h 18 min
Default                        : No
Forced                         : No

Text #7
ID                             : 9
Format                         : PGS
Codec ID                       : S_HDMV/PGS
Codec ID/Info                  : Picture based subtitle format used on BDs/HD-DVDs
Duration                       : 1 h 18 min
Default                        : No
Forced                         : No

Text #8
ID                             : 10
Format                         : PGS
Codec ID                       : S_HDMV/PGS
Codec ID/Info                  : Picture based subtitle format used on BDs/HD-DVDs
Duration                       : 1 h 15 min
Default                        : No
Forced                         : No

Text #9
ID                             : 11
Format                         : PGS
Codec ID                       : S_HDMV/PGS
Codec ID/Info                  : Picture based subtitle format used on BDs/HD-DVDs
Duration                       : 1 h 15 min
Default                        : No
Forced                         : No

Text #10
ID                             : 12
Format                         : PGS
Codec ID                       : S_HDMV/PGS
Codec ID/Info                  : Picture based subtitle format used on BDs/HD-DVDs
Duration                       : 1 h 18 min
Default                        : No
Forced                         : No

Text #11
ID                             : 13
Format                         : PGS
Codec ID                       : S_HDMV/PGS
Codec ID/Info                  : Picture based subtitle format used on BDs/HD-DVDs
Duration                       : 1 h 15 min
Default                        : No
Forced                         : No

Text #12
ID                             : 14
Format                         : PGS
Codec ID                       : S_HDMV/PGS
Codec ID/Info                  : Picture based subtitle format used on BDs/HD-DVDs
Duration                       : 1 h 18 min
Default                        : No
Forced                         : No



Windows 11 , amd driver latest 21.12.1 (tried also old one), gpu amd rx580, k lite default install,with vlc it play as expected

mpampisxiotel

Posts : 13
Join date : 2018-02-27

Back to top Go down

 x265 matroska Empty Re: x265 matroska

Post by Admin Thu Dec 30, 2021 4:46 pm

These are driver bugs.

It doesn't have zero GPU load. Windows shows separate load values for 3D and video decoding/processing.

You can experiment with these settings to maybe find combination that works better:
1) LAV Video Decoder > Hardware Decoder
16.6.9 uses D3D11, while previous version defaults to DXVA2 Native.
2) MPC Video Renderer > Use Direct3D 11
If you uncheck this option then it will use Direct3D 9 instead.
3) Or uncheck the video processor options in MPC Video Renderer. Then it uses shaders as an alternative for processing done by the driver.
4) Or switch to a different video renderer
MPC options > playback > output > Enhanced Video Renderer (Custom Presenter)

Admin
Admin

Posts : 7632
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

 x265 matroska Empty Re: x265 matroska

Post by Admin Thu Dec 30, 2021 4:48 pm

If you have "GPU Scaling" or "Virtual Super Resolution" enabled in the AMD driver settings, then test if turning those off solves the problem.

Admin
Admin

Posts : 7632
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

 x265 matroska Empty Re: x265 matroska

Post by mpampisxiotel Thu Dec 30, 2021 5:14 pm

I tested all options and no change.
One think that i notice is that in lav video decoder if i disable hardware decoder the video output a green screen.

I have super resolution disabled i don't have the GPU scaling option.

For test reason i installed an older version of k lite and this work as intended.
The version is the K-Lite_Codec_Pack_1646_Standard.
There the clock stays at 300 mhz as the vlc and it plays fine.
Do you want to try newer packets?

-16.5.3 working as intended also.

mpampisxiotel

Posts : 13
Join date : 2018-02-27

Back to top Go down

 x265 matroska Empty Re: x265 matroska

Post by Admin Thu Dec 30, 2021 9:24 pm

16.5.3 uses these settings:
- DXVA2 Native in LAV Video Decoder
- "Use Direct3D 11" unchecked in MPC Video Renderer

Admin
Admin

Posts : 7632
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

 x265 matroska Empty Re: x265 matroska

Post by mpampisxiotel Thu Dec 30, 2021 11:40 pm

even if i use the same settings in 16.6.9 it does not work.
16.5.3 works with whatever setting i do.

mpampisxiotel

Posts : 13
Join date : 2018-02-27

Back to top Go down

 x265 matroska Empty Re: x265 matroska

Post by Admin Fri Dec 31, 2021 2:46 pm

Just to be clear I understand the problem. With K-Lite 16.6.9 there are no playback issues, but the only problem is the high GPU memory clock? I assume it only happens with 4K videos?

Here is a zip file with all versions of MPCVR from between K-Lite 16.5.3 and 16.6.9:
https://www.sendspace.com/file/2u1bsb

Install 16.6.9 and then replace MpcVideoRenderer64.ax with 0.5.5.1781 (from K-Lite 16.5.3). Test if that works good again. If it does, then test the newer versions of MPCVR.

Admin
Admin

Posts : 7632
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

 x265 matroska Empty Re: x265 matroska

Post by mpampisxiotel Fri Dec 31, 2021 5:37 pm

1)The gpu clock with with 4k videos and version 16.5.3 remains at 300 mhz.
 The memory clock with 4k videos and version 16.5.3 remains at 300 mhz


2)The gpu clock with with 4k videos and version 16.6.9 change every second and after 20 sec remains at maximum 1366 mhz.
 The memory clock with 4k videos and version 16.6.9 change every second to the three profiles 300-1000-2000 mhz.
 
I will test later. Happy new year.

mpampisxiotel

Posts : 13
Join date : 2018-02-27

Back to top Go down

 x265 matroska Empty Re: x265 matroska

Post by mpampisxiotel Tue Jan 11, 2022 11:31 pm

I installed the latest version (16.6.9 and 16.7.2) and i confirm that if i replace the MpcVideoRenderer64.ax with 0.5.5.1781 (from K-Lite 16.5.3) it will work ok. All the others versions (from 0.5.5.1788and above) that you provided to me have that same problem that i described .

mpampisxiotel

Posts : 13
Join date : 2018-02-27

Back to top Go down

 x265 matroska Empty Re: x265 matroska

Post by Admin Wed Jan 12, 2022 12:30 am

Thanks for testing. That narrows it down a lot.

Here are 1782 to 1787:
https://www.sendspace.com/file/0ndtt0

Note: version number shown in the filter settings is wrong for these builds, so please ignore that.

Press Ctrl+J to toggle on the renderer debug overlay and make a screenshot for 1781. Do the same for the first broken version. Then I can see if there is anything unusual or different.

Admin
Admin

Posts : 7632
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

 x265 matroska Empty Re: x265 matroska

Post by mpampisxiotel Wed Jan 12, 2022 11:20 am

I tested all version and i couldn't recreate it.
So i clean installed the version 16.5.3 with 0.5.5.1781 and 16.7.2 with  0.5.5.1812.
The problem exist so i open the debug overlay and i found that 1781 use direct3d9x and the newer with the problem direct3d 11.
In the lav settings even whatever selection i make (dxva2 native or copy-back) it satys in the debug overlay direct3d 11(i close the movie every time i make a change and i restart).



 x265 matroska 178110
 x265 matroska 181210

mpampisxiotel

Posts : 13
Join date : 2018-02-27

Back to top Go down

 x265 matroska Empty Re: x265 matroska

Post by Admin Wed Jan 12, 2022 4:47 pm

Test this setting:
MPC menu > Play > Filters > MPC Video Renderer > Texture Format = 8-bit integer

Admin
Admin

Posts : 7632
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

 x265 matroska Empty Re: x265 matroska

Post by mpampisxiotel Wed Jan 12, 2022 7:57 pm

No effect. same problem. i tried both 8 and 10.

mpampisxiotel

Posts : 13
Join date : 2018-02-27

Back to top Go down

 x265 matroska Empty Re: x265 matroska

Post by Admin Thu Jan 13, 2022 7:00 pm

Use these settings:
- DXVA2 Native hardware decoder in LAV Video Decoder
- "Use Direct3D 11" disabled in MPC Video Renderer

Admin
Admin

Posts : 7632
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

 x265 matroska Empty Re: x265 matroska

Post by mpampisxiotel Mon Jan 17, 2022 10:20 pm

This fixed the problem:
"Use Direct3D 11" disabled in MPC Video Renderer

mpampisxiotel

Posts : 13
Join date : 2018-02-27

Back to top Go down

 x265 matroska Empty Re: x265 matroska

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum