PipeWire problem - Duplicate devices

Hi everyone,

I’m having a problem with the audio devices on my Fedora 38 system. I’m seeing duplicate audio devices in the system tray, but not in the main system configurations GUI. I think this is because PipeWire is not properly disconnecting from the audio devices when I put my laptop to sleep.

When I try to start PipeWire, I get the following error messages:

[E][10139.194588] mod.protocol-native | [module-protocol-: 714 lock_socket()] server 0x55957f10caa0: unable to lock lockfile ‘/run/user/1000/pipewire-0.lock’: Resource temporarily unavailable (maybe another daemon is running)
[E][10139.194935] pw.conf | [ conf.c: 573 load_module()] 0x55957f0e8c40: could not load mandatory module “libpipewire-module-protocol-native”: Resource temporarily unavailable
[E][10139.195798] default | [ pipewire.c: 105 main()] failed to create context: Resource temporarily unavailable

Then if i kill this process manually I can use normally my devices.

I’m not sure what’s causing this problem, but I’m hoping someone here can help me figure it out.

Thanks in advance for your help!

Quick update:
It seems like working now. Upgraded pipewire, rebooted my pc and seems okay so far. But if you had this issue before let me know how did you fix it cause I’m not sure this will be okay for ever.