Complete loss of audio devices with ALT+F4

I’ve tried really hard to pin this down without rebooting in the past, but to no avail, and now it’s happened again – sometimes, very rarely, an application will become laggy, and then I will alt+f4 out of it, but immediately after that, ALL of my audio devices will disconnect, despite all being plugged into rear I/O, 1 USB, 1 in a 3.5mm slot… but all of my other USB devices will work, the only thing that drops out are audio devices.

system information
http://ix.io/4GJc

–I’ve tried restarting every audio service known to man, but they give bus errors (I think something along the line of “no bus medium found”)

–EasyEffects doesn’t crash. Pavucontrol and EasyEffects both work, show audio playing, but there aren’t any output devices. - EasyEffects sink is in Pavucontrol, nothing else is, not even my disabled audio devices or HDMI/DisplayPort audio device. - EasyEffects says “(none)” for all recording and output devices

–This has ONLY happened when using Alt+F4.

okay, i restarted pipewire and pipewire-pulse, and this time, there’s not a single audio device or stream.
easyeffects sink is now missing from pavucontrol, all that’s left is ‘System Sounds’

–can i please get some help with this? rebooting my pc isn’t an option right now

the audio devices show up in sudo lspci and sudo lsusb

using wireplumber,

wpctl status

returns the following:

 C 12:22:17.751949            wp-core (null):(null):(null): wp_core_constructed: assertion 'self->pw_context' failed
Segmentation fault (core dumped)

Worth checking journalctl -b -p3 for errors since the last boot.

Sep 18 11:31:29 jun agetty[537827]: tty4: invalid character 0x1b in login name
Sep 18 11:33:49 jun agetty[538267]: tty4: invalid character 0x9 in login name
Sep 18 11:34:07 jun kernel: usbhid 1-10.3:1.3: couldn't find an input interrupt endpoint
Sep 18 11:34:07 jun daemon/system/inputdevices[100546]: libinput.go:28: event13 -  Tablet Dial: libinput bug: missing tablet capabilities: pen btn-stylus res>
                                                          ->  _cgo_gotypes.go:287
                                                          ->  cgocall.go:329
                                                          ->  cgocall.go:245
                                                          ->  asm_amd64.s:1035
                                                          ->  asm_amd64.s:474
                                                          ->  cgocall.go:175
                                                          ->  _cgo_gotypes.go:194
                                                          ->  libinput.go:101
Sep 18 11:34:07 jun daemon/system/inputdevices[100546]: libinput.go:28: event11 - Tablet Touch Strip: libinput bug: missing tablet capabilities: pen btn-sty>
                                                          ->  _cgo_gotypes.go:287
                                                          ->  cgocall.go:329
                                                          ->  cgocall.go:245
                                                          ->  asm_amd64.s:1035
                                                          ->  asm_amd64.s:474
                                                          ->  cgocall.go:175
                                                          ->  _cgo_gotypes.go:194
                                                          ->  libinput.go:101
Sep 18 11:34:20 jun agetty[538463]: tty4: invalid character 0x1b in login name
Sep 18 11:39:49 jun agetty[538706]: tty4: invalid character 0x1b in login name
Sep 18 11:40:01 jun agetty[539637]: tty4: invalid character 0x1b in login name
Sep 18 11:40:52 jun agetty[539683]: checkname failed: Operation not permitted
Sep 18 11:41:19 jun agetty[539755]: checkname failed: Operation not permitted
Sep 18 11:43:34 jun agetty[539880]: tty4: invalid character 0x1b in login name
Sep 18 11:44:46 jun agetty[539956]: tty4: invalid character 0x1b in login name

these are the first errors for today, for 10 minutes before i posted…

yeah, uh, i’m not using a tty?
and none of my tty shortcuts are working…

Mhm, if wireplumber really did a core dump you would expect to see something in the journal.

What does e.g. systemctl --user status wireplumber.service say? Does its uptime align with the system uptime?

Poking in the dark here.

