Jump to content

Throubleshooting stuttering playback with HW transcoding


Recommended Posts

Posted

Hi,

Im running a virtual machine on Proxmox with the following specs:

CPU: 12x vCPU (1 Socket,  AMD Ryzen 5 4600G with Radeon Graphics)
RAM: 8 GB (Crucial DDR4 3200MHz)
Storage: 30TB of a 65TB ZFS pool configured in Proxmox
Network: 4x 2.5gb nics configured in a LACP (802.3ad)
GPU: PCI passthrough a Nvidia Tesla P4
OS: CentOS Stream 9

I run Emby in Docker, this is my docker-compose.yaml for it:

  emby:
    container_name: emby
    image: emby/embyserver:latest
    environment:
      - TZ=Europe/Amsterdam
      - UID=0
      - GID=0
    network_mode: bridge
    ports:
      - 8096:8096
    volumes:
      - /docker-data/dl-group/emby/config:/config
      - <data volumes>
    restart: unless-stopped
    # This is how GPU support is configured with recent docker/docker compose:
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              count: 1
              capabilities: [gpu]

Everything seems to work fine with the HW transcoding, there is green icon when playing something in the Dashboard.
Output of nvidia-smi:

+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 555.42.02              Driver Version: 555.42.02	   CUDA Version: 12.5     |
|-----------------------------------------+------------------------+----------------------+
| 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  Tesla P4                       Off |   00000000:00:10.0 Off |                    0 |
| N/A   80C    P0             30W /   75W |     224MiB /   7680MiB |	  0%	  Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage	  |
|=========================================================================================|
|    0   N/A  N/A     68778      C   /bin/ffmpeg                                   221MiB |
+-----------------------------------------------------------------------------------------+

When i play something, its stuttering, i checked multiple video files but they all have the same issue.
Is there someone with experience on throubleshooting this? What else can i try? Or take a look at?

Kind regrads,
Graxo

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...