RCM Gamma bug? - RCM vs RCM2

Get answers to your questions about color grading, editing and finishing with DaVinci Resolve.
  • Author
  • Message
Offline

RikshaDriver

  • Posts: 651
  • Joined: Sun Aug 12, 2018 10:08 am
  • Location: Melbourne
  • Real Name: Asim Siddiqui

RCM Gamma bug? - RCM vs RCM2

PostFri Nov 20, 2020 7:10 am

I've noticed a Gamma Shift between the "Legacy" RCM and the new instance of RCM. All the "DRT" stuff has been disabled, so it's a straight like-for-like comparison between Legacy and new RCM with Timeline and Output set to Rec.709 Gamma 2.4

Legacy_RCM.jpg
Legacy RCM
Legacy_RCM.jpg (106.75 KiB) Viewed 2695 times


RCM2.jpg
RCM v2
RCM2.jpg (109.71 KiB) Viewed 2695 times



My understanding to this point has been that the Rec.709 Gamma 2.4 setting uses a straight power 2.4 gamma curve (or 2.2 for Gamma 2.2). Is it no longer the case, or is this a bug in Resolve 17?
GitHub Projects: https://github.com/xtremestuff/
Commercial Plugins: https://xtremestuff.net/store/
Offline

RikshaDriver

  • Posts: 651
  • Joined: Sun Aug 12, 2018 10:08 am
  • Location: Melbourne
  • Real Name: Asim Siddiqui

Re: RCM Gamma bug? - RCM vs RCM2

PostFri Nov 20, 2020 11:20 pm

Project Archive files linked below:

https://gofile.io/d/Fub3Jl
GitHub Projects: https://github.com/xtremestuff/
Commercial Plugins: https://xtremestuff.net/store/
Offline

RikshaDriver

  • Posts: 651
  • Joined: Sun Aug 12, 2018 10:08 am
  • Location: Melbourne
  • Real Name: Asim Siddiqui

Re: RCM Gamma bug? - RCM vs RCM2

PostMon Nov 23, 2020 11:18 pm

Can someone from BMD please clarify.

Is this a bug, or has there been a change to the Rec.709 Gamma 2.4/2.2 implementations?
GitHub Projects: https://github.com/xtremestuff/
Commercial Plugins: https://xtremestuff.net/store/
Offline

RikshaDriver

  • Posts: 651
  • Joined: Sun Aug 12, 2018 10:08 am
  • Location: Melbourne
  • Real Name: Asim Siddiqui

Re: RCM Gamma bug? - RCM vs RCM2

PostFri Dec 18, 2020 5:32 am

Ok... so after zero responses from anyone else and some further analysis, it appears that as of Version 17, Rec 709 Gamma 2.4 is now functioning as Rec 709 Scene.

It's either a bug in development or a deliberate change.

Either way, Gamma 2.4 in Resolve 17 is no longer the same as Gamma 2.4 from prior versions of Resolve.

User beware.
GitHub Projects: https://github.com/xtremestuff/
Commercial Plugins: https://xtremestuff.net/store/
Offline

Hendrik Proosa

  • Posts: 3312
  • Joined: Wed Aug 22, 2012 6:53 am
  • Location: Estonia

Re: RCM Gamma bug? - RCM vs RCM2

PostFri Dec 18, 2020 11:06 am

RikshaDriver wrote:... it appears that as of Version 17, Rec 709 Gamma 2.4 is now functioning as Rec 709 Scene.
It's either a bug in development or a deliberate change.

This must be considered a bug because rec709 scene must be rec709 curve with linear segment at toe and pure 2.4 gamma curve must not if compatibility with any other software is expected.
I do stuff
Offline

RikshaDriver

  • Posts: 651
  • Joined: Sun Aug 12, 2018 10:08 am
  • Location: Melbourne
  • Real Name: Asim Siddiqui

Re: RCM Gamma bug? - RCM vs RCM2

PostSat Dec 19, 2020 1:04 am

Unfortunately there hasn't been a response on this from BMD.

Technically speaking, the timeline should always have been Rec.709 Scene and not a pure Gamma 2.4 power function.

