Jellyfin Forum
Playback error on Chrome/Edge browsers - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Playback error on Chrome/Edge browsers (/t-playback-error-on-chrome-edge-browsers)

Pages: 1 2 3


Playback error on Chrome/Edge browsers - malvar - 2024-08-20

Hey everyone,

New user here with a fresh install on a Synology NAS.  I'm running 10.9.9 on a Docker container.  I haven't started messing with hardware acceleration, but figured that I should be able to see something, even if it's crap performance.

When I view a movie on my android phone, it works fine.  But when I attempt to view a movie from either Chrome or Edge browsers, I get a "Playback failed due to a fatal player error."  I tried looking through the logs, but don't see anything obviously wrong (to me, anyway).

Jellyfin logs here: https://pastebin.com/axWgLR7d
FFmpeg transcode log here: https://pastebin.com/cXEcZqUN

I appreciate any help in advance! Thanks!


RE: Playback error on Chrome/Edge browsers - TheDreadPirate - 2024-08-20

What model NAS do you have? And did you pass the GPU into the container?


RE: Playback error on Chrome/Edge browsers - malvar - 2024-08-20

(2024-08-20, 10:56 PM)TheDreadPirate Wrote: What model NAS do you have?  And did you pass the GPU into the container?

Thank you for the quick response!

I have a DS423+ NAS, and I have no idea how to pass the GPU into the container.  Can you point me to some instructions on how to do this?


RE: Playback error on Chrome/Edge browsers - TheDreadPirate - 2024-08-20

One of the other forum mods wrote this guide.

https://forum.jellyfin.org/t-guide-running-jellyfin-in-synology-s-dsm-7-using-docker-compose


RE: Playback error on Chrome/Edge browsers - malvar - 2024-08-21

(2024-08-20, 11:38 PM)TheDreadPirate Wrote: One of the other forum mods wrote this guide.

https://forum.jellyfin.org/t-guide-running-jellyfin-in-synology-s-dsm-7-using-docker-compose

Oh yes, I had followed that guide to perform my setup.  So yes, I have the device entries in my yaml file, uncommented. If that's all that's necessary to pass my GPU to my container, then it's done.  (And was done prior to the logs above.)

Sorry for the confusion -- I'm new to all of this.


RE: Playback error on Chrome/Edge browsers - TheDreadPirate - 2024-08-21

Can you share your docker compose and screenshots of Dashboard > Playback?


RE: Playback error on Chrome/Edge browsers - malvar - 2024-08-21

(2024-08-21, 12:17 AM)TheDreadPirate Wrote: Can you share your docker compose and screenshots of Dashboard > Playback?

Sure thing:

YAML:

services:
  jellyfin:
    #for specific image-> image: jellyfin/jellyfin:10.8.13
    image: jellyfin/jellyfin:latest
    container_name: Jellyfin
    environment:
      #- PUID=0
      #- PGID=0
      - TZ=America/Los_Angeles
      #- JELLYFIN_PublishedServerUrl=192.168.1.#
      #note: change TZ to your timezone identifier: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
    volumes:
      - /volume1/docker/jellyfin/cacheConfused-facecache:rw
      - /volume1/docker/jellyfin/configConfused-faceconfig:rw
      - /volume1/Media/moviesConfused-facemovies:rw
      - /volume1/Media/tvConfused-facetv:rw
    devices:
      - /dev/dri/renderD128Confused-facedev/dri/renderD128
      - /dev/dri/card0Confused-facedev/dri/card0
    ports:
      - 8096:8096/tcp
    network_mode: bridge
    #network_mode: host
    restart: unless-stopped

Playback settings:
attached


RE: Playback error on Chrome/Edge browsers - TheDreadPirate - 2024-08-21

You haven't enabled hardware acceleration.

Select Intel Quick Sync from the drop down. Check all the codec boxes except AV1. Enable hardware encoding. Do NOT uncheck low power encoding. Allow encoding in HEVC format, but NOT AV1.

Do not enable VPP tone mapping or tone mapping. The Linux kernel in most Synology NASes is pretty old, probably 4.4.X. Intel deprecated support for that kernel in their OpenCL drive, which was required for tone mapping.

Scroll all the way down and check "Throttle transcodes" and "Delete segments".

Save.


RE: Playback error on Chrome/Edge browsers - malvar - 2024-08-21

Thanks again for all the quick replies! 

Unfortunately, I still can't get these movies to play in Chrome or Edge, and am seeing the same error.

At your request, I enabled Intel QSV encoding, turned on everything except AVI, Enabled hardware encoding. The Intel low-power options were not checked by default, so I checked them both. I allowed encoding for HEVC, but not AVI. I did not enable tone mapping. Then I checked throttle transcodes and delete segments. Saved, restarted, verified settings to make sure they were all good. Still can't play movies.

I wasn't clear on the low-power options, so I tried again with them disabled, no luck there either.

Here are my most recent logs with your suggested changes:

Jellyfin log: https://pastebin.com/bXAzD90G
FFmpeg log: https://pastebin.com/VcLX4YHw


RE: Playback error on Chrome/Edge browsers - TheDreadPirate - 2024-08-21

Uncheck low power encoding. That requires additional setup that can't be done on Synology NASes. It isn't required anyway.