1080p-HW Transcoding dont work @ Intel NUC

Hi guys,

my PMS (1.15.0.659) runs on Win10 Pro x64. All drivers of my NUC8 are up2date. A HDMI Dummy is plugged in. (Fueran Dummy Plug Headless Ghost Display Emulator Premium Aluminium PC HDMI-Compatible (Fit Headless 1920 x 1080 New 4RD@60Hz) (2K-2P) : Amazon.de: Electronics & Photo)

Nearly every time when PLEX transcodes to 1080p, hardware transcoding fails. Absolutly random @ time, device and movie. In 720p it works every time.

The Server-Log says the following every time:

ERROR - [Transcoder] [h264_qsv @ 052db340] Error during encoding: device failed (-17)
ERROR - [Transcoder] Video encoding failed

Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Unknown error occurred

TPU: hardware transcoding: enabled, but no hardware decode accelerator found

This problem has been around for many versions of PMS. In the last few months I have reset the whole server, replaced (NUC7-> NUC8) Plex and reset the library. Nothing helps. This feature was paid with and does not work satisfactorily.

I am really disappointed.

#push

No idea? On EMBY Hardware Transcoding works all the time… what is worng with PLEX?

Having the same issue using a NUC7 (BOXNUC7I3BNH).
PMS Version 1.15.1.707
Using the HDMI extension cable of a Fire TV Stick.

1080p Hardware transcoding always fails, 720p works nearly every time.

Server logs:

[Transcoder] [h264_qsv @ 0275d940] Error during encoding: device failed (-17)
[Transcoder] Video encoding failed

I only can assume the HDMI dongle may be the problem.
What would be the recommended options using Plex headless?

The dongle can not be the problem, in Emby hardware transcoding works all the time.

In the forum they are so many users with an Intel Nuc and the same problem and the support does not care.

I have the Plex Pass only because of the HW transcoding and can not use it.

Great job…

Try installing latest update:

Hw Transcoding works the whole time, but only on 720p and SD.

Iam using the latest beta version (1.15.1.710), problem still exists.

Hw transcoding is buggy on Intel Nucs for months/years.

1 Like

When I start a movie with 1080p limit, the hw transcoder fails. If I switch to 720p during playback, hw transcoding will turn on. If I change back to 1080p or automatically, the HW Transcoder fails again and the software takes over.

Feb 27, 2019 18:05:34.526 [1652] ERROR - [Transcoder] [h264_qsv @ 03f2d300] Error during encoding: device failed (-17)
Feb 27, 2019 18:05:34.526 [9196] ERROR - [Transcoder] Video encoding failed

...

Feb 27, 2019 18:05:34.604 [3464] DEBUG - TPU: hardware transcoding: enabled, but no hardware decode accelerator found

My attached log file contains two launches of the same movie. The first one works with hw transcoding. The second one, just seconds later, fails again.

Plex Media Server.log (105.9 KB)

I’m having exact same issue, and I’m using. Nuc7i7 … seems like op is too? I’m running win10, latest beta plexpass. 1080p transcodes don’t use hw accel, logs show ERROR - [Transcoder] [h264_qsv @ 02eaa4c0] Error during encoding: device failed (-17)

Using 720p and it works. I downloaded latest intel drivers, same issue. Any ideas??

I just downgraded my driver to intel 15.45 version (there apparently is a bug with the driver in windows 10 (this is discussed in many threads regarding windows 10 and intel drivers, you can reference this one. I just tried the driver and now my 1080p transcodes utilize hardware acceleration just fine. Take a look, I see you are using a nuc8 so maybe you want to see that last link what drivers they recommend for nuc8 chipset (I think it’s coffeelake?)

I doubt that this is an solution. I’m using a NUC7I3 with latest drivers and PMS 1.15.1.710. Same behavior as op. On Emby Hardware transcoding works as expected.
I also tried with the suggested driver versions in the thread you @zelik posted. No improvement.

On my system no improvement too.

20 days since creation, no response from Plex Team. Too bad. :frowning:

Its broken without an ETA from the devs when there will be a transcoder bump. I use Ubuntu 18.04.2 LTS on all the NUCs I test PMS against with–from Haswell to Coffee Lake and everything in between. You may not want to hear it but if you want HW transcoding to work today–Ubuntu will work perfect.

2 Likes

I can also confirm this, after lots of testing. Intel acceleration is notoriously spotty on Windows with various Intel generations. It’ll work in one session and not another, with the same video file or live channel. But on my NUC7CJYH NUC using a J4005 CPU (Intel Gemini Lake), it’s 100% reliable on Ubuntu 18.04. HW acceleration always “locks in”. I never even have to think about it anymore.

I do have a minor twist: I can gain 100% reliability on Plex hardware acceleration on Windows, but only if I’m using an nvidia card. So if your machine is expandable, that may be an alternative for you.

1 Like

If it works on Ubuntu this is actually good to hear. (for me)
Does anyone know if it makes a difference to use Kubuntu instead?

I can confirm that transcoding works perfect on Kubuntu.

Something new @ devs?

My Nuc has the same problem.

This is just like, “my internet doesn’t work!”. You can’t ever know, it’s a troubleshooting issue. I would try this first: try lower default settings (e.g. instead of 1080p, try 720p, or lower 360p, and so on).

Since your 720p works, this is already known for your case.

Trying slower “Quality Mbps” also works sometimes.

“TPU: hardware transcoding: enabled, but no hardware decode accelerator found”

Another big problem is, what hardware are you using?

I found that my PS3 is the worst hardware to run Plex. I bought Roku and my Buffering and Transcoding problems literally went away. BTW I only bought Roku because of Plex problems. Roku has it’s own problems too! But it works well with Plex in my case.

It wouldn’t hurt to test WiFi versus Ethernet-cable (Cat5, Cat6, Cat7) connection.

Final thoughts:
It’s like Plex has many hardware systems that have can use Plex, but you won’t know the limitations of the hardware output until you try it out. I mean should we have to be Plex Engineers or Spec Experts to be a User? No, but it seems you have to be. For me I now know not to ever use PlayStation for Plex, I wasted countless hours troubleshooting.