Intel Deep Link not working (no iGPU usage)

HandBrake for Windows support
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
starburst
Posts: 10
Joined: Fri May 05, 2023 1:15 pm

Intel Deep Link not working (no iGPU usage)

Post by starburst »

Hello,

The Intel oneVPL Deep Link Hyper Encode isn't working, I am not getting GPU usage activity on the iGPU during the processing in handbrake see screenshot, I only get usage on the CPU + dGPU (GPU 1 : Arc 770), and I would like to see usage on the iGPU (GPU 0 : UHD 730).

How do I get iGPU (GPU 0) + dGPU (GPU 1) usage while using Handbrake?

Steps to reproduce the problem (If Applicable):

I have read the Intel white paper to make sure all checkmarks are selected in handbrake
https://www.intel.com/content/dam/www/c ... 152022.pdf

https://www.intel.com/content/www/us/en ... guide.html

13th Gen Intel(R) Core(TM) i5-13400 2.50 GHz
32.0 GB (31.7 GB usable)
GPU 0 : Intel UHD 730 driver 31.0.101.4314
GPU 1 : Intel Arc 770 driver 31.0.101.4314
Windows 11 Pro - 22H2 - 22621.1635
HandBrake version 1.6.1 (2023012300)

Image

Image
User avatar
s55
HandBrake Team
Posts: 10350
Joined: Sun Dec 24, 2006 1:05 pm

Re: Intel Deep Link not working (no iGPU usage)

Post by s55 »

Please provide a full encode log.
starburst
Posts: 10
Joined: Fri May 05, 2023 1:15 pm

Re: Intel Deep Link not working (no iGPU usage)

Post by starburst »

HandBrake 1.6.1 (2023012300)
OS: Microsoft Windows NT 10.0.22621.0
CPU: 13th Gen Intel(R) Core(TM) i5-13400
Ram: 32509 MB,
GPU Information:
Intel(R) UHD Graphics 730 - 31.0.101.4314
Intel(R) Arc(TM) A770 Graphics - 31.0.101.4314
Screen: 2560x1440
Temp Dir: C:\Users\downe\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake\
Data Dir: C:\Users\downe\AppData\Roaming\HandBrake

-------------------------------------------

# Starting Encode ...

