Fu Fusion ignores OCIO variable

Moderator: Chad

User avatar
mroche
Posts: 15
Joined: Wed Apr 11, 2018 7:36 pm
Location: Boston
Been thanked: 3 times
Contact:

Fusion ignores OCIO variable

#1

Post by mroche » Wed Jul 18, 2018 5:09 am

Fusion version: 9.0.2



OS and version: CentOS 7.5.1804



Additional relevant system info: Intel Broadwell-E chipset, 32GB memory, 3x GTX 1070



Description of the bug:

Fusion will completely ignore the OCIO environment variable unless launched from a terminal or other sub-shell process. If launched from the Desktop file it will not associate OCIO nodes with the config. Tested with variables set in ~/.bash_profile (log out / log in) and /etc/profile.d/<custom.sh> (with reboot).

Other applications from Foundry and Autodesk do not suffer from this issue. Tested for uniformity.

Severity: Minor



Steps to reproduce:

- Set the OCIO environment variable in a globally active file (~/bash_profile or /etc/profile.d/*).
- Confirm theyvare being loaded (log out or reboot).
- Launch Fusion from a terminal and it should work as expected.
- Launch Fusion from the desktop file and OCIO will not be linked.

Cheers,
Mike

User avatar
bfloch
Fusioneer
Posts: 93
Joined: Wed Aug 06, 2014 4:25 pm
Been thanked: 4 times

Re: Fusion ignores OCIO variable

#2

Post by bfloch » Thu Sep 13, 2018 10:56 pm

I am not sure this is a proper bug.

I don't think that .bash_profile will be sourced from non-termnial (bash) sessions.

Have you tried:

1. Use /etc/environment

or

2. Edit the application launcher at /usr/share/applications/com.blackmagicdesign.Fusion9.desktop

Code: Select all

Exec=env OCIO=/whatever BlackmagicDesign/Fusion9/Fusion %f
Obviously 2. will be overriden with the next update so maybe you want to roll your own.

User avatar
mroche
Posts: 15
Joined: Wed Apr 11, 2018 7:36 pm
Location: Boston
Been thanked: 3 times
Contact:

Re: Fusion ignores OCIO variable

#3

Post by mroche » Sun Apr 14, 2019 1:34 pm

Hey bfloch,

Sorry, never actually got around to seeing your response here (whoops). On RHEL/CentOS, the settings defined in the .bash_profile file are sourced for the entire GUI shell session when you login. It has to do with the split between interactive and login shells (.bashrc for interactive, .bash_profile for login). All applications that I use handle this fine, and it appears Fusion 16 Studio now accepts this as well.

Cheers,
Mike