I have recently enabled hardware transcoding in a Plex jail according this thread.
Additional thing I had to do to see /dev/dri and /dev/drm was add postinit command
Everything seems to be set, but once I start HW transcoding in plex, in less than a second my TrueNAS server crashes and reboots.
I am new to debugging TrueNAS, so I don't know where to looks for these logs. But the fact that jail crashes the whole TrueNAS is really bad. Also I have not found a similar issue on the internet.
My hardware supports HW transcoding. This is the output of
What could be wrong? How can I get the HW transcoding working?
Version: TrueNAS-13.0-U2
Jail version: 13.1-RELEASE-p1
Plex pkg version: plexmediaserver-plexpass-1.29.0.6219
Tried plex from a plugin, also tried fresh jail and installing from pkg, same behaviour.
Additional thing I had to do to see /dev/dri and /dev/drm was add postinit command
kldload drm i915kms
MB: Odroid H2+
HDD controller: IBM 81Y4494 H1110 SAS-2 6Gbps HBA LSI 9211-4i P20 IT Mode
CPU: Intel(R) Celeron(R) J4115 CPU @ 1.80GHz
GPU: Intel UHD Graphics 600
RAM: 2x KINGSTON 16GB 2400MHz DDR4 CL14 SODIMM HyperX Impact
Boot: 2x Sandisk Cruzer Fit 32Gb
Data drives: 2x (mirror) Seagate IronWolf 10TB 3.5'' 256MB ST10000VN0008
System drives: 2x (mirror) Seagate IronWolf 125 250 GB ZA250NM1A002 SSD
HDD controller: IBM 81Y4494 H1110 SAS-2 6Gbps HBA LSI 9211-4i P20 IT Mode
CPU: Intel(R) Celeron(R) J4115 CPU @ 1.80GHz
GPU: Intel UHD Graphics 600
RAM: 2x KINGSTON 16GB 2400MHz DDR4 CL14 SODIMM HyperX Impact
Boot: 2x Sandisk Cruzer Fit 32Gb
Data drives: 2x (mirror) Seagate IronWolf 10TB 3.5'' 256MB ST10000VN0008
System drives: 2x (mirror) Seagate IronWolf 125 250 GB ZA250NM1A002 SSD
Everything seems to be set, but once I start HW transcoding in plex, in less than a second my TrueNAS server crashes and reboots.
I am new to debugging TrueNAS, so I don't know where to looks for these logs. But the fact that jail crashes the whole TrueNAS is really bad. Also I have not found a similar issue on the internet.
My hardware supports HW transcoding. This is the output of
vainfo
in plex jail:Code:
root@plex:~ # vainfo Trying display: wayland error: XDG_RUNTIME_DIR is invalid or not set in the environment. Trying display: x11 error: can't connect to X server! Trying display: drm libva info: VA-API version 1.16.0 libva info: Trying to open /usr/local/lib/dri/iHD_drv_video.so libva info: Found init function __vaDriverInit_1_16 libva info: va_openDriver() returns 0 vainfo: VA-API version: 1.16 (libva 2.16.0) vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 22.4.3 (intel-media-22.4.3) vainfo: Supported profile and entrypoints VAProfileNone : VAEntrypointVideoProc VAProfileNone : VAEntrypointStats VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointVLD VAProfileH264Main : VAEntrypointVLD VAProfileH264Main : VAEntrypointEncSlice VAProfileH264Main : VAEntrypointFEI VAProfileH264Main : VAEntrypointEncSliceLP VAProfileH264High : VAEntrypointVLD VAProfileH264High : VAEntrypointEncSlice VAProfileH264High : VAEntrypointFEI VAProfileH264High : VAEntrypointEncSliceLP VAProfileVC1Simple : VAEntrypointVLD VAProfileVC1Main : VAEntrypointVLD VAProfileVC1Advanced : VAEntrypointVLD VAProfileJPEGBaseline : VAEntrypointVLD VAProfileJPEGBaseline : VAEntrypointEncPicture VAProfileH264ConstrainedBaseline: VAEntrypointVLD VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice VAProfileH264ConstrainedBaseline: VAEntrypointFEI VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP VAProfileVP8Version0_3 : VAEntrypointVLD VAProfileVP8Version0_3 : VAEntrypointEncSlice VAProfileHEVCMain : VAEntrypointVLD VAProfileHEVCMain : VAEntrypointEncSlice VAProfileHEVCMain : VAEntrypointFEI VAProfileHEVCMain10 : VAEntrypointVLD VAProfileHEVCMain10 : VAEntrypointEncSlice VAProfileVP9Profile0 : VAEntrypointVLD VAProfileVP9Profile2 : VAEntrypointVLD
What could be wrong? How can I get the HW transcoding working?
Version: TrueNAS-13.0-U2
Jail version: 13.1-RELEASE-p1
Plex pkg version: plexmediaserver-plexpass-1.29.0.6219
Tried plex from a plugin, also tried fresh jail and installing from pkg, same behaviour.