You are not logged in.

#1 2025-01-03 10:51:38

connected1809
Member
Registered: 2024-10-15
Posts: 2

Segmentation Fault with EasyDiffusion/ComfyUI on RX7600

Hi everyone, 

I’m facing an issue with EasyDiffusion/ComfyUI on my system using an AMD Radeon GPU. Every time I try to launch the script, I encounter the following error: 
120449 Segmentation fault      (core dumped)

Every time I attempt to use the GPU, I get the same error, regardless of which service I use. 
The strange thing is that for a few weeks on an older Linux Arch installation, the service was quite stable, but I have no clue what I changed now.

**System Details:** 
- Kernel: Linux 6.12.7-arch1-1 
- Display Server: Sway (Wayland) 
- GPU: AMD Radeon RX 7600 
- CPU: AMD Ryzen 9 7900 (24 threads) 

**What I’ve Tried So Far:** 
I’ve tested multiple ROCm versions (5.7, 6.0, 6.1, 6.2), but the issue persists. 

Any help or suggestions would be greatly appreciated. 

**Additional Information:** 
```
vulkaninfo | grep "deviceName" 
deviceName        = AMD Radeon RX 7600 (RADV NAVI33) 

vulkaninfo | grep "apiVersion" 
apiVersion        = 1.3.296 (4206888) 

lspci -k | grep -A 3 -E "(VGA|3D)" 
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 33 [Radeon RX 7600/7600 XT/7600M XT/7600S/7700S / PRO W7600] (rev cf) 
    Subsystem: Sapphire Technology Limited Device e452 
    Kernel driver in use: amdgpu 
    Kernel modules: amdgpu 

clinfo 
Number of platforms:                 1 
  Platform Profile:                  FULL_PROFILE 
  Platform Version:                  OpenCL 2.1 AMD-APP.dbg (3625.0) 
  Platform Name:                     AMD Accelerated Parallel Processing 
  Platform Vendor:                   Advanced Micro Devices, Inc. 
  Platform Extensions:               cl_khr_icd cl_amd_event_callback 

  Platform Name:                     AMD Accelerated Parallel Processing 
Number of devices:                   1 
  Device Type:                       CL_DEVICE_TYPE_GPU 
  Vendor ID:                         1002h 
  Board name:                        AMD Radeon RX 7600 
  Device Topology:                   PCI[ B#3, D#0, F#0 ] 
  Max compute units:                 16 
  Max work items dimensions:         3 
    Max work items[0]:               1024 
    Max work items[1]:               1024 
    Max work items[2]:               1024 
  Max work group size:               256 
```

Last edited by connected1809 (2025-01-03 10:55:33)

Offline

#2 2025-01-08 21:09:43

jl2
Member
From: 47° 18' N 8° 34' E
Registered: 2022-06-01
Posts: 1,410

Re: Segmentation Fault with EasyDiffusion/ComfyUI on RX7600

That's normal for ROCM. It'll fix itself sometime in the foreseable future and break sometime in the foreseable future.
Check for and open a issue at comfyui/pytorch (the rocm one)/on some amd rocm repos


Why I run Arch? To "BTW I run Arch" the guy one grade younger.
And to let my siblings and cousins laugh at Arsch Linux...

Upload longer text output like this

Offline

Board footer

Powered by FluxBB