17.12.2022, 23:29
If in the script I change the call in this way:
clip = RealESRGAN(clip=clip, model=3, device_index=0)
so that is not used "Tensor RT", the begin of the file "video.raw" contains the follow lines:
YUV4MPEG2 C420p10 W1280 H952 F25:1 Ip A0:0 XLENGTH=4508
FRAME
So I think that the warning lines that are reported in the case "Tensor RT" is enabled are the reasons for the encoding CRASH reported by Hybrid. In some way vsViewer is able to manage this situation, but not x265.exe.
PROBLEM SOLVED
If I set the environment variable: CUDA_MODULE_LOADING=LAZY, the encoding works. I need to do more tests but I think that in this way the problem is solved.
I performed a reboot of PC and launched Hybrid. And now Hybrid is able to encode with RealESRGAN and "Tensor RT" enabled.
clip = RealESRGAN(clip=clip, model=3, device_index=0)
so that is not used "Tensor RT", the begin of the file "video.raw" contains the follow lines:
YUV4MPEG2 C420p10 W1280 H952 F25:1 Ip A0:0 XLENGTH=4508
FRAME
So I think that the warning lines that are reported in the case "Tensor RT" is enabled are the reasons for the encoding CRASH reported by Hybrid. In some way vsViewer is able to manage this situation, but not x265.exe.
PROBLEM SOLVED
If I set the environment variable: CUDA_MODULE_LOADING=LAZY, the encoding works. I need to do more tests but I think that in this way the problem is solved.
I performed a reboot of PC and launched Hybrid. And now Hybrid is able to encode with RealESRGAN and "Tensor RT" enabled.


