Jump to content

Transcoding won't work when tonemapping is enabled (J5005 + Unraid)


Recommended Posts

Posted

I'm running a Dell Wyse 5070 with an Gemini Lake Intel J5005 (UHD Graphics 605) and Unraid 6.12.6

My server can't transcode media when tonemapping ist enabled, this problem only occurs when using QuickSync (VAAPI works). but QuickSync is the prefered method since its more efficient.

Recently i tested Plex and had a similar problem, with tonemapping enabled the Server falled back to Software transcoding which causes massive load on the CPU and lagging playback.

 

I tested both the official emby stable image and the beta with following results:

QuickSync Transcode - disabled Tonemapping - Works

QuickSync Transcode - enabled Tonemapping - Broken Playback

VAAPI Transcode - enabled Tonemapping - Works, but is inefficent on that CPU

 

I tried to transcode different 4k material with Dolby Vision and/or HDR, always with the same problem.

Here are the logs after some Playback attemps:

 

 

embyserver.txt ffmpeg-transcode-1e1d36e0-ec08-4a3f-bb23-dd3833145ba4_1.txt ffmpeg-transcode-07bc4557-385f-427a-994c-824ead83cd86_1.txt ffmpeg-transcode-7e34d74b-4e35-4419-8d1e-d6030c4ba15b_1.txt ffmpeg-transcode-89b7045b-ae5c-427b-818d-b36c9c039b65_1.txt ffmpeg-transcode-5817d51e-473c-4760-a4f1-4cf0ffc317da_1.txt ffmpeg-transcode-a84a2fa2-22d4-4fc6-b994-d6e66bf21557_1.txt ffmpeg-transcode-abe7b26d-84ef-46d2-83ad-14d79b7c1083_1.txt ffmpeg-transcode-c6f4f835-cfec-4513-8a51-35e18a8b8f74_1.txt ffmpeg-transcode-e5858834-3ee8-4a64-abb3-920fd9d9b4a3_1.txt

Posted

Hello Reytec,

** This is an auto reply **

Please wait for someone from staff support or our members to reply to you.

It's recommended to provide more info, as it explain in this thread:


Thank you.

Emby Team

Posted
13 hours ago, Reytec said:

Gemini Lake Intel J5005 (UHD Graphics 605

That IGP doesn't support HDR video.

That is why your transcode tonemapping of HDR is failing.

Posted
3 hours ago, jiggity said:

That IGP doesn't support HDR video.

That is why your transcode tonemapping of HDR is failing.

Interesting. If this is true then it sounds like we need to improve the detection so that it never attempts to do it in the first place.

Posted
7 hours ago, jiggity said:

That IGP doesn't support HDR video.

That is why your transcode tonemapping of HDR is failing.

That's nonsense. As you can from the report and the provided logfiles, VAAPI tone mapping is working.

Posted

I found posts with similar problems on the plex and jellyfin forums. There is actually a issue with newer linux kernels in combination with the j5005 and similar cpus.

I'm now running Ubuntu Server 22.04 with Kernel 5.15 via VM on Unraid and i can confirm that QuickSync tonemapping works as intended.

Not optimal but at least a workaround for now.

MrMackey
Posted

@softworkzIs it possible that this is the same problem that we discussed here?

Posted
14 minutes ago, MrMackey said:

@softworkzIs it possible that this is the same problem that we discussed here?

In your hardware log it says GeminiLake UHD Graphics 600. Almost the same as mine. It has to be affected by the same Kernel issue.

MrMackey
Posted

Yes, it looks like it, at least now we know what the probable cause is.

Posted (edited)
1 hour ago, jiggity said:

Take it up with Intel, this has been discussed years ago

https://community.intel.com/t5/Graphics/The-Gemini-Lake-UHD-605-supports-HDR/m-p/613079

That's about the question whether HDR is supported on Windows 10 as a desktop mode. This is something totally different from video acceleration.

In other words: You cannot connect an HDR TV or monitor, but you can still transcode 10bit HEVC video.

Edited by softworkz
Posted (edited)
8 hours ago, MrMackey said:

@softworkzIs it possible that this is the same problem that we discussed here?

@MrMackey @Reytec- Yes, this appears to be the same issue.

This might be resolved in the latest beta (28). We made some updates to the Intel stack and had successful tests. 

=> EDIT: It's in .27

Would you be able to (re)try with the beta?

 

@Reytec- Please note that you might not be able to go back to stable after upgrading, be sure to make a backup.

Edited by softworkz
  • Thanks 1
  • 2 months later...
Posted

@Reytechave you updated to Emby Server 4.8.10? Has that helped?

  • 2 weeks later...
Posted

Sorry for the late response, but I'm not using emby at the moment. Maybe someone else with similar hardware can test it. Would be great if it works with newer kernel versions. 

  • Thanks 1

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...