I'm glad to hear you're finding pi-gen useful!
On configuring Bookworm to _always_ use X11, rather than Wayland, I'd offer a caution. This is a configuration we're looking to move away from - with older Raspberry Pi devices also moving to a Wayland compositor.
If you have the development bandwidth available, I'd _strongly_ encourage you to investigate if XWayland can provide the compatibility layer you need: https://wayland.freedesktop.org/xserver.html
Equally, if you find that it cannot, I'd be very keen to hear your specific issues - we're likely to see them again as the migration continues.
Now, caution aside, if you do want to continue to enforce X11 over Wayland (which again I _must_ caution against), I'd suggest your best plan is to copy the relevant blocks from raspi-config into a new stage that you add to the end of your pi-gen stage list. I'd start here: https://github.com/RPi-Distro/raspi-con ... nfig#L2389
I'd also recommend looking at the other raspi-config blocks to uncover any other directives you might require to get a performant runtime.
On configuring Bookworm to _always_ use X11, rather than Wayland, I'd offer a caution. This is a configuration we're looking to move away from - with older Raspberry Pi devices also moving to a Wayland compositor.
If you have the development bandwidth available, I'd _strongly_ encourage you to investigate if XWayland can provide the compatibility layer you need: https://wayland.freedesktop.org/xserver.html
Equally, if you find that it cannot, I'd be very keen to hear your specific issues - we're likely to see them again as the migration continues.
Now, caution aside, if you do want to continue to enforce X11 over Wayland (which again I _must_ caution against), I'd suggest your best plan is to copy the relevant blocks from raspi-config into a new stage that you add to the end of your pi-gen stage list. I'd start here: https://github.com/RPi-Distro/raspi-con ... nfig#L2389
I'd also recommend looking at the other raspi-config blocks to uncover any other directives you might require to get a performant runtime.
Statistics: Posted by tdewey — Tue Jul 23, 2024 9:03 am