BC1 compressed textures incur frequent crashes

Forums: BC1 compressed textures incur frequent crashes
Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderator: aoktar

BC1 compressed textures incur frequent crashes

Postby ValentinMoebs » Tue Sep 03, 2019 9:17 am

ValentinMoebs Tue Sep 03, 2019 9:17 am
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
ValentinMoebs
Licensed Customer
Licensed Customer
 
Posts: 12
Joined: Fri Mar 15, 2019 2:38 pm

Re: BC1 compressed textures incur frequent crashes

Postby aoktar » Tue Sep 03, 2019 9:42 am

aoktar Tue Sep 03, 2019 9:42 am
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
User avatar
aoktar
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 12716
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye

Re: BC1 compressed textures incur frequent crashes

Postby ValentinMoebs » Tue Sep 03, 2019 10:00 am

ValentinMoebs Tue Sep 03, 2019 10:00 am
Hey aoktar, thanks for your reply - I'm currently using V4.02.1-R3, although I'll try switching to a newer build next.
ValentinMoebs
Licensed Customer
Licensed Customer
 
Posts: 12
Joined: Fri Mar 15, 2019 2:38 pm

Re: BC1 compressed textures incur frequent crashes

Postby aoktar » Tue Sep 03, 2019 10:12 am

aoktar Tue Sep 03, 2019 10:12 am
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
User avatar
aoktar
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 12716
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye

Re: BC1 compressed textures incur frequent crashes

Postby ValentinMoebs » Tue Sep 03, 2019 11:40 am

ValentinMoebs Tue Sep 03, 2019 11:40 am
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 ?
ValentinMoebs
Licensed Customer
Licensed Customer
 
Posts: 12
Joined: Fri Mar 15, 2019 2:38 pm

Re: BC1 compressed textures incur frequent crashes

Postby aoktar » Tue Sep 03, 2019 12:00 pm

aoktar Tue Sep 03, 2019 12:00 pm
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
User avatar
aoktar
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 12716
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye

Re: BC1 compressed textures incur frequent crashes

Postby ValentinMoebs » Tue Sep 03, 2019 12:09 pm

ValentinMoebs Tue Sep 03, 2019 12:09 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.
ValentinMoebs
Licensed Customer
Licensed Customer
 
Posts: 12
Joined: Fri Mar 15, 2019 2:38 pm

Re: BC1 compressed textures incur frequent crashes

Postby aoktar » Tue Sep 03, 2019 12:18 pm

aoktar Tue Sep 03, 2019 12:18 pm
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
User avatar
aoktar
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 12716
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye

Re: BC1 compressed textures incur frequent crashes

Postby ValentinMoebs » Tue Sep 03, 2019 12:34 pm

ValentinMoebs Tue Sep 03, 2019 12:34 pm
Thanks aoktar, here are the log and the screenshot :
Attachments
octane_crash.PNG
c4doctanelog.txt
(57.72 KiB) Downloaded 8 times
ValentinMoebs
Licensed Customer
Licensed Customer
 
Posts: 12
Joined: Fri Mar 15, 2019 2:38 pm

Re: BC1 compressed textures incur frequent crashes

Postby aoktar » Tue Sep 03, 2019 1:41 pm

aoktar Tue Sep 03, 2019 1:41 pm
May I get bugreport.zip also?
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
User avatar
aoktar
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 12716
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Next

Return to Maxon Cinema 4D


Who is online

Users browsing this forum: No registered users and 11 guests

Sat Dec 14, 2019 9:14 pm [ UTC ]