[10:39:25] base preset: H.265 QSV 1080p (Modified)
[10:39:25] Remote Process started with Process ID: 28656 using port: 8038. Max Allowed Instances: 1
[10:39:25] Worker: Starting HandBrake Engine ...
[10:39:25] Worker: Starting Web Server on port 8038 ...
[10:39:26] Worker: Disconnected worker monitoring enabled!
[10:39:26] Compile-time hardening features are enabled
[10:39:29] qsv: is available on this system
[10:39:29] vcn: not available on this system
Cannot load nvEncodeAPI64.dll
[10:39:29] hb_init: starting libhb thread
[10:39:29] Starting work at: Fri May 05 10:39:29 2023
[10:39:29] 1 job(s) to process
[10:39:29] json job:
{
"Audio": {
"AudioList": [
{
"Bitrate": 160,
"DRC": 0,
"Encoder": "av_aac",
"Gain": 0,
"Mixdown": 4,
"NormalizeMixLevel": false,
"Samplerate": 0,
"Track": 0,
"DitherMethod": 0
}
],
"CopyMask": [
"copy:aac"
]
},
"Destination": {
"ChapterList": [
{
"Name": "Chapter 1"
}
],
"ChapterMarkers": true,
"AlignAVStart": false,
"File": "S:\\MP4\\Mvi 5003.mp4",
"Mp4Options": {
"IpodAtom": false,
"Mp4Optimize": true
},
"Mux": "av_mp4"
},
"Filters": {
"FilterList": [
{
"ID": 14,
"Settings": {
"crop-bottom": "0",
"crop-left": "0",
"crop-right": "0",
"crop-top": "0",
"height": "1080",
"width": "1920"
}
},
{
"ID": 7,
"Settings": {
"mode": "0"
}
}
]
},
"PAR": {
"Num": 1,
"Den": 1
},
"Metadata": {},
"SequenceID": 0,
"Source": {
"Angle": 1,
"Range": {
"Type": "chapter",
"Start": 1,
"End": 1
},
"Title": 93,
"Path": "S:\\Videos to the cloud\\2014\\bp\\BC\\MVI_5003.MOV"
},
"Subtitle": {
"Search": {
"Burn": false,
"Default": false,
"Enable": false,
"Forced": false
},
"SubtitleList": []
},
"Video": {
"Encoder": "qsv_h265",
"Level": "auto",
"TwoPass": false,
"Turbo": false,
"ColorMatrixCode": 0,
"Options": "hyperencode=adaptive:lowpower=1",
"Preset": "speed",
"Profile": "auto",
"Quality": 25,
"QSV": {
"Decode": true
},
"HardwareDecode": 0
}
}
[10:39:29] CPU: 13th Gen Intel(R) Core(TM) i5-13400
[10:39:29] - logical processor count: 16
[10:39:29] Intel Quick Sync Video support: yes, gpu list: 0, 1
[10:39:29] Intel Quick Sync Video discrete adapter with index 0
[10:39:29] Impl mfx-gen library path: C:\Windows\System32\DriverStore\FileRepository\iigd_dch_d.inf_amd64_2a9c8f81e842c6a4\libmfx64-gen.dll
[10:39:29] - Intel Media SDK hardware: API 2.8 (minimum: 1.3)
[10:39:29] - Decode support: h264 hevc (8bit: yes, 10bit: yes) av1 (8bit: yes, 10bit: yes)
[10:39:29] - H.264 encoder: yes
[10:39:29] - preferred implementation: hardware (1) via D3D11
[10:39:29] - capabilities (hardware): lowpower breftype icq vsinfo chromalocinfo opt1 opt2+mbbrc+extbrc+trellis+repeatpps+ib_adapt+nmpslice hyperencode
[10:39:29] - H.265 encoder: yes (8bit: yes, 10bit: yes)
[10:39:29] - preferred implementation: hardware (1) via D3D11
[10:39:29] - capabilities (hardware): lowpower bpyramid icq vsinfo masteringinfo cllinfo opt1 hyperencode
[10:39:29] - AV1 encoder: yes (8bit: yes, 10bit: yes)
[10:39:29] - preferred implementation: hardware (1) via D3D11
[10:39:29] - capabilities (hardware): lowpower bpyramid icq vsinfo opt1 hyperencode av1bitstream
[10:39:29] Intel Quick Sync Video integrated adapter with index 1
[10:39:29] Impl mfx-gen library path: C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_916d5c0af82351a2\libmfx64-gen.dll
[10:39:29] - Intel Media SDK hardware: API 2.8 (minimum: 1.3)
[10:39:29] - Decode support: h264 hevc (8bit: yes, 10bit: yes) av1 (8bit: yes, 10bit: yes)
[10:39:29] - H.264 encoder: yes
[10:39:29] - preferred implementation: hardware (2) via D3D11
[10:39:29] - capabilities (hardware): lowpower breftype icq vsinfo chromalocinfo opt1 opt2+mbbrc+extbrc+trellis+repeatpps+ib_adapt+nmpslice hyperencode
[10:39:29] - H.265 encoder: yes (8bit: yes, 10bit: yes)
[10:39:29] - preferred implementation: hardware (2) via D3D11
[10:39:29] - capabilities (hardware): lowpower bpyramid icq vsinfo masteringinfo cllinfo opt1 hyperencode
[10:39:29] - AV1 encoder: no
[10:39:29] hb_scan: path=S:\Videos to the cloud\2014\bp\BC\MVI_5003.MOV, title_index=93
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:333: failed opening UDF image S:\Videos to the cloud\2014\bp\BC\MVI_5003.MOV
src/libbluray/disc/disc.c:437: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:437: error opening file BDMV\BACKUP\index.bdmv
[10:39:29] bd: not a bd - trying as a stream/file instead
libdvdread: Encrypted DVD support unavailable.
libdvdread: libdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
Can't open file VIDEO_TS.IFO.
libdvdnav: vm: vm: failed to read VIDEO_TS.IFO
[10:39:29] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'S:\Videos to the cloud\2014\bp\BC\MVI_5003.MOV':
Metadata:
major_brand : qt
minor_version : 537331968
compatible_brands: qt CAEP
com.apple.quicktime.make: Canon
com.apple.quicktime.model: Canon PowerShot SX260 HS
com.apple.quicktime.rating.user: 0.000000
creation_time : 2014-12-25T02:09:24.000000Z
Duration: 00:02:36.07, start: 0.000000, bitrate: 35352 kb/s
Stream #0:0[0x1](eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuvj420p(pc, bt709, progressive), 1920x1080, 33809 kb/s, 23.98 fps, 23.98 tbr, 24k tbn (default)
Metadata:
creation_time : 2014-12-25T02:09:24.000000Z
vendor_id : [0][0][0][0]
Stream #0:1[0x2](eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo, s16, 1536 kb/s (default)
Metadata:
creation_time : 2014-12-25T02:09:24.000000Z
vendor_id : [0][0][0][0]
[10:39:29] scan: decoding previews for title 93
[10:39:29] scan: audio 0x1: pcm_s16le, rate=48000Hz, bitrate=1536000 English (pcm_s16le) (2.0 ch) (1536 kbps)
[10:39:30] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1, color profile: 1-1-1, chroma location: left
[10:39:30] scan: supported video decoders: avcodec qsv
[10:39:30] libhb: scan thread found 1 valid title(s)
[10:39:30] qsv: discrete qsv adapter with index 0 has been selected
[10:39:30] Starting Task: Encoding Pass
[10:39:30] Skipping vfr filter
[10:39:30] Skipping crop/scale filter
[10:39:30] work: track 1, dithering not supported by codec
[10:39:30] work: only 1 chapter, disabling chapter markers
[10:39:30] job configuration:
[10:39:30] * source
[10:39:30] + S:\Videos to the cloud\2014\bp\BC\MVI_5003.MOV
[10:39:30] + title 93, chapter(s) 1 to 1
[10:39:30] + container: mov,mp4,m4a,3gp,3g2,mj2
[10:39:30] + data rate: 35352 kbps
[10:39:30] * destination
[10:39:30] + S:\MP4\Mvi 5003.mp4
[10:39:30] + container: MPEG-4 (libavformat)
[10:39:30] + optimized for HTTP streaming (fast start)
[10:39:30] * video track
[10:39:30] + decoder: h264_qsv 8-bit (yuv420p)
[10:39:30] + bitrate 33809 kbps
[10:39:30] + filters
[10:39:30] + Format (format=nv12)
[10:39:30] + Output geometry
[10:39:30] + storage dimensions: 1920 x 1080
[10:39:30] + pixel aspect ratio: 1 : 1
[10:39:30] + display dimensions: 1920 x 1080
[10:39:30] + encoder: H.265 (Intel Media SDK)
[10:39:30] + preset: speed
[10:39:30] + options: hyperencode=adaptive:lowpower=1
[10:39:30] + profile: auto
[10:39:30] + level: auto
[10:39:30] + quality: 25.00 (ICQ)
[10:39:30] + color profile: 1-1-1
[10:39:30] + chroma location: left
[10:39:30] * audio track 1
[10:39:30] + decoder: English (pcm_s16le) (2.0 ch) (1536 kbps) (track 1, id 0x1)
[10:39:30] + bitrate: 1536 kbps, samplerate: 48000 Hz
[10:39:30] + mixdown: Stereo
[10:39:30] + encoder: AAC (libavcodec)
[10:39:30] + bitrate: 160 kbps, samplerate: 48000 Hz
[10:39:30] sync: expecting 3741 video frames
[10:39:31] encqsvInit: using encode-only (LowPower)(HyperEncode Adaptive) path
[10:39:31] encqsvInit: H.265/HEVC Main profile @ level (null)
[10:39:31] encqsvInit: TargetUsage 7 AsyncDepth 60
[10:39:31] encqsvInit: GopRefDist 8 GopPicSize 24 NumRefFrame 4 IdrInterval 1
[10:39:31] encqsvInit: BFramesMax 7 BRefType pyramid
[10:39:31] encqsvInit: RateControlMethod ICQ ICQQuality 25
[10:39:31] sync: first pts video is 0
[10:39:31] sync: "Chapter 1" (1) at frame 1 time 0
[10:39:31] sync: first pts audio 0x1 is 0
[10:39:31] qsv_enc_init: using 'hardware (1) via D3D11' implementation, API: 2.8
[10:39:41] reader: done. 1 scr changes
[10:39:41] work: average encoding speed for job is 383.348083 fps
[10:39:41] pcm_s16le-decoder done: 7484 frames, 0 decoder errors
[10:39:41] h264_qsv-decoder done: 3742 frames, 0 decoder errors
[10:39:41] sync: got 3742 frames, 3741 expected
[10:39:41] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
[10:39:41] mux: track 0, 3742 frames, 66965413 bytes, 3431.61 kbps, fifo 1024
[10:39:41] mux: track 1, 7316 frames, 3171146 bytes, 162.50 kbps, fifo 2048
Error code -16, hb_qsv_context_clean 245
[10:39:41] Finished work at: Fri May 05 10:39:41 2023
[10:39:41] libhb: work result = 0

