Pixelated playback when Transcoding for the first 60-90sec

The suggestion in Heavy Artifacts with Hardware Transcoding with Linux Intel worked great for me.

If you’re running Plex Server using Docker (Compose), the best way would be to create a local docker image for Plex, that does not contain the file mentioned in the above post. (This assumes you have some experience using docker.)

$ cat Dockerfile
FROM plexinc/pms-docker:latest

RUN rm -rf /usr/lib/plexmediaserver/lib/dri/iHD_drv_video.so

$ docker build -t local-plex .  # run this from the directory where the Dockerfile is located

Now, in your docker configuration, make sure to use the image local-plex:latest. I run plex in Docker using Docker Compose, so my docker-compose is:

---
version: '2'
services:
  plex:
    container_name: plex
    image: local-plex:latest
    restart: unless-stopped
    ports:
      - 32400:32400/tcp
      - 3005:3005/tcp
      - 8324:8324/tcp
      - 32469:32469/tcp
      - 1900:1900/udp
      - 32410:32410/udp
      - 32412:32412/udp
      - 32413:32413/udp
      - 32414:32414/udp
    environment:
      - TZ=Europe/Amsterdam
      - ADVERTISE_IP=http://your-host.local:32400/
      - PLEX_UID=1000
      - PLEX_GID=100
      - PLEX_CLAIM=xxxxxxxxx
    hostname: NAS-plex
    volumes:
      - /your/config/dir:/config
      - /your/tv/dir:/tv
      - /your/movie/dir:/movies
      - /your/transcode/dir:/transcode
    devices:
      - "/dev/dri:/dev/dri"  # important, enables hardware encoding

Hope this helps!