Audiokinetic's Community Q&A is the forum where users can ask and answer questions within the Wwise and Strata communities. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

WEM Opus differs when generated on Intel and AMD x64 CPUs

0 votes

Hello,

Our workstations are equipped with an Intel or AMD CPU, and the Opus conversion produces different WEMs depending on the CPU (using Wwise 2021.1.7.7796).

The WEMs are stored on Perforce, and we also use a hash mechanism to track updates. The conversion not being deterministic then causes a few troubles.

Would it be possible to add an option in the conversion settings to get deterministic output ?

We made a bit of research and found that the SSE's RCPPS and RSQRTPS instructions were to blame, due to their approximate behavior and different implementation in AMD/Intel microcode. A more portable way to enforce a deterministic output would be to enable fixed point computation in the codec, but it may come at a certain cost. For more details on that, please take a look at the issue I opened on the Opus Github.

Thanks!

 

asked Aug 11, 2022 in Feature Requests by Arthur J. (130 points)

1 Answer

0 votes
 
Best answer
We are aware of this issue and it will be fixed in the upcoming Wwise 22.1 as "WG-60959: Encoding of WEM Opus media produces slightly different results across AMD and Intel CPUs."

There is no plan to backport this fix to previous versions at the moment due to the impact on all Opus files.
You can always contact Audiokinetic Support if this is blocking you to find a personalized solution.
answered Aug 16, 2022 by Samuel L. (Audiokinetic) (23,300 points)
selected Aug 22, 2022 by Arthur J.
...