Bug 1956021 - lost sound devices
Summary: lost sound devices
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: pulseaudio
Version: 34
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Lennart Poettering
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-02 07:17 UTC by Mars
Modified: 2021-05-02 12:27 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug


Attachments (Terms of Use)

Description Mars 2021-05-02 07:17:41 UTC
Description of problem:

After remove my JBL Flip 4 blueitooth sound, I will lose randomly all sound device on my notebook: Gnome sound settings is empty, no sound on my system. Actually restart solve only. When I re-connect my JBL, sound work on JBL, but other devices lost. 

Version-Release number of selected component (if applicable):

Up to date Fedora 34

How reproducible:


Steps to Reproduce:
1. Use Built-in, jack, and bluetooth sound devices
2. Use bluetooth sound
3. I dont know maybe automatically go sleep after x time jbl.
4. All sound device lost in gnome-settings / sound 

Actual results:

No sound devices. (I attach journal from connect and disconnect)


Expected results:

List built in, and jack sound device for using

Additional info:

I found only 2 service:
  - alsa-stat-service (active (running)) - /usr/sbin/alsactl -s -n 19 -c -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf --initfile=/lib/alsa/init/00main rdaemon

  - alsa-restore.service (condition failed)
     ─ ConditionPathExists=!/etc/alsa/state-daemon.conf was not met
Condition check resulted in Save/Restore Sound Card State being skipped.Condition check resulted in Save/Restore Sound Card State being 



JOURNAL LOG:

On reconnect jbl sound
```
máj 02 08:57:07 wagner bluetoothd[4589]: /org/bluez/hci0/dev_00_42_79_C7_3C_5D/sep1/fd7: fd(31) ready
máj 02 08:57:07 wagner kernel: input: JBL Flip 4 (AVRCP) as /devices/virtual/input/input33
máj 02 08:57:07 wagner systemd-logind[750]: Watching system buttons on /dev/input/event21 (JBL Flip 4 (AVRCP))
máj 02 08:57:08 wagner com.discordapp.Discord.desktop[144246]: [2021-05-02 08:57:08.107] [1719] (audio_device_generic.cc:61): SetPlayoutDevice: Not supported on this platform
máj 02 08:57:28 wagner gsd-media-keys[143217]: Unable to get default sink
máj 02 08:57:28 wagner kernel: Bluetooth: hci0: SCO packet for unknown connection handle 0
máj 02 08:57:28 wagner kernel: Bluetooth: hci0: SCO packet for unknown connection handle 0
máj 02 08:57:28 wagner kernel: Bluetooth: hci0: SCO packet for unknown connection handle 0
máj 02 08:57:28 wagner kernel: Bluetooth: hci0: SCO packet for unknown connection handle 0
máj 02 08:57:28 wagner kernel: Bluetooth: hci0: SCO packet for unknown connection handle 0
máj 02 08:57:28 wagner kernel: Bluetooth: hci0: SCO packet for unknown connection handle 0
máj 02 08:57:28 wagner kernel: Bluetooth: hci0: SCO packet for unknown connection handle 0
máj 02 08:57:28 wagner kernel: Bluetooth: hci0: SCO packet for unknown connection handle 0
máj 02 08:57:28 wagner kernel: Bluetooth: hci0: SCO packet for unknown connection handle 0
máj 02 08:57:28 wagner kernel: Bluetooth: hci0: SCO packet for unknown connection handle 0
máj 02 08:57:28 wagner kernel: Bluetooth: hci0: SCO packet for unknown connection handle 0
máj 02 08:57:28 wagner kernel: Bluetooth: hci0: SCO packet for unknown connection handle 0
máj 02 08:57:28 wagner kernel: Bluetooth: hci0: SCO packet for unknown connection handle 0
máj 02 08:57:28 wagner kernel: Bluetooth: hci0: SCO packet for unknown connection handle 48
```