The current situation is very misleading and will confuse people.
GitHub Projects: https://github.com/xtremestuff/
Commercial Plugins: https://xtremestuff.net/store/
Offline

RikshaDriver

  • Posts: 651
  • Joined: Sun Aug 12, 2018 10:08 am
  • Location: Melbourne
  • Real Name: Asim Siddiqui

Re: RCM Gamma bug? - RCM vs RCM2

PostFri Jan 01, 2021 9:37 am

I noticed that Beta 6 has made Rec.709 Scene the default timeline gamma, which is great! :D

However, the issue of Gamma 2.4 out still incorrectly outputting as Rec.709 Scene still remains.
GitHub Projects: https://github.com/xtremestuff/
Commercial Plugins: https://xtremestuff.net/store/
Offline

Hendrik Proosa

  • Posts: 3312
  • Joined: Wed Aug 22, 2012 6:53 am
  • Location: Estonia

Re: RCM Gamma bug? - RCM vs RCM2

PostFri Jan 01, 2021 11:14 am

My guess is that someone somewhere decided that using pure gamma curve as encoding curve for rec709 is wrong (and it is), but had a great idea for a “fix” by simply internally overriding 2.4 curve.

Why pure gamma 2.4 corrected encoding is wrong? Because most people think it is correct rec709 encoding curve, but it isn’t. And it isn’t correct view curve either. As a strictly data encoding it is fine, but not for sending to display. Why it is widely used as such, I have never understood, result is that people compensate for it manually during grading, unknowingly fighting the resulting too low end to end gamma.
I do stuff
Offline

RikshaDriver

  • Posts: 651
  • Joined: Sun Aug 12, 2018 10:08 am
  • Location: Melbourne
  • Real Name: Asim Siddiqui

Re: RCM Gamma bug? - RCM vs RCM2

PostThu Jan 28, 2021 1:56 am

Technically, wouldn't Power Gamma 2.4 for output be correct when viewed on screens that are configured to BT.1886, as the BT.1886 math on a display "should" apply the appropriate compensations for CRT matching?

With BT.1886, when Lw = 100 and Lb = 0, you get a pure 2.4 power gamma curve.



More to the topic, I'm a bit surprised nobody else has picked up on this fundamental change with Gamma 2.4 outputs as yet.
GitHub Projects: https://github.com/xtremestuff/
Commercial Plugins: https://xtremestuff.net/store/
Offline

Hendrik Proosa

  • Posts: 3312
  • Joined: Wed Aug 22, 2012 6:53 am
  • Location: Estonia

Re: RCM Gamma bug? - RCM vs RCM2

PostThu Jan 28, 2021 7:52 am

BT.1886 is display curve, an EOTF. And yes it can be pure 2.4 gamma with these settings. But this doesn’t imply in any way that encoding of data should be also pure gamma 2.4 corrected (raised to 1/2.4 power). Result of this would be end to end gamma of 1.0 which is too low for dim surround environment. BT.1886 expects input data encoded with rec709 encoding curve, the one with linear segment, and display calibrated to BT.1886 produces appropriate end to end gamma for specified view environment.

If my understanding is wrong and end to end gamma of 1.0 is actually desirable for dim surround, I’m all ears for explanation of the ”why”.
I do stuff
Offline
User avatar

Anton Meleshkevich

  • Posts: 56
  • Joined: Mon Mar 12, 2018 10:38 am
  • Real Name: Anton Meleshkevich

Re: RCM Gamma bug? - RCM vs RCM2

PostFri Jan 29, 2021 7:39 pm

Confirm.
In new RCM Gamma 2.4 and Gamma 2.2 have linear segment near black now.
But what is really bad is how it works with sRGB now.
If I set input to sRGB, timeline to, say, LogC, and turn off all the tonemapping things, instead of converting from sRGB to LogC, thats what happening:

At first image converting from sRGB to pure gamma 2.4. And then, to the resulting image, applying another conversion from REC709 to LogC.

