emoose / VideoRenderer

RTX HDR modded into MPC-VideoRenderer.
GNU General Public License v3.0
1.29k stars 67 forks source link

Error occurred while switching video #30

Open Valenwood-1 opened 9 months ago

Valenwood-1 commented 9 months ago

image

AlexAT commented 9 months ago

I indeed concur. Each second load of MPC video renderer results in pin render fault. Meaning: open 1 file in MPC-BE or MPC-HC, it plays just fine. Switch to next file (doesn't matter if it's via 'open' or just 'forward'). Pin graph render fails. Next file. Fine. Next. Fails. And so on. Doesn't matter fullscreen or not, no setting change helps (D3D11 or not included). Doesn't matter if started from 2nd file, it's ok first time, then next fails. Doesn't matter if it's playing or paused during the switch. Happens in both x86 and x64 versions. Other renderers work okay.

image

Can take some additional debug if briefly explained how. nVidia 4090, latest drivers (551.23, also tested & the same on 537.58), 4K@60@10bit (tried 8 bit, no difference), no HDR. Win 11. MPC-BE/MPC-HC, latest MPC VR release (the same in older and non-HDR VSR releases), LAV/DX11 decoder (tried LAV/DX9CB and LAV/CUVID, tried ffdshow, it's all the same).

Seems like initialization fails each 2nd time. May be nV driver bug among myriad of other bugs in it, but I wonder, can output initialization i.e. just be retried once or twice in case of failure before failing the renderer, as each second attempt succeeds?


LAV Splitter Source::Video LAV Video Decoder::Output Color Space Converter::XForm Out VGA 16 Color Ditherer::XForm Out

Media Type 0:

Video: 1920x1080 23.976fps

AM_MEDIA_TYPE: majortype: MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71} subtype: MEDIASUBTYPE_RGB4 {E436EB79-524F-11CE-9F53-0020AF0BA770} formattype: FORMAT_VideoInfo {05589F80-C356-11CE-BF01-00AA0055595A} bFixedSizeSamples: 1 bTemporalCompression: 0 lSampleSize: 1036800 cbFormat: 1128

VIDEOINFOHEADER: rcSource: (0,0)-(1920,1080) rcTarget: (0,0)-(1920,1080) dwBitRate: 0 dwBitErrorRate: 0 AvgTimePerFrame: 417083 (23.976 fps)

BITMAPINFOHEADER: biSize: 40 biWidth: 1920 biHeight: 1080 biPlanes: 1 biBitCount: 4 biCompression: [0][0][0][0] biSizeImage: 1036800 biXPelsPerMeter: 0 biYPelsPerMeter: 0 biClrUsed: 16 biClrImportant: 16

Extradata: 1040 0000: 00 00 00 00 00 00 80 00 00 80 00 00 00 80 80 00 ......€..€...€€. 0010: 80 00 00 00 80 00 80 00 80 80 00 00 c0 c0 c0 00 €...€.€.€€..ÀÀÀ. 0020: 80 80 80 00 00 00 ff 00 00 ff 00 00 00 ff ff 00 €€€...ÿ..ÿ...ÿÿ. 0030: ff 00 00 00 ff 00 ff 00 ff ff 00 00 ff ff ff 00 ÿ...ÿ.ÿ.ÿÿ..ÿÿÿ. 0040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0090: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0110: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0120: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0130: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0140: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0150: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0160: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0170: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0190: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 01a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 01b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 01c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 01d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 01e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 01f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0210: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0220: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0230: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0240: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0250: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0260: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0270: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0280: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0290: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 02a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 02b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 02c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 02d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 02e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 02f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0300: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0310: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0320: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0330: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0340: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0350: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0360: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0370: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0380: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0390: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 03a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 03b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 03c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 03d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 03e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 03f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0400: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................