NVLINK Mismatch Error - Mismatching barriers, 5 and 2

Forums: NVLINK Mismatch Error - Mismatching barriers, 5 and 2
Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderator: aoktar

NVLINK Mismatch Error - Mismatching barriers, 5 and 2

Postby leehenshall » Mon May 11, 2020 12:09 pm

leehenshall Mon May 11, 2020 12:09 pm
I'm using x 2 2080ti with a matching NVLink Adapter attached with the system correctly configured in SLI with Nvidia Studio Driver 442.92 installed and RTX enabled. I am also using Octane 2020.1-R2

SLI.jpg


I enable "peers 1 and 2" to allow for Octane to use NVLINK.

NVLINK.jpg


When I start the LV render, the image starts as expected. When I move the Camera for a while I get an error.

LV_ERROR.jpg


The Log then says "Mismatching barriers, 5 and 2"

LOG.jpg


I've read that users in the MAX forums are having similar issues:

viewtopic.php?f=81&t=74535&p=382233&hilit=nvlink&sid=2860672595aa824683cda585a102af39#p382233

I have tried reinstalling the driver. But still getting this issue.

If I disable Peers 1 and 2 the rendering works fine so I'm fairly sure this is related to NVLINK or at least my understanding of how to use it effectively.

Could it be that the NVLINK adapter is struggling with bandwidth somehow? Could Parallel samples and Max tiles be a factor regarding NVLINK bandwidth?

Here are my IPR settings:

Settings.jpg


Also finally. Is there a way to see how much out of core is going to NVLINK and how much is going to System Memory? Can the two be used together or is it one or the other?

Maybe my scene is maxing out my NVLINK and cannot then go on to system RAM?

Not sure if I understand correctly. Any Help would be greatly appreciated :)
leehenshall
Licensed Customer
Licensed Customer
 
Posts: 183
Joined: Sun Oct 25, 2015 5:44 pm
Location: England

Re: NVLINK Mismatch Error - Mismatching barriers, 5 and 2

Postby mojave » Wed May 13, 2020 6:16 am

mojave Wed May 13, 2020 6:16 am
Thank you for reporting this,

We have internally fixed a couple of issues with the latest version when using NVlink, could you share some scene that can be used to reproduce this issue so we can look into it?

Best,
User avatar
mojave
OctaneRender Team
OctaneRender Team
 
Posts: 1259
Joined: Sun Feb 08, 2015 10:35 pm

Re: NVLINK Mismatch Error - Mismatching barriers, 5 and 2

Postby leehenshall » Wed May 13, 2020 1:43 pm

leehenshall Wed May 13, 2020 1:43 pm
I can send OTOY the full production scene and assets.

Do you have a process for this that ensures the assets will be kept private and for testing purposes only?
leehenshall
Licensed Customer
Licensed Customer
 
Posts: 183
Joined: Sun Oct 25, 2015 5:44 pm
Location: England

Re: NVLINK Mismatch Error - Mismatching barriers, 5 and 2

Postby mojave » Wed May 13, 2020 8:47 pm

mojave Wed May 13, 2020 8:47 pm
leehenshall wrote:I can send OTOY the full production scene and assets.

Do you have a process for this that ensures the assets will be kept private and for testing purposes only?


We might not need the full scene, if you could reproduce it with a subset of it that would actually help us too. Either way you may share it by any means you prefer via PM, we will not share any assets outside our internal test environment.

Thank you.
User avatar
mojave
OctaneRender Team
OctaneRender Team
 
Posts: 1259
Joined: Sun Feb 08, 2015 10:35 pm

Re: NVLINK Mismatch Error - Mismatching barriers, 5 and 2

Postby leehenshall » Thu May 21, 2020 5:13 pm

leehenshall Thu May 21, 2020 5:13 pm
Apologies for the delay in responding.

I will collect a simplified version of the scene and send via WeTransfer or Dropbox link and PM you.
leehenshall
Licensed Customer
Licensed Customer
 
Posts: 183
Joined: Sun Oct 25, 2015 5:44 pm
Location: England

Re: NVLINK Mismatch Error - Mismatching barriers, 5 and 2

Postby leehenshall » Tue Jun 09, 2020 12:13 am

leehenshall Tue Jun 09, 2020 12:13 am
Okay so I finally got round to trying to replicate this in a simple scene.

