Can Jasper Lake N6005 use hardware transcoding?

I have an Asus PN41 with N6005 CPU. The iGPU is Jasper Lake 32 EU. I cannot seem to get the hardware transcoding work. Can someone please tell me whether this CPU is supported, or maybe provide me with some troubleshooting steps?

The OS is Ubuntu server 21.10 running headless on bare metal. The PMS version is 1.25.0.5220.

Here is the output of vainfo:

error: XDG_RUNTIME_DIR not set in the environment.
error: can't connect to X server!
libva info: VA-API version 1.12.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_12
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.12 (libva 2.10.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 21.3.3 ()
vainfo: Supported profile and entrypoints
      VAProfileNone                   : VAEntrypointVideoProc
      VAProfileNone                   : VAEntrypointStats
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSliceLP
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSliceLP
      VAProfileJPEGBaseline           : VAEntrypointVLD
      VAProfileJPEGBaseline           : VAEntrypointEncPicture
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
      VAProfileVP8Version0_3          : VAEntrypointVLD
      VAProfileHEVCMain               : VAEntrypointVLD
      VAProfileHEVCMain               : VAEntrypointEncSliceLP
      VAProfileHEVCMain10             : VAEntrypointVLD
      VAProfileHEVCMain10             : VAEntrypointEncSliceLP
      VAProfileVP9Profile0            : VAEntrypointVLD
      VAProfileVP9Profile1            : VAEntrypointVLD
      VAProfileVP9Profile2            : VAEntrypointVLD
      VAProfileVP9Profile3            : VAEntrypointVLD
      VAProfileHEVCMain422_10         : VAEntrypointVLD
      VAProfileHEVCMain444            : VAEntrypointVLD
      VAProfileHEVCMain444            : VAEntrypointEncSliceLP
      VAProfileHEVCMain444_10         : VAEntrypointVLD
      VAProfileHEVCMain444_10         : VAEntrypointEncSliceLP

And here is the log:
Plex Media Server Logs_2021-11-16_21-25-23.zip (1.7 MB)

according to the logs, hardware transcoding is working perfectly.

Nov 16, 2021 16:27:05.465 [0x7f5608aacb38] DEBUG - [Transcode/dffa821dcc82ae25-com-plexapp-android] [FFMPEG] - Format 0x33434d49 -> unknown.
Nov 16, 2021 16:27:05.465 [0x7f5608aacb38] DEBUG - [Transcode/dffa821dcc82ae25-com-plexapp-android] [FFMPEG] - Format 0x30313050 -> p010le.
Nov 16, 2021 16:27:05.465 [0x7f5608aacb38] DEBUG - [Transcode/dffa821dcc82ae25-com-plexapp-android] [FFMPEG] - Format 0x30313259 -> y210le.
Nov 16, 2021 16:27:05.465 [0x7f5608aacb38] DEBUG - [Transcode/dffa821dcc82ae25-com-plexapp-android] [FFMPEG] - Format 0x30313459 -> unknown.
Nov 16, 2021 16:27:05.465 [0x7f5608aacb38] DEBUG - [Transcode/dffa821dcc82ae25-com-plexapp-android] [FFMPEG] - Created surface 0.
Nov 16, 2021 16:27:05.465 [0x7f5608aacb38] DEBUG - [Transcode/dffa821dcc82ae25-com-plexapp-android] [FFMPEG] - Direct mapping possible.
Nov 16, 2021 16:27:05.466 [0x7f5608aacb38] DEBUG - [Transcode/dffa821dcc82ae25-com-plexapp-android] TPU: hardware transcoding: final decoder: vaapi, final encoder: vaapi
Nov 16, 2021 16:27:05.466 [0x7f5608aacb38] DEBUG - [Transcode/dffa821dcc82ae25-com-plexapp-android/JobRunner] Job running: FFMPEG_EXTERNAL_LIBS='/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Codecs/ea7e8c9-4118-linux-x86_64/' LIBVA_DRIVERS_PATH='/usr/lib/plexmediaserver/lib/dri' XDG_CACHE_HOME='/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Cache' XDG_DATA_HOME='/usr/lib/plexmediaserver/Resources' X_PLEX_TOKEN='xxxxxxxxxxxxxxxxxxxx' '/usr/lib/plexmediaserver/Plex Transcoder' '-codec:0' 'hevc' '-hwaccel:0' 'vaapi' '-hwaccel_fallback_threshold:0' '10' '-hwaccel_device:0' 'vaapi' '-codec:1' 'aac' '-analyzeduration' '20000000' '-probesize' '20000000' '-i' '/mnt/data/Media/Anime/Edens.Zero/Edens.Zero.E14.WebRip.1080p.HEVC_10bit.AAC-DMG&LoliHouse.mkv' '-map_inlineass' '0:2' '-filter_complex' '[0:0]scale=w=1920:h=1080:force_divisible_by=4[0];[0]format=pix_fmts=nv12[1];[1]inlineass=font_scale=1.000000:font_path=/usr/lib/plexmediaserver/Resources/Fonts/NotoSans-Medium.otf:fontconfig_file=/usr/lib/plexmediaserver/Resources/fonts.conf:language=zh[2];[2]hwupload[3]' '-map' '[3]' '-metadata:s:0' 'language=jpn' '-codec:0' 'h264_vaapi' '-b:0' '5544k' '-maxrate:0' '7393k' '-bufsize:0' '14786k' '-r:0' '23.975999999999999' '-force_key_frames:0' 'expr:gte(t,n_forced*1)' '-filter_complex' '[0:1] aresample=async=1:ocl='\''stereo'\'':rematrix_maxval=0.000000dB:osr=48000[4]' '-map' '[4]' '-metadata:s:1' 'language=jpn' '-codec:1' 'libopus' '-b:1' '109k' '-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/dffa821dcc82ae25-com-plexapp-android/034414f1-00fb-469f-83ab-a62078a589c1/manifest?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' '-map' '0:2' '-f' 'null' '-codec' 'ass' 'nullfile' '-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/dffa821dcc82ae25-com-plexapp-android/034414f1-00fb-469f-83ab-a62078a589c1/progress'
Nov 16, 2021 16:27:05.468 [0x7f5608aacb38] DEBUG - [Transcode/dffa821dcc82ae25-com-plexapp-android/JobRunner] Jobs: Starting child process with pid 5416

You do have a problem with your networking

Nov 16, 2021 16:29:57.924 [0x7f5608c21b38] DEBUG - [Transcode] Streaming Resource: Removing session 0x7f560889a488:dffa821dcc82ae25-com-plexapp-android
Nov 16, 2021 16:31:26.416 [0x7f5608cd0b38] DEBUG - NetworkInterface: received Netlink message len=64, type=RTM_NEWLINK, flags=0x0
Nov 16, 2021 16:31:26.416 [0x7f5608cd0b38] DEBUG - NetworkInterface: Netlink information message family=0, type=1, index=3, flags=0x1003, change=0x0
Nov 16, 2021 16:31:26.416 [0x7f5608cd0b38] DEBUG - Network change.
Nov 16, 2021 16:31:26.416 [0x7f5608cd0b38] DEBUG - NetworkInterface: Notified of network changed (force=0)
Nov 16, 2021 16:31:26.416 [0x7f5608cd0b38] DEBUG - Network change notification but nothing changed.
Nov 16, 2021 16:33:27.688 [0x7f5608cd0b38] DEBUG - NetworkInterface: received Netlink message len=64, type=RTM_NEWLINK, flags=0x0
Nov 16, 2021 16:33:27.688 [0x7f5608cd0b38] DEBUG - NetworkInterface: Netlink information message family=0, type=1, index=3, flags=0x1003, change=0x0
Nov 16, 2021 16:33:27.688 [0x7f5608cd0b38] DEBUG - Network change.
Nov 16, 2021 16:33:27.688 [0x7f5608cd0b38] DEBUG - NetworkInterface: Notified of network changed (force=0)
Nov 16, 2021 16:33:27.689 [0x7f5608cd0b38] DEBUG - Network change notification but nothing changed.
Nov 16, 2021 16:35:28.248 [0x7f5608cd0b38] DEBUG - NetworkInterface: received Netlink message len=64, type=RTM_NEWLINK, flags=0x0
Nov 16, 2021 16:35:28.248 [0x7f5608cd0b38] DEBUG - NetworkInterface: Netlink information message family=0, type=1, index=3, flags=0x1003, change=0x0
Nov 16, 2021 16:35:28.248 [0x7f5608cd0b38] DEBUG - Network change.
Nov 16, 2021 16:35:28.248 [0x7f5608cd0b38] DEBUG - NetworkInterface: Notified of network changed (force=0)
Nov 16, 2021 16:35:28.249 [0x7f5608cd0b38] DEBUG - Network change notification but nothing changed.
Nov 16, 2021 16:37:29.699 [0x7f5608cd0b38] DEBUG - NetworkInterface: received Netlink message len=64, type=RTM_NEWLINK, flags=0x0
Nov 16, 2021 16:37:29.699 [0x7f5608cd0b38] DEBUG - NetworkInterface: Netlink information message family=0, type=1, index=3, flags=0x1003, change=0x0
Nov 16, 2021 16:37:29.699 [0x7f5608cd0b38] DEBUG - Network change.
Nov 16, 2021 16:37:29.699 [0x7f5608cd0b38] DEBUG - NetworkInterface: Notified of network changed (force=0)
Nov 16, 2021 16:37:29.699 [0x7f5608cd0b38] DEBUG - Network change notification but nothing changed.
Nov 16, 2021 16:38:20.154 [0x7f5609450b38] DEBUG - [EventSourceClient/pubsub] Failure in IdleTimeout (0 - No error information).
Nov 16, 2021 16:38:20.154 [0x7f5609450b38] DEBUG - [EventSourceClient/pubsub] MyPlex: We appear to have lost Internet connectivity, resetting device URL cache.
Nov 16, 2021 16:38:20.154 [0x7f5609450b38] ERROR - [EventSourceClient/pubsub] Retrying in 15 seconds.
Nov 16, 2021 16:38:35.165 [0x7f5609473b38] DEBUG - [EventSourceClient/pubsub] Resolving 139.162.75.196 port 443
Nov 16, 2021 16:38:35.165 [0x7f5609473b38] DEBUG - [EventSourceClient/pubsub] Resolved 139.162.75.196 to 139.162.75.196
Nov 16, 2021 16:38:41.407 [0x7f5609473b38] DEBUG - [EventSourceClient/pubsub] Failure in Handshake (1 - stream truncated).
Nov 16, 2021 16:38:41.407 [0x7f5609473b38] ERROR - [EventSourceClient/pubsub] Retrying in 30 seconds.
Nov 16, 2021 16:39:11.433 [0x7f5609450b38] DEBUG - [EventSourceClient/pubsub] Resolving 139.162.75.196 port 443
Nov 16, 2021 16:39:11.433 [0x7f5609450b38] DEBUG - [EventSourceClient/pubsub] Resolved 139.162.75.196 to 139.162.75.196
Nov 16, 2021 16:39:16.941 [0x7f5609450b38] DEBUG - [EventSourceClient/pubsub] Failure in Handshake (1 - stream truncated).
Nov 16, 2021 16:39:16.941 [0x7f5609450b38] DEBUG - [EventSourceClient/pubsub/PubsubServerManager/getNextWorkingHost/hnd] 2 total hosts available in region, starting tests
Nov 16, 2021 16:39:18.347 [0x7f5609450b38] DEBUG - [EventSourceClient/pubsub/PubsubServerManager/getNextWorkingHost/hnd/base] Stopping.
Nov 16, 2021 16:39:18.348 [0x7f5609450b38] DEBUG - [EventSourceClient/pubsub/PubsubServerManager/getNextWorkingHost/hnd] Switching to next host in region: 139.162.120.52
Nov 16, 2021 16:39:18.349 [0x7f5609450b38] DEBUG - [EventSourceClient/pubsub/PubsubServerManager/getNextWorkingHost/hnd] Stopping.
Nov 16, 2021 16:39:18.349 [0x7f5609450b38] DEBUG - [EventSourceClient/pubsub/PubsubServerManager/getNextWorkingHost/hnd] Resolving 139.162.120.52 port 443
Nov 16, 2021 16:39:18.350 [0x7f5609473b38] DEBUG - [EventSourceClient/pubsub] Resolved 139.162.120.52 to 139.162.120.52
Nov 16, 2021 16:39:19.624 [0x7f5609473b38] DEBUG - [EventSourceClient/pubsub] Connected in 1173 ms.
Nov 16, 2021 16:39:19.624 [0x7f5609473b38] DEBUG - [EventSourceClient/pubsub] Wrote data, reading reply.
Nov 16, 2021 16:39:20.772 [0x7f5609450b38] DEBUG - [EventSourceClient/pubsub] Read HTTP reply header.
Nov 16, 2021 16:39:20.772 [0x7f5609450b38] DEBUG - [EventSourceClient/pubsub] MyPlex: We appear to have regained Internet connectivity.
Nov 16, 2021 16:39:20.774 [0x7f5609450b38] DEBUG - [EventSourceClient/pubsub] PublicAddressManager: Obtaining public address and mapping port.
Nov 16, 2021 16:39:20.774 [0x7f5609450b38] DEBUG - [EventSourceClient/pubsub] MyPlex: async reachability check - current mapped state: 'Mapped - Not Published (Not Reachable)'.
Nov 16, 2021 16:39:20.774 [0x7f5609450b38] DEBUG - [EventSourceClient/pubsub] MyPlex: Requesting reachability check.
Nov 16, 2021 16:39:20.774 [0x7f5608852b38] DEBUG - [EventSourceClient/pubsub] PublicAddressManager: Obtaining public IP.
Nov 16, 2021 16:39:20.774 [0x7f5608852b38] DEBUG - [EventSourceClient/pubsub] HTTP requesting GET http://plex.tv/pms/:/ip
Nov 16, 2021 16:39:20.774 [0x7f5609450b38] DEBUG - [EventSourceClient/pubsub] HTTP requesting PUT https://plex.tv/api/servers/7bce3d062ed6110d4d2481d4cf295c02432e021b/connectivity?X-Plex-Token=xxxxxxxxxxxxxxxxxxxx&asyncIdentifier=61693320-1559-4d18-8355-a85b3c3a8ea7
Nov 16, 2021 16:39:21.269 [0x7f5608852b38] DEBUG - [EventSourceClient/pubsub] HTTP/1.1 (0.5s) 200 response from GET http://plex.tv/pms/:/ip
Nov 16, 2021 16:39:21.269 [0x7f5608852b38] DEBUG - [EventSourceClient/pubsub] PublicAddressManager: Got public IP from http://plex.tv: 114.218.97.63
Nov 16, 2021 16:39:21.782 [0x7f5609450b38] DEBUG - [EventSourceClient/pubsub] HTTP/1.1 (1.0s) 200 response from PUT https://plex.tv/api/servers/7bce3d062ed6110d4d2481d4cf295c02432e021b/connectivity?X-Plex-Token=xxxxxxxxxxxxxxxxxxxx&asyncIdentifier=61693320-1559-4d18-8355-a85b3c3a8ea7
Nov 16, 2021 16:39:21.782 [0x7f5609450b38] DEBUG - [EventSourceClient/pubsub] Successfully connected to 139.162.120.52.
Nov 16, 2021 16:39:24.346 [0x7f5608852b38] DEBUG - [EventSourceClient/pubsub] NAT: UPnP, found device <http://192.168.233.1:54600/rootDesc.xml> with private address <192.168.233.11>
Nov 16, 2021 16:39:24.362 [0x7f5608852b38] DEBUG - [EventSourceClient/pubsub] NAT: UPnP, usable device <http://192.168.233.1:54600/rootDesc.xml> with private address <192.168.233.11>.
Nov 16, 2021 16:39:24.370 [0x7f5608852b38] DEBUG - [EventSourceClient/pubsub] NAT: UPnP, public address is 114.218.97.63
Nov 16, 2021 16:39:24.370 [0x7f5608852b38] DEBUG - [EventSourceClient/pubsub] HTTP requesting GET https://114-218-97-63.8edde2fc89704be48c03503cba9e525f.plex.direct:32400/identity
Nov 16, 2021 16:39:24.384 [0x7f5608c44b38] DEBUG - Request: [192.168.233.1:55608 (Subnet)] GET /identity (3 live) TLS GZIP Signed-in
Nov 16, 2021 16:39:24.385 [0x7f5608852b38] DEBUG - [EventSourceClient/pubsub] HTTP/1.1 (0.0s) 200 response from GET https://114-218-97-63.8edde2fc89704be48c03503cba9e525f.plex.direct:32400/identity
Nov 16, 2021 16:39:24.385 [0x7f5608852b38] DEBUG - [EventSourceClient/pubsub] MyPlex: mapping state set to 'Mapped - Not Published'.
Nov 16, 2021 16:39:24.385 [0x7f5609450b38] DEBUG - Completed: [192.168.233.1:55608] 200 GET /identity (3 live) TLS GZIP 1ms 478 bytes (pipelined: 1)
Nov 16, 2021 16:39:24.385 [0x7f5608852b38] DEBUG - [EventSourceClient/pubsub] MyPlex: Updating device connections (from timer: 0)
Nov 16, 2021 16:39:24.386 [0x7f5608852b38] DEBUG - [EventSourceClient/pubsub] HTTP requesting PUT https://plex.tv/devices/7bce3d062ed6110d4d2481d4cf295c02432e021b?Connection[][uri]=http://192.168.233.11:32400&httpsEnabled=1&httpsRequired=0&dnsRebindingProtection=0&natLoopbackSupported=1&X-Plex-Token=xxxxxxxxxxxxxxxxxxxx
Nov 16, 2021 16:39:24.653 [0x7f5608852b38] DEBUG - [EventSourceClient/pubsub] HTTP/1.1 (0.3s) 200 response from PUT https://plex.tv/devices/7bce3d062ed6110d4d2481d4cf295c02432e021b?Connection[][uri]=http://192.168.233.11:32400&httpsEnabled=1&httpsRequired=0&dnsRebindingProtection=0&natLoopbackSupported=1&X-Plex-Token=xxxxxxxxxxxxxxxxxxxx (reused)
Nov 16, 2021 16:39:26.917 [0x7f5609473b38] DEBUG - CERT: incomplete TLS handshake from [::ffff:46.51.207.89]:60218: stream truncated
Nov 16, 2021 16:39:27.268 [0x7f5609450b38] DEBUG - EventSource: Got event [data] '<Message address="114.218.97.63" port="32400" asyncIdentifier="61693320-1559-4d18-8355-a85b3c3a8ea7" connectivity="0" command="notifyConnectivity"/>'
Nov 16, 2021 16:39:27.268 [0x7f5609450b38] DEBUG - PubSub: Got notified of reachability for async identifier 61693320-1559-4d18-8355-a85b3c3a8ea7: 0 for 114.218.97.63:32400 (responded in 5486 ms)
Nov 16, 2021 16:39:27.268 [0x7f5609450b38] DEBUG - MyPlex: reachability check - current mapping state: 'Mapped - Not Published'.
Nov 16, 2021 16:39:27.268 [0x7f5609450b38] DEBUG - MyPlex: mapping state set to 'Mapped - Not Published (Not Reachable)'.
Nov 16, 2021 16:39:30.351 [0x7f5608cd0b38] DEBUG - NetworkInterface: received Netlink message len=64, type=RTM_NEWLINK, flags=0x0
Nov 16, 2021 16:39:30.351 [0x7f5608cd0b38] DEBUG - NetworkInterface: Netlink information message family=0, type=1, index=3, flags=0x1003, change=0x0
Nov 16, 2021 16:39:30.351 [0x7f5608cd0b38] DEBUG - Network change.
Nov 16, 2021 16:39:30.351 [0x7f5608cd0b38] DEBUG - NetworkInterface: Notified of network changed (force=0)
Nov 16, 2021 16:39:30.351 [0x7f5608cd0b38] DEBUG - Network change notification but nothing changed.
Nov 16, 2021 16:41:31.427 [0x7f5608cd0b38] DEBUG - NetworkInterface: received Netlink message len=64, type=RTM_NEWLINK, flags=0x0
Nov 16, 2021 16:41:31.427 [0x7f5608cd0b38] DEBUG - NetworkInterface: Netlink information message family=0, type=1, index=3, flags=0x1003, change=0x0
Nov 16, 2021 16:41:31.427 [0x7f5608cd0b38] DEBUG - Network change.
Nov 16, 2021 16:41:31.427 [0x7f5608cd0b38] DEBUG - NetworkInterface: Notified of network changed (force=0)
Nov 16, 2021 16:41:31.427 [0x7f5608cd0b38] DEBUG - Network change notification but nothing changed.
Nov 16, 2021 16:43:32.684 [0x7f5608cd0b38] DEBUG - NetworkInterface: received Netlink message len=64, type=RTM_NEWLINK, flags=0x0
Nov 16, 2021 16:43:32.684 [0x7f5608cd0b38] DEBUG - NetworkInterface: Netlink information message family=0, type=1, index=3, flags=0x1003, change=0x0
Nov 16, 2021 16:43:32.684 [0x7f5608cd0b38] DEBUG - Network change.
Nov 16, 2021 16:43:32.684 [0x7f5608cd0b38] DEBUG - NetworkInterface: Notified of network changed (force=0)
Nov 16, 2021 16:43:32.684 [0x7f5608cd0b38] DEBUG - Network change notification but nothing changed.
Nov 16, 2021 16:45:33.021 [0x7f5608cd0b38] DEBUG - NetworkInterface: received Netlink message len=64, type=RTM_NEWLINK, flags=0x0
Nov 16, 2021 16:45:33.021 [0x7f5608cd0b38] DEBUG - NetworkInterface: Netlink information message family=0, type=1, index=3, flags=0x1003, change=0x0
Nov 16, 2021 16:45:33.021 [0x7f5608cd0b38] DEBUG - Network change.
Nov 16, 2021 16:45:33.021 [0x7f5608cd0b38] DEBUG - NetworkInterface: Notified of network changed (force=0)
Nov 16, 2021 16:45:33.021 [0x7f5608cd0b38] DEBUG - Network change notification but nothing changed.
Nov 16, 2021 16:47:34.684 [0x7f5608cd0b38] DEBUG - NetworkInterface: received Netlink message len=64, type=RTM_NEWLINK, flags=0x0
Nov 16, 2021 16:47:34.684 [0x7f5608cd0b38] DEBUG - NetworkInterface: Netlink information message family=0, type=1, index=3, flags=0x1003, change=0x0
Nov 16, 2021 16:47:34.684 [0x7f5608cd0b38] DEBUG - Network change.
Nov 16, 2021 16:47:34.684 [0x7f5608cd0b38] DEBUG - NetworkInterface: Notified of network changed (force=0)
Nov 16, 2021 16:47:34.684 [0x7f5608cd0b38] DEBUG - Network change notification but nothing changed.
Nov 16, 2021 16:49:34.585 [0x7f5608cd0b38] DEBUG - NetworkInterface: received Netlink message len=64, type=RTM_NEWLINK, flags=0x0
Nov 16, 2021 16:49:34.585 [0x7f5608cd0b38] DEBUG - NetworkInterface: Netlink information message family=0, type=1, index=3, flags=0x1003, change=0x0
Nov 16, 2021 16:49:34.585 [0x7f5608cd0b38] DEBUG - Network change.
Nov 16, 2021 16:49:34.585 [0x7f5608cd0b38] DEBUG - NetworkInterface: Notified of network changed (force=0)
Nov 16, 2021 16:49:34.586 [0x7f5608cd0b38] DEBUG - Network change notification but nothing changed.
Nov 16, 2021 16:51:35.446 [0x7f5608cd0b38] DEBUG - NetworkInterface: received Netlink message len=64, type=RTM_NEWLINK, flags=0x0
Nov 16, 2021 16:51:35.446 [0x7f5608cd0b38] DEBUG - NetworkInterface: Netlink information message family=0, type=1, index=3, flags=0x1003, change=0x0
Nov 16, 2021 16:51:35.446 [0x7f5608cd0b38] DEBUG - Network change.
Nov 16, 2021 16:51:35.446 [0x7f5608cd0b38] DEBUG - NetworkInterface: Notified of network changed (force=0)
Nov 16, 2021 16:51:35.446 [0x7f5608cd0b38] DEBUG - Network change notification but nothing changed.
Nov 16, 2021 16:53:36.699 [0x7f5608cd0b38] DEBUG - NetworkInterface: received Netlink message len=64, type=RTM_NEWLINK, flags=0x0
Nov 16, 2021 16:53:36.699 [0x7f5608cd0b38] DEBUG - NetworkInterface: Netlink information message family=0, type=1, index=3, flags=0x1003, change=0x0
Nov 16, 2021 16:53:36.699 [0x7f5608cd0b38] DEBUG - Network change.
Nov 16, 2021 16:53:36.699 [0x7f5608cd0b38] DEBUG - NetworkInterface: Notified of network changed (force=0)
Nov 16, 2021 16:53:36.699 [0x7f5608cd0b38] DEBUG - Network change notification but nothing changed.
Nov 16, 2021 16:55:26.531 [0x7f5608898b38] DEBUG - Sync: uploadStatus
Nov 16, 2021 16:55:28.314 [0x7f5608c21b38] DEBUG - PublicAddressManager: Obtaining public address and mapping port.
Nov 16, 2021 16:55:28.314 [0x7f5608c21b38] DEBUG - PublicAddressManager: Obtaining public IP.
Nov 16, 2021 16:55:28.314 [0x7f5608c21b38] DEBUG - HTTP requesting GET http://plex.tv/pms/:/ip
Nov 16, 2021 16:55:28.811 [0x7f5608c21b38] DEBUG - HTTP/1.1 (0.5s) 200 response from GET http://plex.tv/pms/:/ip
Nov 16, 2021 16:55:28.811 [0x7f5608c21b38] DEBUG - PublicAddressManager: Got public IP from http://plex.tv: 114.218.97.63
Nov 16, 2021 16:55:31.891 [0x7f5608c21b38] DEBUG - NAT: UPnP, found device <http://192.168.233.1:54600/rootDesc.xml> with private address <192.168.233.11>
Nov 16, 2021 16:55:31.910 [0x7f5608c21b38] DEBUG - NAT: UPnP, usable device <http://192.168.233.1:54600/rootDesc.xml> with private address <192.168.233.11>.
Nov 16, 2021 16:55:31.920 [0x7f5608c21b38] DEBUG - NAT: UPnP, public address is 114.218.97.63
Nov 16, 2021 16:55:31.920 [0x7f5608c21b38] DEBUG - HTTP requesting GET https://114-218-97-63.8edde2fc89704be48c03503cba9e525f.plex.direct:32400/identity
Nov 16, 2021 16:55:31.935 [0x7f5608c44b38] DEBUG - Request: [192.168.233.1:55610 (Subnet)] GET /identity (2 live) TLS GZIP Signed-in
Nov 16, 2021 16:55:31.936 [0x7f5608c21b38] DEBUG - HTTP/1.1 (0.0s) 200 response from GET https://114-218-97-63.8edde2fc89704be48c03503cba9e525f.plex.direct:32400/identity
Nov 16, 2021 16:55:31.937 [0x7f5608c21b38] DEBUG - MyPlex: mapping state set to 'Mapped - Not Published'.
Nov 16, 2021 16:55:31.937 [0x7f5609473b38] DEBUG - Completed: [192.168.233.1:55610] 200 GET /identity (2 live) TLS GZIP 1ms 478 bytes (pipelined: 1)

DHCP interval too short?
Running the server on WiFi and the signal too weak (server on Wifi is a bad idea anyway)

Running headless can also cause problems, for troubleshooting you should connect a monitor or hdmi dummy plug to keep the gpu active.

There is indeed an initial spike of GPU usage in intel_gpu_top when the video starts to play, but no activity afterwards. There is no (hw) label in the dashboard, and the CPU usage hits 100%. I’ll buy a dummy HDMI plug to see if it helps, but more suggestions and troubleshooting steps are welcome.

Also, thanks for pointing out the network issue. The server is connected via Ethernet cable and has a static ip. I’ll try to find out what happened.

I’ll give it a go. Thanks for the suggestion

@ChuckPa

The hardware transcoding is still not working with HDMI connected. intel_gpu_top shows some activity from desktop rendering but that’s it.

Recent logs:
Plex Media Server Logs_2021-11-22_16-05-42.zip (3.9 MB)

Ethan,

You are getting HW transcoding.

Nov 22, 2021 16:05:04.553 [0x7ff2e900bb38] DEBUG - [Transcode/b47b73409a0eaa5e-com-plexapp-android] [FFMPEG] - Created surface 0.
Nov 22, 2021 16:05:04.553 [0x7ff2e900bb38] DEBUG - [Transcode/b47b73409a0eaa5e-com-plexapp-android] [FFMPEG] - Direct mapping possible.
Nov 22, 2021 16:05:04.553 [0x7ff2e900bb38] DEBUG - [Transcode/b47b73409a0eaa5e-com-plexapp-android] TPU: hardware transcoding: final decoder: vaapi, final encoder: vaapi
Nov 22, 2021 16:05:04.554 [0x7ff2e900bb38] DEBUG - [Transcode/b47b73409a0eaa5e-com-plexapp-android/JobRunner] Job running: FFMPEG_EXTERNAL_LIBS='/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Codecs/ea7e8c9-4118-linux-x86_64/' LIBVA_DRIVERS_PATH='/usr/lib/plexmediaserver/lib/dri' XDG_CACHE_HOME='/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Cache' XDG_DATA_HOME='/usr/lib/plexmediaserver/Resources' X_PLEX_TOKEN='xxxxxxxxxxxxxxxxxxxx' '/usr/lib/plexmediaserver/Plex Transcoder' '-codec:0' 'h264' '-hwaccel:0' 'vaapi' '-hwaccel_fallback_threshold:0' '10' '-hwaccel_device:0' 'vaapi' '-analyzeduration' '20000000' '-probesize' '20000000' '-i' '/mnt/Media/Anime/Detective.Conan/Detective.Conan.E17.1080p.DR.AVC.AAC-SBSUB.mkv' '-map_inlineass' '0:2' '-filter_complex' '[0:0]scale=w=1920:h=1080:force_divisible_by=4[0];[0]format=pix_fmts=nv12[1];[1]inlineass=font_scale=1.000000:font_path=/usr/lib/plexmediaserver/Resources/Fonts/NotoSans-Medium.otf:fontconfig_file=/usr/lib/plexmediaserver/Resources/fonts.conf:language=zh[2];[2]hwupload[3]' '-map' '[3]' '-codec:0' 'h264_vaapi' '-b:0' '3648k' '-maxrate:0' '4864k' '-bufsize:0' '9728k' '-r:0' '23.975999999999999' '-force_key_frames:0' 'expr:gte(t,n_forced*1)' '-map' '0:1' '-codec:1' 'copy' '-copypriorss:1' '0' '-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/b47b73409a0eaa5e-com-plexapp-android/73056d6e-af5c-44e3-9e5a-6984f4b6f0a9/manifest?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' '-map' '0:2' '-f' 'null' '-codec' 'ass' 'nullfile' '-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/b47b73409a0eaa5e-com-plexapp-android/73056d6e-af5c-44e3-9e5a-6984f4b6f0a9/progress'
Nov 22, 2021 16:05:04.554 [0x7ff2e900bb38] DEBUG - [Transcode/b47b73409a0eaa5e-com-plexapp-android/JobRunner] Jobs: Starting child process with pid 3432
Nov 22, 2021 16:05:04.566 [0x7ff2e9481b38] DEBUG - Request: [127.0.0.1:58186 (Loopback)] PUT /video/:/transcode/session/b47b73409a0eaa5e-com-plexapp-android/73056d6e-af5c-44e3-9e5a-6984f4b6f0a9/progress?status=startup (23 live) Signed-in Token (realEthanZou) (range: bytes=0-) 

What’s happening for you is subtitle burning (CPU only)

Nov 22, 2021 16:05:04.962 [0x7ff2eab88b38] DEBUG - MDE: analyzing media item 578
Nov 22, 2021 16:05:04.962 [0x7ff2eab88b38] DEBUG - MDE: E17 - 百货公司挟持事件: Direct Play is disabled
Nov 22, 2021 16:05:04.962 [0x7ff2eab88b38] DEBUG - MDE: E17 - 百货公司挟持事件: media must be transcoded in order to use the hls protocol
Nov 22, 2021 16:05:04.962 [0x7ff2eab88b38] DEBUG - MDE: E17 - 百货公司挟持事件: selected subtitle cannot be converted to a compatible format, burning into video stream
Nov 22, 2021 16:05:04.962 [0x7ff2eab88b38] DEBUG - MDE: E17 - 百货公司挟持事件: avoiding video remux due to burned subtitle stream
Nov 22, 2021 16:05:04.962 [0x7ff2eab88b38] DEBUG - MDE: E17 - 百货公司挟持事件: no remuxable profile found, so video stream will be transcoded
Nov 22, 2021 16:05:04.962 [0x7ff2eab88b38] DEBUG - MDE: Cannot direct stream video stream due to profile or setting limitations
Nov 22, 2021 16:05:04.962 [0x7ff2eab88b38] DEBUG - Scaled up video bitrate to 4864Kbps based on 1.500000x fudge factor.
Nov 22, 2021 16:05:04.962 [0x7ff2eab88b38] DEBUG - MDE: 名侦探柯南 - S1 E17 - 百货公司挟持事件: selected media 0 / 578
Nov 22, 2021 16:05:04.962 [0x7ff2eab88b38] DEBUG - Streaming Resource: Reached Decision id=462 codes=(General=1001,Direct play not available; Conversion OK. Direct Play=3000,App cannot direct play this item. Direct play is disabled. Transcode=1001,Direct play not available; Conversion OK.) media=(id=578 part=(id=1706 decision=transcode container=mkv protocol=hls streams=(Video=(id=13869 decision=transcode bitrate=4864 encoder=libx264 width=1920 height=1080) Audio=(id=13870 decision=copy channels=2 rate=48000) Subtitle=(id=13871 decision=burn languageCode=zho location=embedded))))
Nov 22, 2021 16:05:04.962 [0x7ff2eab88b38] DEBUG - Transcode Session: Going to restart at offset 0.000000 with segment number -1
Nov 22, 2021 16:05:04.962 [0x7ff2eab88b38] DEBUG - Killing job.
Nov 22, 2021 16:05:04.962 [0x7ff2eab88b38] DEBUG - Signalling job ID 3432 with 9

It’s doing exactly as it should IF

  • the subtitles are VOBSUB, DVDRIP, or PGS
    -OR-
  • the player settings are set to automatic or always burn

If these are Text subtitles, you want to change the player settings to “Image formats only” for subtitles.

The N series CPU has decent CPU power but it won’t handle burning subtitles for really high bitrate video,.

It has 4000 passmarks

Download some of the examples from here https://jell.yfish.us

Create a “other videos” library section.

These will are what I use to test hardware transcoding.

I tried to transcode the jellyfish test videos ( jellyfish-55-mbps-hd-h264.mkv and jellyfish-140-mbps-4k-uhd-hevc-10bit.mkv). I still don’t think the hardware transcoding is working properly.

Here are the logs
Plex Media Server Logs_2021-11-24_15-07-13.zip (3.4 MB)

It’s finding and using it.

Nov 24, 2021 15:05:00.119 [0x7faee8279b38] DEBUG - [Transcode] Cleaning directory for session rh1a0gqthzl5vqou5xosp1ga ()
Nov 24, 2021 15:05:00.119 [0x7faee8279b38] DEBUG - [Transcode] Starting a transcode session rh1a0gqthzl5vqou5xosp1ga at offset -1.0 (state=3)
Nov 24, 2021 15:05:00.120 [0x7faee8279b38] DEBUG - [Transcode] TPU: hardware transcoding: using hardware decode accelerator vaapi
Nov 24, 2021 15:05:00.120 [0x7faee8279b38] DEBUG - [Transcode] TPU: hardware transcoding: zero-copy support present
Nov 24, 2021 15:05:00.120 [0x7faee8279b38] DEBUG - [Transcode] TPU: hardware transcoding: using zero-copy transcoding
Nov 24, 2021 15:05:00.120 [0x7faee8279b38] DEBUG - [Transcode] [Universal] Using local file path instead of URL: /mnt/Media/Others/jellyfish-140-mbps-4k-uhd-hevc-10bit.mkv
Nov 24, 2021 15:05:00.120 [0x7faee8279b38] DEBUG - [Transcode] Codecs: hardware transcoding: testing API vaapi
Nov 24, 2021 15:05:00.121 [0x7faee8279b38] DEBUG - [Transcode] [FFMPEG] - Format 0x41524742 -> bgra.
Nov 24, 2021 15:05:00.121 [0x7faee8279b38] DEBUG - [Transcode] [FFMPEG] - Format 0x42475241 -> argb.
Nov 24, 2021 15:05:00.121 [0x7faee8279b38] DEBUG - [Transcode] [FFMPEG] - Format 0x41424752 -> rgba.
Nov 24, 2021 15:05:00.121 [0x7faee8279b38] DEBUG - [Transcode] [FFMPEG] - Format 0x52474241 -> abgr.
Nov 24, 2021 15:05:00.121 [0x7faee8279b38] DEBUG - [Transcode] [FFMPEG] - Format 0x58524742 -> bgr0.
Nov 24, 2021 15:05:00.121 [0x7faee8279b38] DEBUG - [Transcode] [FFMPEG] - Format 0x42475258 -> 0rgb.
Nov 24, 2021 15:05:00.121 [0x7faee8279b38] DEBUG - [Transcode] [FFMPEG] - Format 0x58424752 -> rgb0.
Nov 24, 2021 15:05:00.121 [0x7faee8279b38] DEBUG - [Transcode] [FFMPEG] - Format 0x52474258 -> 0bgr.
Nov 24, 2021 15:05:00.121 [0x7faee8279b38] DEBUG - [Transcode] [FFMPEG] - Format 0x30335241 -> unknown.
Nov 24, 2021 15:05:00.121 [0x7faee8279b38] DEBUG - [Transcode] [FFMPEG] - Format 0x30334241 -> unknown.
Nov 24, 2021 15:05:00.121 [0x7faee8279b38] DEBUG - [Transcode] [FFMPEG] - Format 0x30335258 -> x2rgb10le.
Nov 24, 2021 15:05:00.121 [0x7faee8279b38] DEBUG - [Transcode] [FFMPEG] - Format 0x30334258 -> unknown.
Nov 24, 2021 15:05:00.121 [0x7faee8279b38] DEBUG - [Transcode] [FFMPEG] - Format 0x36314752 -> unknown.
Nov 24, 2021 15:05:00.121 [0x7faee8279b38] DEBUG - [Transcode] [FFMPEG] - Format 0x56555941 -> unknown.
Nov 24, 2021 15:05:00.121 [0x7faee8279b38] DEBUG - [Transcode] [FFMPEG] - Format 0x56555958 -> unknown.
Nov 24, 2021 15:05:00.121 [0x7faee8279b38] DEBUG - [Transcode] [FFMPEG] - Format 0x30303859 -> gray.
Nov 24, 2021 15:05:00.121 [0x7faee8279b38] DEBUG - [Transcode] [FFMPEG] - Format 0x3231564e -> nv12.
Nov 24, 2021 15:05:00.121 [0x7faee8279b38] DEBUG - [Transcode] [FFMPEG] - Format 0x3132564e -> unknown.
Nov 24, 2021 15:05:00.121 [0x7faee8279b38] DEBUG - [Transcode] [FFMPEG] - Format 0x32595559 -> yuyv422.
Nov 24, 2021 15:05:00.121 [0x7faee8279b38] DEBUG - [Transcode] [FFMPEG] - Format 0x59565955 -> uyvy422.
Nov 24, 2021 15:05:00.121 [0x7faee8279b38] DEBUG - [Transcode] [FFMPEG] - Format 0x32315659 -> yuv420p.
Nov 24, 2021 15:05:00.121 [0x7faee8279b38] DEBUG - [Transcode] [FFMPEG] - Format 0x30323449 -> yuv420p.
Nov 24, 2021 15:05:00.121 [0x7faee8279b38] DEBUG - [Transcode] [FFMPEG] - Format 0x50313134 -> yuv411p.
Nov 24, 2021 15:05:00.121 [0x7faee8279b38] DEBUG - [Transcode] [FFMPEG] - Format 0x48323234 -> yuv422p.
Nov 24, 2021 15:05:00.121 [0x7faee8279b38] DEBUG - [Transcode] [FFMPEG] - Format 0x56323234 -> yuv440p.
Nov 24, 2021 15:05:00.121 [0x7faee8279b38] DEBUG - [Transcode] [FFMPEG] - Format 0x50343434 -> yuv444p.
Nov 24, 2021 15:05:00.121 [0x7faee8279b38] DEBUG - [Transcode] [FFMPEG] - Format 0x33434d49 -> unknown.
Nov 24, 2021 15:05:00.121 [0x7faee8279b38] DEBUG - [Transcode] [FFMPEG] - Format 0x30313050 -> p010le.
Nov 24, 2021 15:05:00.121 [0x7faee8279b38] DEBUG - [Transcode] [FFMPEG] - Format 0x30313259 -> y210le.
Nov 24, 2021 15:05:00.121 [0x7faee8279b38] DEBUG - [Transcode] [FFMPEG] - Format 0x30313459 -> unknown.
Nov 24, 2021 15:05:00.121 [0x7faee8279b38] DEBUG - [Transcode] [FFMPEG] - Created surface 0.
Nov 24, 2021 15:05:00.121 [0x7faee8279b38] DEBUG - [Transcode] [FFMPEG] - Direct mapping possible.
Nov 24, 2021 15:05:00.121 [0x7faee8279b38] DEBUG - [Transcode] TPU: hardware transcoding: final decoder: vaapi, final encoder: vaapi
Nov 24, 2021 15:05:00.122 [0x7faee8279b38] DEBUG - [Transcode/JobRunner] Job running: EAE_ROOT='/tmp/pms-1c7f1608-d34b-4e9c-9279-84ed1f00e0b5/EasyAudioEncoder' FFMPEG_EXTERNAL_LIBS='/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Codecs/ea7e8c9-4118-linux-x86_64/' LIBVA_DRIVERS_PATH='/usr/lib/plexmediaserver/lib/dri' X_PLEX_TOKEN='xxxxxxxxxxxxxxxxxxxx' '/usr/lib/plexmediaserver/Plex Transcoder' '-codec:0' 'hevc' '-hwaccel:0' 'vaapi' '-hwaccel_fallback_threshold:0' '10' '-hwaccel_output_format:0' 'vaapi' '-hwaccel_device:0' 'vaapi' '-codec:1' 'truehd_eae' '-eae_prefix:1' 'rh1a0gqthzl5vqou5xosp1ga_' '-analyzeduration' '20000000' '-probesize' '20000000' '-i' '/mnt/Media/Others/jellyfish-140-mbps-4k-uhd-hevc-10bit.mkv' '-filter_complex' '[0:0]hwupload[0];[0]scale_vaapi=w=2276:h=1280:format=nv12[1];[1]hwupload[2]' '-map' '[2]' '-codec:0' 'h264_vaapi' '-b:0' '14124k' '-maxrate:0' '18833k' '-bufsize:0' '37666k' '-r:0' '29.969999999999999' '-force_key_frames:0' 'expr:gte(t,n_forced*1)' '-filter_complex' '[0:1] aresample=async=1:ocl='\''stereo'\'':rematrix_maxval=0.000000dB:osr=48000[3]' '-map' '[3]' '-codec:1' 'aac' '-b:1' '175k' '-f' 'dash' '-seg_duration' '1' '-dash_segment_type' 'mp4' '-init_seg_name' 'init-stream$RepresentationID$.m4s' '-media_seg_name' 'chunk-stream$RepresentationID$-$Number%05d$.m4s' '-window_size' '5' '-delete_removed' 'false' '-skip_to_segment' '1' '-time_delta' '0.0625' '-manifest_name' 'http://127.0.0.1:32400/video/:/transcode/session/rh1a0gqthzl5vqou5xosp1ga/eb77277c-b74f-47bf-be84-9655a106cb61/manifest?X-Plex-Http-Pipeline=infinite' '-avoid_negative_ts' 'disabled' '-map_metadata' '-1' '-map_chapters' '-1' 'dash' '-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/rh1a0gqthzl5vqou5xosp1ga/eb77277c-b74f-47bf-be84-9655a106cb61/progress'
Nov 24, 2021 15:05:00.122 [0x7faee8279b38] DEBUG - [Transcode/JobRunner] Jobs: Starting child process with pid 80235
Nov 24, 2021 15:05:00.125 [0x7faee82e2b38] DEBUG - Request: [127.0.0.1:45158 (Loopback)] PUT /video/:/transcode/session/rh1a0gqthzl5vqou5xosp1ga/eb77277c-b74f-47bf-be84-9655a106cb61/progress?status=startup (6 live) Signed-in Token (realEthanZou) (range: bytes=0-) 

( the indicator is final decoder: vaapi, final encoder: vaapi (vaapi is the hardware) )

What was your player quality setting?

at 140 Mbps input, if you tried to play that to a browser, the browser would melt down & fail. Select no more than 30 Mbps output quality for most browsers

I tried to transcode 4k to 1080p 20 mbps and transcode 1080p to 720p 4mbps. My comment on hw transcoding not working is based on no (hw) indicator in the dashboard or playback info and also the fact that the CPU is hitting 100%.

If I understand correctly the software transcoding is used, as shown in the log:

Nov 24, 2021 15:04:18.665 [0x7faee8328b38] ERROR - [Transcoder] [h264_vaapi @ 0x7f2aab7b3b00] Driver does not support any RC mode compatible with selected options (supported modes: CQP).
Nov 24, 2021 15:04:18.666 [0x7faee8328b38] ERROR - [Transcoder] Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
Nov 24, 2021 15:04:18.686 [0x7faeeb20eb38] DEBUG - Jobs: '/usr/lib/plexmediaserver/Plex Transcoder' exit code for process 80176 is 1 (failure)
Nov 24, 2021 15:04:18.687 [0x7faee8525b38] DEBUG - Streaming Resource: Changing client to use software decoding

@realEthanZou

Thanks for this,

I’ve not seen the RC mode error.
I’ll forward to the transcoder team.

the (hw) indicator in the dashboard might have a problem with this new transcoder. I’ve seen that in the past.

You got this error using the test files?

@realEthanZou

Checked with the transcoder team.

They would like you to:

echo "options i915 enable_guc=2" > /etc/modprobe.d/i915.conf

If there are already config options in your i915.conf, I’d make a copy and then set that option.

After setting the i915.conf option, Reboot the host.

3 Likes

Not OP, but I was having the same error with an N5095, and this worked for me. I had been working on this for DAYS following guide after guide trying to tweak my gpu drivers and the ffmpeg install, but couldn’t get both decoding and encoding to work. Thank you SO much!

@Topher208

Did that i915 configuration work for you?

Unfortunately, this did not work for me. Still getting software transcoding.

Logs:
Plex Media Server Logs_2021-11-25_10-50-14.zip (2.9 MB)

I also noticed in the output of intel_gpu_top, the RC6 is always ~100%.

@realEthanZou

Thanks… I forwarded that to the team

@realEthanZou

Unfortunately, bad news.

The kernel itself doesn’t support the i915 enough yet.

Also please understand 21.10 broke a lot of things.

what does uname -a report ?

ethan@xxx:~$ uname -a
Linux xxx 5.13.0-21-generic #21-Ubuntu SMP Tue Oct 19 08:59:28 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

My decision to use Ubuntu 21.10 to workaround some other issue turns out to be a bad idea…

Yes. The i915 config you posted worked for me. I was getting ready to either go back to Windows or return the machine, but setting the option to enable_guc=2 worked like a charm for me.

these config mods are because the kernel drivers aren’t ‘up to snuff’ yet for the newer CPUs.

This is a work around - CLEARLY.

Question is: 5.14, 5.18 ? which one will have the better i915 driver ?