Page 1 of 1

Kaby Lake - H.265 (Intel QSV) options vanished/missing

Posted: Mon Jan 28, 2019 5:14 pm
by jsb777
Sometime in the last month or two, encode options for H.265 (with Intel QSV) disappeared from the encode menu. Currently, the only options for Intel QSV encoding is for H.264.




The H.265 (Intel QSV) options are missing each time the application is run, so in that regard, the problem is "repeatable". I have reinstalled the latest OEM (Dell Optiplex 7060) Intel UHD 630 drivers, which has not changed the current status of the encoder options.




HandBrake version: 1.2.0




Operating system and version: Windows 10 Pro Version 1803




HandBrake 1.2.0 (2018121700)
OS: Microsoft Windows NT 10.0.17134.0
Ram: 7988 MB,
GPU Information:
Intel(R) UHD Graphics 630 - 24.20.100.6287
Screen: 1920x1080

Code: Select all

[19:55:04] CPU: Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz
[19:55:04]  - Intel microarchitecture Kaby Lake
[19:55:04]  - logical processor count: 12
[19:55:04] Intel Quick Sync Video support: yes
[19:55:04]  - Intel Media SDK hardware: API 1.25 (minimum: 1.3)
[19:55:04]  - H.264 encoder: yes
[19:55:04]     - preferred implementation: hardware (any) via D3D11
[19:55:04]     - capabilities (hardware):  breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[19:55:04]  - H.265 encoder: no
Sorry for any newbie errors in this post. If more information is needed, please let me know. I appreciate any help that can be provided.

Re: Kaby Lake - H.265 (Intel QSV) options vanished/missing

Posted: Mon Jan 28, 2019 6:34 pm
by s55
The drivers changed and unfortunately 1.2.0 is no longer compatible with quicksync after these changes. Rolling back drivers is now tricky due to the changes they made so I don't recommend that.

You can try a nightly build (available on the downloads page) or wait til 1.2.1 or 1.3 is released. (no eta)

Re: Kaby Lake - H.265 (Intel QSV) options vanished/missing

Posted: Mon Jan 28, 2019 6:51 pm
by jsb777
Thanks - that helps me a lot (really, not kidding). If it's something you're addressing in a future version because of a known issue, I can at least know it's not something I've broken. For now, H.264 QSV is working. Many thanks for getting back to me so quickly.

Ironically I have an older laptop (Windows 10 Home - latest OS updates) with a Skylake process that seems unaffected by the driver update. (But I'm not about to throw H.265 10-bit QSV jobs at it.)


Cheers, and thanks again!

Re: Kaby Lake - H.265 (Intel QSV) options vanished/missing

Posted: Sun Feb 10, 2019 8:40 am
by ExDeus
I've noticed that QSV H.265 disappears from HandBrake as of Intel GPU driver v25.20.100.6471, but driver versions prior to that also started dramatically slowing performance, before the QSV H.265 option completely disappeared from HandBrake.

Encodes that would typically be 600fps were suddenly encoding at 15fps.

Is it clear why performance suffered so significantly, and that performance will be restored once QSV compatibility is restored in a new release of HandBrake?

Other apps that support QSV, like A's Video Converter, also suffered similar performance hits, but the QSV option still works with the latest drivers. A's VC works, but it slowed encoding from 600fps to 100fps.
  • 24.20.100.6194 - last working version
  • 24.20.100.6291 - slows QSV H.265 to 15fps
  • 25.20.100.6444 - slows QSV H.265 to 15fps
  • 25.20.100.6471 - disappears from HandBrake
  • 25.20.100.6519 - still missing from HandBrake
For what it's worth, I've kept reinstalling 6194 on top of the latest drivers without issues. So, not a rollback, but a reinstall seems to be OK.

Re: Kaby Lake - H.265 (Intel QSV) options vanished/missing

Posted: Sun Feb 10, 2019 9:02 am
by rollin_eng
ExDeus wrote: Sun Feb 10, 2019 8:40 am
Encodes that would typically be 600fps were suddenly encoding at 15fps.
Could you please post your HB logs, instructions can be found here:

https://handbrake.fr/docs/en/latest/hel ... y-log.html

Re: Kaby Lake - H.265 (Intel QSV) options vanished/missing

Posted: Mon Feb 11, 2019 2:55 pm
by s55
Before and After logs for the same source would be interesting.
Also note, use a nightly since we've resolved the issue with the driver changes that broke h265 encoder.

Re: Kaby Lake - H.265 (Intel QSV) options vanished/missing

Posted: Sat Feb 16, 2019 6:23 am
by ExDeus
Mea culpa --- I made a mistake. Either I mixed things up or I just can't reproduce it.

The H.265 QSV option actually does disappear in HB as of driver 6291 (the first problematic version) and isn't available with any driver version up through the current version, 6519. (Scratch what I said earlier.) That makes driver 6194 the last working version with HB 1.2.0.

The H.264 QSV option remains available in HB with every driver version. As of version 6291 (the version where H.265 QSV disappears) the H.264 encoding takes a ~60% decrease in fps in HB 1.2.0, but seems to be back to normal in the nightly.

Where I got confused is that, as of driver 6291, it isn't that it's slow in HB --- where it's missing altogether --- it's that it's slow in other QSV encoders. A's Video Converter continues to show the H.265 QSV encoder, but it's slower (I don't currently have stats) and I see 15-50fps instead of 500-700fps with H.264 QSV. So, I'll take that up with that developer.