# Job Completed!
User avatar
s55
HandBrake Team
Posts: 10350
Joined: Sun Dec 24, 2006 1:05 pm

Re: Intel Deep Link not working (no iGPU usage)

Post by s55 »

With those settings I don't believe it will invoke HyperEncode.

HyperEncode only kicks in in situations where it will actually make encoding faster.

You may also want to make sure the framerate is same as source, VFR or PFR on the video tab.
You may also want to use a slower video preset on the video tab. I'm pretty sure HyperEncode won't turn on for the speed preset as an example.
starburst
Posts: 10
Joined: Fri May 05, 2023 1:15 pm

Re: Intel Deep Link not working (no iGPU usage)

Post by starburst »

strange, according to Intel doc page 5 and 6, I am using the proper preset..

The following dedicated hardware presets with most optimized encoding options were enabled to leverage the full power of Intel® QSV for the H.265 codec: • H.265 QSV 2160p 4K • H.265 QSV 1080p

https://www.intel.com/content/dam/www/c ... 152022.pdf

What would you suggest me to try?
starburst
Posts: 10
Joined: Fri May 05, 2023 1:15 pm

Re: Intel Deep Link not working (no iGPU usage)

Post by starburst »

s55 wrote: Fri May 05, 2023 3:50 pm You may also want to make sure the framerate is same as source, VFR or PFR on the video tab.
You may also want to use a slower video preset on the video tab. I'm pretty sure HyperEncode won't turn on for the speed preset as an example.
The only setting that I have changed from H.265 QSV 1080p is to tick on web optimized, the framerate was already set to same as source variable framerate per screenshot

