Can't detect H.265 QSV encoder when UWD installed

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
nolonar
Posts: 7
Joined: Mon Dec 26, 2016 9:22 pm

Can't detect H.265 QSV encoder when UWD installed

Post by nolonar » Fri Nov 30, 2018 12:32 pm

I've been ripping all my DVD in order to build my own video library on my NAS.
Yesterday, I saw news that Intel released new graphics drivers. Apparently, these drivers make use of the new UWD (Universal Windows Driver) platform. All non-UWD drivers are now considered "legacy".

Since I like staying up-to-date, I installed those drivers before going to sleep.
Today, I decided to resume ripping my DVDs. However, it seems that Handbrake no longer recognizes the H.265 QSV encoder. I can still access the H.264 QSV encoder, but not the H.265 one, so I've defaulted to x265 instead.

I could revert to the older legacy drivers, but Intel warned that making a mistake could cause minor to major system instability. I'd rather not risk it.
Also, while x265 is slower than QSV, my speed is mostly bottlenecked by my DVD drive, so I'm only losing ~25% speed.

I believe Intel may have made some changes to their API, so maybe you'd like to take a look?

Woodstock
Veteran User
Posts: 2818
Joined: Tue Aug 27, 2013 6:39 am

Re: Can't detect H.265 QSV encoder when UWD installed

Post by Woodstock » Fri Nov 30, 2018 2:15 pm

Bottleneck reduction - change your work flow. Rip with a ripper (MakeMKV is what I use) to MKV files, then you can queue those up for handbrake and let it work at whatever speed it wants.

Your time is spent in the ripping process (changing disks and such). After that, the computer can deal with it. You remove the need to use the less-efficient hardware encoding stuff, because you are no longer bound by that time.

nolonar
Posts: 7
Joined: Mon Dec 26, 2016 9:22 pm

Re: Can't detect H.265 QSV encoder when UWD installed

Post by nolonar » Fri Nov 30, 2018 2:34 pm

Thanks. I don't often rip stuff, so I haven't put much thought on optimizing my workflow yet. Since I still have lots of DVDs to rip, I'll have a look at MakeMKV later, when my current queue is finished.

I just wanted to say that Handbrake can't detect H.265 QSV with Intel's new UWD drivers.

mduell
Veteran User
Posts: 6194
Joined: Sat Apr 21, 2007 8:54 pm

Re: Can't detect H.265 QSV encoder when UWD installed

Post by mduell » Fri Nov 30, 2018 9:15 pm

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.

We have no idea what you're really using or doing.

nolonar
Posts: 7
Joined: Mon Dec 26, 2016 9:22 pm

Re: Can't detect H.265 QSV encoder when UWD installed

Post by nolonar » Fri Nov 30, 2018 10:32 pm

Sorry, I didn't think a feature detection problem would have anything to do with the activity log, but here you go:

When it still worked: https://pastebin.com/VGGWxtmw
After it stopped working: https://pastebin.com/ukt2jxe2
The only thing that really changed in between is that I installed Intel's brand new Universal Windows Drivers: https://downloadcenter.intel.com/downlo ... duct=80939

The only relevant part I can see is where it says: "H.265 encoder: no" instead of "H.265 encoder: yes"

I'm not asking for support, btw. I just thought someone might want to know about it, so it can be fixed.

mduell
Veteran User
Posts: 6194
Joined: Sat Apr 21, 2007 8:54 pm

Re: Can't detect H.265 QSV encoder when UWD installed

Post by mduell » Fri Nov 30, 2018 11:04 pm

nolonar wrote:
Fri Nov 30, 2018 10:32 pm
Sorry, I didn't think a feature detection problem would have anything to do with the activity log, but here you go:
It tells us what version/platform you're actually on, what version of the drivers is detected, what features are actually detected, etc etc.

Since you're on the release, try the nightly.
nolonar wrote:
Fri Nov 30, 2018 10:32 pm
I'm not asking for support, btw. I just thought someone might want to know about it, so it can be fixed.
That is, in the most literal sense of the word, asking for support. Which isn't a problem, the HB team just needs information to make efficient use of time.

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

Re: Can't detect H.265 QSV encoder when UWD installed

Post by s55 » Sat Dec 01, 2018 12:05 am

Hmm, Driver docs seems to suggest it supports but there is 0 mention of it in their upstream media sdk.

I'll need to ping someone at Intel and ask about it. I have a hunch that the required DLL's are no longer available in the place we expect them, or flat out no longer available. Hopefully they have an alternative and haven't sandboxed this.

danielgr
Posts: 4
Joined: Thu Aug 21, 2014 1:09 pm

Re: Can't detect H.265 QSV encoder when UWD installed

Post by danielgr » Sun Dec 02, 2018 2:24 pm

