I have a NVidia card installed, which works great for transcoding and the one challenge I seem to have is when I update plex, it keeps adding the plex user back to the renderer group which causes it to pick the intel quicksync. I’ve been manually removing the group each time, but trying to figure out a better way than that as I always want it to use the NVidia card.
Is there a better way to handle that than removing the user from the group each time?
which I believe card0 is the NV card and renderD128 is the chipset (unsure).
01:00.0 VGA compatible controller: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Gigabyte Technology Co., Ltd GP107 [GeForce GTX 1050 Ti]
Flags: bus master, fast devsel, latency 0, IRQ 129
Memory at de000000 (32-bit, non-prefetchable) [size=16M]
Memory at c0000000 (64-bit, prefetchable) [size=256M]
Memory at d0000000 (64-bit, prefetchable) [size=32M]
I/O ports at e000 [size=128]
Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Legacy Endpoint, MSI 00
Capabilities: [100] Virtual Channel
Capabilities: [250] Latency Tolerance Reporting
Capabilities: [128] Power Budgeting <?>
Capabilities: [420] Advanced Error Reporting
Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
Capabilities: [900] Secondary PCI Express
Kernel driver in use: nvidia
Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia
So I’d use that and put /dev/nvidia0 in there and that should ‘force’ everything to always be transcoded by the NV card and never by the Intel chipset? What I had noticed is sometimes remote players would grab the chipset transcode and that bogs me down from a system perspective, but when I remove plex from the render group, it still transcodes and always uses the NV card.
Plex Version 1.19.3.2843 on CentOS8 with NVIDIA-Linux-x86_64-440.82 - Haswell CPU &P2000
I have the same question - why does PMS encode with vaapi when I have HW Transcoding enabled in my settings?
I had to delete the files in “/usr/lib/plexmediaserver/lib/dri” to force PMS to use the nvidia encoder
nvidia-smi would show that the P2000 was not being used. Once I deleted the i965… & iHD …files, it showed that the P2000 was being utilized and my CPU utilization came down to almost 0
The documentation for linux HW transcoding does show that the preferred order is vaapi followed by nvenc. I wish there was some setting to change this to nvenc as the first preferred.
Unfortunately, adding the setting in Preferences.xml is only a temporary fix, because as soon as something is modified in the settings and you do a save - this setting is lost.