Issue with i915 transcoding on ubuntu 20.04

Server Version#: latest
Player Version#: latest

everything is up to date on my server
strange@fyrkat:~$ lsmod | grep i915
i915 1998848 0
i2c_algo_bit 16384 1 i915
drm_kms_helper 184320 1 i915
drm 495616 2 drm_kms_helper,i915
video 57344 1 i915

kernel module seems loaded
but all transcodes are software are there any logs i could include here to maybe help solve my problem? i only see
May 23, 2023 15:24:23.236 [139843600321336] ERROR - [Req#1b7/Transcode] [FFMPEG] - Cannot load libcuda.so.1
in a log regarding transcode but its a nuc it doesnt even have any cuda cards in it
<If providing server logs please do NOT turn on verbose logging, only debug logging should be enabled>

HW transcoding still broken for older CPUs on Ubuntu

Use this until fixed.

model name : 11th Gen Intel(R) Core™ i7-1165G7 @ 2.80GHz

is this too old?

11th Gen CPUs will be OK with 1.32.2.7100

I tested with RaptorLake

then my question remains on how to fix transcoding :slight_smile:

  1. Verify DEBUG logging is on
  2. Restart PMS
  3. Start playback of one file which fails.
  4. Stop playback
  5. download logs ZIP
  6. Attach here for me.

on it.
in the meantime
PlexMediaServer install: PlexMediaServer-1.32.2.7100-248a2daf0 - Installation starting.
PlexMediaServer install:
PlexMediaServer install: Now installing based on:
PlexMediaServer install: Installation Type: Update
PlexMediaServer install: Process Control: systemd
PlexMediaServer install: Plex User: plex
PlexMediaServer install: Plex Group: plex
PlexMediaServer install: Video Group: video
PlexMediaServer install: Metadata Dir: /var/lib/plexmediaserver/Library/Application Support
PlexMediaServer install: Temp Directory: /tmp
PlexMediaServer install: Lang Encoding: en_US.UTF-8
PlexMediaServer install: Processor: 11th Gen Intel(R) Core™ i7-1165G7 @ 2.80GHz
PlexMediaServer install: Intel i915 Hardware: Not found
PlexMediaServer install: Nvidia GPU card: Not Found
PlexMediaServer install:
PlexMediaServer install: Completing final configuration.
PlexMediaServer install: Starting Plex Media Server.
on update it says it doesnt find it

The installer output , for anything newer than RocketLake (family) CPUs doesn’t tell us anything.

I’m about to remove most of that info anyway because none of the newer CPUs don’t have an i915 interface for video.

attached

@latumus

  1. You have subtitles
  2. No HW transcoding with subtitle burning.
May 23, 2023 18:55:42.664 [139876872293176] DEBUG - [Req#44d/Transcode/Req#455] Subtitles: Found a candidate subtitle language [en] for a foreign film
May 23, 2023 18:55:42.664 [139876872293176] DEBUG - [Req#44d/Transcode/Req#455] Audio Stream: 1229521, Subtitle Stream: 1229522
May 23, 2023 18:55:42.664 [139876872293176] DEBUG - [Req#44d/Transcode] Cleaning directory for session tpzmx6e5lmr989kgc0w7nz4v ()
May 23, 2023 18:55:42.664 [139876872293176] DEBUG - [Req#44d/Transcode] Starting a transcode session tpzmx6e5lmr989kgc0w7nz4v at offset -1.0 (state=3)
May 23, 2023 18:55:42.664 [139876872293176] DEBUG - [Req#44d/Transcode] TPU: hardware transcoding: enabled, but no hardware decode accelerator found
May 23, 2023 18:55:42.664 [139876872293176] DEBUG - [Req#44d/Transcode] [Universal] Using local file path instead of URL: /magic/drive/tv/american.dad/s19/american.dad.s19e08.mkv
May 23, 2023 18:55:42.664 [139876872293176] DEBUG - [Req#44d/Transcode] TPU: hardware transcoding: final decoder: , final encoder: 
May 23, 2023 18:55:42.665 [139876872293176] DEBUG - [Req#44d/Transcode/JobRunner] Job running: FFMPEG_EXTERNAL_LIBS='/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Codecs/8217c1c-4565-linux-x86_64/' X_PLEX_TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx "/usr/lib/plexmediaserver/Plex Transcoder" -codec:0 h264 -codec:1 aac -analyzeduration 20000000 -probesize 20000000 -i /magic/drive/tv/american.dad/s19/american.dad.s19e08.mkv -filter_complex "[0:0]scale=w=720:h=404:force_divisible_by=4[0];[0]format=pix_fmts=yuv420p|nv12[1]" -map "[1]" -metadata:s:0 language=eng -codec:0 libx264 -crf:0 22 -maxrate:0 1290k -bufsize:0 2580k -r:0 23.975999999999999 -preset:0 veryfast -x264opts:0 subme=2:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -filter_complex "[0:1] aresample=async=1:ochl='stereo':rematrix_maxval=60.000000dB:osr=48000[2]" -map "[2]" -metadata:s:1 language=eng -codec:1 libopus -b:1 128k -map 0:2 -metadata:s:2 language=eng -codec:2 copy -strict_ts:2 0 -map "0:t?" -codec:t copy -f segment -segment_format matroska -segment_format_options live=1 -segment_time 1 -segment_header_filename header -segment_start_number 0 -segment_list "http://127.0.0.1:32400/video/:/transcode/session/tpzmx6e5lmr989kgc0w7nz4v/6efb07cc-c203-48f5-8d4f-eae780524a22/manifest?X-Plex-Http-Pipeline=infinite" -segment_list_type csv -segment_list_unfinished 1 -segment_list_size 5 -segment_list_separate_stream_times 1 -avoid_negative_ts disabled -map_metadata:g -1 -map_metadata:c -1 -map_chapters -1 "chunk-%05d" -start_at_zero -copyts -y -nostats -loglevel quiet -loglevel_plex error -progressurl http://127.0.0.1:32400/video/:/transcode/session/tpzmx6e5lmr989kgc0w7nz4v/6efb07cc-c203-48f5-8d4f-eae780524a22/progress

Use this known-good test file.

i dont have hardware transcoding on any file with or without subtitles

Use my test file please. I know how it should behave.

are you using the stock 20.04.6 LTS distribution (kernel and module wise) or have you altered it?

im downloading the file i have not altered the kernel

May 23, 2023 18:55:42.664 [139876872293176] DEBUG - [Req#44d/Transcode] TPU: hardware transcoding: enabled, but no hardware decode accelerator found

in the meantime will it spew htat error if i wasnt doing subs?

I was looking at the MDE info as well.

Figuring out what should and shouldn’t happen isn’t 100% straight forward.
The player has 90% of the control.

Have you tried downgrading to the last pre-1.32.2 build? (1.32.1.6999)
I’ve had no other complaints about 11th Gen CPUs once we got that fixed in the 1.30.x timeframe.

Secondarily you’ll need to upgrade how you create your cert for PMS:

May 23, 2023 18:54:18.171 [139877012753040] ERROR - [CERT] PKCS12_parse failed: error:0308010C:digital envelope routines::unsupported
May 23, 2023 18:54:18.171 [139877012753040] ERROR - [CERT] Found a user-provided certificate, but couldn't install it.

im having a bit of an issue getting hte file to my server im abroad and trying to fix this remote and i cant wget the google drive file and my upload is very slow for some reason now
versionwise i have been running plex on this box for 2 years and havent had transcoding working ever. since i have some time on my hands now i was trying to fix it.

if i downgrade will that mess up anything in my library (custom artwork etc?)
i’ll look into the ssl thing now

If your machine has a graphical desktop,

ssh -X  ip.addr.of.home

SSH into it,
Now you can launch a browser session from the command line which will transit the SSH session to display wherever you are now.

You’ll be remote on that machine but display will be local.

pip install gdown did the trick for me then “gdown id”
still no transcoding

bump :frowning:

edited