Greetings to all.
I have a rather peculiar issue that I'm wondering if someone can shed some light on.
I'm running a dual E5-2690v4 setup with an Asus Z10PA-D8 motherboard and a Creative AE-7 sound card. I'm currently running Pipewire (with the relevant pulseaudio daemons masked) with Wireplumber on a systemd based stage3 install.
Everything seems to work great, until the optical SPDIF output on my AE-7 just... stops. This almost always happens mid-stream while something is playing, so it's not an issue with output suspension. pw-top still reports that audio output should be happening, and `cat /proc/asound/Creative/pcm1p/sub0` seems to confirm that the kernel thinks it's still outputting to the SPDIF port. There are no entries in journalctl or dmesg that would suggest anything weird is going on (nothing like an underflow/overflow warning).
Other things I've tried:
- Restricting the output of Pipewire to 48kHz (which AFAIK is the default)
- Monkeying around with the quantum default/min/max sizes
- Disabling session suspension just for the hell of it
- Changing api.alsa.period-size to 1024
- Changing api.alsa.headroom to 8192
- Recompiling for CONFIG_PREEMPT (formerly on voluntary)
- Trying different versions of the card's ctefx.bin firmware file
- Disabling NUMA balancing via /proc/sys/kernel/numa_balancing to see if it's some weird dual CPU voodoo thing
- Updating wireplumber and pipewire to ~amd64
I can get the port working again by simply changing the audio output to analogue then back again to SPDIF and telling whatever was playing (usually Fooyin or Firefox) to start playing again. Things will continue to work for anywhere from 15 minutes to 6 hours, until SPDIF just... heads off into the sunset again, and my speakers go dead.
I'm at a complete loss as to what to troubleshoot next. This never happened under Windows, but then again I never upgraded past Windows 10 and I was using an ancient copy of the Creative drivers from 2020 that I never bothered updating. Everything works fine until it doesn't and I literally don't have any complaints otherwise.
The only thing I can personally think of doing is ditching the AE-7 and buying something a bit less proprietary, but I was kind of hoping not to do that until I'd exhausted all other avenues of troubleshooting with the AE-7 itself.
Cheers,
-CMPX

