Bug 1912150 - USB Speakers Lost After Re-plug
Summary: USB Speakers Lost After Re-plug
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pipewire
Version: 33
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Wim Taymans
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-03 20:58 UTC by Garry T. Williams
Modified: 2021-01-24 01:25 UTC (History)
3 users (show)

Fixed In Version: pipewire-0.3.20-1.fc33
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-01-24 01:25:54 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
journal (2.85 KB, text/plain)
2021-01-03 20:58 UTC, Garry T. Williams
no flags Details

Description Garry T. Williams 2021-01-03 20:58:57 UTC
Created attachment 1744140 [details]
journal

Description of problem: USB speakers quit working after re-plug.


Version-Release number of selected component (if applicable):
pipewire-pulseaudio-0.3.18-1.fc33.x86_64



How reproducible: Always


Steps to Reproduce:
1. sudo dnf --enablerepo=updates-testing swap pulseaudio pipewire-pulseaudio --allowerasing
2. Play sound successfully in USB speakers
3. Re-plug speakers

Actual results: No sound (and no speakers in volume control -- KDE)


Expected results: Speakers continue to work


Additional info: Log attached.

Comment 1 Wim Taymans 2021-01-22 11:24:29 UTC
I think this needs a restart. The log only shows that pulseaudio was not able to inspect the device, probably because pipewire probed
it. My theory is that pulseaudio is still running. 

Can you confirm this?

Comment 2 Fedora Update System 2021-01-22 12:50:13 UTC
FEDORA-2021-f279349372 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-f279349372

Comment 3 Garry T. Williams 2021-01-22 14:53:00 UTC
After reboot, log fills with below every second.  No sound devices.

Jan 21 13:35:37 gtw pipewire-pulse[2157]: pulse-server 0x5623412990d0: failed to connect client: Host is down
Jan 21 13:35:37 gtw pipewire-pulse[2157]: pulse-server 0x56234129b8d0: [QPulse] ERROR command:9 (SET_CLIENT_NAME) tag:1 error:6 (Host is down)
Jan 21 13:35:38 gtw pipewire-pulse[2157]: pulse-server 0x5623412990d0: failed to connect client: Host is down
Jan 21 13:35:38 gtw pipewire-pulse[2157]: pulse-server 0x56234129cf90: [QPulse] ERROR command:9 (SET_CLIENT_NAME) tag:1 error:6 (Host is down)

Perhaps I updated incorrectly from F33?

Comment 4 Wim Taymans 2021-01-22 14:54:59 UTC
pipewire is not running. try

systemctl --user start pipewire

