# PMS Linux 1.19.1.2645 Hardware Transcode Not Working

**URL:** <https://forums.plex.tv/t/pms-linux-1-19-1-2645-hardware-transcode-not-working/572587>\
**Category:** Plex Pass Betas\
**Created:** [April 12, 2020, 1:20am UTC](https://forums.plex.tv/t/pms-linux-1-19-1-2645-hardware-transcode-not-working/572587 "2020-04-12T01:20:32Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hilbe](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/hilbe/32/102508_2.png) [@Hilbe](https://forums.plex.tv/u/Hilbe)\
**Post date:** [April 12, 2020, 1:20am UTC](https://forums.plex.tv/t/pms-linux-1-19-1-2645-hardware-transcode-not-working/572587/1 "2020-04-12T01:20:33Z")

</div>

Noticed my CPU was running high and saw 2 users showing “Transcode” in the GUI, but not “(hw)”. Checked nvidia-smi and sure enough, nothing transcoding on the card. Maybe something with the latest driver on Ubuntu?

NVIDIA-SMI 440.82 Driver Version: 440.82 CUDA Version: 10.2

Logs (grep TPU):

Plex Media Server.log:Apr 11, 2020 20:46:51.440 [0x7eff29ffb700] DEBUG - Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Input/ou **tpu** t error

Plex Media Server.log:Apr 11, 2020 20:46:51.445 [0x7eff29ffb700] DEBUG - Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Input/ou **tpu** t error

Plex Media Server.log:Apr 11, 2020 20:46:51.450 [0x7eff29ffb700] DEBUG - Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Input/ou **tpu** t error

Plex Media Server.log:Apr 11, 2020 20:46:51.455 [0x7eff29ffb700] DEBUG - Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Input/ou **tpu** t error

Plex Media Server.log:Apr 11, 2020 20:46:51.460 [0x7eff29ffb700] DEBUG - Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Input/ou **tpu** t error

Plex Media Server.log:Apr 11, 2020 20:46:51.465 [0x7eff29ffb700] DEBUG - Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Input/ou **tpu** t error

Plex Media Server.log:Apr 11, 2020 20:46:51.470 [0x7eff29ffb700] DEBUG - Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Input/ou **tpu** t error

Plex Media Server.log:Apr 11, 2020 20:46:51.475 [0x7eff29ffb700] DEBUG - Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Input/ou **tpu** t error

Plex Media Server.log:Apr 11, 2020 20:46:52.187 [0x7eff9cff9700] DEBUG - **TPU** : hardware transcoding: enabled, but no hardware decode accelerator found

Plex Media Server.log:Apr 11, 2020 20:46:52.188 [0x7eff9cff9700] DEBUG - **TPU** : hardware transcoding: zero-copy support not present

Plex Media Server.log:Apr 11, 2020 20:46:52.188 [0x7eff9cff9700] DEBUG - **TPU** : hardware transcoding: final decoder: , final encoder:

Plex Media Server.log:Apr 11, 2020 21:00:13.982 [0x7eff62ffd700] DEBUG - NAT: UPnP, ge **tPu** blicIP didn’t find usable IGD.

Binary file Plex Media Server.log matches

---

<div class="post-metadata">

**Author:** ![viktortrass](https://avatars.discourse-cdn.com/v4/letter/v/7bcc69/32.png) [@viktortrass](https://forums.plex.tv/u/viktortrass)\
**Post date:** [April 17, 2020, 10:42pm UTC](https://forums.plex.tv/t/pms-linux-1-19-1-2645-hardware-transcode-not-working/572587/2 "2020-04-17T22:42:58Z")

</div>

I have the same problem, since this update plex is no longer working, no transcoding, everything goes bad, please fix it ASAP.

---

<div class="post-metadata">

**Author:** ![cornfordb69](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/cornfordb69/32/129653_2.png) [@cornfordb69](https://forums.plex.tv/u/cornfordb69)\
**Post date:** [May 21, 2020, 11:03am UTC](https://forums.plex.tv/t/pms-linux-1-19-1-2645-hardware-transcode-not-working/572587/3 "2020-05-21T11:03:39Z")

</div>

I have the same issue too.

Centos 7

NVIDIA-SMI 440.82 Driver Version: 440.82 CUDA Version: 10.2

Attached are my debug logs:

```auto
May 21, 2020 10:56:31.870 [0x7f4d5dffb700] DEBUG - Streaming Resource: Reducing playback quality for 1428kbps stream bitrate: video resolution to 720x406, audio channels to 2, quality to 20, disable audio DS as 2147483647kbps is > the 128kbps available
May 21, 2020 10:56:31.870 [0x7f4d5dffb700] DEBUG - Codecs: testing h264_nvenc (encoder)
May 21, 2020 10:56:31.871 [0x7f4d5dffb700] DEBUG - Codecs: hardware transcoding: testing API nvenc
May 21, 2020 10:56:31.871 [0x7f4d5dffb700] ERROR - [FFMPEG] - cu->cuCtxCreate(&hwctx->cuda_ctx, 4, cu_device) failed
May 21, 2020 10:56:31.871 [0x7f4d5dffb700] ERROR - [FFMPEG] - -> CUDA_ERROR_INVALID_VALUE: invalid argument
May 21, 2020 10:56:31.871 [0x7f4d5dffb700] ERROR - [FFMPEG] - 
May 21, 2020 10:56:31.871 [0x7f4d5dffb700] DEBUG - Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Unknown error occurred
May 21, 2020 10:56:31.871 [0x7f4d5dffb700] DEBUG - Codecs: testing h264 (decoder) with hwdevice vaapi
May 21, 2020 10:56:31.871 [0x7f4d5dffb700] DEBUG - Codecs: hardware transcoding: testing API vaapi
May 21, 2020 10:56:31.871 [0x7f4d5dffb700] DEBUG - Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Input/output error
May 21, 2020 10:56:31.871 [0x7f4d5dffb700] DEBUG - Codecs: testing h264 (decoder) with hwdevice nvdec
May 21, 2020 10:56:31.871 [0x7f4d5dffb700] DEBUG - Codecs: hardware transcoding: testing API nvdec
May 21, 2020 10:56:31.872 [0x7f4d5dffb700] ERROR - [FFMPEG] - cu->cuCtxCreate(&hwctx->cuda_ctx, 4, cu_device) failed
May 21, 2020 10:56:31.872 [0x7f4d5dffb700] ERROR - [FFMPEG] - -> CUDA_ERROR_INVALID_VALUE: invalid argument
May 21, 2020 10:56:31.872 [0x7f4d5dffb700] ERROR - [FFMPEG] - 
May 21, 2020 10:56:31.872 [0x7f4d5dffb700] DEBUG - Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Unknown error occurred
May 21, 2020 10:56:31.872 [0x7f4d5dffb700] DEBUG - Scaled up video bitrate to 3885Kbps based on 1.500000x fudge factor.
May 21, 2020 10:56:31.872 [0x7f4d5dffb700] DEBUG - Scaled maximum bitrate for resolution reduction to 1232Kbps.
May 21, 2020 10:56:31.872 [0x7f4d5dffb700] DEBUG - MDE: Selected protocol dash; container: mp4
May 21, 2020 10:56:31.872 [0x7f4d5dffb700] DEBUG - MDE: analyzing media item 217912
May 21, 2020 10:56:31.872 [0x7f4d5dffb700] DEBUG - MDE: E11 - Morning Star: Direct Play is disabled
May 21, 2020 10:56:31.872 [0x7f4d5dffb700] DEBUG - MDE: E11 - Morning Star: media must be transcoded in order to use the dash protocol
May 21, 2020 10:56:31.872 [0x7f4d5dffb700] DEBUG - MDE: E11 - Morning Star: no direct play video profile exists for http/mkv/h264
May 21, 2020 10:56:31.872 [0x7f4d5dffb700] DEBUG - MDE: E11 - Morning Star: no direct play video profile exists for http/mkv/h264/aac
May 21, 2020 10:56:31.872 [0x7f4d5dffb700] DEBUG - Morning Star - video.bitrate limitation applies: 2590 > 1500
May 21, 2020 10:56:31.872 [0x7f4d5dffb700] DEBUG - Morning Star - video.bitrate limitation applies: 2590 > 1500
May 21, 2020 10:56:31.872 [0x7f4d5dffb700] DEBUG - MDE: E11 - Morning Star: no remuxable profile found, so video stream will be transcoded
May 21, 2020 10:56:31.872 [0x7f4d5dffb700] DEBUG - Codecs: testing h264_nvenc (encoder)
May 21, 2020 10:56:31.872 [0x7f4d5dffb700] DEBUG - Codecs: hardware transcoding: testing API nvenc
May 21, 2020 10:56:31.872 [0x7f4d5dffb700] ERROR - [FFMPEG] - cu->cuCtxCreate(&hwctx->cuda_ctx, 4, cu_device) failed
May 21, 2020 10:56:31.872 [0x7f4d5dffb700] ERROR - [FFMPEG] - -> CUDA_ERROR_INVALID_VALUE: invalid argument
May 21, 2020 10:56:31.872 [0x7f4d5dffb700] ERROR - [FFMPEG] - 
May 21, 2020 10:56:31.872 [0x7f4d5dffb700] DEBUG - Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Unknown error occurred
May 21, 2020 10:56:31.872 [0x7f4d5dffb700] DEBUG - Morning Star - video.bitrate limitation applies: 2590 > 1500
May 21, 2020 10:56:31.872 [0x7f4d5dffb700] DEBUG - MDE: Cannot direct stream video stream due to profile or setting limitations
May 21, 2020 10:56:31.873 [0x7f4d5dffb700] DEBUG - Codecs: testing h264 (decoder) with hwdevice vaapi
May 21, 2020 10:56:31.873 [0x7f4d5dffb700] DEBUG - Codecs: hardware transcoding: testing API vaapi
May 21, 2020 10:56:31.873 [0x7f4d5dffb700] DEBUG - Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Input/output error
May 21, 2020 10:56:31.873 [0x7f4d5dffb700] DEBUG - Codecs: testing h264 (decoder) with hwdevice nvdec
May 21, 2020 10:56:31.873 [0x7f4d5dffb700] DEBUG - Codecs: hardware transcoding: testing API nvdec
May 21, 2020 10:56:31.873 [0x7f4d5dffb700] ERROR - [FFMPEG] - cu->cuCtxCreate(&hwctx->cuda_ctx, 4, cu_device) failed
May 21, 2020 10:56:31.873 [0x7f4d5dffb700] ERROR - [FFMPEG] - -> CUDA_ERROR_INVALID_VALUE: invalid argument
May 21, 2020 10:56:31.873 [0x7f4d5dffb700] ERROR - [FFMPEG] - 
May 21, 2020 10:56:31.873 [0x7f4d5dffb700] DEBUG - Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Unknown error occurred

```

---

<div class="post-metadata">

**Author:** ![playplexe](https://avatars.discourse-cdn.com/v4/letter/p/e8c25b/32.png) [@playplexe](https://forums.plex.tv/u/playplexe)\
**Post date:** [June 11, 2020, 12:58pm UTC](https://forums.plex.tv/t/pms-linux-1-19-1-2645-hardware-transcode-not-working/572587/4 "2020-06-11T12:58:41Z")

</div>

same problem

---

<div class="post-metadata">

**Author:** ![cornfordb69](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/cornfordb69/32/129653_2.png) [@cornfordb69](https://forums.plex.tv/u/cornfordb69)\
**Post date:** [June 17, 2020, 10:21am UTC](https://forums.plex.tv/t/pms-linux-1-19-1-2645-hardware-transcode-not-working/572587/5 "2020-06-17T10:21:08Z")

</div>

Here’s the steps i took to fix the issue on Centos: [HW Transcode, Linux/Docker/Intel QVS/Nvidia P2000 - Unable to hw transcode](https://forums.plex.tv/t/hw-transcode-linux-docker-intel-qvs-nvidia-p2000-unable-to-hw-transcode/603837/4)

---

<div class="post-metadata">

**Author:** ![cornfordb69](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/cornfordb69/32/129653_2.png) [@cornfordb69](https://forums.plex.tv/u/cornfordb69)\
**Post date:** [June 17, 2020, 10:27am UTC](https://forums.plex.tv/t/pms-linux-1-19-1-2645-hardware-transcode-not-working/572587/6 "2020-06-17T10:27:15Z")

</div>

Probably something along the following lines for Ubuntu:

```auto
sudo -i
service docker stop
apt-get purge nvidia*
apt-get clean
apt-get update
apt install nvidia-driver-440
reboot

```

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [September 15, 2020, 10:27am UTC](https://forums.plex.tv/t/pms-linux-1-19-1-2645-hardware-transcode-not-working/572587/7 "2020-09-15T10:27:19Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
