AMD 5700XT OpenCL kernel error

After updating my AMD drivers from 20.x.y to 21.6.2, Daz Studio asked me to re-compile the dForce kernels.

I click "Yes", it proccesses for about 10 seconds and gives an error "Error initializing OpenCL kernel."

The only OpenCL option for me is "AMD Accelerated Parallel Processing gfx1010:xnack-".

OS: Windows 10 Pro

GPU: AMD Radeon RX 5700 XT 8GB

CPU: Ryzen 5 3600

Daz Studio 4.15.0.2 Pro 64-bit

log.txt:

2021-07-07 18:29:21.348 WARNING: ..\..\..\src\dzdynamicsengine.cpp(426): Using device: gfx1010:xnack-
2021-07-07 18:29:24.523 WARNING: ..\..\..\src\dzopenclkernelfactory.cpp(499): ERROR: clBuildProgram (-11)
2021-07-07 18:29:24.523 WARNING: Source built for calcVertTriCollisionCollidePoint. Build log:

lld: error: undefined hidden symbol: find_coplanarity_times
>>> referenced by C:\Users\TNIS~1\AppData\Local\Temp\comgr-ba1c92\input\linked.bc.o:(calcVertTriCollisionCollidePoint)
>>> referenced by C:\Users\TNIS~1\AppData\Local\Temp\comgr-ba1c92\input\linked.bc.o:(calcVertTriCollisionCollidePoint)
Error: Creating the executable from LLVM IRs failed.

2021-07-07 18:29:27.885 WARNING: ..\..\..\src\dzopenclkernelfactory.cpp(499): ERROR: clBuildProgram (-11)
2021-07-07 18:29:27.885 WARNING: Source built for calcTriVertCollisionCollideFace. Build log:

lld: error: undefined hidden symbol: find_coplanarity_times
>>> referenced by C:\Users\TNIS~1\AppData\Local\Temp\comgr-a8fe32\input\linked.bc.o:(calcTriVertCollisionCollideFace)
>>> referenced by C:\Users\TNIS~1\AppData\Local\Temp\comgr-a8fe32\input\linked.bc.o:(calcTriVertCollisionCollideFace)
Error: Creating the executable from LLVM IRs failed.

2021-07-07 18:29:31.629 WARNING: ..\..\..\src\dzopenclkernelfactory.cpp(499): ERROR: clBuildProgram (-11)
2021-07-07 18:29:31.629 WARNING: Source built for calcEdgeCollisionCollideEdge. Build log:

lld: error: undefined hidden symbol: find_coplanarity_times
>>> referenced by C:\Users\TNIS~1\AppData\Local\Temp\comgr-0b36a6\input\linked.bc.o:(calcEdgeCollisionCollideEdge)
>>> referenced by C:\Users\TNIS~1\AppData\Local\Temp\comgr-0b36a6\input\linked.bc.o:(calcEdgeCollisionCollideEdge)
Error: Creating the executable from LLVM IRs failed.

2021-07-07 18:29:31.640 WARNING: ..\..\..\src\dzopenclkernelfactory.cpp(351): m_isValid = false @ dzopenclkernelfactory.h, line 118 (after loading kernel members)
2021-07-07 18:29:31.741 WARNING: ..\..\..\src\dzdynamicsengine.cpp(3625): Error initializing OpenCL!
2021-07-07 18:29:31.741 Total Simulation Time: 11.32 seconds

 

Comments

  • After reverting back to the trusty 20.12.1 drivers, compiling the kernel worked liked a charm.

    So either AMD dropped their OpenCL support or some such, or Daz Studio managed to screw something up or both.

  • Richard HaseltineRichard Haseltine Posts: 74,888

    Is this for the AMD CPU or the AMD GPU?

  • Richard Haseltine said:

    Is this for the AMD CPU or the AMD GPU?

    20.12.1 are the GPU drivers, named as "AMD_Radeon_Installer_20.12.1" in my AMD/drivers folder.

  • karrnadkarrnad Posts: 0

    The same problem. AMD drivers 21.7.2

    OS: Windows 10 Pro

    GPU: AMD Radeon RX 5700 XT 8GB

    CPU: Core i7 8700k

    Daz Studio 4.15.0.2 Pro 64-bit

    I didn't find a solution. Only rollback to the old driver

     

Sign In or Register to comment.