linuxserver / docker-jellyfin

GNU General Public License v3.0
607 stars 91 forks source link

Dolby Vision to SDR - AMD GPU OpenCL drivers #160

Closed jpslv closed 1 year ago

jpslv commented 2 years ago

Graphics: AMD Ryzen 3 4300GE with Radeon Graphics

OS: unRAID v6.10.3

Using Docker

Problem / issue: Playback of Dolby Vision profile 5 streams with green / purple image when tone mapping is enabled. I believe official jellyfin docker app has tone mapping support (only) for Intel when transcoding DoVi profile 5 to SDR. However, tone mapping for AMD needs OpenCL runtime.

Request: Would it be possible to add / install OpenCL runtime via the container (for example, through a mod like linuxserver/jellyfin-amd)?

Relevant link: https://github.com/jellyfin/jellyfin/issues/8030#issuecomment-1169759789

Thank you for your time!

github-actions[bot] commented 2 years ago

Thanks for opening your first issue here! Be sure to follow the bug or feature issue templates!

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

aviallon commented 1 year ago

I support this. Adding rocm to the container makes it work beautifully.

aptalca commented 1 year ago

We already have an amd gpu mod. I don't know what rocm is, but if you let us know, we can look into adding it. Or you can PR it in there: https://github.com/linuxserver/docker-mods/tree/jellyfin-amd

aviallon commented 1 year ago

Good idea, I think I'll do a PR. FYI, it's a set of libraries needed to use OpenCL on recent AMD GPUs (R9 3xx and later) with the open-source AMD driver.

jpslv commented 1 year ago

Please do! Thank you!

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Malinskiy commented 1 year ago

FYI https://github.com/linuxserver/docker-mods/pull/544 I'm not sure if this should be in the same mod though since rocm only works well for vega+ and other hardware from amd might require different packages

aviallon commented 1 year ago

@jpslv Remind me to do it. I can easily forget about it 😄

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

drizuid commented 1 year ago

closed by https://github.com/linuxserver/docker-mods/pull/544