rigaya / QSVEnc

QSVによる高速エンコードの性能実験
http://rigaya34589.blog135.fc2.com/blog-category-10.html
Other
304 stars 29 forks source link

7.47 - Staxrip Hyper-encoding crash #161

Open VirulentPip opened 11 months ago

VirulentPip commented 11 months ago

Have an UHD 770 and A380 - Driver version 31.0.101.4575

Whenever I enable hyper-mode on it crashes out.

Error (clGetDeviceIDsFromD3D11KHR): device not found. MFXENCODE: Failed to get required buffer size for MFXENCODE: undeveloped feature. Failed to initialize encoder. : invalid video parameters. QSVEncC.exe finished with error!

Midsomer Murders S07E02_new_staxrip.log

Let me know if any more information is needed, first time reporting an issue here.

rigaya commented 11 months ago

--open-gop is not supported with --hyper-mode on. Therefore, it will work by removing --open-gop.

Furthermore, QSVEnc 7.48 will automatically disable --open-gop when --hyper-mode on is used, and will be able to avoid the error automatically.

VirulentPip commented 11 months ago

Ah I see thanks!

Works now, although not as intended it's not any faster. Utilisation on the A380 goes up and down.

I assumed it would be using full utilisation of the A380 then using the UHD 770 to make it faster.

A380 by itself gets ~240fps UHD 770 by itself gets ~240fps

Hyper-mode on ~ 220fps

rigaya commented 11 months ago

Nice that it works now.

Hyper mode speed up is generally very limited, but smaller --gop-len around 30 with larger --async-depth might have benefit from Hyper mode.

MarcoRavich commented 9 months ago

I also noticed that hyper mode is automatically disabled by QSVEnc 7.48 for this (FastFlix) commandline on Intel UHD 770:

QSVEncC64.exe --avsw -i <input_file> --crop 0,264,0,264 --video-metadata clear --metadata clear --chapter-copy -c hevc --icq 27 --quality best --la-depth 90 --level auto --chromaloc auto --colorrange auto --colormatrix bt2020nc --transfer smpte2084 --colorprim bt2020 --master-display "G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,1)" --max-cll "0,0" --dhdr10-info copy --output-depth 10 --avsync cfr --adapt-ref --adapt-ltr --adapt-cqm -m default_mode:infer_no_subs --hyper-mode on -o <output_file>

...is there someting wrong ?