QSV no longer working with later Intel graphics drivers

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.
Woodstock
Veteran User
Posts: 4614
Joined: Tue Aug 27, 2013 6:39 am

Re: QSV no longer working with later Intel graphics drivers

Post by Woodstock »

OK, I was going on what 1.0.7 uses, and what the last log posted has.
maxim_d33
Bright Spark User
Posts: 175
Joined: Mon Mar 21, 2011 12:02 pm

Re: QSV no longer working with later Intel graphics drivers

Post by maxim_d33 »

please try any other RateControl methods

but it looks that some input sample to reproduce the case would be nice to have shared.
rbirk
Posts: 29
Joined: Fri Dec 15, 2017 9:29 pm

Re: QSV no longer working with later Intel graphics drivers

Post by rbirk »

maxim_d33 wrote: Mon Dec 25, 2017 4:27 pm please try any other RateControl methods

but it looks that some input sample to reproduce the case would be nice to have shared.
What do you mean with RateControl? For input sample, it doesn't matter. It totally random. Doesn't matter what input it is. It will randomly fail on any input and at any location of that input. You just keep trying until it succeeds, which it usually does after 3-4 times.
maxim_d33
Bright Spark User
Posts: 175
Joined: Mon Mar 21, 2011 12:02 pm

Re: QSV no longer working with later Intel graphics drivers

Post by maxim_d33 »

ok, trying to reproduce it second day - not much luck so far,
my second PC with recent driver from https://downloadcenter.intel.com/downlo ... duct=88345
and still not much luck to reproduce the error,

possible to share any reproducer ?
rbirk
Posts: 29
Joined: Fri Dec 15, 2017 9:29 pm

Re: QSV no longer working with later Intel graphics drivers

Post by rbirk »

I tried having my iso files locally but it doesn't make any difference. Updated to nightly build from jan ja 7 and intel drivers from dec 28. Still get same error random places. Sometimes I now have to try 10+ times on each file before it succeeds.
rollin_eng
Veteran User
Posts: 4840
Joined: Wed May 04, 2011 11:06 pm

Re: QSV no longer working with later Intel graphics drivers

Post by rollin_eng »

Could you post your log.
rbirk
Posts: 29
Joined: Fri Dec 15, 2017 9:29 pm

Re: QSV no longer working with later Intel graphics drivers

Post by rbirk »

It's the same error and issue as the log I posted earlier in the thread. I get this randomly. On the same source it happens in different times every time I run it. Doesn't seem to matter what source I use, same issue.

Code: Select all

Error code -21,	hb_qsv_wait_on_sync	602
encqsv: MFXVideoENCODE_EncodeFrameAsync failed (-21)
encqsv: MFXVideoENCODE_EncodeFrameAsync failed (-21)
I wonder if it's possible to have a retry built-in?
rollin_eng
Veteran User
Posts: 4840
Joined: Wed May 04, 2011 11:06 pm

Re: QSV no longer working with later Intel graphics drivers

Post by rollin_eng »

Can you post the full log please.
rbirk
Posts: 29
Joined: Fri Dec 15, 2017 9:29 pm

Re: QSV no longer working with later Intel graphics drivers

Post by rbirk »

Sure! Here is a complete log:

Code: Select all

HandBrake Nightly 20180104000850-faab5c4-master (2018010501) - 64bit
OS: Microsoft Windows NT 10.0.16299.0 - 64bit
CPU: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
Ram: 16257 MB, 
GPU Information:
  NVIDIA GeForce GTX 1060 6GB - 23.21.13.8859
  Intel(R) HD Graphics 530 - 23.20.16.4901
Screen: 1920x1080
Temp Dir: C:\Users\xxx\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake Nightly
Data Dir: C:\Users\xxx\AppData\Roaming\HandBrake Team\HandBrake\1.1.0.0

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


# Starting Encode ...

