FS#80326 - [rocm-hip-sdk] 5.7.1-2 Blender crash in selecting HIP backend

Attached to Project: Arch Linux
Opened by c (grinness) - Wednesday, 22 November 2023, 14:13 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:21 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Torsten Keßler (tpkessler)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 7
Private No

Details

Description:

Hi,

Current rocm+hip stack causes freezes in blender when selecting HIP backend for cycles.
Current blender repo package is broken see  FS#80301 

I have tested blender-4.0.1-linux-x64.tar.xz downloaded from blender.org (the same applies for blender from Steam):
* blender starts without segfaulting, however attempting to enable HIP backend for cycles (i am on a rx6800) freezes blender itself, leading to a 'defunct' process that also hangs the system reboot/shut down process

I tested latest blender 3.6.5 from my pacman cache (blender 3.6.5-2, also downgrading openvb to 10.1.0-1) and I experience the same issue:
* blender starts without segfaulting, however attempting to enable HIP backend for cycles freezes blender itself, leading to a 'defunct' process that also hangs the system reboot/shut down process

I am on the latest rocm+hip stack (5.7.1).
The above did not happen with the older rocm+hip stack (5.6.1)

update rocm+hip to 5.7.1, install blender (current repo version is broken see  FS#80301 ) from either blender.org or Steam
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:21 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/rocm-hip-sdk/issues/2
Comment by Otto (Weetile) - Saturday, 25 November 2023, 01:37 GMT
Seconding this, I am having both of the same issues you are having.
Comment by Kelei Chen (neo_chen) - Saturday, 25 November 2023, 13:08 GMT
It seems to trigger kernel NULL pointer dereference on linux 6.6.2, after switching to linux-lts, it didn't crash, but it prints "amdgpu: Failed to create process VM object" into dmesg.

Loading...