For whatever is worth, I have exactly the same problem.
h264 qsv is working nice, just as for the OP, which means there are no problems with the intel graphics being detected.
And the problem arose after updating to Intel's new UWD drivers.
Had been converting videos with that setting right until that point.


PS: Personally, I encode in H265 with qsv because it's the best quality/(time x energy use) one can get right now.
I hope a fix is released soon.

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

Re: Can't detect H.265 QSV encoder when UWD installed

Post by s55 » Sun Dec 02, 2018 8:48 pm

Can reproduce it but don't see anything obviously wrong in our code so I'm thinking it's a driver bug.

maxim_d33
Bright Spark User
Posts: 173
Joined: Mon Mar 21, 2011 12:02 pm

Re: Can't detect H.265 QSV encoder when UWD installed

Post by maxim_d33 » Thu Dec 06, 2018 1:41 pm

important question: do you have this issue when only iGPU is installed (no other GPU card) ?

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

Re: Can't detect H.265 QSV encoder when UWD installed

Post by nick24 » Thu Dec 06, 2018 1:58 pm

I have this issue with iGPU AND a GPU card installed.

BTW the previously mentioned MediaSDK libraries/files are no longer in ProgramFiles\Intel\MediaSDK. The UWD driver installs these files now in Windows\system32 and Windows\SysWow64.

maxim_d33
Bright Spark User
Posts: 173
Joined: Mon Mar 21, 2011 12:02 pm

Re: Can't detect H.265 QSV encoder when UWD installed

Post by maxim_d33 » Thu Dec 06, 2018 2:19 pm

@nick24 can you *just try* it without GPU card installed?

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

Re: Can't detect H.265 QSV encoder when UWD installed

Post by nick24 » Thu Dec 06, 2018 2:57 pm

@maxim_d33

Im only using one monitor that is attached to the GPU card, and I currently dont have the right cable for attaching the monitor to the iGPU.

With the right cable, would it be sufficient for testing to deactivate the GPU card in device manager, i.e. to not remove the GPU card?
Or could the issue be caused by just having no monitor attached to the iGPU?

maxim_d33
Bright Spark User
Posts: 173
Joined: Mon Mar 21, 2011 12:02 pm

Re: Can't detect H.265 QSV encoder when UWD installed

Post by maxim_d33 » Thu Dec 06, 2018 3:06 pm

@nick24 , it should be ok to have monitor connected to the iGPU

Woodstock
Veteran User
Posts: 2818
Joined: Tue Aug 27, 2013 6:39 am

Re: Can't detect H.265 QSV encoder when UWD installed

Post by Woodstock » Thu Dec 06, 2018 3:08 pm

If QSV is working in h.264, the encoder hardware isn't "off", even without the monitor attached.

A quick search on Google shows that other software is having trouble seeing h.265 capabilities under the new UWP driver. Maybe they forgot to include that in the driver?

gmb
Bright Spark User
Posts: 332
Joined: Thu Mar 28, 2013 12:49 pm

Re: Can't detect H.265 QSV encoder when UWD installed

Post by gmb » Fri Dec 07, 2018 11:59 pm

I don't have this issue, HEVC encode is working on my HD 630 with the UWP driver. Hardware decoding doesn't seem to work but this is a different matter.

danielgr
Posts: 4
Joined: Thu Aug 21, 2014 1:09 pm

Re: Can't detect H.265 QSV encoder when UWD installed

Post by danielgr » Sat Dec 08, 2018 8:37 am

7
maxim_d33 wrote:
Thu Dec 06, 2018 1:41 pm
important question: do you have this issue when only iGPU is installed (no other GPU card) ?
I am also among those with a dual GPU setup, and did the check you wanted.
Indeed, it seems there has been a change on how multiple GPU's are handled, which is unfortunate.

Before upgrading to UWP I had both my GTX1080 and my HD630 (i7-7700) iGPU plugged to my monitor, and Windows setup to extend my desktop to both (although effectively I would only display the GTX input).
That setup allowed me use my PC with the GTX1080 and yet still being able to encode with Handbrake using H265 (QSV) without any issues.

Since I upgraded to UWP, H265 (QSV) is detected only when I choose to "display only the iGPU output", which is quite annoying.
Having found this workaround is still better than nothing though; I'll just have to give up on my GTX while encoding.

Let me know if I could do something else to provide you additional feedback.

maxim_d33
Bright Spark User
Posts: 173
Joined: Mon Mar 21, 2011 12:02 pm

Re: Can't detect H.265 QSV encoder when UWD installed

Post by maxim_d33 » Mon Dec 17, 2018 8:51 am

if you have the issue - can you try to download beta binary from https://drive.google.com/file/d/1d9J70R ... sp=sharing and run in command line as:

Code: Select all

HandBrakeCLI.exe -i any.avi -e qsv_h264 -o remove.m4v
and share the output log please.

Post Reply