Seems like BM decided that their users don't know what is pure gamma and what is linear segment near black in rec709 and sRGB. But if the decision is to remove pure gamma and sRGB encoding curve from new RCM at all - maybe it's a good idea to name it properly instead of confusing people, who expect that gamma 2.4 means gamma 2.4 (pure gamma without linear segment near black)

But of course I prefer gamma 2.4 still be pure gamma 2.4. Probably it should be renamed to Pure Gamma 2.4.
Offline
User avatar

Nick Shaw

  • Posts: 238
  • Joined: Thu Sep 13, 2012 11:43 am
  • Location: London, UK

Re: RCM Gamma bug? - RCM vs RCM2

PostTue Feb 02, 2021 11:41 am

Hendrik Proosa wrote:BT.1886 is display curve, an EOTF. And yes it can be pure 2.4 gamma with these settings. But this doesn’t imply in any way that encoding of data should be also pure gamma 2.4 corrected (raised to 1/2.4 power). Result of this would be end to end gamma of 1.0 which is too low for dim surround environment. BT.1886 expects input data encoded with rec709 encoding curve, the one with linear segment, and display calibrated to BT.1886 produces appropriate end to end gamma for specified view environment.

If my understanding is wrong and end to end gamma of 1.0 is actually desirable for dim surround, I’m all ears for explanation of the ”why”.

It depends what the input to your 2.4 gamma display encoding is. If it is your desired display colorimetry, then you absolutely want an end to end gamma of 1.0 so it cancels out. When you have a DRT being used, that is what should be applying the picture rendering, so you should not need additional gamma in the display encoding (inverse EOTF). That “system gamma” is a legacy “video” very simple form of DRT when going from scene to display-referred.

When you say “BT.1886 expects…” that is really only in the simplest form of direct legacy television camera direct to display system, with no grading applied.
Workflow Consultant, London UK
LUTs and LUT plugins
www.antlerpost.com
Offline
User avatar

Nick Shaw

  • Posts: 238
  • Joined: Thu Sep 13, 2012 11:43 am
  • Location: London, UK

Re: RCM Gamma bug? - RCM vs RCM2

PostTue Feb 02, 2021 11:51 am

I have to say also that I personally am not a fan of defaulting to Rec.709 (scene) as the timeline colour space. If you have “Use Mac display color profiles for viewers” enabled (which you need if you are using a Display P3 display, like an iMac or MacBook Pro) the correction applied is wrong for matching an external BT.1886 monitor.
Workflow Consultant, London UK
LUTs and LUT plugins
www.antlerpost.com
Offline
User avatar

Nick Shaw

  • Posts: 238
  • Joined: Thu Sep 13, 2012 11:43 am
  • Location: London, UK

Re: RCM Gamma bug? - RCM vs RCM2

PostTue Feb 02, 2021 12:01 pm

Anton Meleshkevich wrote:Confirm.
In new RCM Gamma 2.4 and Gamma 2.2 have linear segment near black now.

I’m not seeing evidence of this. An RCM (or OFX Color Space) conversion from linear to 2.4 gamma can be inverted using a gamma colour correction.

What makes you think this is the case?
Workflow Consultant, London UK
LUTs and LUT plugins
www.antlerpost.com
Offline

RikshaDriver

  • Posts: 651
  • Joined: Sun Aug 12, 2018 10:08 am
  • Location: Melbourne
  • Real Name: Asim Siddiqui

Re: RCM Gamma bug? - RCM vs RCM2

PostTue Feb 02, 2021 1:31 pm

Nick Shaw wrote:I have to say also that I personally am not a fan of defaulting to Rec.709 (scene) as the timeline colour space. If you have “Use Mac display color profiles for viewers” enabled (which you need if you are using a Display P3 display, like an iMac or MacBook Pro) the correction applied is wrong for matching an external BT.1886 monitor.


I'm guessing you're referring to a non-color managed workflow here?

In a color managed workflow, this would/should ideally be handled at the output (Rec.709 Gamma 2.4), not on the timeline level.
GitHub Projects: https://github.com/xtremestuff/
Commercial Plugins: https://xtremestuff.net/store/
Offline
User avatar

