I'm using 32bit raspbian. I guess I latched onto the usb3 explanation, as that seemed to fit my own observations. I was fairly reliably able to repeat usb cable plugged in ==> fail , no cable ==> boots fine. So I'm pretty convinced it's an RF interference issue or something like that. I think I also disabled bluetooth service from systemd, but at least by itself that had no effect. I actually don't think wifi drops out once it's fine, but another part of the problem is that spotifyd sometimes hangs without fully terminating so it won't get restarted. In which case just repowering the pi would be the simplest option if I could expect it to work.
Out of curiosity, what happens if you use wpa_suplicant to configure WiFi rather than use the set up wizard? Might be worth a try if you have the stomach for a clean install.
I've set up wifi config through network manager, but I've also tried wpa_supplicant. I'm suspecting that whatever goes wrong happens early in bootup, but even reloading the kernel module after boot didn't seem to help. I'm pretty much ready to give up with the built-in wifi at this point.
I'm using 32bit raspbian. I guess I latched onto the usb3 explanation, as that seemed to fit my own observations. I was fairly reliably able to repeat usb cable plugged in ==> fail , no cable ==> boots fine. So I'm pretty convinced it's an RF interference issue or something like that. I think I also disabled bluetooth service from systemd, but at least by itself that had no effect. I actually don't think wifi drops out once it's fine, but another part of the problem is that spotifyd sometimes hangs without fully terminating so it won't get restarted. In which case just repowering the pi would be the simplest option if I could expect it to work.