Jellyfin Forum
Tone Mapping - 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: Tone Mapping (/t-tone-mapping)

Pages: 1 2


Tone Mapping - Ejz9 - 2024-01-01

Jellyfin Version: 10.8.13 Docker Container from the official repository

I have a Ryzen 7 5700G and am trying to use the integrated graphics. The base OS is Ubuntu 22.04. I have correctly passed the Render128 device and transcoding from what I am aware of works. I recently just spent time following: https://jellyfin.org/docs/general/administration/hardware-acceleration/amd following the guide regarding Linux virtualization.

I believe VPP tone mapping is not an option because I do not have an Intel processor. Otherwise, it does not work, and the HDR10 contents it is just washed colors. I don't plan to watch anything in the browser so this is okay but I don't see why my processor wouldn't work for HDR encryption and decryption as it states it does according to the check video codecs command in that guide.

So what is the issue? Well if I, "enable tone mapping" in the playback settings, it does not work. I am no longer able to view my content, at least from a device that cannot direct play the video. It just gives a content not supported error.

In my logs, it just says slow HTTP response but maybe I am looking in the wrong place. Playing from the browser also plays badly which is probably the reason for this slow HTTP response error. I have 1G up and down so it's strange this would be an issue. Maybe my 5700G just is not capable of 4k transcodes though. I thought it was, and was understanding that it does every codec except AV1.

Any help? Thanks a ton if so... Getting this to work has been frustrating and confusing.


RE: Tone Mapping - TheDreadPirate - 2024-01-01

Can you share your server logs with us?  And ffmpeg logs?  Upload the logs to pastebin and link back here.  Also, screenshot Dashboard > Playback and post those there.

(2024-01-01, 02:16 AM)Ejz9 Wrote: In my logs, it just says slow HTTP response
Any help? Thanks a ton if so... Getting this to work has been frustrating and confusing.

This log message is useless and not indicative of a problem.  In Dashboard > Logs there is a check box to turn off that message and we encourage you to do so.

What is the output of 

Code:
docker exec -it jellyfin /usr/lib/jellyfin-ffmpeg/ffmpeg -v debug -init_hw_device opencl



RE: Tone Mapping - Ejz9 - 2024-01-02

Can you share your server logs with us? 
https://pastebin.com/rHsRDLwu

And ffmpeg logs?
https://pastebin.com/16cfVaNy

Also, screenshot Dashboard > Playback and post those there.
https://imgur.com/a/4ExqsM5 (Tonemapping is disabled in the screenshot since it isn't working)

This log message is useless and not indicative of a problem.  In Dashboard > Logs, there is a check box to turn off that message; we encourage you to do so.
I have done so but these messages are still in the log from before it was disabled just FYI. 

What is the output of:
Code:
docker exec -it jellyfin /usr/lib/jellyfin-ffmpeg/ffmpeg -v debug -init_hw_device opencl
https://pastebin.com/nEpwgQ0h

Also the above after a restart of the server when I was first messing around with it was red but restarting the container nothing is different so I presume this is not an issue. I can attempt restart and see if it is the response again though if you'd like. To fix all I did was run the big command from the docs that I linked.


RE: Tone Mapping - TheDreadPirate - 2024-01-02

Uncheck VPP tone mapping and check the standard tone mapping box a bit below that.


RE: Tone Mapping - Ejz9 - 2024-01-02

(2024-01-02, 05:44 AM)TheDreadPirate Wrote: Uncheck VPP tone mapping and check the standard tone mapping box a bit below that.

Still getting the client isn't compatible with the media message.


RE: Tone Mapping - TheDreadPirate - 2024-01-02

Can you share your docker compose file with us?


RE: Tone Mapping - Ejz9 - 2024-01-04

Hey, sorry for my delay. https://pastebin.com/rQmSL4iV


RE: Tone Mapping - TheDreadPirate - 2024-01-04

What user is your container run as? Usually UID + GID is specified. The user that this container run needs to be a member of the video and render groups. Remove card0 from your devices, it isn't necessary.

What is the output of
Code:
docker exec -it jellyfin /usr/lib/jellyfin-ffmpeg/ffmpeg -v debug -init_hw_device vulkan



RE: Tone Mapping - Ejz9 - 2024-01-08

If I am not wrong, the container is running as me. AKA UID GID 1000. Would I not be a part of the video render group? Otherwise, how do I become a part of it? Also, is Card0 not necessary because it's not a physical GPU?

Output of command: https://pastebin.com/zQyRf3yx


RE: Tone Mapping - TheDreadPirate - 2024-01-08

You don't need card0 because it isn't used by Jellyfin.

Step 4 in this section.

https://jellyfin.org/docs/general/administration/hardware-acceleration/amd/#configure-on-linux-host