This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

How to simultaneously use cpu and igpu for decoding?
#1
Hello. I changed settings in config>input to use gpu for decoding, and selected qsv. Yet when I start a job, task manager is showing my gpu at 0% usage by Hybrid. I know QSV is active on my system(win10,) as it works just fine in handbrake and sony vegas pro. I'm also using h264 so shouldnt be a compatibility issue. Am I missing some setting somewhere, or is using both at once simply just not possible currently? Would love to be able to speed up my decoding times.
Reply
#2
I assuming you enabled "Config->Decoding->Use gpu for decoding" with the tool-tip stating:
Quote:Use gpu decoding:
When enabled Hybrid will add '-hwaccel auto' to ffmpeg decoding calls.

This option has no effect if the selected hwaccel is not available or not supported by the chosen decoder (only mpeg-2, H.264, VC-1 and WMV3 content are supported atm.).
Note that most acceleration methods are intended for playback and will not be faster than software decoding on modern CPUs. Additionally, ffmpeg will usually need to copy the decoded frames from the GPU memory into the system memory, resulting in further performance loss. So this option might not provide any additional speed and thus is mainly useful for testing.

Warning:
Only enable if your ffmpeg version and your Hardware does support DXVA2 (on Windows) or VDPAU/VDA (on Linux/Unix).
Assuming you are using ffmpeg for decoding (so neither Avisynth or Vapoursynth is used) this should work fine. (did here in a quick test)
If this does not work for you, please share a debug output of the job creation, thus I can see what settings were used and why QSV wasn't used.

If neither (Avisynth or Vapoursynth) are used and "QSVEnc->Hardware->Only use encoder" is enabled, QSV will be used for decoding, filtering and encoding.

If you use either Avisynth or Vapoursynth, whether QSV is tried for decoding depends on the used source filter and the selected option under "Vapoursynth->Misc- >Source" / "Avisynth->Misc->Source". To use QSV for encoding, you will have to use QSVEnc.


Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#3
I actually figured it out on my own. Pretty dumb noobie move, had to change video processing to qsv on the base tab LOL. woops. But anyway, are you saying that if I chose prefer ffmpeg under config>input>decoding, that it overrides all the settings I chose under vapoursynth? Because I decoded multiple videos using that option, and it took hours. Really dont want to have to do it all over again.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)