[00:04:06] hb_init: starting libhb thread
[00:04:06] 1 job(s) to process
[00:04:06] json job:
{
  "Audio": {
    "AudioList": [
      {
        "DRC": 0.0,
        "Encoder": 1125984256,
        "Gain": 0.0,
        "Mixdown": -1,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      1073807360,
      1073743872,
      1074003968,
      1073750016,
      1090519040,
      1074790400,
      1074266112,
      1107296256
    ],
    "FallbackEncoder": 2048
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      },
      {
        "Name": "Chapter 2"
      },
      {
        "Name": "Chapter 3"
      },
      {
        "Name": "Chapter 4"
      },
      {
        "Name": "Chapter 5"
      },
      {
        "Name": "Chapter 6"
      },
      {
        "Name": "Chapter 7"
      },
      {
        "Name": "Chapter 8"
      },
      {
        "Name": "Chapter 9"
      },
      {
        "Name": "Chapter 10"
      },
      {
        "Name": "Chapter 11"
      },
      {
        "Name": "Chapter 12"
      },
      {
        "Name": "Chapter 13"
      },
      {
        "Name": "Chapter 14"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": false,
    "File": "E:\\Handbrake\\TEMPLE GRANDIN.mkv",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": 2097152
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 4,
        "Settings": {
          "mode": "7"
        }
      },
      {
        "ID": 3,
        "Settings": {
          "block-height": "16",
          "block-thresh": "40",
          "block-width": "16",
          "filter-mode": "2",
          "mode": "3",
          "motion-thresh": "1",
          "spatial-metric": "2",
          "spatial-thresh": "1"
        }
      },
      {
        "ID": 11,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "480",
          "width": "720"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "2"
        }
      }
    ]
  },
  "PAR": {
    "Num": 32,
    "Den": 27
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 14
    },
    "Title": 3,
    "Path": "E:\\Images\\TEMPLE_GRANDIN.iso"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": [
      {
        "Burn": false,
        "Default": false,
        "Forced": false,
        "ID": 1,
        "Offset": 0,
        "Track": 0
      },
      {
        "Burn": false,
        "Default": false,
        "Forced": false,
        "ID": 4,
        "Offset": 0,
        "Track": 3
      }
    ]
  },
  "Video": {
    "Encoder": 256,
    "Level": "auto",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "balanced",
    "Profile": "auto",
    "Quality": 18.0,
    "HWDecode": false,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[00:04:06] CPU: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
[00:04:06]  - Intel microarchitecture Skylake
[00:04:06]  - logical processor count: 8
[00:04:06] Intel Quick Sync Video support: yes
[00:04:06]  - Intel Media SDK hardware: API 1.25 (minimum: 1.3)
[00:04:06]  - H.264 encoder: yes
[00:04:06]     - preferred implementation: hardware (any) via D3D11
[00:04:06]     - capabilities (hardware):  breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[00:04:06]  - H.265 encoder: yes (8bit: yes, 10bit: no)
[00:04:06]     - preferred implementation: hardware (any) via D3D11
[00:04:06]     - capabilities (hardware):  bpyramid icq vsinfo opt1
[00:04:06] hb_scan: path=E:\Images\TEMPLE_GRANDIN.iso, title_index=3
src/libbluray/disc/disc.c:424: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:424: error opening file BDMV\BACKUP\index.bdmv
[00:04:06] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.3
libdvdread: Encrypted DVD support unavailable.
libdvdnav: DVD Title: TEMPLE_GRANDIN
libdvdnav: DVD Serial Number: 3cb5ace4
libdvdnav: DVD Title (Alternative):
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
libdvdread: Encrypted DVD support unavailable.
[00:04:06] scan: DVD has 6 title(s)
[00:04:06] scan: scanning title 3
[00:04:06] scan: opening IFO for VTS 1
[00:04:06] scan: duration is 01:48:27 (6507500 ms)
[00:04:06] pgc_id: 3, pgn: 1: pgc: 000001B1C34C0640
[00:04:06] scan: vts=1, ttn=3, cells=0->13, blocks=34282->2809225, 2774944 blocks
[00:04:06] scan: checking audio 1
[00:04:06] scan: id=0x80bd, lang=English (AC3), 3cc=eng ext=0
[00:04:06] scan: checking audio 2
[00:04:06] scan: id=0x81bd, lang=español (AC3), 3cc=spa ext=0
[00:04:06] scan: checking audio 3
[00:04:06] scan: id=0x82bd, lang=English (AC3), 3cc=eng ext=0
[00:04:06] scan: checking subtitle 1
[00:04:06] scan: id=0x20bd, lang=English (Wide Screen) [VOBSUB], 3cc=eng ext=0
[00:04:06] scan: checking subtitle 2
[00:04:06] scan: id=0x21bd, lang=Francais (Wide Screen) [VOBSUB], 3cc=fra ext=0
[00:04:06] scan: checking subtitle 3
[00:04:06] scan: id=0x22bd, lang=español (Wide Screen) [VOBSUB], 3cc=spa ext=0
[00:04:06] scan: title 3 has 14 chapters
[00:04:06] scan: chap 1 c=0->0, b=34282->239466 (205185), 528133 ms
[00:04:06] scan: chap 2 c=1->1, b=239467->456256 (216790), 528834 ms
[00:04:06] scan: chap 3 c=2->2, b=456257->652711 (196455), 484500 ms
[00:04:06] scan: chap 4 c=3->3, b=652712->861670 (208959), 461166 ms
[00:04:06] scan: chap 5 c=4->4, b=861671->1039919 (178249), 397533 ms
[00:04:06] scan: chap 6 c=5->5, b=1039920->1343618 (303699), 689633 ms
[00:04:06] scan: chap 7 c=6->6, b=1343619->1631710 (288092), 631367 ms
[00:04:06] scan: chap 8 c=7->7, b=1631711->1827505 (195795), 412767 ms
[00:04:06] scan: chap 9 c=8->8, b=1827506->2027612 (200107), 471200 ms
[00:04:06] scan: chap 10 c=9->9, b=2027613->2257664 (230052), 499800 ms
[00:04:06] scan: chap 11 c=10->10, b=2257665->2572968 (315304), 777500 ms
[00:04:06] scan: chap 12 c=11->11, b=2572969->2773084 (200116), 431033 ms
[00:04:06] scan: chap 13 c=12->12, b=2773085->2809177 (36093), 193500 ms
[00:04:06] scan: chap 14 c=13->13, b=2809178->2809225 (48), 533 ms
[00:04:06] scan: aspect = 16:9
[00:04:06] scan: decoding previews for title 3
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[00:04:06] scan: title angle(s) 1
[ac3 @ 000001b1c3359060] frame sync error
[ac3 @ 000001b1c3357f20] frame sync error
[00:04:06] scan: audio 0x81bd: ac3, rate=48000Hz, bitrate=192000 español (AC3) (2.0 ch)
[ac3 @ 000001b1c33594a0] frame sync error
[00:04:06] scan: audio 0x82bd: ac3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch)
[ac3 @ 000001b1c33587c0] frame sync error
[00:04:06] scan: audio 0x80bd: ac3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch)
[00:04:06] scan: 10 previews, 720x480, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 32:27
[00:04:06] libhb: scan thread found 1 valid title(s)
[00:04:06] starting job
[00:04:06] decomb filter thread started for segment 0
[00:04:06] decomb filter thread started for segment 3
[00:04:06] decomb filter thread started for segment 1
[00:04:06] decomb check thread started for segment 6
[00:04:06] mask filter thread started for segment 1
[00:04:06] decomb filter thread started for segment 6
[00:04:06] mask filter thread started for segment 7
[00:04:06] mask erode thread started for segment 1
[00:04:06] mask erode thread started for segment 3
[00:04:06] mask erode thread started for segment 6
[00:04:06] decomb check thread started for segment 1
[00:04:06] decomb check thread started for segment 3
[00:04:06] decomb check thread started for segment 5
[00:04:06] mask dilate thread started for segment 5
[00:04:06] yadif thread started for segment 2
[00:04:06] decomb filter thread started for segment 4
[00:04:06] yadif thread started for segment 6
[00:04:06] Auto Passthru: allowed codecs are AAC, AC3, E-AC3, TrueHD, DTS, DTS-HD, MP3, FLAC
[00:04:06] Auto Passthru: fallback is AC3
[00:04:06] Auto Passthru: using AC3 Passthru for track 1
[00:04:06] decomb filter thread started for segment 2
[00:04:06] mask filter thread started for segment 2
[00:04:06] job configuration:
[00:04:06]  * source
[00:04:06]    + E:\Images\TEMPLE_GRANDIN.iso
[00:04:06]    + title 3, chapter(s) 1 to 14
[00:04:06]  * destination
[00:04:06]    + E:\Handbrake\TEMPLE GRANDIN.mkv
[00:04:06]    + container: Matroska (libavformat)
[00:04:06]      + chapter markers
[00:04:06]  * video track
[00:04:06]    + decoder: mpeg2video
[00:04:06]      + bitrate 9800 kbps
[00:04:06]    + filters
[00:04:06] mask filter thread started for segment 3
[00:04:06]      + Comb Detect (mode=3:spatial-metric=2:motion-thresh=1:spatial-thresh=1:filter-mode=2:block-thresh=40:block-width=16:block-height=16)
[00:04:06]      + Decomb (mode=39)
[00:04:06]      + Framerate Shaper (mode=2)
[00:04:06]        + frame rate: 23.976 fps -> peak rate limited to 23.976 fps
[00:04:06]      + Crop and Scale (width=720:height=480:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[00:04:06] mask filter thread started for segment 5
[00:04:06]        + source: 720 * 480, crop (0/0/0/0): 720 * 480, scale: 720 * 480
[00:04:06]    + Output geometry
[00:04:06]      + storage dimensions: 720 x 480
[00:04:06]      + pixel aspect ratio: 32 : 27
[00:04:06]      + display dimensions: 853 x 480
[00:04:06]    + encoder: H.264 (Intel Media SDK)
[00:04:06]      + preset:  balanced
[00:04:06] mask filter thread started for segment 6
[00:04:06]      + profile: auto
[00:04:06]      + level:   auto
[00:04:06]      + quality: 18.00 (ICQ)
[00:04:06]  * subtitle track 1, English (Wide Screen) [VOBSUB] (track 0, id 0x20bd, Picture) -> Passthrough
[00:04:06]  * subtitle track 2, English, Closed Caption [CC608] (track 3, id 0x0, Text) -> Passthrough
[00:04:06]  * audio track 1
[00:04:06]    + decoder: English (AC3) (5.1 ch) (track 1, id 0x80bd)
[00:04:06]      + bitrate: 448 kbps, samplerate: 48000 Hz
[00:04:06]    + AC3 Passthru
libdvdnav: Using dvdnav version 5.0.3
[00:04:06] mask filter thread started for segment 4
[00:04:06] decomb filter thread started for segment 5
[00:04:06] decomb filter thread started for segment 7
[00:04:06] mask erode thread started for segment 0
[00:04:06] mask erode thread started for segment 2
[00:04:06] decomb check thread started for segment 2
[00:04:06] mask erode thread started for segment 4
[00:04:06] mask erode thread started for segment 7
[00:04:06] decomb check thread started for segment 0
[00:04:06] mask erode thread started for segment 5
[00:04:06] mask dilate thread started for segment 1
[00:04:06] mask dilate thread started for segment 0
[00:04:06] mask dilate thread started for segment 3
[00:04:06] mask dilate thread started for segment 4
[00:04:06] mask dilate thread started for segment 2
[00:04:06] mask dilate thread started for segment 6
[00:04:06] decomb check thread started for segment 4
[00:04:06] yadif thread started for segment 0
[00:04:06] mask dilate thread started for segment 7
[00:04:06] yadif thread started for segment 1
[00:04:06] yadif thread started for segment 4
[00:04:06] yadif thread started for segment 3
[00:04:06] yadif thread started for segment 5
[00:04:06] decomb check thread started for segment 7
[00:04:06] mask filter thread started for segment 0
[00:04:06] yadif thread started for segment 7
libdvdread: Encrypted DVD support unavailable.
libdvdnav: DVD Title: TEMPLE_GRANDIN
libdvdnav: DVD Serial Number: 3cb5ace4
libdvdnav: DVD Title (Alternative):
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
libdvdread: Encrypted DVD support unavailable.
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[00:04:06] sync: expecting 156023 video frames
[00:04:06] encqsvInit: using encode-only path
[00:04:06] encqsvInit: H.264/AVC High profile @ level 3.0
[00:04:06] encqsvInit: TargetUsage 4 AsyncDepth 5
[00:04:06] encqsvInit: GopRefDist 3 GopPicSize 24 NumRefFrame 1
[00:04:06] encqsvInit: BFramesMax 2 BRefType off
[00:04:06] encqsvInit: RateControlMethod ICQ ICQQuality 18
[00:04:06] sync: first pts video is 0
[00:04:06] sync: "Chapter 1" (1) at frame 1 time 0
[00:04:06] sync: first pts audio 0x80bd is 0
[00:04:06] qsv_enc_init: using 'hardware (2) via D3D11' implementation, API: 1.25
[00:04:06] sync: first pts subtitle 0x0 is 675675
[00:04:06] sync: first pts subtitle 0x20bd is 684684
[00:04:25] sync: "Chapter 2" (2) at frame 12676 time 47578781
[00:04:44] sync: "Chapter 3" (3) at frame 25368 time 95221376
[00:05:04] sync: "Chapter 4" (4) at frame 36996 time 138869981
Error code -21,	hb_qsv_wait_on_sync	602
encqsv: MFXVideoENCODE_EncodeFrameAsync failed (-21)
encqsv: MFXVideoENCODE_EncodeFrameAsync failed (-21)
[00:05:11] work: average encoding speed for job is 608.915833 fps
[00:05:11] comb detect: heavy 1080 | light 2244 | uncombed 36216 | total 39540
[00:05:11] decomb: deinterlaced 1080 | blended 2242 | unfiltered 36212 | total 39534
[00:05:11] vfr: 39527 frames output, 0 dropped and 0 duped for CFR/PFR
[00:05:11] vfr: lost time: 0 (0 frames)
[00:05:11] vfr: gained time: 0 (0 frames) (0 not accounted for)
[00:05:11] ac3-decoder done: 51625 frames, 0 decoder errors
[00:05:11] mpeg2video-decoder done: 39615 frames, 0 decoder errors
[00:05:11] sync: got 39575 frames, 156023 expected
[00:05:11] sync: framerate min 23.981 fps, max 23.981 fps, avg 23.976 fps
[00:05:11] mux: track 0, 39503 frames, 679514763 bytes, 3293.32 kbps, fifo 1024
[00:05:11] mux: track 1, 51582 frames, 92434944 bytes, 447.99 kbps, fifo 2048
[00:05:11] mux: track 2, 243 frames, 668268 bytes, 3.24 kbps, fifo 16
[00:05:11] mux: track 3, 364 frames, 26616 bytes, 0.13 kbps, fifo 16
[00:05:11] libhb: work result = 4

# Encode Completed ...
rollin_eng
Veteran User
Posts: 4840
Joined: Wed May 04, 2011 11:06 pm

Re: QSV no longer working with later Intel graphics drivers

Post by rollin_eng »

Can you rip your dvd with makemkv, then see if you have the same issue encoding the mkv.
rbirk
Posts: 29
Joined: Fri Dec 15, 2017 9:29 pm

Re: QSV no longer working with later Intel graphics drivers

Post by rbirk »

rollin_eng wrote: Sat Jan 13, 2018 8:54 pm Can you rip your dvd with makemkv, then see if you have the same issue encoding the mkv.
Let me try that. Unfortunately I cannot use MakeMKV as it strips close caption streams, but its worth trying it out for testing purposes.
rollin_eng
Veteran User
Posts: 4840
Joined: Wed May 04, 2011 11:06 pm

Re: QSV no longer working with later Intel graphics drivers

Post by rollin_eng »

What were your ISO’s created with?
rbirk
Posts: 29
Joined: Fri Dec 15, 2017 9:29 pm

Re: QSV no longer working with later Intel graphics drivers

Post by rbirk »

rollin_eng wrote: Sat Jan 13, 2018 9:14 pm What were your ISO’s created with?
AnyDVD and "Rip to Image..."
rollin_eng
Veteran User
Posts: 4840
Joined: Wed May 04, 2011 11:06 pm

Re: QSV no longer working with later Intel graphics drivers

Post by rollin_eng »

Try just ripping to folder with AnyDVD also.
Deleted User 11865

Re: QSV no longer working with later Intel graphics drivers

Post by Deleted User 11865 »

Ripping to folder should theoretically remove some structure-baed protections that "rip to image" will pass through to the output.

But it will have no effect on QSV-specific issues so it's most likely a dead-end in this case.
rbirk
Posts: 29
Joined: Fri Dec 15, 2017 9:29 pm

Re: QSV no longer working with later Intel graphics drivers

Post by rbirk »

Tried with MakeMKV and same result. Same error.

Code: Select all

HandBrake Nightly 20180104000850-faab5c4-master (2018010501) - 64bit
OS: Microsoft Windows NT 10.0.16299.0 - 64bit
CPU: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
Ram: 16257 MB, 
GPU Information:
  NVIDIA GeForce GTX 1060 6GB - 23.21.13.8859
  Intel(R) HD Graphics 530 - 23.20.16.4901
Screen: 1920x1080
Temp Dir: C:\Users\xxx\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake Nightly
Data Dir: C:\Users\xxx\AppData\Roaming\HandBrake Team\HandBrake\1.1.0.0

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


# Starting Encode ...

[22:22:19] hb_init: starting libhb thread
[22:22:19] 1 job(s) to process
[22:22:19] json job:
{
  "Audio": {
    "AudioList": [
      {
        "DRC": 0.0,
        "Encoder": 1125984256,
        "Gain": 0.0,
        "Mixdown": -1,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      1073807360,
      1073743872,
      1074003968,
      1073750016,
      1090519040,
      1074790400,
      1074266112,
      1107296256
    ],
    "FallbackEncoder": 2048
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      },
      {
        "Name": "Chapter 2"
      },
      {
        "Name": "Chapter 3"
      },
      {
        "Name": "Chapter 4"
      },
      {
        "Name": "Chapter 5"
      },
      {
        "Name": "Chapter 6"
      },
      {
        "Name": "Chapter 7"
      },
      {
        "Name": "Chapter 8"
      },
      {
        "Name": "Chapter 9"
      },
      {
        "Name": "Chapter 10"
      },
      {
        "Name": "Chapter 11"
      },
      {
        "Name": "Chapter 12"
      },
      {
        "Name": "Chapter 13"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": false,
    "File": "E:\\Handbrake\\title00.mkv",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": 2097152
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 4,
        "Settings": {
          "mode": "7"
        }
      },
      {
        "ID": 3,
        "Settings": {
          "block-height": "16",
          "block-thresh": "40",
          "block-width": "16",
          "filter-mode": "2",
          "mode": "3",
          "motion-thresh": "1",
          "spatial-metric": "2",
          "spatial-thresh": "1"
        }
      },
      {
        "ID": 11,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "480",
          "width": "720"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "2"
        }
      }
    ]
  },
  "PAR": {
    "Num": 32,
    "Den": 27
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 13
    },
    "Title": 1,
    "Path": "E:\\MakeMKV\\TEMPLE_GRANDIN\\title00.mkv"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": [
      {
        "Burn": false,
        "Default": false,
        "Forced": false,
        "ID": 1,
        "Offset": 0,
        "Track": 0
      }
    ]
  },
  "Video": {
    "Encoder": 256,
    "Level": "auto",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "balanced",
    "Profile": "auto",
    "Quality": 18.0,
    "HWDecode": false,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[22:22:19] CPU: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
[22:22:19]  - Intel microarchitecture Skylake
[22:22:19]  - logical processor count: 8
[22:22:19] Intel Quick Sync Video support: yes
[22:22:19]  - Intel Media SDK hardware: API 1.25 (minimum: 1.3)
[22:22:19]  - H.264 encoder: yes
[22:22:19]     - preferred implementation: hardware (any) via D3D11
[22:22:19]     - capabilities (hardware):  breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[22:22:19]  - H.265 encoder: yes (8bit: yes, 10bit: no)
[22:22:19]     - preferred implementation: hardware (any) via D3D11
[22:22:19]     - capabilities (hardware):  bpyramid icq vsinfo opt1
[22:22:19] hb_scan: path=E:\MakeMKV\TEMPLE_GRANDIN\title00.mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image E:\MakeMKV\TEMPLE_GRANDIN\title00.mkv
src/libbluray/disc/disc.c:424: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:424: error opening file BDMV\BACKUP\index.bdmv
[22:22:19] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.3
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[22:22:19] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'E:\MakeMKV\TEMPLE_GRANDIN\title00.mkv':
  Duration: 01:48:33.47, start: 0.000000, bitrate: N/A
    Chapter #0:0: start 0.000000, end 528.661467
    Metadata:
      title           : Chapter 01
    Chapter #0:1: start 528.661467, end 1058.023633
    Metadata:
      title           : Chapter 02
    Chapter #0:2: start 1058.023633, end 1543.008133
    Metadata:
      title           : Chapter 03
    Chapter #0:3: start 1543.008133, end 2004.635967
    Metadata:
      title           : Chapter 04
    Chapter #0:4: start 2004.635967, end 2402.566833
    Metadata:
      title           : Chapter 05
    Chapter #0:5: start 2402.566833, end 3092.889800
    Metadata:
      title           : Chapter 06
    Chapter #0:6: start 3092.889800, end 3724.887833
    Metadata:
      title           : Chapter 07
    Chapter #0:7: start 3724.887833, end 4138.067267
    Metadata:
      title           : Chapter 08
    Chapter #0:8: start 4138.067267, end 4609.738467
    Metadata:
      title           : Chapter 09
    Chapter #0:9: start 4609.738467, end 5110.038267
    Metadata:
      title           : Chapter 10
    Chapter #0:10: start 5110.038267, end 5888.315767
    Metadata:
      title           : Chapter 11
    Chapter #0:11: start 5888.315767, end 6319.780133
    Metadata:
      title           : Chapter 12
    Chapter #0:12: start 6319.780133, end 6513.473633
    Metadata:
      title           : Chapter 13
    Stream #0:0(eng): Video: mpeg2video (Main)
      yuv420p, tv, 720x480 [PAR 32:27 DAR 16:9], 9800 kb/s, PAR 186:157 DAR 279:157
      29.97 fps, 1k tbn
    Metadata:
      BPS-eng         : 5998505
      DURATION-eng    : 01:48:33.473633333
      NUMBER_OF_FRAMES-eng: 156168
      NUMBER_OF_BYTES-eng: 4883887956
      SOURCE_ID-eng   : 0100E0
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.10.9 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2018-01-14 03:00:55
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:1(eng): Audio: ac3
      48000 Hz, 5.1, fltp, 448 kb/s (default)
    Metadata:
      title           : Surround 5.1
      BPS-eng         : 448000
      DURATION-eng    : 01:48:33.248000000
      NUMBER_OF_FRAMES-eng: 203539
      NUMBER_OF_BYTES-eng: 364741888
      SOURCE_ID-eng   : 0180BD
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.10.9 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2018-01-14 03:00:55
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:2(eng): Subtitle: dvd_subtitle (default)
    Metadata:
      BPS-eng         : 4373
      DURATION-eng    : 01:44:56.879711111
      NUMBER_OF_FRAMES-eng: 1144
      NUMBER_OF_BYTES-eng: 3442228
      SOURCE_ID-eng   : 0120BD
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.10.9 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2018-01-14 03:00:55
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
[22:22:20] scan: decoding previews for title 1
[22:22:20] scan: audio 0x1: ac3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch)
[22:22:20] scan: 10 previews, 720x480, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 32:27
[22:22:20] libhb: scan thread found 1 valid title(s)
[22:22:20] starting job
[22:22:20] decomb filter thread started for segment 0
[22:22:20] decomb filter thread started for segment 2
[22:22:20] decomb filter thread started for segment 1
[22:22:20] decomb filter thread started for segment 3
[22:22:20] decomb filter thread started for segment 5
[22:22:20] decomb filter thread started for segment 6
[22:22:20] mask filter thread started for segment 3
[22:22:20] decomb filter thread started for segment 4
[22:22:20] mask filter thread started for segment 6
[22:22:20] decomb check thread started for segment 1
[22:22:20] mask erode thread started for segment 1
[22:22:20] decomb check thread started for segment 3
[22:22:20] mask erode thread started for segment 3
[22:22:20] decomb check thread started for segment 4
[22:22:20] decomb check thread started for segment 7
[22:22:20] mask filter thread started for segment 0
[22:22:20] decomb check thread started for segment 6
[22:22:20] mask dilate thread started for segment 5
[22:22:20] mask dilate thread started for segment 7
[22:22:20] yadif thread started for segment 0
[22:22:20] mask filter thread started for segment 2
[22:22:20] mask filter thread started for segment 5
[22:22:20] decomb check thread started for segment 0
[22:22:20] mask filter thread started for segment 7
[22:22:20] Auto Passthru: allowed codecs are AAC, AC3, E-AC3, TrueHD, DTS, DTS-HD, MP3, FLAC
[22:22:20] mask erode thread started for segment 0
[22:22:20] Auto Passthru: fallback is AC3
[22:22:20] Auto Passthru: using AC3 Passthru for track 1
[22:22:20] decomb check thread started for segment 2
[22:22:20] mask erode thread started for segment 2
[22:22:20] job configuration:
[22:22:20]  * source
[22:22:20]    + E:\MakeMKV\TEMPLE_GRANDIN\title00.mkv
[22:22:20] mask erode thread started for segment 4
[22:22:20]    + title 1, chapter(s) 1 to 13
[22:22:20]    + container: matroska,webm
[22:22:20]  * destination
[22:22:20]    + E:\Handbrake\title00.mkv
[22:22:20]    + container: Matroska (libavformat)
[22:22:20]      + chapter markers
[22:22:20] mask erode thread started for segment 5
[22:22:20]  * video track
[22:22:20]    + decoder: mpeg2video
[22:22:20]      + bitrate 9800 kbps
[22:22:20]    + filters
[22:22:20] mask erode thread started for segment 6
[22:22:20]      + Comb Detect (mode=3:spatial-metric=2:motion-thresh=1:spatial-thresh=1:filter-mode=2:block-thresh=40:block-width=16:block-height=16)
[22:22:20] decomb check thread started for segment 5
[22:22:20]      + Decomb (mode=39)
[22:22:20]      + Framerate Shaper (mode=2)
[22:22:20]        + frame rate: 23.976 fps -> peak rate limited to 23.976 fps
[22:22:20] mask erode thread started for segment 7
[22:22:20]      + Crop and Scale (width=720:height=480:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[22:22:20]        + source: 720 * 480, crop (0/0/0/0): 720 * 480, scale: 720 * 480
[22:22:20] mask dilate thread started for segment 1
[22:22:20]    + Output geometry
[22:22:20]      + storage dimensions: 720 x 480
[22:22:20]      + pixel aspect ratio: 32 : 27
[22:22:20]      + display dimensions: 853 x 480
[22:22:20]    + encoder: H.264 (Intel Media SDK)
[22:22:20]      + preset:  balanced
[22:22:20]      + profile: auto
[22:22:20]      + level:   auto
[22:22:20]      + quality: 18.00 (ICQ)
[22:22:20] mask dilate thread started for segment 0
[22:22:20]  * subtitle track 1, English [VOBSUB] (track 0, id 0x2, Picture) -> Passthrough
[22:22:20] mask dilate thread started for segment 2
[22:22:20]  * audio track 1
[22:22:20]    + decoder: English (AC3) (5.1 ch) (track 1, id 0x1)
[22:22:20]      + bitrate: 448 kbps, samplerate: 48000 Hz
[22:22:20]    + AC3 Passthru
[22:22:20] mask dilate thread started for segment 3
[22:22:20] mask dilate thread started for segment 4
[22:22:20] mask filter thread started for segment 1
[22:22:20] mask dilate thread started for segment 6
[22:22:20] mask filter thread started for segment 4
[22:22:20] decomb filter thread started for segment 7
[22:22:20] yadif thread started for segment 1
[22:22:20] yadif thread started for segment 3
[22:22:20] yadif thread started for segment 2
[22:22:20] yadif thread started for segment 4
[22:22:20] yadif thread started for segment 5
[22:22:20] yadif thread started for segment 6
[22:22:20] yadif thread started for segment 7
[22:22:20] sync: expecting 156167 video frames
[22:22:20] encqsvInit: using encode-only path
[22:22:20] encqsvInit: H.264/AVC High profile @ level 3.0
[22:22:20] encqsvInit: TargetUsage 4 AsyncDepth 5
[22:22:20] encqsvInit: GopRefDist 3 GopPicSize 24 NumRefFrame 1
[22:22:20] encqsvInit: BFramesMax 2 BRefType off
[22:22:20] encqsvInit: RateControlMethod ICQ ICQQuality 18
[22:22:20] sync: first pts video is 0
[22:22:20] sync: first pts audio 0x1 is 2970
[22:22:20] sync: "Chapter 1" (1) at frame 3 time 11223
[22:22:20] qsv_enc_init: using 'hardware (2) via D3D11' implementation, API: 1.25
[22:22:20] sync: first pts subtitle 0x2 is 687690
[22:22:39] sync: "Chapter 2" (2) at frame 12678 time 47590005
[22:22:59] sync: "Chapter 3" (3) at frame 25368 time 95225092
[22:23:19] sync: "Chapter 4" (4) at frame 36998 time 138881205
[22:23:42] sync: "Chapter 5" (5) at frame 48064 time 180420202
[22:24:05] sync: "Chapter 6" (6) at frame 57605 time 216234731
[22:24:48] sync: "Chapter 7" (7) at frame 74156 time 278363047
[22:25:34] sync: "Chapter 8" (8) at frame 89309 time 335243621
[22:26:08] sync: "Chapter 9" (9) at frame 99218 time 372437268
[22:26:50] sync: "Chapter 10" (10) at frame 110526 time 414884673
[22:27:37] sync: "Chapter 11" (11) at frame 122522 time 459914658
Error code -21,	hb_qsv_wait_on_sync	602
encqsv: MFXVideoENCODE_EncodeFrameAsync failed (-21)
encqsv: MFXVideoENCODE_EncodeFrameAsync failed (-21)
[22:27:39] work: average encoding speed for job is 386.171753 fps
[22:27:39] comb detect: heavy 3077 | light 8400 | uncombed 111113 | total 122590
[22:27:39] decomb: deinterlaced 3077 | blended 8400 | unfiltered 111108 | total 122585
[22:27:39] vfr: 122581 frames output, 0 dropped and 0 duped for CFR/PFR
[22:27:39] vfr: lost time: 0 (0 frames)
[22:27:39] vfr: gained time: 0 (0 frames) (0 not accounted for)
[22:27:39] ac3-decoder done: 159878 frames, 0 decoder errors
[22:27:39] mpeg2video-decoder done: 122645 frames, 0 decoder errors
[22:27:39] sync: got 122607 frames, 156167 expected
[22:27:39] sync: framerate min 12.048 fps, max 30.303 fps, avg 23.976 fps
[22:27:40] mux: track 0, 122551 frames, 2398677410 bytes, 3752.50 kbps, fifo 1024
[22:27:40] mux: track 1, 159803 frames, 286366976 bytes, 447.99 kbps, fifo 2048
[22:27:40] mux: track 2, 878 frames, 2583144 bytes, 4.04 kbps, fifo 16
[22:27:40] libhb: work result = 4

# Encode Completed ...

grundigtom
Posts: 10
Joined: Sat Dec 02, 2017 9:37 am

Re: QSV no longer working with later Intel graphics drivers

Post by grundigtom »

Quick feedback from the original poster: With the latest Intel driver for i7-6/7-family 23.20.16.4901 QSV in Handbrake 1.07 is working again. So I think Intel has ressolved the issues mentioned as hints in the previous version.

Have a nice Sunday

Thomas
nick24
Posts: 31
Joined: Fri Dec 19, 2014 4:38 pm

Re: QSV no longer working with later Intel graphics drivers

Post by nick24 »

Unfortunately, the latest Intel driver 4901 ist still not working for me with Handbrake 1.0.7 QSV (official, i.e. no nightly build).
The problem is exactly the one mentiond in this thread. Latest working Intel driver is version 4771.

My CPU is an i7-7700K running on Windows 10 64 Bit Fall Creators Update, build 1709.

Any hints or feedback?
rollin_eng
Veteran User
Posts: 4840
Joined: Wed May 04, 2011 11:06 pm

Re: QSV no longer working with later Intel graphics drivers

Post by rollin_eng »

Does the nightly build work?
Capitaineraide
Posts: 1
Joined: Sun Jan 28, 2018 5:41 pm

Re: QSV no longer working with later Intel graphics drivers

Post by Capitaineraide »

Good evening everyone, i think there is a solution: Just remove the cable beetween your monitor from the video card and just use the cable from your motherboard to your monitor and it works. I can now use intel qsv h.265 without crashing with handbrake 1.0.7
mduell
Veteran User
Posts: 8187
Joined: Sat Apr 21, 2007 8:54 pm

Re: QSV no longer working with later Intel graphics drivers

Post by mduell »

Right, except if you play any games you'll be on the lousy built in graphics instead of your video card.
Woodstock
Veteran User
Posts: 4614
Joined: Tue Aug 27, 2013 6:39 am

Re: QSV no longer working with later Intel graphics drivers

Post by Woodstock »

If plugging the monitor in "fixes" the problem, ANY monitor, or even one of the many "monitor dummy plug" devices, will do, leaving your main graphics on your better-spec card. I use a lower-spec monitor for that on my system, with the advantage of being able to leave the 4K monitor free to display 4K content.
awm129
Posts: 3
Joined: Fri Feb 09, 2018 3:08 am

Re: QSV no longer working with later Intel graphics drivers

Post by awm129 »

Just a quick note for Xeon users experiencing this issue with HandBrake 1.0.7: My E3-1545M v5 does *not* work with the 22.20.16.4771 driver. The last working driver seems to be 20.19.15.4444. Thanks to Woodstock for pointing me in the right direction.
rbirk
Posts: 29
Joined: Fri Dec 15, 2017 9:29 pm

Re: QSV no longer working with later Intel graphics drivers

Post by rbirk »

The latest Intel driver 15.65.3.4944 (Feb 13, 2018) seems more stable. My initial test I get far fewer failures with Hadbrake. Will do more testing next couple of days.
Deleted User 11865

Re: QSV no longer working with later Intel graphics drivers

Post by Deleted User 11865 »

Feels like a rushed driver to me. Should probably have been released a day later, but my guess is the project manager had a Valentine's Date this year :D
Post Reply