Disable bluetooth device:
```
máj 02 08:57:29 wagner com.discordapp.Discord.desktop[144246]: [2021-05-02 08:57:29.126] [1719] (audio_device_generic.cc:61): SetPlayoutDevice: Not supported on this platform
máj 02 08:57:46 wagner gsd-media-keys[143217]: Unable to get default source
máj 02 08:57:46 wagner gsd-media-keys[143217]: Unable to get default sink
máj 02 08:57:46 wagner pipewire-pulse[1728]: 'CHECK_PORT(this, direction, port_id)' failed at ../spa/plugins/audioconvert/merger.c:964 impl_node_port_set_param()
máj 02 08:57:46 wagner pipewire-pulse[1728]: 'CHECK_PORT(this, direction, port_id)' failed at ../spa/plugins/audioconvert/merger.c:964 impl_node_port_set_param()
máj 02 08:57:46 wagner pipewire-pulse[1728]: port 0x55769efb0e60: set_param 4 (nil): Invalid argument
máj 02 08:57:46 wagner pipewire-pulse[1728]: node 0x55769d29eec0: error unset format output: Invalid argument
máj 02 08:57:46 wagner pipewire[1727]: impl-core 0x55558146cb00: error -22 for resource 37: port_set_param(Spa:Enum:ParamId:Format) failed: Invalid argument
máj 02 08:57:46 wagner kernel: Bluetooth: hci0: SCO packet for unknown connection handle 257
máj 02 08:57:46 wagner kernel: Bluetooth: hci0: SCO packet for unknown connection handle 257


máj 02 08:58:59 wagner bluetoothd[4589]: src/profile.c:ext_io_disconnected() Unable to get io data for Hands-Free Voice gateway: getpeername: Transport endpoint is not connected (107)
máj 02 08:58:59 wagner gsd-media-keys[143217]: Unable to get default sink
```

Comment 1 Mars 2021-05-02 07:19:28 UTC
How Can I restart sound service without restart my whole system?

systemct cant restart alsa-restore.service. 

I dosn't see pipewire-pulseaudio.service (google doesnt help me)

Thanks for help!

Comment 2 Mars 2021-05-02 07:25:51 UTC
Sorry, I found updates today:
pipewire.i686                                                                          0.3.26-4.fc34                                                               updates
pipewire.x86_64                                                                        0.3.26-4.fc34                                                               updates
pipewire-alsa.i686                                                                     0.3.26-4.fc34                                                               updates
pipewire-alsa.x86_64                                                                   0.3.26-4.fc34                                                               updates
pipewire-gstreamer.x86_64                                                              0.3.26-4.fc34                                                               updates
pipewire-libs.i686                                                                     0.3.26-4.fc34                                                               updates
pipewire-libs.x86_64                                                                   0.3.26-4.fc34                                                               updates
pipewire-pulseaudio.x86_64                                                             0.3.26-4.fc34                                                               updates
python3-construct.noarch                                                               2.10.67-1.fc34                                                              updates


maybe this is can solve my issues

Comment 3 Mars 2021-05-02 12:20:59 UTC
No, doesn't solve.

Sound random disappear while using jack.

All sound device disappeared in Gnome settings.