Nick Shaw

  • Posts: 238
  • Joined: Thu Sep 13, 2012 11:43 am
  • Location: London, UK

Re: RCM Gamma bug? - RCM vs RCM2

PostTue Feb 02, 2021 6:18 pm

Indeed. I’m talking about the default way Resolve currently starts up in non colour managed mode, with the timeline colour space set to Rec.709 (scene).
Workflow Consultant, London UK
LUTs and LUT plugins
www.antlerpost.com
Offline

RikshaDriver

  • Posts: 651
  • Joined: Sun Aug 12, 2018 10:08 am
  • Location: Melbourne
  • Real Name: Asim Siddiqui

Re: RCM Gamma bug? - RCM vs RCM2

PostWed Feb 03, 2021 9:26 am

Have to admit I'm not a frequent Mac user. If that's the case, then the default should probably be Gamma 2.4 for non-color managed workflows. But in RCM the default timeline should still be Rec.709 Scene in my humble opinion.

Unfortunately even latest Beta 8 still has the issue of incorrect Gamma 2.4

Gamma 2.2 has always been fine.
GitHub Projects: https://github.com/xtremestuff/
Commercial Plugins: https://xtremestuff.net/store/
Offline
User avatar

Anton Meleshkevich

  • Posts: 56
  • Joined: Mon Mar 12, 2018 10:38 am
  • Real Name: Anton Meleshkevich

Re: RCM Gamma bug? - RCM vs RCM2

PostThu Feb 04, 2021 12:59 am

Nick Shaw wrote:What makes you think this is the case?


I compared conversions from gamma 2.4 / 2.2 / Rec709 / sRGB to LogС / Gamma 2.2 / Gamma 2.4 / Rec709 / sRGB / ST2084 in all combinations in DaVinci Color Managed with all the DRT things turned off to the same conversions in Color Space Transform effect. I used Gray Scale gradient for this.
Offline

RikshaDriver

  • Posts: 651
  • Joined: Sun Aug 12, 2018 10:08 am
  • Location: Melbourne
  • Real Name: Asim Siddiqui

Re: RCM Gamma bug? - RCM vs RCM2

PostThu Feb 04, 2021 7:00 am

You're absolutely right that the gamma has changed! :o I just double checked and even Gamma 2.2 has had a shift!


I've created an archive of relevant RCM and RCM2 Gamma projects to show the variances...

https://gofile.io/d/kL4F9S
GitHub Projects: https://github.com/xtremestuff/
Commercial Plugins: https://xtremestuff.net/store/
Offline

Hendrik Proosa

  • Posts: 3312
  • Joined: Wed Aug 22, 2012 6:53 am
  • Location: Estonia

Re: RCM Gamma bug? - RCM vs RCM2

PostThu Feb 04, 2021 7:33 am

Nick Shaw wrote:When you say “BT.1886 expects…” that is really only in the simplest form of direct legacy television camera direct to display system, with no grading applied.

Grading makes no difference in this imho. What people do during grading is implicitly compensating for encoding mismatch with their grade.
I do stuff
Offline

RikshaDriver

  • Posts: 651
  • Joined: Sun Aug 12, 2018 10:08 am
  • Location: Melbourne
  • Real Name: Asim Siddiqui

Re: RCM Gamma bug? - RCM vs RCM2

PostFri Feb 12, 2021 5:44 am

Peter Chamberlain wrote:Addressed an issue with gamma shift when using Resolve color management without selecting an output DRT.


Thanks for this. The gamma shift issues are now resolved.

I have noticed though that when DRT is enabled the default DaVinci tone mapping is quite aggressive and will push the highlights and shadows significantly lower.

In the case of highlights, it appears they are maxing out just under 95 IRE at Data Levels.

I'll probably raise a separate thread for DRT related issues
GitHub Projects: https://github.com/xtremestuff/
Commercial Plugins: https://xtremestuff.net/store/

Return to DaVinci Resolve

Who is online

Users browsing this forum: Bing [Bot], dirk-pel, panos_mts, qsipher and 260 guests