[Bug 2065051] [NEW] [SRU] Migrate Pi users to KMS

Launchpad Bug Tracker 2065051 at bugs.launchpad.net
Tue May 7 21:08:27 UTC 2024


You have been subscribed to a public bug by Dave Jones (waveform):

[ Impact ]

In switching Pi Server users over to the KMS overlay (as resolution to
LP: #2038924) we need an additional quirk for upgraders to migrate
config.txt (this will be similar, but not identical, to the one for LP:
#1923673).

If we do not migrate such users, the immediate impact is that Pi 5 users
will have no sound output on server images (the Pi 5 only has HDMI audio
output, no auxiliary jack). Potentially more problematic in the long-
run, though, is that we will wind up with users on different graphical
stacks (the KMS stack, which is the only upstream supported stack going
forward, and the legacy framebuffer method).

[ Test Case ]

* Flash Ubuntu jammy to SD card and boot on Pi 4
* Check /boot/firmware/config.txt does not contain dtoverlay=vc4-kms-v3d (it should not on Pi server images)
* sudo do-release-upgrade
* Proceed through upgrade and reboot
* Ensure system reboots successfully
* After reboot, check /boot/firmware/config.txt contains dtoverlay=vc4-kms-v3d
* Shutdown, move SD card to Pi 5 and boot it
* Check /proc/asound/cards contains entries for vc4hdmi

[ Regression Potential ]

The use of the KMS overlay itself is not concerning; we already use it
on the Pi desktop images, and have for several cycles now with no
serious issues, so the regression potential there is minimal.

However, the quirk does manipulate the bootloader's config.txt on the
boot partition, which always carries the potential of leaving a system
unbootable. To guard against this, tests are included with the quirk
which check for several scenarios including a config.txt which has
already been migrated to the KMS overlay manually by the user (there are
various reasons to do this, including running kmscon), as well as the
typical expected case.

** Affects: ubuntu-release-upgrader (Ubuntu)
     Importance: High
     Assignee: Dave Jones (waveform)
         Status: Confirmed

** Affects: ubuntu-release-upgrader (Ubuntu Noble)
     Importance: Undecided
         Status: Confirmed

-- 
[SRU] Migrate Pi users to KMS
https://bugs.launchpad.net/bugs/2065051
You received this bug notification because you are a member of Ubuntu Sponsors, which is subscribed to the bug report.




More information about the Ubuntu-sponsors mailing list