Need a hand with CTL

Hello,

Trying to use CTL render with a EXR CMS pattern.

I’m using Output.Academy.Rec709-D65_100nit_in_Rec709-D65_BT1886.ctl in the aces output repo but getting a error.

Segmentation fault (core dumped)

I validated that my EXR is ok with a test script:

// test.ctl
import "Lib.Academy.DisplayEncoding";

void main(
    input varying float rIn,
    input varying float gIn,
    input varying float bIn,
    output varying float rOut,
    output varying float gOut,
    output varying float bOut
)
{
    rOut = rIn;
    gOut = gIn;
    bOut = bIn;
}

Setup my env var with:

export CTL_MODULE_PATH="ctl:/aces/aces-core/lib"

Any ideas as to where I could look? I did not touch any of the modules.

Thanks!

Is your ctlrender up to date? ACES 2.0 requires more memory than was allocated previously for CTL.

I forget the details. Perhaps @Alexander_Forsythe or @sdyer can comment further.

1 Like

All good. We had the release and needed to go to head. Working now!

Thank you!

1 Like

Hi,

I used CTLrender with an EXR CMS pattern as well.

All works fine, except one CTL file:

InvOutput.Academy.P3-D60_48nit_in_P3-D65_Gamma2pt6.ctl

Only this gives out an Error. Rest of all other CTLs outputs without any issue.

*Error given out*

exception thrown (oops...): 
/Users/dp/Desktop/aces-core-dev/Lib.Academy.OutputTransform.ctl:86: 
/Users/dp/Desktop/aces-core-dev/Lib.Academy.OutputTransform.ctl:1693: 
/Users/dp/Desktop/aces-core-dev/Lib.Academy.OutputTransform.ctl:910: 
/Users/dp/Desktop/aces-core-dev/Lib.Academy.OutputTransform.ctl:912: 
/Users/dp/Desktop/aces-core-dev/Lib.Academy.OutputTransform.ctl:765: 
/Users/dp/Desktop/aces-core-dev/Lib.Academy.OutputTransform.ctl:720: Invalid frame-pointer relative address.

I cannot replicate here.

Could you provide some more details about your setup?
What operating system?
What version of CTL do you have installed? Did you install from source? From homebrew?
Thanks.