Default hardware transcoder - choices / how does it work?

Love that we can select the default GPU transcoder.

Swapping out my 4060Ti replacing my P2000 (need more power for something else).
My CPU is an i7 10th Gen with UHD Graphics 630.

Curious, how does Plex decide which GPU to use when it’s on auto? I’m trying to decide what is better to do - auto or nVidia selected.

Transcodes are rare, but they do occur with some slower remote connections.

PMS will use the First Available (where Nvidia is checked first).

PMS is not self-balancing / dynamic balancing.

(Dynamic would be where you start without tonemapping then enable tonemapping – which is more GPU load… and it would switch if too much load)

Personally, given the bandwidth of the 4060 vs 630 (about 500 Mbps/sec), I would keep the UHD630 as a ‘hot spare’ / unused.

I have my P2200 selected as default

Curiously, is there any reason to keep the 2000 installed as well?

Would Plex see 4060, then 2000, and then UHD or nah?

It’s not that smart. It doesn’t load-balance (I know what you’re thinking :smiley: LOL)

I would pull the P2000 and hold it as a spare.
I’d also leave the QSV alone and select the Nvidia as the default.
(It’ll run circles around the Intel ASIC)

1 Like

Sounds good. Thanks for the input!

@ChuckPa Not sure if this matters, but the transcoder dropdown sees it as an Unknown nVidia card apparently. It’s the 4060ti 16GB.

@derekcentrico

That’s not good.

  1. Check the drivers
  2. Confirm with nvidia-smi
  3. Make sure Plex is a member of the group which owns /dev/dri

What “Unknown” tells me is the driver isn’t communicating.
Now we need to figure out why

Release date:

GeForce RTX 4060 Ti Jul 18, 2023 $499

If you updated the drivers without restarting PMS – Restart PMS so it gets a fresh read of the card

Sure here you go.

Wed Oct 11 20:51:09 2023
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.113.01             Driver Version: 535.113.01   CUDA Version: 12.2     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util
Compute M. |
|                                         |                      |
    MIG M. |
|=========================================+======================+======================|
|   0  NVIDIA GeForce RTX 4060 Ti     Off | 00000000:01:00.0 Off |       N/A |
|  0%   42C    P8               6W / 165W |   3702MiB / 16380MiB |      1%
   Default |
|                                         |                      |
       N/A |
+-----------------------------------------+----------------------+----------------------+
+---------------------------------------------------------------------------------------+
| Processes:
           |
|  GPU   GI   CI        PID   Type   Process name GPU Memory |
|        ID   ID | Usage      |
|=======================================================================================|
|    0   N/A  N/A      3162    C+G   /usr/lib/virtualbox/VBoxHeadless
    292MiB |
|    0   N/A  N/A      3881      G   /usr/lib/xorg/Xorg
    113MiB |
|    0   N/A  N/A      4194    C+G   ...libexec/gnome-remote-desktop-daemon
    120MiB |
|    0   N/A  N/A      4238      G   /usr/bin/gnome-shell
     10MiB |
|    0   N/A  N/A      6269      G   ...local/share/Steam/ubuntu12_32/steam
      2MiB |
|    0   N/A  N/A      6626      G   ...re/Steam/ubuntu12_64/steamwebhelper
      6MiB |
|    0   N/A  N/A      9082    C+G   /usr/lib/virtualbox/VBoxHeadless
    289MiB |
|    0   N/A  N/A    223445      C   python3
   2796MiB |
|    0   N/A  N/A    223737      G   ...84954002,1837133609424017496,262144
     35MiB |
+----------------------------------------------------------

Not sure about this.

$ ls -lah /dev/dri
total 0
drwxr-xr-x   3 root root       140 Oct 11 18:37 .
drwxr-xr-x  21 root root      6.4K Oct 11 20:40 ..
drwxr-xr-x   2 root root       120 Oct 11 18:37 by-path
crw-rw----+  1 root video 226,   0 Oct 11 18:37 card0
crw-rw----+  1 root video 226,   1 Oct 11 18:37 card1
crw-rw----+  1 root video 226, 128 Oct 11 18:37 renderD128
crw-rw----+  1 root video 226, 129 Oct 11 18:37 renderD129

MODERATOR EDIT: Formatting

Whoops and restarting PMS doesn’t change anything. Didn’t do anything with drivers as they were installed for the other card I swapped.

please do the following:

sudo lshw -C display

You should find the Nvidia card properly listed and identified

e.g.

root@glockner:/home/chuck# lshw -C display
  *-display                 
       description: VGA compatible controller
       product: GP106GL [Quadro P2200]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:07:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
       configuration: driver=nvidia latency=0
       resources: irq:213 memory:fa000000-faffffff memory:e0000000-efffffff memory:f0000000-f1ffffff ioport:d000(size=128) memory:c0000-dffff

QUESTION:
what’s running in VirtualBox? Ubuntu?

/usr/lib/virtualbox/VBoxHeadless

Virtual box is home assistant fun.

$ lshw -C display
WARNING: you should run this program as super-user.
*-display
description: VGA compatible controller
product: NVIDIA Corporation
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: vga_controller bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: irq:211 memory:c4000000-c4ffffff memory:b0000000-bfffffff memory:c0000000-c1ffffff ioport:6000(size=128) memory:c0000-dffff
*-display
description: Display controller
product: CometLake-S GT2 [UHD Graphics 630]
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 05
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list
configuration: driver=i915 latency=0
resources: irq:228 memory:c3000000-c3ffffff memory:a0000000-afffffff ioport:7000(size=64)
*-graphics
product: VESA VGA
physical id: 4
logical name: /dev/fb0
capabilities: fb
configuration: depth=32 resolution=640,480

Edit — same output as root by the way

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