Image
User avatar
s55
HandBrake Team
Posts: 10350
Joined: Sun Dec 24, 2006 1:05 pm

Re: Intel Deep Link not working (no iGPU usage)

Post by s55 »

You can try a different video preset, or try a 4K file with it.

Unfortunately, when it doesn't enable, it doesn't tell us why but it's ultimately correct that it sometimes won't enable.
The log shows it was requested.
starburst
Posts: 10
Joined: Fri May 05, 2023 1:15 pm

Re: Intel Deep Link not working (no iGPU usage)

Post by starburst »

I have the opportunity to return the Intel A770 to the store and exchange it with an AMD 7650 XT, would you know if the encoding is as good or better with AMD?

I did some research and have seen a lot of negative reviews about AMD encoding, for example not supporting b-frames, not sure what it means.
User avatar
s55
HandBrake Team
Posts: 10350
Joined: Sun Dec 24, 2006 1:05 pm

Re: Intel Deep Link not working (no iGPU usage)

Post by s55 »

If all your doing is hardware based media encoding on it, I'd stay with Intel personally. Nvidia might be faster in some cases but I find the quality of the output to be a bit "meh" and soft. Another thing to note, your 770 can do AV1 encoding. Your CPU onboard QSV cannot.

B-Frames will affect compression efficiency. I would be surprised if their newer cards are not fully supporting of it.


