Server Version#: 1.13.9.5456
Player Version#:
Hello! If I turn on HW trancoding, PMS will crash with message in /var/log/sysylog:
Nov 12 11:17:07 SERVER sh[8377]: Plex Media Server: intel_memman.c:38: intel_memman_init: Assertion `intel->bufmgr’ failed.
Nov 12 11:17:07 SERVER sh[8377]: ****** PLEX MEDIA SERVER CRASHED, CRASH REPORT WRITTEN: /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Crash Reports/1.13.9.5456-ecd600442/PLEX MEDIA SERVER/243677c5-6072-3f1b-597b3f82-2e56dd59.dmp
And the folder /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Crash Reports/1.13.9.5456-ecd600442/PLEX MEDIA SERVER is empty.
Following this thread closely as I just built a new server with an i5-9600K and an Nvidia Quadro P2000. I was hoping to have the Intel chip do the decoding and the Nvidia do the encoding. So far, I’m only successful with the latter. When I tried to enable and install drivers for the Intel GPU, PMS would crash as soon as it tried to transcode anything (Direct Play and Direct Stream were fine).
Just try execute vainfo on my system and get same error.
Then I build and install:
linux kernel - 4.20.0
libva - 2.4.0
intel va-api - 2.2.1
libva-tools - 2.3.0
Also updated:
mesa-va-drivers 18.2.2-0ubuntu1~ppa1
libdrm-intel1 2.4.95-1~18.04.1~ppa1
And now I get correct output from vainfo:
Are you using a released kernel? I am only now seeing 4.18.16 coming through on both Fedora and Ubuntu systems.
The diagnostics I previously saw and reviewed in the source code show a change in the memory initialization routine is required to work with the Intel -9xxx family chips.
No, I build kernel 4.20 RC only for testing your suggestion about old kernel. In normal I use kernel 4.15.
If now I have correct output of vainfo, is that mean that problem in PMS and it will be fixed in some next release?
I’m going through the Intel -> libva -> ffmpeg information now to track down where the support for the -9xxx processors stands.
The original error code “intel_memman.c:38: intel_memman_init: Assertion `intel->bufmgr’ failed.” it it looking for a supported processor. That immediately tells me the driver, at that level, can’t assert the processor is known and supported.
The chain I am walking through now is:
Intel -> libva support for it
libva -> ffmpeg support for it
ffmpeg support for it.
where do the current kernels stand in recognizing it. (the -8xxx took time before it was released)
updating Plex’s transcoder to incorporate all the above to support it.
Is there any updates on this? I’m having the same issue on a new server built with an Intel i7-9700K. My vainfo output crashes with the same
error: can’t connect to X server!
libva info: VA-API version 1.1.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_1
vainfo: intel_memman.c:38: intel_memman_init: Assertion `intel->bufmgr’ failed.
Aborted (core dumped)
/var/log/syslog shows:
Plex Media Server: intel_memman.c:38: intel_memman_init: Assertion `intel->bufmgr’ failed.
****** PLEX MEDIA SERVER CRASHED, CRASH REPORT WRITTEN: /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Crash Reports/1.14.0.5465-425e4ac90/PLEX MEDIA SERVER/7f270d0d-8cfb-60ed-79234d9c-401019af.dmp
My own curiosity… my i3 8100 works fantastic, transcoding beast. It appears, according to Intel ARK to use the same UHD 630…? I wouldn’t initially think much different for support.
To the OP, all things considered… GPU spec, clock speeds, i3-8100 seems like a far better value for a transcoding plex server.
i5-9600K and i3-8100 GPUs has different Divece id, which means that they are different.
I use my server not only for plex, but also for other tasks where great performance is needed.
Yeah, same here, the kernel sees it fine, just PMS that’s crashing.
@ChuckPa thanks for forwarding to the team. Not expecting anything immediately, was just wondering if it was being tracked/worked at all since it has been 6 weeks since the issue was raised.