pHat Speaker "xcb_connection_has_error()"


#1

I recently assembled my pHad Speaker and while it works, I’m having an issue. Whenever I try to play audio, I get two identical error messages:

xcb_connection_has_error() returned true
xcb_connection_has_error() returned true

After spending a few hours attempting to fix the issue, I gave up and reformatted my SD card. I’m using Raspbian Jesse Lite and the one-line installer provided on a Zero W entirely over SSH. At first I didn’t receive any errors, but after a reboot (without tampering with any files) the errors started showing up. I installed PulseAudio to help with the click/pop issue, but the error still shows up every time I try to play audio. When I run “pulseaudio --start -v” I get

E: [pulseaudio] client-conf-x11.c: xcb_connection_has_error() returned true
I: [pulseaudio] main.c: Daemon startup successful.

I wouldn’t mind the error so much, but it takes a long time for audio to begin playing (about 4 seconds). In the brief time where I had no errors the audio would play instantaneously.

EDIT: I’m now thoroughly confused. It appears I get the error when SSHed with PuTTY, but not with Juice (android app). Possible a PuTTY bug then? I’m continuing to investigate.