rigaya / QSVEnc

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

QSVEncC aborts after update to latest Intel graphics driver (v 31.0.101.4575) #159

Closed ukmark62 closed 12 months ago

ukmark62 commented 12 months ago

Just upgraded graphics driver from Intel and now HEVC encodes are aborting with following message. I am using StaxRip tool and version 7.46v2 of QSVEnc. All works well with previous version of graphics driver (v 31.0.101.4502):-

**QSVEnc Error (v2.22.0)

H.265/HEVC isn't supported by your Hardware.

StaxRip.ErrorAbortException: H.265/HEVC isn't supported by your Hardware. at StaxRip.QSVEnc.Encode() in D:\Code\Github\staxrip\staxrip\Source\Encoding\QSVEnc.vb:line 104 at System.Threading.Tasks.Parallel.<>c__DisplayClass4_0.b__0() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at StaxRip.GlobalClass.ProcessJob(String jobPath) in D:\Code\Github\staxrip\staxrip\Source\General\GlobalClass.vb:line 371**

Windows 11 Home Version: 22H2 OS Build: 22621.1992 Experience: Windows Feature Experience Pack 1000.22644.1000.0 Graphics Card is 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz 2.42 GHz Installed RAM 12.0 GB

rigaya commented 12 months ago

Would you please let me know the exact command line as the behavior will differ depending on the options, and the actual error message of QSVEncC for futher findings (not message from StaxRip)?

Unfortunately, I were not able to reproduce the error with following command line.

x64\QSVEncC64 -i input -o output -c hevc --vbr 6000

System

OS             Windows 11 x64 (22621) [UTF-8]
CPU Info       12th Gen Intel Core i9-12900K [4.89GHz] (8P+8E,16C/24T) <AlderlakeS>
GPU Info       Intel UHD Graphics 770 (32EU) 300-1550MHz [125W] (31.0.101.4575)
Media SDK      QuickSyncVideo (hardware encoder) PG, 2nd GPU, API v2.09
ukmark62 commented 12 months ago

Apologies for that. Just tried and strange that it does work for me when using command line for QSVEncC but not when using StaxRip GUI.

Just ran the "qsvencc64 --check-features" command and all that was returned was below. We seem to be missing all of the tables regarding h264 and HEVC capabilities from the output of the command????:-

D:\StaxRip\Apps\Encoders\QSVEncC>qsvencc64 --check-features Checking for QSV... QSVEncC (x64) 7.46 (r3106) by rigaya, Jun 24 2023 05:23:24 (VC 1936/Win) Intel Media SDK API v2.09 reader: raw, avi, avs, vpy, avsw, avhw Environment Info OS : Windows 11 x64 (22621) [UTF-8] CPU: 11th Gen Intel Core i5-1135G7 @ 2.40GHz [TB: 4.21GHz] (4C/8T) RAM: Used 5378 MB, Total 12067 MB GPU: Intel Iris(R) Xe Graphics (80EU) 100-1300MHz [28W] (31.0.101.4575)

D:\StaxRip\Apps\Encoders\QSVEncC>

This would explain why StaxRip reports that my device does not support HEVC encoding, since my device has no features??? I'm assuming that StaxRip makes use of the "--check-features" option to determine whether or not it can perform the requested encode. Since this is now returning no results, probably explains why StaxRip aborts on the video encode. When running command using previous graphics driver (31.0.101.4502) there is a whole lot of info regarding capabilities.

rigaya commented 12 months ago

I made change to avoid crush of --check-features with the new driver, --check-features will work fine even with 4575 driver at QSVEnc 7.47.

ukmark62 commented 12 months ago

Thanks so much rigaya! All is working fine again now with latest 4575 driver. "--check-features" now works and StaxRip no longer aborts.

rigaya commented 12 months ago

Thank you for confirming, nice to hear it now works fine also with StaxRip.