[Package version 6.0.0-1] Cycles Rendering doesn't work in Blender 4.0.2 with AMD GPU

Description:

If you enable AMD Radeon GPU in Blender - official package 17:4.0.2-14 - and try to do some rendering with Cycles engine, you'll got a GPU crash.

Additional info:

  • package version(s): 6.0.0-1
  • config and/or log files:

GPU crash log(Radeon RX 6600):

 amdgpu 0000:03:00.0: amdgpu: [gfxhub] page fault (src_id:0 ring:24 vmid:8 pasid:32778, for process blender pid 1127 thread blender:cs0 pid 1137)
 amdgpu 0000:03:00.0: amdgpu:   in page starting at address 0x00000000017fc000 from client 0x1b (UTCL2)
 amdgpu 0000:03:00.0: amdgpu: GCVM_L2_PROTECTION_FAULT_STATUS:0x00801031
 amdgpu 0000:03:00.0: amdgpu:          Faulty UTCL2 client ID: TCP (0x8)
 amdgpu 0000:03:00.0: amdgpu:          MORE_FAULTS: 0x1
 amdgpu 0000:03:00.0: amdgpu:          WALKER_ERROR: 0x0
 amdgpu 0000:03:00.0: amdgpu:          PERMISSION_FAULTS: 0x3
 amdgpu 0000:03:00.0: amdgpu:          MAPPING_ERROR: 0x0
 amdgpu 0000:03:00.0: amdgpu:          RW: 0x0
 amdgpu 0000:03:00.0: amdgpu: [gfxhub] page fault (src_id:0 ring:24 vmid:8 pasid:32778, for process blender pid 1127 thread blender:cs0 pid 1137)
 amdgpu 0000:03:00.0: amdgpu:   in page starting at address 0x0000000000000000 from client 0x1b (UTCL2)
 amdgpu 0000:03:00.0: amdgpu: GCVM_L2_PROTECTION_FAULT_STATUS:0x00000000
 amdgpu 0000:03:00.0: amdgpu:          Faulty UTCL2 client ID: CB/DB (0x0)
 amdgpu 0000:03:00.0: amdgpu:          MORE_FAULTS: 0x0
 amdgpu 0000:03:00.0: amdgpu:          WALKER_ERROR: 0x0
 amdgpu 0000:03:00.0: amdgpu:          PERMISSION_FAULTS: 0x0
 amdgpu 0000:03:00.0: amdgpu:          MAPPING_ERROR: 0x0
 amdgpu 0000:03:00.0: amdgpu:          RW: 0x0
  • link to upstream bug report, if any:

As described in a post from blender community forum, the issue seems related to hip-runtime-amd version:

"You need to downgrade to ROCm 5.7.X if you want to use Blender 3.6.X or 4.0.X. If I remember correctly, ROCm 6.0 is only supported in Blender 4.1 and newer"

Source: https://devtalk.blender.org/t/unable-to-render-with-amd-gpu-in-arch-linux/33433/3

Steps to reproduce:

  1. Install Blender and hip-runtime-amd official packages;
  2. in Blender, enable AMD GPU in HIP System Settings;
  3. download an official Cycles demo from blender.org and open it in Blender;
  4. in rendering properties select Render Engine --> Cycles, Device --> GPU Compute, then press F12 key.

Solution

  1. Remove Blender official packages and install beta 4.1 version from aur repository.
Edited by Rik Bort