Plex Intel HD and P2000 Linux, both gpu's not working at the same time

I am running the latest stable release of Plex and I have an Intel HD GPU and a Nvidia P2000 video card. I am using CentOS 7.

I have the Intel HD GPU enabled and it works, however when the amount of transcode streams hits its limits, the P2000 GPU is not being used. This behavior is what the documentation says should happen. If I upgrade the kernel which breaks the Intel HD GPU, then Plex will use the P2000 card by itself and it works fine but then I have no hardware accelerated decode streams available. nvidia-smi and vainfo both work in their respective environments.

Is there an issue on Linux where Plex will only use one GPU?

Plex sees one and only one. It sees whatever is identified in /dev/dri as renderD128.
There is no support for multiple devices at this time.

Technically, there is no support for off-CPU GPU transcoding but, if you’re good enough to get it working, go for it! :slight_smile:

1 Like

Thank you for the clarification.

The support article says it would use the Nvidia GPU when the Intel QSV became unavailable, the way that reads to me is that the Nvidia card wouldnt be used until the Intel card was full which is where the confusion came from.

There is a way in Linux to have the nVidia GPU supersede iGPU (ASIC to be precise) and present itself as /dev/dri/renderD128 before PMS launches.

If the appropriate nVidia .so (driver) files are in and loaded along with libva*.so, then you’re set.

There is so much flexibility in Linux it can be confusing to keep it all straight when dealing at this level.

1 Like

That makes sense. I disabled the intel gpu/asic so now the system only recognizes the p2000 nvidia card.

The only other issue is Plex still seems to try and use the Intel card first before trying the Nvidia card. Is there anything I can do to prevent that behavior as it does slow down the start of a stream by a few seconds ( not that its a huge burden just would be nice ) for anything that transcodes.

Jul 24, 2018 12:38:38.612 [0x7f914b7ff700] ERROR - [FFMPEG] - libva: va_getDriverName() failed with unknown libva error,driver_name=(null)
Jul 24, 2018 12:38:38.612 [0x7f914b7ff700] ERROR - [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error).
Jul 24, 2018 12:38:39.720 [0x7f914b7ff700] ERROR - [FFMPEG] - libva: va_getDriverName() failed with unknown libva error,driver_name=(null)
Jul 24, 2018 12:38:39.720 [0x7f914b7ff700] ERROR - [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error).
Jul 24, 2018 12:38:39.825 [0x7f914b7ff700] ERROR - [FFMPEG] - libva: va_getDriverName() failed with unknown libva error,driver_name=(null)
Jul 24, 2018 12:38:39.825 [0x7f914b7ff700] ERROR - [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error).
Jul 24, 2018 12:38:39.924 [0x7f914b7ff700] ERROR - [FFMPEG] - libva: va_getDriverName() failed with unknown libva error,driver_name=(null)
Jul 24, 2018 12:38:39.924 [0x7f914b7ff700] ERROR - [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error).
Jul 24, 2018 12:38:40.022 [0x7f914b7ff700] ERROR - [FFMPEG] - libva: va_getDriverName() failed with unknown libva error,driver_name=(null)
Jul 24, 2018 12:38:40.022 [0x7f914b7ff700] ERROR - [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error).
total 0
drwxr-xr-x  2 root root        80 Jul 24 12:32 .
drwxr-xr-x 22 root root      4780 Jul 24 12:38 ..
crw-rw----  1 root video 226,   0 Jul 24 12:33 card0
crw-rw----  1 root video 226, 128 Jul 24 12:33 renderD128

No, there’s nothing which can be done.

Please do remember, use of GPU cards in Linux when there is a transcoding-capable CPU is a non-supported case.

Having two video cards just makes matters worse. You are on your own there.

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