Bizarre issues with zynthian V5.1: Hardware or software related?

I haven’t had any xruns with overclocking off, so in my case I may not need it. However, I am using zynthian as a sound module and effects processor - I don’t do any sequencing. I do push pianoteq pretty hard though.

I did go through a bunch of the pre loaded snapshots and played them with zynpad and everything was fine.

If there’s any testing I can help with since we know mine is “one of those” just let me know. I was planning on replacing the pi5 in it but I probably won’t as its been so solid now, and I don’t want to risk breaking the cables or my exquisite thermal pad work.

Pictures are, of course, required…

Unfortunately, I didn’t take any. It was sort of like when people see a bigfoot, and when asked why they didn’t take a picture, they say they were too overwhelmed and forgot all about their camera.

1 Like

It’s a never, once, many thing.
The next thing you build like this will probably generate a few.

it’s such fodder we feed to the developers.
It’s better than the soup…

1 Like

Would you please send the output of the command cat /proc/cpuinfo which may provide some info on different RPi5 versions? Anyone else can also provide this info and tell us whether they experience this issue or not.

@riban sure thing!

(venv) root@zynthian:~# cat /proc/cpuinfo
processor       : 0
BogoMIPS        : 108.00
Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x4
CPU part        : 0xd0b
CPU revision    : 1

processor       : 1
BogoMIPS        : 108.00
Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x4
CPU part        : 0xd0b
CPU revision    : 1

processor       : 2
BogoMIPS        : 108.00
Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x4
CPU part        : 0xd0b
CPU revision    : 1

processor       : 3
BogoMIPS        : 108.00
Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x4
CPU part        : 0xd0b
CPU revision    : 1

Revision        : d04170
Serial          : 0e6e86ab6f621a69
Model           : Raspberry Pi 5 Model B Rev 1.0

I setup a recent Oram version with WIFI, used it in studio for a week, went on a gig → ERROR! Why? It insisted on connecting to my home WIFI… on the gig! Stopped me dead there. Luckily I had a backup keyboard, but all my presets for the show were unavailable.

Hi @cguerin!

Since it is a full Z5.1 kit with onboard screen, I surmise you don’t need headless functionality with VNC external control, therefore I don’t recommend bringing your Zynth to a gig with the WiFi activated, which also entails a bit of CPU usage.
It should be ideally switched-off, whenever you carry it around for performance purposes, unless you want to control it from a smartphone or tablet through VNC, but in this case you’d need to connect to a local net of WiFi service, which is not entirely handy to figure out beforehand.

Regards :slight_smile:

Wifi does add some considerable gotcha’s of this sort.

It’s always wise to test any rig you are taking anywhere outside of the wifi zone you normally work in.

I have a bag of just in case items for such eventualities.
Network cables, a USB Mouse and keyboard, a small Ethernet switch and a small HDMI monitor.

1 Like

Hi @cguerin !

It’s adviced to disable wifi and vnc before going to gig. It can be easily done from the admin menu. Also testing the snapshots after the change

Anyway It shouldn’t fail as you explain and i would like to understand what happened. Could you reproduce the issue and send more details about it?

Thanks

2 Likes

Sorry just noticed you all replied! :slight_smile: Thanks!

The issue was pretty clear, if it expects WIFI, it won’t let you get past the splash screen and presents an arbitrary IP address on the screen. And a giant ERROR text. Its very reproducible, just set your WIFI so that it connects to your WIFI. Then turn off your router or WIFI, and reboot.

Sorry @cguerin !

I can’t reproduce your issue. My several zynthians don’t get blocked when WIFI is not available. They simply boot without connection and no error is displayed.

Your error is probably due to some bizarre condition we need to trace-back before fixing. If you don’t give us more detailed feedback it’s quite difficult to know where the problem is…

Thanks!

When Wi-Fi activity blocks the Zythian, it could be caused by the power supply.
How:
Wi-Fi actively scans for AP by transmitting probe requensts, due to crappy internal antenna and surrounding electronics and enclosure does not receive an answer, ramps up power for probe request transmission, the bad atenna reflects back transmission power, power supply current increases, up to a point when Wi-FI BRCM fails with current runaway, SDIO fails and takes down the entire bus. SD card access adds up to power consumption. Ths all can easily reach several amperes, power browns out and more parts of the Pi5 starve away.

Overclocking the RPi5 mangles the power supply even more.

First remedy to try: Do not overclock the RPi5.

Second remedy to try: Use a USB Wi-Fi/BT dongle with RTL8821CU chipset. It’s driver is now in-kernel, no need to install anything. TP-Link Archer T2UB is a working example.

1 Like

And again Wi-Fi…
The recent update in Vangelis brought back an old issue with onboard WLAN having lousy reliability. I run my testing Zynthian in the office as an internet-radio, so I hear instantly how bad that became.
I’ve found a remedy (apart from buying and using USB dongle… but why pay extra for something that is already paid for?).
On SSH run

update-alternatives --config cyfmac43455-sdio.bin

and select 2, cyfmac43455-sdio-standard.bin 50 manual mode, reboot.

If that does not help, due to another possible experiment by RP, repair the firmware manually:

git clone --depth=1 https://github.com/RPi-Distro/firmware-nonfree.git

cp firmware-nonfree/debian/config/brcm80211/cypress/cyfmac43455-sdio-standard.bin /lib/firmware/brcm/brcmfmac43455-sdio.bin

cp firmware-nonfree/debian/config/brcm80211/cypress/cyfmac43455-sdio.clm_blob /lib/firmware/brcm/brcmfmac43455-sdio.clm_blob

cp firmware-nonfree/debian/config/brcm80211/brcm/brcmfmac43455-sdio.txt /lib/firmware/brcm/

ln -s /lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,5-model-b.bin /lib/firmware/brcm/brcmfmac43455-sdio.bin

ln -s /lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,5-model-b.clm_blob /lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,5-model-b.bin

ln -s /lib/firmware/brcm/brcmfmac43455-sdio.txt /lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,5-model-b.txt

sync

reboot

ignore whatever link errors, not matter, the file is overwritten, basta! This procedure might be necessary after a next update again.

To me it looks like RP wants to break us loose from using onboard Wi-Fi, or what is the reason?

Are we sure we need a proprietary device driver for the WiFi chip and that it’s not just a misconfiguration? I notice a boot warning about the region not set for WiFi which would likely mean suboptimal performance in some regions. I’ve not had the time nor inclination to investigate as my WiFi tends to work over the couple of meters to the access point in my studio.

Normally, the Wi-Fi full (!) stack for CYP/BRCM would do passive scanning and try to connect and set the reg_domain according AP specs. For Germany, as an example, it could make sense to run (as root):

raspi-config nonint do_change_timezone Europe/Berlin
raspi-config nonint do_wifi_country DE

wich allows active scanning (after reboot), but does not override the AP region and scan mode for that connection if already established.
Any existing WLAN connection would have to be deleted and reconfigured to take up active scanning.

Disregard previous version of this post.
The only remedy to improve Wi-Fi on ANY Raspberry Pi is to use an external USB WLAN device like Archer T2UB that has in-kernel driver support. :rage: