![]() |
Raspberry Pi OS 12 (Bookworm) released - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: Community (https://moodeaudio.org/forum/forumdisplay.php?fid=18) +--- Forum: General Discussion (https://moodeaudio.org/forum/forumdisplay.php?fid=21) +--- Thread: Raspberry Pi OS 12 (Bookworm) released (/showthread.php?tid=5869) |
RE: Raspberry Pi OS 12 (Bookworm) released - TheOldPresbyope - 11-08-2023 (11-08-2023, 07:56 PM)Tim Curtis Wrote:(11-08-2023, 06:31 PM)Tim Curtis Wrote:(11-08-2023, 03:56 PM)TheOldPresbyope Wrote: There is no local DNS resolver running on my ISP-provided router. (The ISP is Comcast). Turns out to be easy to assign the static network 172.24.1.1/24 to the AP. Just add another line to the [ipv4] section Code: [ipv4] Now the AP comes up as 172.24.1.1 and, for example, my phone connected as 172.24.1.238. There's so much to nmcli and some newer features---such as hotspot---have options that aren't documented as well as I'd hoped. ![]() Regards, Kent RE: Raspberry Pi OS 12 (Bookworm) released - Tim Curtis - 11-09-2023 (11-08-2023, 11:37 PM)TheOldPresbyope Wrote: Turns out to be easy to assign the static network 172.24.1.1/24 to the AP. Just add another line to the [ipv4] section Cool. RE: Raspberry Pi OS 12 (Bookworm) released - Tim Curtis - 11-10-2023 Boot time is like 5 secs :-) [attachment=3464] RE: Raspberry Pi OS 12 (Bookworm) released - TheOldPresbyope - 11-11-2023 Congrats on scoring a Pi5 and, yep, they're speedier. I was overthinking the local display issue. After whittling down the cruft I found on the InterWeb, here's what seems to be a minimum setup for starting chromium-browser in a local display on Bookworm Lite: Code: # First, install the wayfire package if it's not present already How easy is that?! The wayfire windows manager takes over the screen and starts chromium-browser full screen. The wayfire.ini file can have oodles of configuration sections and options (see Configuration and the example wayfire.ini). My first attempt at screensaving failed but I sure it'll work when I get time to play some more (real life and all that). It's interesting to capture the output of wayfire to a file and examine the actions as it, for example, figures out that it's HDMI port 1 which is active (HDMI-A-1) and that, after enumeration of capabilities, the display mode is set to 1920x1080 @ 60.000Hz. I dunno what caused the long delay I reported previously. It hasn't happened again. Regards, Kent RE: Raspberry Pi OS 12 (Bookworm) released - TheOldPresbyope - 11-11-2023 Bookworm Hints and kinks - It's fun to use the Linux virtual tty capability to run something like the localui on tty0, say, track the journal log on tty1, and run interactively on tty2. -By default, Raspberry Pi/Debian Bookworm doesn't log to /var/log/kernel.log and /var/log/syslog. The journalctl command is your friend. Regards, Kent RE: Raspberry Pi OS 12 (Bookworm) released - Tim Curtis - 11-11-2023 Cool. Maybe Firefox is also worth testing since its also included in Bookworm. RE: Raspberry Pi OS 12 (Bookworm) released - TheOldPresbyope - 11-11-2023 (11-11-2023, 02:10 AM)Tim Curtis Wrote: Cool. Maybe Firefox is also worth testing since its also included in Bookworm. I'm not well versed in Firefox's kiosk mode but I gave it a try. 1.. install firefox package. That pulled down some 300MB more stuff. Lots of libs, etc. 2. changed the wayfire.ini file to make the only autostart program line Code: firefox=firefox --kiosk https://moodeaudio.org 3. from the command line, invoke wayfire Result: it takes some 40 seconds for the firefox window to appear with the moodeaudio homepage. By comparison, it takes only 4 seconds for the chromium-browser window to appear with the moodeaudio homepage. Also, running firefox consumes 300MB more memory than running chromium-browser. Both of these browsers have built-in preferences. I didn't try to edit the default settings for either. Perhaps one or more of the firefox preferences can be tweaked to shorten the load-in time and/or the amount of memory consumed. Regards, Kent RE: Raspberry Pi OS 12 (Bookworm) released - Tim Curtis - 11-11-2023 (11-11-2023, 03:50 AM)TheOldPresbyope Wrote:(11-11-2023, 02:10 AM)Tim Curtis Wrote: Cool. Maybe Firefox is also worth testing since its also included in Bookworm. Case closed. We stick with chromium. RE: Raspberry Pi OS 12 (Bookworm) released - TheOldPresbyope - 11-11-2023 More on Bookworm/Wayland/localUI Good news: the same uSD card with Bookworm and wayfire on it boots on my Pi5B, Pi4B, and Pi3B+ and runs either Chromium or Firefox using Wayland protocol rather than X11. There's obviously some cache-building going on when wayfire and a browser are first invoked. Here's just the chromium-browser results but there are similar differences for firefox (and as reported before, always longer times than for chromium-browser) Pi5B - wayfire/chromium-browser 1st run: 24s to moodeaudio homepage wayfire/chromium-browser 2nd run: 4s Pi4B - wayfire/chromium-browser 1st run: 26s wayfire/chromium-browser 2nd run: 9s Pi3B+ - wayfire/chromium-browser 1st run: 40s wayfire/chromium-browser 2nd run: 12s If I reboot, then this process starts over. Note that the transition from terminal screen to full screen moodeaudio homepage is rather busy visually: first, a period of dark screen with cursor outline in white; second, a period of white screen with cursor solid in black; then dark screen with rotating red circular line segments; finally, the browser window. Second good news: the Pi5B and Pi4B were outputting to an HDMI LCD screen; the Pi3B+ was outputting to an official Raspberry Pi 7-in LCD touchscreen. I didn't notice any performance issue with the Pi3B+ relating to Wayland/wayfire. A USB mouse worked with either display; haven't tried touchscreen. Addendum: Of course the touch function of the touchscreen display should just work...but it doesn't. I should have checked the repo for issues first: Touchscreen not working with latest Bookworm image. So, ran rpi-update on my 10-10-2023 Bookworm Lite installation. The kernel was bumped from Code: pi@raspberrypi:~ $ uname -a to Code: pi@raspberrypi:~ $ uname -a and I can now use the touch function to make selections on the touchscreen display. Regards, Kent RE: Raspberry Pi OS 12 (Bookworm) released - Tim Curtis - 11-11-2023 Interesting. - This "If I reboot, then this process starts over." seems odd or maybe its normal?? - I thought RpiOS Bookworm used X11 on < Pi 4/5 by some sort of detection mechanism. Ya there will be some kernel and other updates before RpiOS Bookworm and the Pi Imager settles down. Pretty much par for the course for a major OS and hardware bump. |