Hi Uwe,
On 30.03.25 18:01, Uwe Kleine-König wrote:
Hello Richard, I guess the problem is that the USB messages that the USB clock driver (sound/usb/clock.c) is sending don't get a reply in time. (-110 = ETIMEDOUT).
Good call, I'll forward that to Framework when I talk to them the next time
Do I understand correctly that audio usually works, just about once per week the above mentioned lines are found in the kernel log and then it doesn't work?
Exactly. Recently it's usually between Fridays and Mondays where it will just randomly not work.
Do these messages happen during boot? Or when you start using audio? Does a reboot help then? Or replugging the audio hardware (or is this an internal USB-C device)?
It's usually when I plug in my headphone cable. Sometimes that's the first time on that boot or sometimes it worked before. Then no audio device will work at all. Also, in the Gnome system settings, either all audio devices vanish or they are still there, but if I e.g. open that channel test applet and try to play audio through either channel, nothing plays and it seems the applet freezes. Something I recently noticed, while Firefox refuses to play back any media when this happens, mpv does, but playback seems a bit distorted, and these messages now appear in the user logs: Mär 24 18:59:29 pipewire[2927]: spa.alsa: set_hw_params: Connection timed out Mär 24 18:59:29 pipewire[2927]: pw.node: (alsa_output.usb-Framework_Audio_Expansion_Card-00.analog-stereo-71) suspended -> error (Start error: Connection timed out) Mär 24 18:59:29 wireplumber[2934]: wp-event-dispatcher: WpAsyncEventHook:0x55fad05c03d0 failed: WpSiStandardLink:0x55fad09f9100 link failed: item deactivated before format was set Mär 24 18:59:54 pipewire[2927]: spa.alsa: set_hw_params: Connection timed out Mär 24 18:59:54 pipewire[2927]: pw.node: (alsa_output.usb-Framework_Audio_Expansion_Card-00.analog-stereo-71) suspended -> error ((null)) Mär 24 18:59:54 pipewire[2927]: pw.link: 0x559101476130: one of the nodes is in error out:idle in:error Mär 24 18:59:54 pipewire[2927]: pw.link: 0x559101360b60: one of the nodes is in error out:idle in:error Mär 24 18:59:56 mpv[10872]: pw.conf: setting config.name to client-rt.conf is deprecated, using client.conf Mär 24 18:59:56 xdg-desktop-por[3882]: Realtime error: Could not get pidns: Could not fstatat ns/pid: Not a directory Mär 24 18:59:56 gnome-shell[3248]: meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed Mär 24 18:59:56 pipewire[2927]: pw.link: 0x55910157f5b0: one of the nodes is in error out:suspended in:error Mär 24 18:59:56 pipewire[2927]: pw.link: 0x55910157d590: one of the nodes is in error out:suspended in:error Mär 24 19:00:28 pipewire[2927]: spa.alsa: set_hw_params: Connection timed out Mär 24 19:00:28 pipewire[2927]: pw.node: (alsa_output.usb-Framework_Audio_Expansion_Card-00.analog-stereo-71) suspended -> error (Start error: Connection timed out) and playback in Firefox seems to be broken due to these messages: Mär 24 18:54:47 pipewire[2927]: spa.alsa: set_hw_params: Connection timed out Mär 24 18:54:47 pipewire[2927]: pw.node: (alsa_output.usb-Framework_Audio_Expansion_Card-00.analog-stereo-71) suspended -> error (Start error: Connection timed out) Mär 24 18:54:51 firefox-beta.desktop[7437]: [Child 7437,MediaDecoderStateMachine #4] WARNING: 7f33ca3b73a0 OpenCubeb() failed to init cubeb: file /builds/worker/checkouts/gecko/dom/media/AudioStream.cpp:284 Mär 24 18:54:51 firefox-beta.desktop[7437]: [Child 7437, MediaDecoderStateMachine #4] WARNING: Decoder=7f33d511a700 [OnMediaSinkAudioError]: file /builds/worker/checkouts/gecko/dom/media/MediaDecoderStateMachine.cpp:4633 During these time stamps, the Kernel keeps spamming Mär 24 18:59:44 kernel: usb 5-1: clock source 9 is not valid, cannot use Mär 24 18:59:49 kernel: usb 5-1: 1:3: cannot get freq (v2/v3): err -110 Mär 24 18:59:54 kernel: usb 5-1: 1:3: cannot set freq 48000 (v2/v3): err -110 Mär 24 19:00:07 kernel: usb 5-1: 1:0: usb_set_interface failed (-110) Mär 24 19:00:12 kernel: usb 5-1: 1:0: usb_set_interface failed (-110) Mär 24 19:00:18 kernel: usb 5-1: uac_clock_source_is_valid(): cannot get clock validity for id 9 Mär 24 19:00:18 kernel: usb 5-1: clock source 9 is not valid, cannot use Mär 24 19:00:23 kernel: usb 5-1: 1:3: cannot get freq (v2/v3): err -110 (during both user space errors). So something on a low level seems off. Only rebooting helps. I'm currently trying not use the headphone jack expansion module, but the normal USB C module and a USB C to jack adapter I had lying around, that way I can test out if this may be an issue with the expansion card. I also had the battery run empty, remove SSD, RAM, battery and all modules a few days ago after that was recommended by Framework support, but the results are still not in.
Does the bookworm kernel work on this machine? You could try that then. Or the Ubuntu kernel might be worth a try.
I would prefer to use a newer Kernel since on one hand features like VRR are missing from 6.1 (also I don't even know how far that would boot, I did install bookworm originally because at that time the Calamares installer was missing from testing ISO, but I think I at least updated Kernel and Firmware to backports/upstream) and bookworm-backports is probably still missing quite a lot of fixes for various amdgpu issues. And since I'm currently on Kernel 6.14, compiled from source based on the config from 6.12.15, I don't know if another Debian Kernel would be enough. But yes, trying the Kernel from one of the officially supported Ubuntu or Fedora distros was also recommended by the support, so that would be Ubuntu 22.04, 24.04 or Fedora 41. With Ubuntu, can I just install their .deb package? I would still have to ask Framework support which Kernel they recommend, generic seems to be only v6.8 in 24.04, linux-image-generic-hwe-24.04 is v6.11.0, linux-oem-24.04b is another version of 6.11.0. Though, because of newer Kernel version, I had asked them if they happened to know where I could get sources and config for the latest Kernel in Fedora 41, so I could just put that through "make bindeb-get" and install that one. But they haven't come back to me yet with that one. But if you think that could also be worth a try and happen to know where I can get the parts (or can tell me where I can get their rpm and install the Kernel with that manually), I would try that, at least after verifying the current tests. Best Richard