Skip to content

[Bug Report] OpenRGB hangs indefinitely

Description of Bug

When running OpenRGB (tested with commit 0fd302b7 and release 0.5) it just hangs at "detecting devices". No progress is being made and I can't close OpenRGB. The entire process just becomes a zombie and can't be killed or reaped, no matter what I try.

Output of openrgb --list-devices:

$ openrgb --list-devices
Attempting to connect to local OpenRGB server.
Connection attempt failed
Local OpenRGB server unavailable, running standalone.

Then it hangs indefinitely, but still running. Killing it using Ctrl+C or sending a SIGTERM just makes the process a zombie, but it's never actually deleted.

EDIT: Suspend to RAM doesn't work anymore because the zombie OpenRGB processes can't be frozen. dmesg output:

[23114.615898] task:openrgb         state:D stack:    0 pid: 3103 ppid:  1193 flags:0x00000084
[23114.615900] Call Trace:
[23114.615906]  __schedule+0x42b/0xc10
[23114.615908]  schedule+0x45/0x170
[23114.615909]  rt_mutex_slowlock+0x15f/0x2f0
[23114.615912]  i2c_smbus_xfer+0x49/0xf0
[23114.615916]  i2cdev_ioctl_smbus+0x157/0x2c0 [i2c_dev]
[23114.615919]  ? klist_next+0xc2/0x110
[23114.615920]  i2cdev_ioctl+0x21c/0x310 [i2c_dev]
[23114.615923]  __x64_sys_ioctl+0x83/0xb0
[23114.615925]  do_syscall_64+0x33/0x40
[23114.615926]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[23114.615928] RIP: 0033:0x7f23293f0f6b
[23114.615929] RSP: 002b:00007f231fffec78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[23114.615930] RAX: ffffffffffffffda RBX: 00007f2320011f20 RCX: 00007f23293f0f6b
[23114.615931] RDX: 00007f231fffec80 RSI: 0000000000000720 RDI: 0000000000000004
[23114.615932] RBP: 00007f232481eac0 R08: 0000000000000002 R09: 00007f232481eac0
[23114.615932] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
[23114.615933] R13: 0000000000000020 R14: 0000000000000001 R15: 00007f2320012180

It seems like the GPU exposes some i2c device that OpenRGB can't handle for some reason.

Hardware Configuration

Everything was working fine until I replaced my GPU, so I think it's related to the GPU. I'm currently using an XFX 16GB RX 6800 MERC 319.

Edited by sophie [⛧-440729]