I grabbed a single asset from my complex production scene and duplicated it to spike the VRam usage and managed to replicate the issue.

Here is a link to the test scene: (download link will expire in 1 week)

https://we.tl/t-Zqq4nq6kG3

NVLINK_ERROR.jpg


The error reads "Mismatching barriers, 5 and 2" it only occurs when peers are set to use NVLink in the device settings and only occurs when the scene is heavy enough to use all of the primary GPU VRam thus requiring NVLink out of core.
leehenshall
Licensed Customer
Licensed Customer
 
Posts: 183
Joined: Sun Oct 25, 2015 5:44 pm
Location: England

Re: NVLINK Mismatch Error - Mismatching barriers, 5 and 2

Postby mojave » Wed Jun 10, 2020 12:25 am

mojave Wed Jun 10, 2020 12:25 am
Thank you for sharing this, we will look into it.
User avatar
mojave
OctaneRender Team
OctaneRender Team
 
Posts: 1259
Joined: Sun Feb 08, 2015 10:35 pm

Re: NVLINK Mismatch Error - Mismatching barriers, 5 and 2

Postby leehenshall » Fri Jun 12, 2020 11:35 am

leehenshall Fri Jun 12, 2020 11:35 am
Looks like this issue is fixed in the latest build.

I'm guessing it is probably one of these line items that has helped.

peer2peerCUDA.jpg


I have re enabled Peer 2 Peer and seems to be working fine. I'll let you know if it happens again.

Thanks
leehenshall
Licensed Customer
Licensed Customer
 
Posts: 183
Joined: Sun Oct 25, 2015 5:44 pm
Location: England

Re: NVLINK Mismatch Error - Mismatching barriers, 5 and 2

Postby leehenshall » Fri Jun 12, 2020 7:02 pm

leehenshall Fri Jun 12, 2020 7:02 pm
Unfortunately I have encountered the issue again in the latest build. This scene is a very memory intensive so I think my use case is more out of the ordinary.

Here is a screenshot:

p2pErrorContinued.jpg


It is much more stable in this new build however but still seems to be a problem.

I am unable to see any feedback in the C4D plugin as to whether I am using P2P/NVLink. In SA I can see that there is a P2P bar in blue, presumably to indicate when and how much the scene is in P2P/NVLink.
leehenshall
Licensed Customer
Licensed Customer
 
Posts: 183
Joined: Sun Oct 25, 2015 5:44 pm
Location: England

Re: NVLINK Mismatch Error - Mismatching barriers, 5 and 2

Postby rclassenphoto » Mon Jun 15, 2020 6:09 pm

rclassenphoto Mon Jun 15, 2020 6:09 pm
Hi,

i have the Same problem. I use NVlink with two Titan RTX and i get this errors in Octane 2020 with C4D r21 and the new octane Plugin:
.----------------------
Started logging on 13.06.20 20:11:01

OctaneRender Enterprise 2020.1 (8010000)

CUDA error 719 on device 0: unspecified launch failure
-> failed to wait for event
device 0: path tracing kernel failed
CUDA error 700 on device 1: an illegal memory access was encountered
-> failed to wait for event
device 1: path tracing kernel failed
.----------------------

Started logging on 14.06.20 10:43:11

OctaneRender Enterprise 2020.1 (8010000)

Mismatching barriers, 5 and 1
could not request a tonemap because we don't have any renderthreads available.
Mismatching barriers, 5 and 1

.----------------------
But i test it out to turn off NVlink and reinstall the driver without the NVlink bridge it does the Same. The errors Are Still be there.

This errors only Happend if i move a objekt in C4d with octane Live Viewer fired on.

I dont know why?


----------------------

Started logging on 15.06.20 20:13:31

OctaneRender Enterprise 2020.1 (8010000)

CUDA error 700 on device 0: an illegal memory access was encountered
-> failed to wait for event
device 0: path tracing kernel failed
CUDA error 700 on device 1: an illegal memory access was encountered
-> failed to wait for event
device 1: path tracing kernel failed
--------------------
rclassenphoto
Licensed Customer
Licensed Customer
 
Posts: 58
Joined: Tue Jan 16, 2018 6:05 pm
Next

Return to Maxon Cinema 4D


Who is online

Users browsing this forum: No registered users and 31 guests

Thu Apr 18, 2024 1:56 pm [ UTC ]