systemctl --user status wireplumber.service
● wireplumber.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
     Active: active (running) since Mon 2023-09-18 11:59:52 EDT; 1h 23min ago
   Main PID: 541778 (wireplumber)
      Tasks: 7 (limit: 38368)
     Memory: 11.3M
        CPU: 391ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/wireplumber.service
             └─541778 /usr/bin/wireplumber

Sep 18 11:59:52 jun wireplumber[541778]: [110:28:41.545341566] [541778] ERROR IPAModule ipa_module.cpp:172 Symbol ipaModuleInfo not found
Sep 18 11:59:52 jun wireplumber[541778]: [110:28:41.545354916] [541778] ERROR IPAModule ipa_module.cpp:292 v4l2-compat.so: IPA module has no valid info
Sep 18 11:59:52 jun wireplumber[541778]: [110:28:41.545385555] [541778]  INFO Camera camera_manager.cpp:284 libcamera v0.1.0
Sep 18 12:45:19 jun wireplumber[541778]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NameHasNoOwner
Sep 18 12:49:59 jun wireplumber[541778]: can't open control for card hw:2: No such file or directory
Sep 18 12:49:59 jun wireplumber[541778]: Card can't get card_name from card_index 1
Sep 18 12:49:59 jun wireplumber[541778]: can't open control for card hw:1: No such file or directory
Sep 18 12:49:59 jun wireplumber[541778]: Card can't get card_name from card_index 0
Sep 18 12:49:59 jun wireplumber[541778]: can't open control for card hw:0: No such file or directory
Sep 18 12:49:59 jun wireplumber[541778]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NameHasNoOwner

these errors popped up at the same time as when i ran the wpctl status command, starting to think this is related to the tty errors from today - they showed up at the same time as the audio disappeared, but i don’t know how to “escape” the seemingly present tty shell that isn’t present because i’m still in my x11 session

Sep 18 12:45:09 jun agetty[545465]: tty6: invalid character 0x1b in login name
Sep 18 13:23:08 jun agetty[545428]: tty4: invalid character 0x1b in login name
Sep 18 14:14:47 jun agetty[552869]: tty4: invalid character 0x16 in login name
Sep 18 14:16:12 jun agetty[552964]: tty4: invalid character 0x1b in login name

they continued after i returned from leaving for an hour

who -la
           system boot  2023-09-13 21:31
jun_     + tty1         2023-09-13 21:31  old          939 (:0)
           pts/4        2023-09-18 14:28            554092 id=ts/4  term=0 exit=1
           pts/6        2023-09-15 22:27            236534 id=ts/6  term=0 exit=0
           pts/8        2023-09-13 21:55             15302 id=ts/8  term=0 exit=0
           pts/7        2023-09-17 23:06            495940 id=ts/7  term=0 exit=0
           pts/2        2023-09-14 15:23             87234 id=ts/2  term=0 exit=0
           pts/3        2023-09-14 15:30             95700 id=ts/3  term=0 exit=0
jun_     + pts/5        2023-09-14 15:41  old        97008
           pts/0        2023-09-16 19:23            344170 id=ts/0  term=0 exit=0
LOGIN      tty4         2023-09-18 14:28            554079 id=tty4
           pts/9        2023-09-18 12:13            543338 id=ts/9  term=0 exit=0
LOGIN      tty6         2023-09-18 12:45            546084 id=tty6
LOGIN      tty2         2023-09-18 12:45            546096 id=tty2
LOGIN      tty3         2023-09-18 12:45            546099 id=tty3
LOGIN      tty5         2023-09-18 12:45            546121 id=tty5

all 5 other tty sessions are at login, burn pc?

Nuke It From Orbit - Imgur

That’s above my paygrade, don’t know what is going on. Something is seriously borked, and org.freedesktop.DBus.Error.NameHasNoOwner probably points into the direction that the audio subsystem isn’t the root but a symptom.

tried restarting dbus (not a good idea) to regain ownership of it, could no longer log in, rebooted pc, back to normal

it’s annoying because this is the second time this has happened and i know its going to happen again
the “solution” is to reboot. if it comes up again i’ll check it again

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.