Comment 4 Mars 2021-05-02 12:27:10 UTC
***
máj 02 14:21:28 wagner pipewire-pulse[2245]: loop 0x558944e69808: queue xrun 32832
máj 02 14:21:28 wagner pipewire-pulse[2245]: loop 0x558944e69808: queue xrun 32832
máj 02 14:21:28 wagner pipewire-pulse[2245]: loop 0x558944e69808: queue xrun 32832
máj 02 14:21:28 wagner pipewire-pulse[2245]: loop 0x558944e69808: queue xrun 32832
máj 02 14:21:28 wagner systemd-coredump[14677]: [🡕] Process 3517 (chrome) of user 1000 dumped core.
                                                 
                                                 Stack trace of thread 3527:
                                                 #0  0x0000561fd851a649 n/a (chrome + 0x4bef649)
                                                 #1  0x00007f3dea066519 context_get_server_info_callback (libpulse.so.0 + 0x14519)
                                                 #2  0x00007f3dea00f683 run_action (libpulsecommon-14.2.so + 0x45683)
                                                 #3  0x00007f3dea07a4e3 pa_mainloop_dispatch (libpulse.so.0 + 0x284e3)
                                                 #4  0x00007f3dea07abca pa_mainloop_iterate (libpulse.so.0 + 0x28bca)
                                                 #5  0x00007f3dea07ac70 pa_mainloop_run (libpulse.so.0 + 0x28c70)
                                                 #6  0x00007f3dea08ae6d thread (libpulse.so.0 + 0x38e6d)
                                                 #7  0x00007f3dea0260f3 internal_thread_func (libpulsecommon-14.2.so + 0x5c0f3)
                                                 #8  0x00007f3dfd86e299 start_thread (libpthread.so.0 + 0x9299)
                                                 #9  0x00007f3dfc1e66a3 __clone (libc.so.6 + 0x1006a3)
                                                 
                                                 Stack trace of thread 3517:
                                                 #0  0x00007f3dfd87aa6a __futex_abstimed_wait_common64 (libpthread.so.0 + 0x15a6a)
                                                 #1  0x00007f3dfd8742b0 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf2b0)
                                                 #2  0x00007f3dea087e2c pa_threaded_mainloop_wait (libpulse.so.0 + 0x35e2c)
                                                 #3  0x0000561fd851971c n/a (chrome + 0x4bee71c)
                                                 #4  0x0000561fd8519cd7 n/a (chrome + 0x4beecd7)
                                                 #5  0x0000561fd851a58b n/a (chrome + 0x4bef58b)
                                                 #6  0x0000561fd7ee41a8 n/a (chrome + 0x45b91a8)
                                                 #7  0x0000561fd7b1b818 n/a (chrome + 0x41f0818)
                                                 #8  0x0000561fd7b1aa9e n/a (chrome + 0x41efa9e)
                                                 #9  0x0000561fd7b1a3d9 n/a (chrome + 0x41ef3d9)
                                                 #10 0x0000561fd7b19866 n/a (chrome + 0x41ee866)
                                                 #11 0x0000561fd7f2675c n/a (chrome + 0x45fb75c)
                                                 #12 0x0000561fd6e918b8 n/a (chrome + 0x35668b8)
                                                 #13 0x0000561fd5aabd47 n/a (chrome + 0x2180d47)
                                                 #14 0x0000561fd5aaae00 n/a (chrome + 0x217fe00)
                                                 #15 0x0000561fd5aabc0b n/a (chrome + 0x2180c0b)
                                                 #16 0x0000561fd5a51fcd n/a (chrome + 0x2126fcd)
                                                 #17 0x0000561fda19fe4c n/a (chrome + 0x6874e4c)
                                                 #18 0x0000561fd5a4a9ac n/a (chrome + 0x211f9ac)
                                                 #19 0x0000561fd5a49540 n/a (chrome + 0x211e540)
                                                 #20 0x0000561fd5f6fbf6 n/a (chrome + 0x2644bf6)
                                                 #21 0x0000561fd70a342c n/a (chrome + 0x377842c)
                                                 #22 0x0000561fd70a2ada n/a (chrome + 0x3777ada)
                                                 #23 0x0000561fd76d8227 n/a (chrome + 0x3dad227)
                                                 #24 0x0000561fd7011004 n/a (chrome + 0x36e6004)
                                                 #25 0x0000561fd71d1c6c n/a (chrome + 0x38a6c6c)
                                                 #26 0x0000561fd71cfbef ChromeMain (chrome + 0x38a4bef)
                                                 #27 0x00007f3dfc10db75 __libc_start_main (libc.so.6 + 0x27b75)
                                                 #28 0x0000561fdd285fea _start (chrome + 0x995afea)
                                                 
                                                 Stack trace of thread 3523:
                                                 #0  0x00007f3dfc1e69ee epoll_wait (libc.so.6 + 0x1009ee)
                                                 #1  0x0000561fd59dfd3b n/a (chrome + 0x20b4d3b)
                                                 #2  0x0000561fd6eb00a9 n/a (chrome + 0x35850a9)
                                                 #3  0x0000561fd6eafdaa n/a (chrome + 0x3584daa)
                                                 #4  0x0000561fd70a342c n/a (chrome + 0x377842c)
                                                 #5  0x0000561fd70a2ada n/a (chrome + 0x3777ada)
                                                 #6  0x0000561fd70a2938 n/a (chrome + 0x3777938)
                                                 #7  0x0000561fd70a28dd n/a (chrome + 0x37778dd)
                                                 #8  0x0000561fd6f524bf n/a (chrome + 0x36274bf)
                                                 #9  0x0000561fd69d98e9 n/a (chrome + 0x30ae8e9)
                                                 #10 0x00007f3dfd86e299 start_thread (libpthread.so.0 + 0x9299)
                                                 #11 0x00007f3dfc1e66a3 __clone (libc.so.6 + 0x1006a3)
                                                 
                                                 Stack trace of thread 3525:
                                                 #0  0x00007f3dfc1e69ee epoll_wait (libc.so.6 + 0x1009ee)
                                                 #1  0x0000561fd59dfd3b n/a (chrome + 0x20b4d3b)
                                                 #2  0x0000561fd6eb00a9 n/a (chrome + 0x35850a9)
                                                 #3  0x0000561fd6eafcbb n/a (chrome + 0x3584cbb)
                                                 #4  0x0000561fd70a342c n/a (chrome + 0x377842c)
                                                 #5  0x0000561fd70a2ada n/a (chrome + 0x3777ada)
                                                 #6  0x0000561fd70a2938 n/a (chrome + 0x3777938)
                                                 #7  0x0000561fd6f524bf n/a (chrome + 0x36274bf)
                                                 #8  0x0000561fd69d98e9 n/a (chrome + 0x30ae8e9)
                                                 #9  0x00007f3dfd86e299 start_thread (libpthread.so.0 + 0x9299)
                                                 #10 0x00007f3dfc1e66a3 __clone (libc.so.6 + 0x1006a3)
                                                 
                                                 Stack trace of thread 3524:
                                                 #0  0x00007f3dfd87aa6a __futex_abstimed_wait_common64 (libpthread.so.0 + 0x15a6a)
                                                 #1  0x00007f3dfd8745b4 pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf5b4)
                                                 #2  0x0000561fd5f5bc4a n/a (chrome + 0x2630c4a)
                                                 #3  0x0000561fd5f5b5ce n/a (chrome + 0x26305ce)
                                                 #4  0x0000561fd5f5ae61 n/a (chrome + 0x262fe61)
                                                 #5  0x0000561fd5f5aa1d n/a (chrome + 0x262fa1d)
                                                 #6  0x0000561fd69d98e9 n/a (chrome + 0x30ae8e9)
                                                 #7  0x00007f3dfd86e299 start_thread (libpthread.so.0 + 0x9299)
                                                 #8  0x00007f3dfc1e66a3 __clone (libc.so.6 + 0x1006a3)
                                                 
                                                 Stack trace of thread 4239:
                                                 #0  0x00007f3dfd87aa6a __futex_abstimed_wait_common64 (libpthread.so.0 + 0x15a6a)
                                                 #1  0x00007f3dfd8742b0 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf2b0)
                                                 #2  0x0000561fd5f5b652 n/a (chrome + 0x2630652)
                                                 #3  0x0000561fd5f6fcbe n/a (chrome + 0x2644cbe)
                                                 #4  0x0000561fd5f6fc70 n/a (chrome + 0x2644c70)
                                                 #5  0x0000561fd70a342c n/a (chrome + 0x377842c)
                                                 #6  0x0000561fd70a2ada n/a (chrome + 0x3777ada)
                                                 #7  0x0000561fd70a2938 n/a (chrome + 0x3777938)
                                                 #8  0x0000561fd6f524bf n/a (chrome + 0x36274bf)
                                                 #9  0x0000561fd69d98e9 n/a (chrome + 0x30ae8e9)
                                                 #10 0x00007f3dfd86e299 start_thread (libpthread.so.0 + 0x9299)
                                                 #11 0x00007f3dfc1e66a3 __clone (libc.so.6 + 0x1006a3)
máj 02 14:21:28 wagner pipewire-pulse[2245]: loop 0x558944e69808: queue xrun 32832
máj 02 14:21:28 wagner audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-coredump@1-14676-0 comm="syst>
máj 02 14:21:28 wagner audit[12095]: NETFILTER_CFG table=nat family=7 entries=0 op=xt_unregister pid=12095 subj=system_u:system_r:kernel_t:s0 comm="kworker/u8:3"
máj 02 14:21:28 wagner audit[12095]: NETFILTER_CFG table=broute family=7 entries=0 op=xt_unregister pid=12095 subj=system_u:system_r:kernel_t:s0 comm="kworker/u8:3"
máj 02 14:21:28 wagner pipewire-pulse[2245]: loop 0x558944e69808: queue xrun 32832
máj 02 14:21:28 wagner pipewire-pulse[2245]: loop 0x558944e69808: queue xrun 32832
máj 02 14:21:28 wagner pipewire-pulse[2245]: loop 0x558944e69808: queue xrun 32832
***

---

Sound come back to built in, but no-one sound devices 
Jack is not responding. Sound onfly from built-in...


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