Davinci Resolve "Ancient Egyptian Hieroglyph" LUTs

cyvideo

Veteran
Hey All.

How's this for an odd behaviour. Would love to know if anyone else has seen or experienced the following?

A couple of weeks ago, I did a clean installation of Windows. So prior to doing the installation I did the right thing, I backed up my Resolve Database to an external drive. At the same time, I backed up the LUT folder that contains all the default LUTs that come with a Resolve install, PLUS my custom LUTs that I had installed. The Resolve default LUTs install in two locations. One being "C:\ProgramData" and the other being "C:\Users\username\AppData\Roaming\Blackmagic Design\DaVinci Resolve\Support\.LUT".

Upon reinstalling Resolve 18.4 I restored the Project Database. All good all projects came back to life 100%. I then restored the LUT folder back to its "C:\ProgramData" location.

Now the fun started. From inside Resolve, the only LUTs visible were the default LUTs that came with the Resolve install. Why???. So I checked the C:\ProgramData location. All my custom LUT folders were all there, all named correctly. Why was Resolve not seeing my custom LUT folders?

Upon further investigation I now noticed that every single cube LUT, which all have the extension .cube were now all renamed .cube_shaperlut. Very strange that every cube LUT now had this new ".cube_shaperlut" extension.

Totally beyond me how this had happened. I couldn't even begin to address this anomaly. Didn't have the time as I had a client on the way in. "No problem." I thought. I'll change the extension back to .cube from .cube_shaperlut. Easily done by using "Bulk Extension Changer 1.3". So I ran Bulk Extension Changer, and within a couple of seconds every LUT in the LUT folder was now showing the correct .cube extension.

I then fired up Resolve and was happy to see all my LUT folders now showing up correctly. Great! So I loaded up the client's project, which now needed some updates and changes. The next problem now raised it's head?? No clip in the project Color Tab was showing any effect from any applied LUT. The LUT was listed on the Node and checking which LUT was applied indicated that yes the correct LUT was registered to that node but it was having no effect on the clip. W-h-a-t??

So back into the C:\ProgramData LUT location to see if I could spot anything that would indicate what was causing this strange behaviour. Then I spotted something odd. Every LUT without exception was now showing a size of 422 KB. That's like a couple of hundred LUTs that were now all the same size? Not possible.

So I grabbed a couple of the LUTs and opened them in a text editor to check their content structure. Hence, the name of this post, "Davinci Resolve Ancient Egyptian Hieroglyphs LUTs". Every LUT had changed from a numeric value and text entry to what looked like Egyptian Hieroglyphs. Total rubbish, in other words. Look at the attached JPG.

The solution was to delete all the non-default Resolve LUTs from their default C:\ProgramData LUT location, and then replace all those LUTs with the appropriate LUTs from my off-board LUT archive drive. Upon firing Resolve back up, the world was back on its axis. All projects were now reflecting the correct LUT applications along with any grades that had been applied.

Apparently I'm not the only one who's seen this. A quick Google found many instances of random phantom ".cube_shaperlut" instances... butt no solutions. Hence, my posting my solution to this strange anomaly, should anyone else run into it.

All very Twilight Zone?

Chris Young

LUT Madness.JPG - Click image for larger version  Name:	LUT Madness.JPG Views:	0 Size:	192.4 KB ID:	5709038
 

Attachments

  • LUT Madness.JPG
    LUT Madness.JPG
    192.4 KB · Views: 0
Don't know if this helps, but I saw one comment "I had accidentally grabbed the files from the .LUT folder instead of the LUT folder. I got the correct files now and they work." I checked and I only have a "LUT" folder and not a ".LUT" folder so can not confirm.

EDIT: The other thing I notice is the one on the right is showing as being ANSI encoded (not UTF-8). Did you back and restore between different file systems?
 
Last edited:
Don't know if this helps, but I saw one comment "I had accidentally grabbed the files from the .LUT folder instead of the LUT folder. I got the correct files now and they work." I checked and I only have a "LUT" folder and not a ".LUT" folder so can not confirm.

EDIT: The other thing I notice is the one on the right is showing as being ANSI encoded (not UTF-8). Did you back and restore between different file systems?

Yes, I saw that post during my search for answers, on the BM forum I think? So was aware that possibility existed. Did a double check and no I was using the LUT folder in ProgramData. Not the .LUT folder, which is buried deep under the "Users" path under AppData/Roaming. Whatever gets created or placed in the ProgramData\LUT folder gets recreated in the C:\Users\xxxx\AppData\Roaming\Blackmagic Design\DaVinci Resolve\Support\.LUTRoaming Blackmagic Design Dvinci\Support\LUT folder.

As for the text encoding. No, it all happened on the same Windows OS on the same PC. The only difference being it was a new installation of the OS. As I indicated. I'm at a total loss as to how this happened. I've been through this process a number of times before, and also between different PC's with different OS platforms. That's Win 7. 10 and 11, That includes going from Desktop to Laptop, and have never seen this issue before. As I said, all sorted now. It's just that I hate working out a fix but never working out what caused the problem in the first place. At least I know the answer now should it happen again.

Chris Young
 
Weird. Do you still have one of the offending files you can post?

No, I don't. Once I had cleared the mess up, I deleted everything. I distanced myself from them in haste :) As I said earlier. When you bring new LUTs or LUT folders into the correct ProgramData "LUT" folder Resolve scans the LUT folder and then makes a bunch of new ".cube_shaperlut" entries in the ".LUT" folder. Which now cross-references with the LUTs in the ProgramData\ LUT folder. Also found under Users\Roaming, in the .LUT folder, are a whole swag of new .PNG picture files. One for each new .cube_shaperlut entry that has been created.

This is why I was confused. Because had I backed up the wrong folder, i.e. the .LUT folder, instead of the LUT folder I would have been forewarned of an issue the moment I saw the .PNG picture files in the folder. Of which there were none. So no alarm bells rang. When it all happened, I did screen grabs in case I had to talk to the guys in Melbourne, BM's home. Below are a couple of those grabs. The LUT folder grab, shows how all the .cube files had now become .cube_shaperlut files. As I say, I can't fathom that. The second grab is from the Users .LUT folder as it stands today. This is how it should look. And of course, the .PNG files is of that little LUT picture image we see when inside the LUT Gallery tab inside of Resolve.

Chris Young

LUT Folder + txt.jpg
 

Attachments

  • LUT Folder + txt.jpg
    LUT Folder + txt.jpg
    162.3 KB · Views: 0
  • LUT folder + txt.jpg
    LUT folder + txt.jpg
    213.4 KB · Views: 0
Chris. Very Strange indeed. I'm gonna beat Doug to the punch line. The problem was in the first line in your 3rd paragraph. Windows. :wink:
 
Just guessing, but maybe DR actually uses the .LUT folder (as that is where the png files are), and that the normal LUT folder is just where the importation of the TXT lut files are done? Probs best to ask over on the Resolve forum.
 
All sorted now, so not a problem. I always have my LUT folder backed up, so it's just a matter of replacing it. Weird though?

Chris Young
 
Back
Top