You may also want to try a snapshot build: https://github.com/HandBrake/HandBrake-snapshots as there has been a fair amount of work on QSV since 1.6 released.
starburst
Posts: 10
Joined: Fri May 05, 2023 1:15 pm

Re: Intel Deep Link not working (no iGPU usage)

Post by starburst »

I have a trouble ticket opened with Intel, what we found out is that Handbrake doesn't recognize my iGPU.

However, if I use another app that requires graphics such as Asus Armoury crate (they have a live wall paper) and I select iGPU in windows settings graphic preferences then there is activity on the iGPU, the same feat with Handbrake doesn't create activity on the iGPU regardless it's selected or not, only activity on the dGPU.

How can I select the graphic card in Handbrake? Or force Intel Deep Link?
User avatar
s55
HandBrake Team
Posts: 10350
Joined: Sun Dec 24, 2006 1:05 pm

Re: Intel Deep Link not working (no iGPU usage)

Post by s55 »

You can't force it. It decides automatically whether to use it, or not.

You may want to try a development snapshot build. https://github.com/HandBrake/HandBrake-snapshots

Quite a few improvements to QSV framework since 1.6 released.
starburst
Posts: 10
Joined: Fri May 05, 2023 1:15 pm

Re: Intel Deep Link not working (no iGPU usage)

Post by starburst »

I have tried 2 different nightly and no difference, is there a way I can contribute to fix this bug?
Send more logs?
User avatar
s55
HandBrake Team
Posts: 10350
Joined: Sun Dec 24, 2006 1:05 pm

Re: Intel Deep Link not working (no iGPU usage)

Post by s55 »

This isn't a bug. The Intel document is a little mis-leading due to how they've structured the page. The settings shown, are not for HyperEncode.

The handBrake QSV presets won't use HyperEncode. If you start with one of them, you'll need to change the following setting:

On the video tab, you need to move the "Encoder" preset slider to "Balanced" or "Quality". It cannot be used on the "Speed" preset.

This will at the very least, unlock it to work assuming your not hitting some other limitation of it.
starburst
Posts: 10
Joined: Fri May 05, 2023 1:15 pm

Re: Intel Deep Link not working (no iGPU usage)

Post by starburst »

Intel got back to me and gave me a beginning of a resolution!

By default, the preset for QSV is on speed, speed will not trigger Hyper Encode, only balanced or Quality will!

Now the new problem is that when Hyper Encode is triggered and both GPUs are working, I get less performance (less FPS) than when Hyper Encode is disabled and the dGPU is working alone, how is that possible?

Image

Image
User avatar
s55
HandBrake Team
Posts: 10350
Joined: Sun Dec 24, 2006 1:05 pm

Re: Intel Deep Link not working (no iGPU usage)

Post by s55 »

You've hit a fairly nasty bottleneck. Your ARC isn't performing anywhere near what it's capable of on it's own.
When you add HyperEncode in, it has overheads. Thus, if your already bottlenecked before, it'll make the bottleneck situation worse.


Do you have ReBAR enabled in your BIOS? Can you post another log.
starburst
Posts: 10
Joined: Fri May 05, 2023 1:15 pm

Re: Intel Deep Link not working (no iGPU usage)

Post by starburst »

I'm not that techy to understand what you meant :( How do I fix the bottleneck?

Yes ReBAR is enabled, see screenshot below

Image

Log

HandBrake 1.6.1 (2023012300)
OS: Microsoft Windows NT 10.0.22621.0
CPU: 13th Gen Intel(R) Core(TM) i5-13400
Ram: 32509 MB,
GPU Information:
Intel(R) UHD Graphics 730 - 31.0.101.4369
Intel(R) Arc(TM) A770 Graphics - 31.0.101.4369
Screen: 2560x1440
Temp Dir: C:\Users\downe\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake\
Data Dir: C:\Users\downe\AppData\Roaming\HandBrake

-------------------------------------------

# Starting Encode ...

