BC1 compressed textures incur frequent crashes

Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderators: ChrisHekman, aoktar

ValentinMoebs
Licensed Customer
Posts: 13
Joined: Fri Mar 15, 2019 2:38 pm

Hello all,

I've run into a problem working on a scene with 177 materials, and a total of about 540 textures. I was previously having trouble (as you can imagine) with VRAM consumption and so started switching all greyscale textures to float, and then all RGB textures to BC1 compression, RGBA to BC3 and HDRi to BC6. About a third of all textures are greyscale, the overwhelming majority of the rest is simple RGB.

I was about halfway switching the RGB textures over to BC1 compression when I started getting recurring crashes. In between crashes and with frequent saves I managed to get two thirds of the RGB textures switched over to BC1 compression. Now the file is very unstable, and Octane hangs while trying to generate materials.

The VRAM savings are very impressive, I'd like to avoid having to remove the compression if possible - is this inherent in using compressed textures or is a workaround possible ?

Thanks,
Valentin
User avatar
aoktar
Octane Plugin Developer
Posts: 16063
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

Which version of plugin do you use? Did you try with latest builds?
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
ValentinMoebs
Licensed Customer
Posts: 13
Joined: Fri Mar 15, 2019 2:38 pm

Hey aoktar, thanks for your reply - I'm currently using V4.02.1-R3, although I'll try switching to a newer build next.
User avatar
aoktar
Octane Plugin Developer
Posts: 16063
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

ValentinMoebs wrote:Hey aoktar, thanks for your reply - I'm currently using V4.02.1-R3, although I'll try switching to a newer build next.
Always do that because newer versions have fixes. Best!
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
ValentinMoebs
Licensed Customer
Posts: 13
Joined: Fri Mar 15, 2019 2:38 pm

Hey aoktar, thanks again for that sound advice. Unfortunately I switched to V4.05-R2 and the file keeps crashing the plugin very frequently - frequently enough that as-is, it is impossible to work on. While before it was still handling crashes gracefully, now C4D freezes when changing the material displayed in the node editor or while makign changes to the scene while live view is active. Any other ideas ?
User avatar
aoktar
Octane Plugin Developer
Posts: 16063
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

ValentinMoebs wrote:Hey aoktar, thanks again for that sound advice. Unfortunately I switched to V4.05-R2 and the file keeps crashing the plugin very frequently - frequently enough that as-is, it is impossible to work on. While before it was still handling crashes gracefully, now C4D freezes when changing the material displayed in the node editor or while makign changes to the scene while live view is active. Any other ideas ?
Is it happening in specific scene or every scene? What happen if you disable node previews from settings?
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
ValentinMoebs
Licensed Customer
Posts: 13
Joined: Fri Mar 15, 2019 2:38 pm

It is happening only in this specific scene, and only since I started using VRAM texture compression. I tried working with disabled node previews, but the plugin just crashed again - gracefully this time.
User avatar
aoktar
Octane Plugin Developer
Posts: 16063
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

ValentinMoebs wrote:It is happening only in this specific scene, and only since I started using VRAM texture compression. I tried working with disabled node previews, but the plugin just crashed again - gracefully this time.
Could you show render log outputs(c4doctanelog.txt and bugreport.zip) and a screenshot from crash moment as in picture?
Attachments
a1.jpg
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
ValentinMoebs
Licensed Customer
Posts: 13
Joined: Fri Mar 15, 2019 2:38 pm

Thanks aoktar, here are the log and the screenshot :
Attachments
octane_crash.PNG
c4doctanelog.txt
(57.72 KiB) Downloaded 188 times
User avatar
aoktar
Octane Plugin Developer
Posts: 16063
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

May I get bugreport.zip also?
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
Post Reply

Return to “Maxon Cinema 4D”