[HELP] Crash when using Tensor RT with ESRGAN - Printable Version +- Selur's Little Message Board (https://forum.selur.net) +-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html) +--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html) +--- Thread: [HELP] Crash when using Tensor RT with ESRGAN (/thread-3095.html) Pages:
1
2
|
Crash when using Tensor RT with ESRGAN - Whitehawkx - 21.02.2023 Hello, I'm having an issue where the encoding crashes if I try to use Tensor RT when upscaling with ESRGAN. If I uncheck Tensor RT the encode works. It also works with Fusion. I'm using an RTX 4090 Strix and have iGPU disabled. More details below. Build: Hybrid_dev_2023.01.01-162553 Steps I took 1. Load up Hybrid 2. Switch to Nvenc (no other settings) 3. Resize from 720x480 -> 1620x1080 4. Enable Vapoursynth ESRGAN resizer with Tensor RT, FP16 (crashes with or without this), and spline64 5. Encode Any ideas what's going on or what I'm missing? Thanks for your help. Debug log: https://drive.google.com/file/d/16_RNvE8pIivBhqWnRaFtq5kR4PwGtRyh/view?usp=sharing RE: Crash when using Tensor RT with ESRGAN - Selur - 21.02.2023 Will look at it after work and then report back. Cu Selur RE: Crash when using Tensor RT with ESRGAN - Selur - 21.02.2023 Also check whether the Vapoursynth Preview works, or whether it shows an error. RE: Crash when using Tensor RT with ESRGAN - Whitehawkx - 21.02.2023 (21.02.2023, 08:34)Selur Wrote: Also check whether the Vapoursynth Preview works, or whether it shows an error. Can confirm vs preview works. No errors generated. RE: Crash when using Tensor RT with ESRGAN - Selur - 21.02.2023 Script: "F:\Hybrid-Temp\encodingTempSynthSkript_2023-02-20@22_02_00_5610.vpy" ### # Imports "C:\Program Files\Hybrid\64bit\Vapoursynth\vspipe.exe" "F:\Hybrid-Temp\encodingTempSynthSkript_2023-02-20@22_02_00_5610.vpy" - -c y4m | "C:\Program Files\Hybrid\64bit\NVEncC.exe" --y4m -i - --fps 29.970 --codec h264 --profile high --level auto --sar 32:27 --lookahead 16 --vbr 0 --vbr-quality 0.00 --gop-len 0 --ref 3 --bframes 3 --direct auto --bref-mode disabled --no-b-adapt --mv-precision Q-pel --cabac --deblock --preset default --colorrange limited --colormatrix bt470bg --cuda-schedule sync --keyfile "F:\Hybrid-Temp\gantz-disc1-001-hybrid_2023-02-20@22_02_00_5610_02.qp" --output "F:\Hybrid-Temp\gantz-disc1-001-hybrid_2023-02-20@22_02_00_5610_03.264" The settings seem to work fine here. You did close any Vapoursynth Previews, right? => can't reproduce the issue here. Does it work if you now call the encoding call in a Windows command prompt? According to the debug output the problem was that the Vapoursynth script failed. My guess is that something else was using the gpu or was hindering the processing. (if you have a virus scanner running in parallel, make sure to set an exemption for the temp-folder) Cu Selur RE: Crash when using Tensor RT with ESRGAN - Dan64 - 21.02.2023 try to run "C:\Program Files\Hybrid\64bit\Vapoursynth\vspipe.exe" --info "F:\Hybrid-Temp\encodingTempSynthSkript_2023-02-20@22_02_00_5610.vpy" and check if are shown strange messages RE: Crash when using Tensor RT with ESRGAN - Selur - 21.02.2023 @Whitehawkx: also send you a link to my current dev version and torch-addon (to be sure we use the same versions of ESRGAN&Co) RE: Crash when using Tensor RT with ESRGAN - Whitehawkx - 22.02.2023 (21.02.2023, 19:53)Selur Wrote: @Whitehawkx: also send you a link to my current dev version and torch-addon (to be sure we use the same versions of ESRGAN&Co) Thank you for the updated build and addon. This resolved my Tensor RT crash. I also added an exclusion for the temp folder just to be sure. FPS has drastically improved. Fantastic. RE: Crash when using Tensor RT with ESRGAN - sowbran - 22.02.2023 (22.02.2023, 03:15)Whitehawkx Wrote:(21.02.2023, 19:53)Selur Wrote: @Whitehawkx: also send you a link to my current dev version and torch-addon (to be sure we use the same versions of ESRGAN&Co) Hi, i have the same problem, works ok with fusion, but with TENSOR RT CRASH TOO, please can send me the current addon, thanks in advance. Greetings. RE: Crash when using Tensor RT with ESRGAN - Selur - 22.02.2023 send you updated links |