Pipewire sometimes prevents suspend
If you are filing this issue with a regular release please try master as it might already be fixed.
Version, Distribution, Desktop Environment:
- Fedora 34
- pipewire 0.30
- GNOME
Description of Problem:
Pipewire sometimes, but regularly prevents the system from suspending.
This is the dmesg
entry when this happens (the following gets printed over and over again)
[24326.604875] Freezing user space processes ...
[24346.612301] Freezing of tasks failed after 20.007 seconds (1 tasks refusing to freeze, wq_busy=0):
[24346.612377] task:pipewire-media- state:D stack: 0 pid: 2120 ppid: 1831 flags:0x00000224
[24346.612389] Call Trace:
[24346.612399] __schedule+0x2e2/0x930
[24346.612416] schedule+0x46/0xb0
[24346.612423] rwsem_down_write_slowpath+0x214/0x5b0
[24346.612433] ? dput+0xca/0x2f0
[24346.612442] ? __fsnotify_parent+0x10f/0x2e0
[24346.612455] snd_ctl_release+0x86/0x130 [snd]
[24346.612481] __fput+0x94/0x240
[24346.612491] task_work_run+0x65/0xa0
[24346.612501] exit_to_user_mode_prepare+0x218/0x220
[24346.612510] syscall_exit_to_user_mode+0x18/0x40
[24346.612520] entry_SYSCALL_64_after_hwframe+0x44/0xae
[24346.612532] RIP: 0033:0x7f80627499db
[24346.612538] RSP: 002b:00007ffeec798680 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
[24346.612546] RAX: 0000000000000000 RBX: 0000563c04147720 RCX: 00007f80627499db
[24346.612552] RDX: 0000000000000002 RSI: 0000000563c0434a RDI: 000000000000001c
[24346.612557] RBP: 0000563c03d154a0 R08: 0000000000000000 R09: 0000000000000011
[24346.612561] R10: 00007ffeec7986bc R11: 0000000000000293 R12: 0000000000000000
[24346.612566] R13: 0000563c041109c0 R14: 0000563c042dc400 R15: 0000563c042dc400