crashes every x frames

Forums: crashes every x frames
Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderator: aoktar

crashes every x frames

Postby philmaron » Mon May 03, 2021 8:52 am

philmaron Mon May 03, 2021 8:52 am
After having an issue with a heavy scene, making it crash every 20 frames, more or less, I decided to reinstall my gpu-drivers. Did not help. Now I realise older stable scenes, when rerendering, crash every few frames aswell. The error is "cant unload gpu memory, device x deactivated". So I browsed through the forums and manually changed the registry TdrDelay to 60, as Bepe mentioned in an older topic. The rendering didnt crash, but what started with 1 minute 50 per frame ended in 16 hours for 300 frames, frame times getting longer. The displayed memory shrunk to 2.4gb available, even though it should be around 7.6 given I use 3080 and have 4k monitor.

how could i troubleshoot?
philmaron
Licensed Customer
Licensed Customer
 
Posts: 76
Joined: Tue Jul 21, 2015 10:15 am

Re: crashes every x frames

Postby aoktar » Mon May 03, 2021 9:21 am

aoktar Mon May 03, 2021 9:21 am
Maybe you're near to limits of system and gpu memory. Are having some other soft while rendering. Chrome can consume a lot of ram and vram
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: 15939
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye

Re: crashes every x frames

Postby philmaron » Mon May 03, 2021 11:11 am

philmaron Mon May 03, 2021 11:11 am
system has 128gb ram, gpu 10gb.

The scene shows it uses 2.9gb vram and claims 5.7 are available, from second frame on it is 1.7gb free, sill 2.9gb used. Thats odd, no?
philmaron
Licensed Customer
Licensed Customer
 
Posts: 76
Joined: Tue Jul 21, 2015 10:15 am

Re: crashes every x frames

Postby aoktar » Mon May 03, 2021 11:20 am

aoktar Mon May 03, 2021 11:20 am
OK so share some data with me to show crashes.
Screenshot/_bugreport.zip/console outputs
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: 15939
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye

Re: crashes every x frames

Postby philmaron » Mon May 03, 2021 4:49 pm

philmaron Mon May 03, 2021 4:49 pm
aoktar wrote:OK so share some data with me to show crashes.
Screenshot/_bugreport.zip/console outputs

I will, yet no crashes occur since I changed the delay to 60 seconds. What happens now is that every frames takes longer than the one before, unless I restart the rendering.

Frame 1: 49 Seconds
...
Frame 949: 2 Minutes 50 Seconds
- Stopping rendering manually, starting again at 949 -
Frame 949: 49 Seconds

Weird I think. Should I let something render like that and send you the log aswell?
philmaron
Licensed Customer
Licensed Customer
 
Posts: 76
Joined: Tue Jul 21, 2015 10:15 am

Re: crashes every x frames

Postby aoktar » Mon May 03, 2021 4:51 pm

aoktar Mon May 03, 2021 4:51 pm
philmaron wrote:
aoktar wrote:OK so share some data with me to show crashes.
Screenshot/_bugreport.zip/console outputs

I will, yet no crashes occur since I changed the delay to 60 seconds. What happens now is that every frames takes longer than the one before, unless I restart the rendering.

Frame 1: 49 Seconds
...
Frame 949: 2 Minutes 50 Seconds
- Stopping rendering manually, starting again at 949 -
Frame 949: 49 Seconds

Weird I think. Should I let something render like that and send you the log aswell?

take look for render statistics for the frames. Check where they spend time and compare render speed
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: 15939
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye

Re: crashes every x frames

Postby philmaron » Fri May 07, 2021 4:14 pm

philmaron Fri May 07, 2021 4:14 pm
aoktar wrote:take look for render statistics for the frames. Check where they spend time and compare render speed

It seems to be "Start Rendering" which takes more and more time. In this scene I have 15 seconds for the 2nd frame, and 1 minute for the 100th frame, 1:42 150th frame... c4d and Log attached. The problem does occurs with every scene right now, but this is very good example.
Attachments
philmaron_longer-each-frame-scene.zip
(40.83 MiB) Downloaded 122 times
philmaron
Licensed Customer
Licensed Customer
 
Posts: 76
Joined: Tue Jul 21, 2015 10:15 am

Re: crashes every x frames

Postby aoktar » Fri May 07, 2021 6:25 pm

aoktar Fri May 07, 2021 6:25 pm
Sounds like a hardware stability issue. My render is going consistent. Can you post a screenshot with PV? I see long scene creation times in your log, about 85 secs. Mine is 5 sec. It's very strange.
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: 15939
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye

Re: crashes every x frames

Postby jayroth2020 » Fri May 07, 2021 6:32 pm

jayroth2020 Fri May 07, 2021 6:32 pm
Hi, you also have Static Noise enabled with the AI Denoiser. You should disable Static Noise, as the AI Denoiser cannot properly work with that function enabled.
CaseLabs Mercury S8 / ASUS Z10PE-D8 WS / Crucial 64GB 2133 DDR4 / 2 XEON E5-2687W v3 3.1 GHz / EVGA 1600 P2 / 1 EVGA RTX 3090Ti FTW3 Hybrid / 2 EVGA RTX 2080Ti FTW3 Hybrid/ Cinema 4D
jayroth2020
OctaneRender Team
OctaneRender Team
 
Posts: 468
Joined: Mon May 04, 2020 7:30 pm

Re: crashes every x frames

Postby philmaron » Sat May 08, 2021 11:12 am

philmaron Sat May 08, 2021 11:12 am
aoktar wrote:Sounds like a hardware stability issue. My render is going consistent. Can you post a screenshot with PV? I see long scene creation times in your log, about 85 secs. Mine is 5 sec. It's very strange.

Right now, I cant, but I tested something.
I reduced the TdrDelay back to 10 seconds, as I felt there might be a connection.
First frame 40 seconds, 300th frame 5 minutes and when I revisited the machine, all was stuck and crashed before I could make a screenshot. The log is attached. Anything else to see there? I asks to check render statistics, is there a way to reconstruct them? 13:02 was the time when I interacted with the PC again.
The gtx 3080 is now missing from my list of GPUs, only 3 1080s showing up in settings. If you mention stability of hardware, my question would be what to do. Until a few days ago, all worked fine, also with this scene. Should I try every gpu on its own? rollback drivers, change order on the motherboard etc.?
Attachments
c4doctanelog.txt
(4.32 KiB) Downloaded 76 times
philmaron
Licensed Customer
Licensed Customer
 
Posts: 76
Joined: Tue Jul 21, 2015 10:15 am

Return to Maxon Cinema 4D


Who is online

Users browsing this forum: No registered users and 12 guests

Thu Mar 28, 2024 4:23 pm [ UTC ]