Comment 5 Garry T. Williams 2021-01-22 22:54:32 UTC
(In reply to Wim Taymans from comment #4)
> pipewire is not running. try
> 
> systemctl --user start pipewire

I do sudo dnf --enablerepo=updates-testing swap pulseaudio pipewire-pulseaudio --allowerasing

Then log out/in.

Jan 22 17:19:07 gtw systemd[1135]: Starting Sound Service...
Jan 22 17:19:07 gtw pulseaudio[76206]: pulseaudio.service: Failed to execute command: No such file or directory
Jan 22 17:19:07 gtw systemd[76206]: pulseaudio.service: Failed at step EXEC spawning /usr/bin/pulseaudio: No such file or directory
Jan 22 17:19:07 gtw systemd[1135]: pulseaudio.service: Main process exited, code=exited, status=203/EXEC
Jan 22 17:19:07 gtw systemd[1135]: pulseaudio.service: Failed with result 'exit-code'.
Jan 22 17:19:07 gtw systemd[1135]: Failed to start Sound Service.
Jan 22 17:19:08 gtw systemd[1135]: pulseaudio.service: Scheduled restart job, restart counter is at 1.
Jan 22 17:19:08 gtw systemd[1135]: Stopped Sound Service.
Jan 22 17:19:08 gtw systemd[1135]: Starting Sound Service...
Jan 22 17:19:08 gtw pulseaudio[76211]: pulseaudio.service: Failed to execute command: No such file or directory
Jan 22 17:19:08 gtw systemd[1135]: pulseaudio.service: Main process exited, code=exited, status=203/EXEC
Jan 22 17:19:08 gtw systemd[1135]: pulseaudio.service: Failed with result 'exit-code'.
Jan 22 17:19:08 gtw systemd[1135]: Failed to start Sound Service.
Jan 22 17:19:08 gtw systemd[1135]: dbus-:1.1-org.freedesktop.Notifications: Succeeded.
Jan 22 17:19:08 gtw systemd[1135]: pulseaudio.service: Scheduled restart job, restart counter is at 2.
Jan 22 17:19:08 gtw systemd[1135]: Stopped Sound Service.
Jan 22 17:19:08 gtw systemd[1135]: Starting Sound Service...
Jan 22 17:19:08 gtw cupsd[907]: REQUEST localhost - - "POST / HTTP/1.1" 200 563 Create-Printer-Subscriptions successful-ok
Jan 22 17:19:08 gtw pulseaudio[76213]: pulseaudio.service: Failed to execute command: No such file or directory
Jan 22 17:19:08 gtw systemd[76213]: pulseaudio.service: Failed at step EXEC spawning /usr/bin/pulseaudio: No such file or directory
Jan 22 17:19:08 gtw systemd[1135]: pulseaudio.service: Main process exited, code=exited, status=203/EXEC
Jan 22 17:19:08 gtw systemd[1135]: pulseaudio.service: Failed with result 'exit-code'.
Jan 22 17:19:08 gtw systemd[1135]: Failed to start Sound Service.
Jan 22 17:19:08 gtw systemd[1135]: pulseaudio.service: Scheduled restart job, restart counter is at 3.
Jan 22 17:19:08 gtw systemd[1135]: Stopped Sound Service.
Jan 22 17:19:08 gtw systemd[1135]: Starting Sound Service...
Jan 22 17:19:08 gtw pulseaudio[76218]: pulseaudio.service: Failed to execute command: No such file or directory
Jan 22 17:19:08 gtw systemd[76218]: pulseaudio.service: Failed at step EXEC spawning /usr/bin/pulseaudio: No such file or directory
Jan 22 17:19:08 gtw systemd[1135]: pulseaudio.service: Main process exited, code=exited, status=203/EXEC
Jan 22 17:19:08 gtw systemd[1135]: pulseaudio.service: Failed with result 'exit-code'.
Jan 22 17:19:08 gtw systemd[1135]: Failed to start Sound Service.
Jan 22 17:19:08 gtw systemd[1135]: pulseaudio.service: Scheduled restart job, restart counter is at 4.
Jan 22 17:19:08 gtw systemd[1135]: Stopped Sound Service.
Jan 22 17:19:08 gtw systemd[1135]: Starting Sound Service...
Jan 22 17:19:08 gtw pulseaudio[76227]: pulseaudio.service: Failed to execute command: No such file or directory
Jan 22 17:19:08 gtw systemd[76227]: pulseaudio.service: Failed at step EXEC spawning /usr/bin/pulseaudio: No such file or directory
Jan 22 17:19:08 gtw systemd[1135]: pulseaudio.service: Main process exited, code=exited, status=203/EXEC
Jan 22 17:19:08 gtw systemd[1135]: pulseaudio.service: Failed with result 'exit-code'.
Jan 22 17:19:08 gtw systemd[1135]: Failed to start Sound Service.
Jan 22 17:19:09 gtw systemd[1135]: pulseaudio.service: Scheduled restart job, restart counter is at 5.
Jan 22 17:19:09 gtw systemd[1135]: Stopped Sound Service.
Jan 22 17:19:09 gtw systemd[1135]: pulseaudio.service: Start request repeated too quickly.
Jan 22 17:19:09 gtw systemd[1135]: pulseaudio.service: Failed with result 'exit-code'.
Jan 22 17:19:09 gtw systemd[1135]: Failed to start Sound Service.
Jan 22 17:19:09 gtw systemd[1135]: pulseaudio.socket: Failed with result 'service-start-limit-hit'.
...
Jan 22 17:20:07 gtw systemd[1135]: Listening on PipeWire PulseAudio.  <-----
Jan 22 17:20:07 gtw systemd[1135]: Started PipeWire PulseAudio.       <-----
Jan 22 17:20:07 gtw pipewire-pulse[76365]: could not set nice-level to -11: No such file or directory
Jan 22 17:20:07 gtw pipewire-pulse[76365]: could not make thread realtime: No such file or directory
Jan 22 17:20:07 gtw pipewire-pulse[76365]: pulse-server 0x5613854fe0d0: failed to connect client: Host is down
Jan 22 17:20:07 gtw pipewire-pulse[76365]: pulse-server 0x561385500950: [QPulse] ERROR command:9 (SET_CLIENT_NAME) tag:1 error:6 (Host is down)
Jan 22 17:20:08 gtw pipewire-pulse[76365]: pulse-server 0x5613854fe0d0: failed to connect client: Host is down
Jan 22 17:20:08 gtw pipewire-pulse[76365]: pulse-server 0x561385501f50: [QPulse] ERROR command:9 (SET_CLIENT_NAME) tag:1 error:6 (Host is down)
Jan 22 17:20:09 gtw pipewire-pulse[76365]: pulse-server 0x5613854fe0d0: failed to connect client: Host is down
Jan 22 17:20:09 gtw pipewire-pulse[76365]: pulse-server 0x561385502780: [QPulse] ERROR command:9 (SET_CLIENT_NAME) tag:1 error:6 (Host is down)
Jan 22 17:20:10 gtw pipewire-pulse[76365]: pulse-server 0x5613854fe0d0: failed to connect client: Host is down

Repeating every second...

Now reboot...

Jan 22 17:21:42 gtw systemd[1128]: Listening on PipeWire PulseAudio.    <---------
Jan 22 17:21:42 gtw systemd[1128]: Starting Create User's Volatile Files and Directories...
Jan 22 17:21:42 gtw systemd[1128]: Listening on D-Bus User Message Bus Socket.
Jan 22 17:21:42 gtw systemd[1128]: Reached target Sockets.
Jan 22 17:21:42 gtw systemd[1128]: Finished Create User's Volatile Files and Directories.
Jan 22 17:21:42 gtw systemd[1128]: Reached target Basic System.
Jan 22 17:21:42 gtw systemd[1128]: Reached target Main User Target.
Jan 22 17:21:42 gtw systemd[1128]: Startup finished in 110ms.
...
Jan 22 17:21:47 gtw systemd[1128]: Started PipeWire PulseAudio.         <---------
Jan 22 17:21:47 gtw pipewire-pulse[2052]: could not set nice-level to -11: No such file or directory
Jan 22 17:21:47 gtw pipewire-pulse[2052]: could not make thread realtime: No such file or directory
...
Jan 22 17:21:48 gtw pipewire-pulse[2052]: pulse-server 0x556b68e0f0d0: failed to connect client: Host is down
Jan 22 17:21:48 gtw pipewire-pulse[2052]: pulse-server 0x556b68e118d0: [QPulse] ERROR command:9 (SET_CLIENT_NAME) tag:1 error:6 (Host is down)
Jan 22 17:21:49 gtw pipewire-pulse[2052]: pulse-server 0x556b68e0f0d0: failed to connect client: Host is down
Jan 22 17:21:49 gtw pipewire-pulse[2052]: pulse-server 0x556b68e12f90: [QPulse] ERROR command:9 (SET_CLIENT_NAME) tag:1 error:6 (Host is down)

Repeating every second.

I guess I am not testing correctly.  But this certainly must point out a problem in converting to pipewire for testing.

What am I doing wrong?

Comment 6 Fedora Update System 2021-01-23 02:09:38 UTC
FEDORA-2021-f279349372 has been pushed to the Fedora 33 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-f279349372`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-f279349372

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2021-01-24 01:25:54 UTC
FEDORA-2021-f279349372 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.