For all the Mac users out there, I wanted to share an approach to getting Arve's tool running with plotting. It seems the current version of python-tk on the Mac is broken with the latest Big Sur update. To be clear, Arve's tool works just fine -- as long as you don't want to plot anything. If you want to plot and see what the curve really looks like, read on.
Basically I've got a dockerfile that creates an Ubuntu 18 instance, installs Arve's tool from GitHub and then runs it. The plots appear on your Mac using XQuartz.
Without going into the nitty gritty, here's what you need to do
1) This only works if you have Docker installed.
2) Install XQuartz on your Mac if it isn't installed already. This is an X11 server. You can find it here
XQuartz
3) After it's installed, launch it, go to preferences, then security, disable "authenticate connections" and check "Allow connections from network clients".
4) Create a folder somewhere. This folder is where your Arve's Tool install will exist.
This is also where you'll place any curves you create.
5) Copy the dockerfile (attached below) in that directory. The Forum wouldn't allow me to upload it, so it's just pasted at the bottom.
6) cd into that directory. If you haven't realized it yet, this requires you have familiarity with Terminal.
7) Build the container using "docker build . -t jvc:v1"
8) Run the container using "docker run -v $(pwd):/local -it -t jvc:v1"
9) You will then see the Arve Tool menu. Use the tool as normal. If you want to test plotting, type "ga" and then type "p"
Here's an example. As a starting point, I've already created a directory called "arve", I've placed the dockerfile in it along with javs 4000 curve.
$ docker build . -t jvc:v1
[+] Building 53.0s (16/16) FINISHED
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 538B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load metadata for docker.io/library/ubuntu:18.04 1.2s
=> [ 1/12] FROM docker.io/library/ubuntu:[email protected]:fd25e706f3dea2a5ff705dbc3353cf37f08307798f3e360a13e9385840f73fb3 1.7s
=> => resolve docker.io/library/ubuntu:[email protected]:fd25e706f3dea2a5ff705dbc3353cf37f08307798f3e360a13e9385840f73fb3 0.0s
=> => sha256:f22ccc0b8772d8e1bcb40f137b373686bc27427a70c0e41dd22b38016e09e7e0 26.71MB / 26.71MB 0.7s
=> => sha256:3cf8fb62ba5ffb221a2edb2208741346eb4d2d99a174138e4afbb69ce1fd9966 850B / 850B 0.2s
=> => sha256:e80c964ece6a3edf0db1cfc72ae0e6f0699fb776bbfcc92b708fbb945b0b9547 162B / 162B 0.2s
=> => sha256:fd25e706f3dea2a5ff705dbc3353cf37f08307798f3e360a13e9385840f73fb3 1.41kB / 1.41kB 0.0s
=> => sha256:a7fa45fb43d471f4e66c5b53b1b9b0e02f7f1d37a889a41bbe1601fac70cb54e 943B / 943B 0.0s
=> => sha256:2c047404e52d7f17bdac4121a13cd844447b74e13063f8cb8f8b314467feed06 3.32kB / 3.32kB 0.0s
=> => extracting sha256:f22ccc0b8772d8e1bcb40f137b373686bc27427a70c0e41dd22b38016e09e7e0 0.6s
=> => extracting sha256:3cf8fb62ba5ffb221a2edb2208741346eb4d2d99a174138e4afbb69ce1fd9966 0.0s
=> => extracting sha256:e80c964ece6a3edf0db1cfc72ae0e6f0699fb776bbfcc92b708fbb945b0b9547 0.0s
=> [ 2/12] WORKDIR /jvc 0.2s
=> [ 3/12] RUN ln -snf /usr/share/zoneinfo/Europe/Minsk /etc/localtime && echo Europe/Minsk > /etc/timezone 0.3s
=> [ 4/12] RUN apt-get update 3.9s
=> [ 5/12] RUN apt-get -y install python3.6 4.9s
=> [ 6/12] RUN apt-get -y install python3-pip 28.0s
=> [ 7/12] RUN apt-get -y install python3-tk 4.9s
=> [ 8/12] RUN apt-get -y install git 4.6s
=> [ 9/12] RUN git clone https://github.com/arvehj/jvcprojectortools.git 0.7s
=> [10/12] WORKDIR /jvc/jvcprojectortools 0.0s
=> [11/12] RUN git checkout wip 0.3s
=> [12/12] WORKDIR /local 0.0s
=> exporting to image 2.2s
=> => exporting layers 2.2s
=> => writing image sha256:9aac5c4f11ca4316c93de11d9588cc9655620724a08004ce38bbe67cc95892a3 0.0s
=> => naming to docker.io/library/jvc:v1 0.0s
$ docker run -v $(pwd):/local -it -t jvc:v1
1 Setup HDR
2 Set brightness and contrast for source
3 Load into projector and tune with contrast control
ga Adjust gamma curve
lp Load preset gamma curve
lf Load gamma curve from file [confname]
Pw Write gamma curve to projector
q! Quit and discard changes
s Save save current gamma parameters [confname]
x Quit and save current gamma parameters [confname]
Select operation: lf 4000nitv3
1 Setup HDR
2 Set brightness and contrast for source
3 Load into projector and tune with contrast control
ga Adjust gamma curve
lp Load preset gamma curve
lf Load gamma curve from file [confname]
Pw Write gamma curve to projector
q! Quit and discard changes
s Save save current gamma parameters [confname]
x Quit and save current gamma parameters [confname]
Select operation: ga
1 Setup HDR
2 Set brightness and contrast for source
3 Load into projector and tune with contrast control
ga Hide gamma curve adjust menu
eo eotf: eotf_pq
il Input Level: Standard (Must match Input Signal Menu)
hl Highlight regions (current None)
bm Set max brightness: 100.0 (Effective 540.5405405405405)
bs Set brightness scale factor: 5.405405405405405
bw Set ref white brightness: 18.5
bbi Set black brightness in: 0.0 (Effective 0.021621621621621623)
bbo Set black brightness out: 0.004 (Effective 0.021621621621621623)
eb eotf black compensation: None
bh Set hard clip: 3977.0
sc Set soft clip start: 150.0 (150.0)
se Set end slope: 0.9
st Set soft clip curve type: 0
sg Set soft clip gamma: 1
p Show plot menu
bwc Scale ref white brightness from contrast (-50 - 50)
Pr Read raw table from projector
lp Load preset gamma curve
lf Load gamma curve from file [confname]
Pw Write gamma curve to projector
q! Quit and discard changes
s Save save current gamma parameters [confname]
x Quit and save current gamma parameters [confname]
Select operation: p
1 Setup HDR
2 Set brightness and contrast for source
3 Load into projector and tune with contrast control
ga Hide gamma curve adjust menu
eo eotf: eotf_pq
il Input Level: Standard (Must match Input Signal Menu)
hl Highlight regions (current None)
bm Set max brightness: 100.0 (Effective 540.5405405405405)
bs Set brightness scale factor: 5.405405405405405
bw Set ref white brightness: 18.5
bbi Set black brightness in: 0.0 (Effective 0.021621621621621623)
bbo Set black brightness out: 0.004 (Effective 0.021621621621621623)
eb eotf black compensation: None
bh Set hard clip: 3977.0
sc Set soft clip start: 150.0 (150.0)
se Set end slope: 0.9
st Set soft clip curve type: 0
sg Set soft clip gamma: 1
ph Hide plot menu
p Plot [s|f]
pc Clear plot
pct Plot clip table
psc Plot contrast (-50 - 50)
pa Auto plot [0|-1|<n>]: On (Clear and Plot w/history 1)
pz Plot zoom [f|u|ur|r|dr|d|dl|l|ul|c|o]
pr Plot reference curve [a|r<index>|c|d<index>]
bwc Scale ref white brightness from contrast (-50 - 50)
Pr Read raw table from projector
lp Load preset gamma curve
lf Load gamma curve from file [confname]
Pw Write gamma curve to projector
q! Quit and discard changes
s Save save current gamma parameters [confname]
x Quit and save current gamma parameters [confname]
and you'll get...
Hope this helps someone!
Below is the dockerfile. Just create a text file called "dockerfile" and put this inside it. I don't know why AVSForum would not let me upload it.
FROM ubuntu:18.04
WORKDIR /jvc
ENV DISPLAY=host.docker.internal:0
ENV TZ=Europe/Minsk
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN apt-get update
RUN apt-get -y install python3.6
RUN apt-get -y install python3-pip
RUN apt-get -y install python3-tk
RUN apt-get -y install git
RUN git clone https://github.com/arvehj/jvcprojectortools.git
WORKDIR /jvc/jvcprojectortools
RUN git checkout wip
WORKDIR /local
CMD ["python3.6", "/jvc/jvcprojectortools/menu.py"]