* * * *

With that straight, I tested H.264 QSV in HB 1.2.0 and H.264/H.265 QSV in the 2019021201 nightly with both the last working driver (6194) and the latest (6519).

The H.264 QSV encoder is ~60% slower with the latest driver (6519) as compared to the last working driver (6194) in 1.2.0, but seems to be resolved in the nightly. (Not a scientific test, this is with a small sample of 2-3 encodes.)

The H.265 QSV encoder is restored in the nightly and speed appears to be unaffected by the driver.

Code: Select all

+-------+--------+------------+-----------+------------+-------------------------------+
|  QSV  | Driver |     HB     |   Scale   |    FPS     |              Log              |
+-------+--------+------------+-----------+------------+-------------------------------+
| H.264 | 6194   | 1.2.0      | x         | 526.775024 | https://pastebin.com/fdQrXgRs |
| H.264 | 6194   | 1.2.0      | 720->716p | 493.903229 | https://pastebin.com/xGKi5ZEV |
| H.264 | 6519   | 1.2.0      | 720->716p | 219.089874 | https://pastebin.com/iVJa8kAU | <-- speed dip due to 6519 driver
| H.264 | 6194   | 2019021201 | x         | 523.517395 | https://pastebin.com/T5AJWsBU |
| H.264 | 6519   | 2019021201 | x         | 521.849609 | https://pastebin.com/b5QWh3u6 |
| ----- | ----   | ---------- | --------- | ---------- | ----------------------------- |
| H.265 | 6194   | 1.2.0      | x         | 202.885330 | https://pastebin.com/yhejF5eX |
| H.265 | 6519   | 1.2.0      | x         | N/A        |                               |
| H.265 | 6194   | 2019021201 | x         | 206.061615 | https://pastebin.com/S8LimpaQ |
| H.265 | 6519   | 2019021201 | x         | 205.043411 | https://pastebin.com/EyMgQN8u |
+-------+--------+------------+-----------+------------+-------------------------------+

Re: Kaby Lake - H.265 (Intel QSV) options vanished/missing

Posted: Sat Feb 16, 2019 8:23 am
by rollin_eng
Could you please post your HB logs, instructions can be found here:

https://handbrake.fr/docs/en/latest/hel ... y-log.html

Re: Kaby Lake - H.265 (Intel QSV) options vanished/missing

Posted: Sat Feb 16, 2019 7:28 pm
by ExDeus
:?: @rollin_eng - each of those pastebin links is an activity log

Re: Kaby Lake - H.265 (Intel QSV) options vanished/missing

Posted: Sat Feb 16, 2019 7:29 pm
by mduell
Just copypasta without reading.

Re: Kaby Lake - H.265 (Intel QSV) options vanished/missing

Posted: Sat Feb 16, 2019 7:52 pm
by rollin_eng
ExDeus wrote: Sat Feb 16, 2019 7:28 pm :?: @rollin_eng - each of those pastebin links is an activity log
Indeed, my page formatting chopped that off, apologies.

You have some subtle differences between your encodes like the resolution changing, does it still change if you use EXACT same settings?

Re: Kaby Lake - H.265 (Intel QSV) options vanished/missing

Posted: Sun Feb 17, 2019 10:29 pm
by ExDeus
You're right, there was a 720 -> 716 auto-scale that was inadvertent.

Since it appears to be resolved in the nightly, I guess it's debatable whether it's worth the effort to repeat the test(s).

Since I'd done the testing, I just thought I'd share in case it might indicate something to someone more knowledgeable about the changes in the QSV encoder pipeline.

Re: Kaby Lake - H.265 (Intel QSV) options vanished/missing

Posted: Sun Feb 17, 2019 10:38 pm
by ExDeus
Well, I figured I could at least do a quick test using scaling with the driver I have installed (6194), to compare to the 6519 driver.

I added it to the table.

It came in at 493fps (6194) instead of 219fps with the latest driver (6519).