# New server HEVC no hardware transcoding

**URL:** <https://forums.plex.tv/t/new-server-hevc-no-hardware-transcoding/701508>\
**Category:** Plex Media Server\
**Tags:** server-linux\
**Created:** [March 18, 2021, 3:36pm UTC](https://forums.plex.tv/t/new-server-hevc-no-hardware-transcoding/701508 "2021-03-18T15:36:00Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Crystalgipsy01](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/crystalgipsy01/32/321100_2.png) [@Crystalgipsy01](https://forums.plex.tv/u/Crystalgipsy01)\
**Post date:** [March 18, 2021, 3:36pm UTC](https://forums.plex.tv/t/new-server-hevc-no-hardware-transcoding/701508/1 "2021-03-18T15:36:00Z")

</div>

Server Version#: 1.22.0.4263  
Player Version#: latest on any

I just upgraded my Plex server from using a Nas to a 7i3BNK NuC which supports HEVC hardware acceleration. Running on Ubuntu 20.0.4 LTS However it won’t use hw for transcoding any HEVC it just goes to software and obviously it’s not up to it. I believed this was possible to use hw acceleration for HEVC? It works with HW acceleration for h264.

Any advice?

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [March 18, 2021, 3:50pm UTC](https://forums.plex.tv/t/new-server-hevc-no-hardware-transcoding/701508/2 "2021-03-18T15:50:15Z")

</div>

May I have some more info please? (I have a NUC7i3-BNK and it does just fine)

1. Hardware transcoding re-enabled in Settings - Server Transcoder ? (show advanced)
2. HDR tone mapping disabled ? (you’ll bury it if you do enable HDR)
3. If both those, then:  
a. Verify DEBUG logging ON  
b. Verify VERBOSE logging OFF  
c. Recreate the playback attempt (10 seconds of playback)  
d. Stop Playback  
e. Download Logs ZIP file  
f. Attach for me to review please

---

<div class="post-metadata">

**Author:** ![Crystalgipsy01](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/crystalgipsy01/32/321100_2.png) [@Crystalgipsy01](https://forums.plex.tv/u/Crystalgipsy01)\
**Post date:** [March 18, 2021, 4:44pm UTC](https://forums.plex.tv/t/new-server-hevc-no-hardware-transcoding/701508/3 "2021-03-18T16:44:06Z")

</div>

Done all of that..

 ![Screenshot_20210318-163655~2](https://global.discourse-cdn.com/plex/original/3X/2/b/2b6a93fb8347dd2263ca5260419dde3089d5ef1c.png) ![Screenshot_20210318-163849](https://global.discourse-cdn.com/plex/original/3X/0/4/045975c2584ce9175626cc0302648a568279acdd.jpeg)  
[Plex Media Server Logs\_2021-03-18\_16-40-07.zip](https://forums.plex.tv/uploads/short-url/cD7laZ31ivdE90NwvzVwKLThlo7.zip) (6.9 MB)

---

<div class="post-metadata">

**Author:** ![Crystalgipsy01](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/crystalgipsy01/32/321100_2.png) [@Crystalgipsy01](https://forums.plex.tv/u/Crystalgipsy01)\
**Post date:** [March 18, 2021, 8:32pm UTC](https://forums.plex.tv/t/new-server-hevc-no-hardware-transcoding/701508/4 "2021-03-18T20:32:35Z")

</div>

Ok I have uninstalled it and reinstalled it and now it’s showing hardware encoding but I get constant buffering. CPU doesn’t seem to be maxing out it’s got network bandwidth using an M2 drive so that’s fast enough. Tried this on two clients and they both buffer.

New logs attached.

[Plex Media Server Logs\_2021-03-18\_20-30-36.zip](https://forums.plex.tv/uploads/short-url/5i0vCz8qYVg30XWon1N2odIBHow.zip) (1.2 MB)

Any help greatly appreciated.

---

<div class="post-metadata">

**Author:** ![Crystalgipsy01](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/crystalgipsy01/32/321100_2.png) [@Crystalgipsy01](https://forums.plex.tv/u/Crystalgipsy01)\
**Post date:** [March 18, 2021, 9:13pm UTC](https://forums.plex.tv/t/new-server-hevc-no-hardware-transcoding/701508/5 "2021-03-18T21:13:19Z")

</div>

So turning of HDR mapping and it’s fine. But then it’s all lifted and not in correct Colourspace?

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [March 18, 2021, 9:42pm UTC](https://forums.plex.tv/t/new-server-hevc-no-hardware-transcoding/701508/6 "2021-03-18T21:42:16Z")

</div>

You are getting HW transcoding of the HEVC.

```auto
Mar 18, 2021 20:14:40.705 [0x7f225bfff700] DEBUG - [Transcode] [FFMPEG] - Created surface 0.
Mar 18, 2021 20:14:40.705 [0x7f225bfff700] DEBUG - [Transcode] [FFMPEG] - Direct mapping possible.
Mar 18, 2021 20:14:40.706 [0x7f225bfff700] DEBUG - [Transcode] TPU: hardware transcoding: final decoder: vaapi, final encoder: vaapi
Mar 18, 2021 20:14:40.707 [0x7f225bfff700] DEBUG - [Transcode/JobRunner] Job running: EAE_ROOT='/var/snap/plexmediaserver/common/tmp/pms-1bd0e254-17cf-4747-a8cd-ff8e4df49268/EasyAudioEncoder' FFMPEG_EXTERNAL_LIBS='/var/snap/plexmediaserver/common/Library/Application\ Support/Plex\ Media\ Server/Codecs/367b3d4-3673-linux-x86_64/' LIBVA_DRIVERS_PATH='/snap/plexmediaserver/185/lib/dri' X_PLEX_TOKEN=xxxxxxxxxxxxxxxxxxxxk' '/snap/plexmediaserver/185/Plex Transcoder' '-codec:0' 'hevc' '-hwaccel:0' 'vaapi' '-hwaccel_fallback_threshold:0' '10' '-hwaccel_output_format:0' 'vaapi' '-hwaccel_device:0' 'vaapi' '-codec:1' 'eac3_eae' '-eae_prefix:1' 'fc362130abe2648f-com-plexapp-android_' '-analyzeduration' '20000000' '-probesize' '20000000' '-i' '/media/videos/MOVIES/Love.and.Monsters.2020.UHD.1080p.BluRay.DD+7.1.HDR.x265-SPHD/Love.and.Monsters.2020.UHD.1080p.BluRay.DD+7.1.HDR.x265-SPHD.mkv' '-filter_complex' '[0:0]hwupload[0];[0]scale_vaapi=w=1920:h=800:format=p010[1];[1]hwdownload[2];[2]format=p010,tonemap=mobius[3];[3]hwupload[4]' '-map' '[4]' '-codec:0' 'h264_vaapi' '-b:0' '8099k' '-maxrate:0' '10799k' '-bufsize:0' '21598k' '-r:0' '23.975999999999999' '-force_key_frames:0' 'expr:gte(t,n_forced*1)' '-filter_complex' '[0:1] aresample=async=1:ocl='\''5.1(side)'\'':rematrix_maxval=0.000000dB:osr=48000[5]' '-map' '[5]' '-metadata:s:1' 'language=eng' '-codec:1' 'eac3_eae' '-eae_prefix:1' 'fc362130abe2648f-com-plexapp-android_' '-b:1' '564k' '-segment_format' 'matroska' '-f' 'ssegment' '-individual_header_trailer' '0' '-flags' '+global_header' '-segment_format_options' 'output_ts_offset=10' '-segment_header_filename' 'header' '-segment_time' '1' '-segment_start_number' '0' '-segment_copyts' '1' '-segment_time_delta' '0.0625' '-segment_list' 'http://127.0.0.1:32400/video/:/transcode/session/fc362130abe2648f-com-plexapp-android/2b9530ac-c3f1-47cf-a829-048857ab0832/seglist?X-Plex-Http-Pipeline=infinite' '-segment_list_type' 'csv' '-segment_list_size' '5' '-segment_list_separate_stream_times' '1' '-segment_list_unfinished' '1' '-max_delay' '5000000' '-avoid_negative_ts' 'disabled' '-map_metadata:g' '-1' '-map_metadata:c' '-1' '-map_chapters' '-1' 'media-%05d.ts' '-start_at_zero' '-copyts' '-vsync' 'cfr' '-init_hw_device' 'vaapi=vaapi:' '-filter_hw_device' 'vaapi' '-y' '-nostats' '-loglevel' 'quiet' '-loglevel_plex' 'error' '-progressurl' 'http://127.0.0.1:32400/video/:/transcode/session/fc362130abe2648f-com-plexapp-android/2b9530ac-c3f1-47cf-a829-048857ab0832/progress'

```

I don’t yet know why it’s not showing in the Web app dashboard display.

When you get to using HDR, if the Beignet packages are installed, you’ll also get HW tonemapping.

---

<div class="post-metadata">

**Author:** ![Crystalgipsy01](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/crystalgipsy01/32/321100_2.png) [@Crystalgipsy01](https://forums.plex.tv/u/Crystalgipsy01)\
**Post date:** [March 18, 2021, 10:15pm UTC](https://forums.plex.tv/t/new-server-hevc-no-hardware-transcoding/701508/9 "2021-03-18T22:15:46Z")

</div>

I installed those packages now and rebooted but I just get buffering with tone mapping enabled still exactly the same. If I turn it off it plays fine but looks obviously wrong and It shows as hardware decoding.

---

<div class="post-metadata">

**Author:** ![Crystalgipsy01](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/crystalgipsy01/32/321100_2.png) [@Crystalgipsy01](https://forums.plex.tv/u/Crystalgipsy01)\
**Post date:** [March 19, 2021, 12:45pm UTC](https://forums.plex.tv/t/new-server-hevc-no-hardware-transcoding/701508/10 "2021-03-19T12:45:51Z")

</div>

[Plex Media Server Logs\_2021-03-19\_12-44-07.zip](https://forums.plex.tv/uploads/short-url/9iYqYGEM4JWu6VacmHFxXFmC5Bg.zip) (3.6 MB)

New logs after all depandancies installed and updated drivers. Still the same hdr tone mapping kills it.

---

<div class="post-metadata">

**Author:** ![Crystalgipsy01](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/crystalgipsy01/32/321100_2.png) [@Crystalgipsy01](https://forums.plex.tv/u/Crystalgipsy01)\
**Post date:** [March 21, 2021, 4:34pm UTC](https://forums.plex.tv/t/new-server-hevc-no-hardware-transcoding/701508/11 "2021-03-21T16:34:38Z")

</div>

Got this to work finally. I fully removed it again and installed again by apt this time not snap. And it’s picked it all up and works. Transcoding UHD HEVC with tone mapping.

---

<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:** [June 19, 2021, 4:35pm UTC](https://forums.plex.tv/t/new-server-hevc-no-hardware-transcoding/701508/12 "2021-06-19T16:35:25Z")

</div>

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