Skip to content

RadeonProRenderSDK: shader compilation error with rocm 6.1.3 #688

@feniksa

Description

@feniksa

Issue

Blender rendering on GPU doesn't work with rocm 6.1.3

Steps to Reproduce

System Setup (Environment)

Ubuntu 22.04.4 LTS
AMD Radeon RX 6800 XT, AMD Ryzen Threadripper 3960X 24-Core Processor, rocm 6.1.3
Blender 4.1.1
GPU rendering

Detailed Description

RPR context initialization for Northstar gives -4 error, RPR_ERROR_SHADER_COMPILATION .

Looks like shaders for rocm 6.1.3 has some difference compare to rocm 5.7.3 .

For now, ubuntu amdgpu drivers uses rocm 6.1.3 .

Possible solutions of this issue:
Short-term solution: Add pre-compiled shaders for rocm 6.1.3
Long-term solution: Add fallback mechanism to compile shaders on specific machine (fallback mode).
It is always cat and mouse game to add pre-compiled shaders for new GPU's, for new ROCM version and MAYbe for different platfroms.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions