For 32bit bookworm it installs and works fine with demo mode, UDP mode, and UDP+websockets mode as far as I can tell.
For 64bit bookworm it installs fine but I get the ‘Unable to connect to X server’ message here too and no gui comes up even in demo mode. I did not do any poking around under the hood to see if there were any ‘dpkg -l’ differences resulting in missing dpkg(s) or the like for the 64bit os but my guess is there’s a package or two missing perhaps
Let me know if you want me to nuke my SD card to 64bit again and try my handcrafted installer that I last emailed to you a week ago. I can’t recall any more if I tested that on 64bit or not.
But 32bit bookworm definitely installs and runs ok in all configurations on a pi4 in brief testing here…
OK, that’s interesting. I have never tested 64 bit as it is still technically unsupported (the installer should throw a warning), but I will dig into it now. The 64 bit version appears as the ‘recommended’ version of Bookworm in the Raspberry Pi Imager, so that might be catching people out.
Feel free to give your installer a spin if you have the time. It might help identify a missing package
My quickie installer ‘does’ result in a working piconsole on 64bit on a pi4.
For pip:
I use kivy==2.2.1 and you use 2.2.0
For dpkg:
I do not install libopenblas-dev, but you do
I don’t see any other differences. Try the installer I PM’d you a week ago and see if you get the same result. I’m running the 10-10-2023 os and it does report arm64 to ‘dpkg --list-architecture’
sigh - moved my working hand-crafted installation aside and ran the official installer and it also worked on arm64. I can’t explain in the least. I’ll do another cycle and try to make it break/fail again and then see if I can see what made it work this last time (sigh).
On a pi4 ‘today’ a clean 64bit installation piconsole works fine in repeated tests. Yesterday it failed with the unable to connect to X server message. I can not explain it.
I am definitely on wayland in both failed (yesterday) and working (today) tests using the same image from 10-10-2023. “dpkg --print-architecture” returns arm64 as expected.
@pete - just an update - I did a couple more installs on pi4 64bit while fiddling with other things and all succeeded. I can not explain why a couple of us were seeing periodic unable to connect to X server messages. All I can suggest is in that case folks save their wfpiconsole.ini file, rename the tree, and try another clean installation.
I’ll try this week end, no time for now
will install weewx on a vm on my proxmox to avoid the share udp thing.
Now re install means a lot of work to get both running.
I’ve made a couple of tweaks to the UDP code which should make sure the PiConsole correctly shares the UDP port. The changes are on the development branch. Would you mind testing them out?
switched to beta branch but stil that X server issue.
I have migrated weewx away and will (if time permits later tonight) re install bookworm and wfpiconsole
first see if I can eliminate the X server issue and once that is ok, I’ll re install a weewx and test the share again
More things to fix . Are you using Websocket or UDP? Can you see whether the develop branch is any better? Navigate to the wfpiconsole directory and run git checkout develop. Then try and enable the auto start again
OK - this is such a weird problem. I have been testing the autostart again on 64 bit Bookworm and see no issues with the console starting or the X window problem. Almost at this point it seems like you just need to install, re-flash the sd card, install again and repeat until you don’t get an error.
There are a couple of things to try though. First, run the raspi-config tool using sudo raspi-config. Navigate to Advanced and then Wayland and try toggling between the Wayland option and the X11 option. Does that change the behaviour in any way?
@eric if you want to do a “dpkg -l” and “pip3 list” after activating your python venv and post it somewhere, I can compare it to mine here that works for some reason. The dpkg list is going to be a long file so you’d need to stick it someplace online we can download it from.