[Bug 2095536] Re: [MIR] ubuntu-x1e-settings

Lukas Märdian 2095536 at bugs.launchpad.net
Tue Feb 11 12:29:43 UTC 2025


I just sponsored
https://launchpad.net/ubuntu/+source/ubuntu-x1e-settings/25.04.2
resolving #4 & #5

re #1 test-plan pending in comment #2 looks reasonable.
      Please get it reviewed and merged before considering this resolved.

re #2 Thanks for additional explanation in the bug-description! Follow-up question(s):
      #2.1 - Updating the "mesa-2404" snap sounds reasonable..
             But can you describe the plan/path to get rid of this "hack"?
             And, when do we expect the stock Mesa to be suitable for X1 Elite machines?
      #2.2 - Hijack the gnome-42-2204 snap sounds bad... You say this is needed for 22.04, but
             the package is currently only available for 25.04. I assume it will be backported.
             Do we really need to change both snaps on 25.04? Would the GNOME changes only be
             relevant for 22.04 and could we do that as part of a backport/SRU, instead of
             modifying both snaps unconditionally?
             Or is that still required for base:core22 snaps?

re #3 I subscribed ~foundations-bugs for you. Resolved.


That leaves us with getting #1 landed and clarifying #2 before the MIR is unblocked.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-x1e-settings in Ubuntu.
https://bugs.launchpad.net/bugs/2095536

Title:
  [MIR] ubuntu-x1e-settings

Status in ubuntu-x1e-settings package in Ubuntu:
  Incomplete

Bug description:
  [Availability]
  Currently in universe

  [Rationale]
  Very much like we did with the Lenovo Thinkpad X13s for 24.10 [1] I would
  like to add support for some of the new Snapdragon X Elite laptops in
  our coming release. Because arm64 is a bit special we need to ship a
  settings package containing tweaks and configs that make the installer
  "just work".

  This is based on the work I did for our Snapdragon Ubuntu concept
  image [2].

  [Security]
  I don't expect any security impact. The package is mostly config files
  and should only affect this specific hardware.

  [Quality assurance]
  For now we will have to test manually. There are multiple developers who
  have access to hardware so that should not get in the way.

  [UI standards]

  [Dependencies]

  [Standards compliance]

  [Maintenance/Owner]
  Owned by the Foundations team.

  [Background information]
  The package provides 3 binary packages.

  - hwe-qcom-x1e-meta: This is picked up by "ubuntu-drivers --recommended" in subiquity and pulls
    in ubuntu-x1e-settings
  - ubuntu-x1e-settings: A full set of configs needed to make a installation work. This includes
    statically configured kernel command line parameters that would regress other devices
  - ubuntu-x1e-settings-nogrub: A safe subset of ubuntu-x1e-settings without the kernel command line.
    On our live media we want those to be set at runtime depending on which device we boot on to prevent
    regressions

  >  please explain and give rationale for the "snap channels" in
  >  debian/ubuntu-x1e-settings.postinst, as this seems to be swapping out the
  >  whole stacks of GNOME/Mesa, which might lead to a different experience than
  >  stock Ubuntu.
  >  => snap refresh --channel adreno/stable --no-wait gnome-42-2204
  >  => snap refresh --channel beta/kisak --no-wait mesa-2404

  Since this is pretty new hardware we are facing problems with the dependency bundling model in snaps. Mesa in particular is problematic because it is closely tied to the hardware and kernel.
  The hardware this package enables is not supported in mesa prior to 24.10, so the "default experience" would be that nothing works. We work around this by switching the main mesa provider snaps to channels built against a working mesa version.

  Since 24.04 there is a dedicated mesa snap to handle those kinds of
  situations, for 22.04 we have to hijack the gnome snap which also
  bundles mesa.

  [1] https://bugs.launchpad.net/ubuntu/+source/ubuntu-x13s-settings/+bug/2074078
  [2] https://discourse.ubuntu.com/t/ubuntu-24-10-concept-snapdragon-x-elite/48800

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-x1e-settings/+bug/2095536/+subscriptions




More information about the foundations-bugs mailing list