[07:08:10] base preset: H.265 QSV 1080p (Modified)
[07:08:10] Remote Process started with Process ID: 17208 using port: 8037. Max Allowed Instances: 1
[07:08:10] Worker: Starting HandBrake Engine ...
[07:08:10] Worker: Starting Web Server on port 8037 ...
[07:08:11] Worker: Disconnected worker monitoring enabled!
[07:08:11] Compile-time hardening features are enabled
[07:08:14] qsv: is available on this system
[07:08:14] vcn: not available on this system
Cannot load nvEncodeAPI64.dll
[07:08:14] hb_init: starting libhb thread
[07:08:14] Starting work at: Sat May 27 07:08:14 2023
[07:08:14] 1 job(s) to process
[07:08:14] json job:
{
"Audio": {
"AudioList": [
{
"Bitrate": 160,
"DRC": 0,
"Encoder": "av_aac",
"Gain": 0,
"Mixdown": 4,
"NormalizeMixLevel": false,
"Samplerate": 0,
"Track": 0,
"DitherMethod": 0
}
],
"CopyMask": [
"copy:aac"
]
},
"Destination": {
"ChapterList": [
{
"Name": "Chapter 1"
}
],
"ChapterMarkers": true,
"AlignAVStart": false,
"File": "M:\\TEMP\\DONE\\Gx040055(1).mp4",
"Mp4Options": {
"IpodAtom": false,
"Mp4Optimize": true
},
"Mux": "av_mp4"
},
"Filters": {
"FilterList": [
{
"ID": 14,
"Settings": {
"crop-bottom": "0",
"crop-left": "0",
"crop-right": "0",
"crop-top": "0",
"height": "1080",
"width": "1920"
}
},
{
"ID": 7,
"Settings": {
"mode": "0"
}
}
]
},
"PAR": {
"Num": 1,
"Den": 1
},
"Metadata": {},
"SequenceID": 0,
"Source": {
"Angle": 1,
"Range": {
"Type": "chapter",
"Start": 1,
"End": 1
},
"Title": 1,
"Path": "M:\\TEMP\\DONE\\GX040055.MP4"
},
"Subtitle": {
"Search": {
"Burn": false,
"Default": false,
"Enable": false,
"Forced": false
},
"SubtitleList": []
},
"Video": {
"Encoder": "qsv_h265",
"Level": "auto",
"TwoPass": false,
"Turbo": false,
"ColorMatrixCode": 0,
"Options": "hyperencode=adaptive:lowpower=1",
"Preset": "balanced",
"Profile": "auto",
"Quality": 25,
"QSV": {
"Decode": true
},
"HardwareDecode": 0
}
}
[07:08:14] CPU: 13th Gen Intel(R) Core(TM) i5-13400
[07:08:14] - logical processor count: 16
[07:08:14] Intel Quick Sync Video support: yes, gpu list: 0, 1
[07:08:14] Intel Quick Sync Video discrete adapter with index 0
[07:08:14] Impl mfx-gen library path: C:\Windows\System32\DriverStore\FileRepository\iigd_dch_d.inf_amd64_85819d054b1d86c5\libmfx64-gen.dll
[07:08:14] - Intel Media SDK hardware: API 2.9 (minimum: 1.3)
[07:08:14] - Decode support: h264 hevc (8bit: yes, 10bit: yes) av1 (8bit: yes, 10bit: yes)
[07:08:14] - H.264 encoder: yes
[07:08:14] - preferred implementation: hardware (1) via D3D11
[07:08:14] - capabilities (hardware): lowpower breftype icq vsinfo chromalocinfo opt1 opt2+mbbrc+extbrc+trellis+repeatpps+ib_adapt+nmpslice hyperencode
[07:08:14] - H.265 encoder: yes (8bit: yes, 10bit: yes)
[07:08:14] - preferred implementation: hardware (1) via D3D11
[07:08:14] - capabilities (hardware): lowpower bpyramid icq vsinfo masteringinfo cllinfo opt1 hyperencode
[07:08:14] - AV1 encoder: yes (8bit: yes, 10bit: yes)
[07:08:14] - preferred implementation: hardware (1) via D3D11
[07:08:14] - capabilities (hardware): lowpower bpyramid icq vsinfo opt1 hyperencode av1bitstream
[07:08:14] Intel Quick Sync Video integrated adapter with index 1
[07:08:14] Impl mfx-gen library path: C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_2ec86af404806919\libmfx64-gen.dll
[07:08:14] - Intel Media SDK hardware: API 2.9 (minimum: 1.3)
[07:08:14] - Decode support: h264 hevc (8bit: yes, 10bit: yes) av1 (8bit: yes, 10bit: yes)
[07:08:14] - H.264 encoder: yes
[07:08:14] - preferred implementation: hardware (2) via D3D11
[07:08:14] - capabilities (hardware): lowpower breftype icq vsinfo chromalocinfo opt1 opt2+mbbrc+extbrc+trellis+repeatpps+ib_adapt+nmpslice hyperencode
[07:08:14] - H.265 encoder: yes (8bit: yes, 10bit: yes)
[07:08:14] - preferred implementation: hardware (2) via D3D11
[07:08:14] - capabilities (hardware): lowpower bpyramid icq vsinfo masteringinfo cllinfo opt1 hyperencode
[07:08:14] - AV1 encoder: no
[07:08:14] hb_scan: path=M:\TEMP\DONE\GX040055.MP4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:333: failed opening UDF image M:\TEMP\DONE\GX040055.MP4
src/libbluray/disc/disc.c:437: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:437: error opening file BDMV\BACKUP\index.bdmv
[07:08:14] bd: not a bd - trying as a stream/file instead
libdvdread: Encrypted DVD support unavailable.
lilibdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
bdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: vm: failed to read VIDEO_TS.IFO
[07:08:14] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'M:\TEMP\DONE\GX040055.MP4':
Metadata:
major_brand : mp41
minor_version : 538120216
compatible_brands: mp41
creation_time : 2023-04-16T12:43:02.000000Z
firmware : H21.01.01.50.00
Duration: 00:01:09.91, start: 0.000000, bitrate: 99722 kb/s
Stream #0:0[0x1](eng): Video: hevc (Main) (hvc1 / 0x31637668), yuvj420p(pc, bt709), 3840x2160 [SAR 1:1 DAR 16:9], 99426 kb/s, 119.88 fps, 119.88 tbr, 120k tbn (default)
Metadata:
creation_time : 2023-04-16T12:43:02.000000Z
handler_name : GoPro H.265
vendor_id : [0][0][0][0]
encoder : GoPro H.265 encoder
timecode : 12:58:19:062
Stream #0:1[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)
Metadata:
creation_time : 2023-04-16T12:43:02.000000Z
handler_name : GoPro AAC
vendor_id : [0][0][0][0]
timecode : 12:58:19:062
Stream #0:2[0x3](eng): Data: none (tmcd / 0x64636D74) (default)
Metadata:
creation_time : 2023-04-16T12:43:02.000000Z
handler_name : GoPro TCD
timecode : 12:58:19:062
Stream #0:3[0x4](eng): Data: bin_data (gpmd / 0x646D7067), 71 kb/s (default)
Metadata:
creation_time : 2023-04-16T12:43:02.000000Z
handler_name : GoPro MET
[07:08:14] scan: decoding previews for title 1
[07:08:14] scan: audio 0x1: aac, rate=48000Hz, bitrate=189318 English (AAC LC) (2.0 ch) (189 kbps)
[07:08:16] scan: 10 previews, 3840x2160, 119.880 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1, color profile: 1-1-1, chroma location: left
[07:08:16] scan: supported video decoders: avcodec qsv
[07:08:16] libhb: scan thread found 1 valid title(s)
[07:08:16] qsv: discrete qsv adapter with index 0 has been selected
[07:08:16] Starting Task: Encoding Pass
[07:08:16] Skipping vfr filter
[07:08:17] work: track 1, dithering not supported by codec
[07:08:17] work: only 1 chapter, disabling chapter markers
[07:08:17] job configuration:
[07:08:17] * source
[07:08:17] + M:\TEMP\DONE\GX040055.MP4
[07:08:17] + title 1, chapter(s) 1 to 1
[07:08:17] + container: mov,mp4,m4a,3gp,3g2,mj2
[07:08:17] + data rate: 99722 kbps
[07:08:17] * destination
[07:08:17] + M:\TEMP\DONE\Gx040055(1).mp4
[07:08:17] + container: MPEG-4 (libavformat)
[07:08:17] + optimized for HTTP streaming (fast start)
[07:08:17] * video track
[07:08:17] + decoder: hevc_qsv 8-bit (yuv420p)
[07:08:17] + bitrate 99426 kbps
[07:08:17] + filters
[07:08:17] + Crop and Scale (width=1920:height=1080:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[07:08:17] + source: 3840 * 2160, crop (0/0/0/0): 3840 * 2160, scale: 1920 * 1080
[07:08:17] + Format (format=nv12)
[07:08:17] + Output geometry
[07:08:17] + storage dimensions: 1920 x 1080
[07:08:17] + pixel aspect ratio: 1 : 1
[07:08:17] + display dimensions: 1920 x 1080
[07:08:17] + encoder: H.265 (Intel Media SDK)
[07:08:17] + preset: balanced
[07:08:17] + options: hyperencode=adaptive:lowpower=1
[07:08:17] + profile: auto
[07:08:17] + level: auto
[07:08:17] + quality: 25.00 (ICQ)
[07:08:17] + color profile: 1-1-1
[07:08:17] + chroma location: left
[07:08:17] * audio track 1
[07:08:17] + decoder: English (AAC LC) (2.0 ch) (189 kbps) (track 1, id 0x1)
[07:08:17] + bitrate: 189 kbps, samplerate: 48000 Hz
[07:08:17] + mixdown: Stereo
[07:08:17] + encoder: AAC (libavcodec)
[07:08:17] + bitrate: 160 kbps, samplerate: 48000 Hz
[07:08:17] sync: expecting 8380 video frames
[07:08:18] encqsvInit: using encode-only (LowPower)(HyperEncode Adaptive) path
[07:08:18] encqsvInit: H.265/HEVC Main profile @ level 5.0
[07:08:18] encqsvInit: TargetUsage 4 AsyncDepth 60
[07:08:18] encqsvInit: GopRefDist 8 GopPicSize 120 NumRefFrame 4 IdrInterval 1
[07:08:18] encqsvInit: BFramesMax 7 BRefType pyramid
[07:08:18] encqsvInit: RateControlMethod ICQ ICQQuality 25
[07:08:18] sync: first pts video is 0
[07:08:18] sync: "Chapter 1" (1) at frame 1 time 0
[07:08:19] sync: first pts audio 0x1 is 0
[07:08:19] qsv_enc_init: using 'hardware (1) via D3D11' implementation, API: 2.9
[07:09:45] reader: done. 1 scr changes
[07:09:46] work: average encoding speed for job is 95.697777 fps
[07:09:46] aac-decoder done: 3277 frames, 0 decoder errors
[07:09:46] hevc_qsv-decoder done: 8381 frames, 0 decoder errors
[07:09:46] sync: got 8381 frames, 8380 expected
[07:09:46] sync: framerate min 119.880 fps, max 119.880 fps, avg 119.880 fps
[07:09:46] mux: track 0, 8381 frames, 305215436 bytes, 34921.75 kbps, fifo 512
[07:09:46] mux: track 1, 3278 frames, 1408748 bytes, 161.18 kbps, fifo 256
Error code -16, hb_qsv_context_clean 245
[07:09:46] Finished work at: Sat May 27 07:09:46 2023
[07:09:46] libhb: work result = 0

# Job Completed!
User avatar
s55
HandBrake Team
Posts: 10350
Joined: Sun Dec 24, 2006 1:05 pm

Re: Intel Deep Link not working (no iGPU usage)

Post by s55 »

It looks like your CPU is currently the limiting factor here.

I'm not entirely sure why it's not using fullpath encoding for you. That would reduce CPU utilisation down. There is no obvious reason for that. Might have something to do with it being lower-end UHD 730 onboard.

That said, I've had mixed results downscaling with Hyperencode. If you were doing 4K -> 4K it would probably get more benefit. That's when using the balanced preset.
Post Reply