debcrafters-packages team mailing list archive
-
debcrafters-packages team
-
Mailing list archive
-
Message #07307
[Bug 2124220] Re: [SRU] Prefer Wayland on OEM AMD+NVIDIA platforms
When Ubuntu 24.04 was released, the intent was for hybrid laptops to default to Wayland.
There was a bug which actually made Xorg vs Wayland on hybrid laptops a race condition, and when fixing that we re-evaluated whether we really wanted Xorg or Wayland to be the default for hybrid laptops. See bug 2080498.
It was the input of Canonical OEM Team that ultimately made us settle on Xorg for hybrid laptops, so I'm surprised to now see this proposal.
--
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to systemd-hwe in Ubuntu.
https://bugs.launchpad.net/bugs/2124220
Title:
[SRU] Prefer Wayland on OEM AMD+NVIDIA platforms
Status in OEM Priority Project:
New
Status in gdm3 package in Ubuntu:
New
Status in systemd-hwe package in Ubuntu:
New
Bug description:
[ Impact ]
* On some platforms with AMD integrated and NVIDIA discrete GPUs, the NVIDIA
dGPU is incorrectly selected as the primary device, leading to issues such as
[1][2]. This also causes glxgears to run on the dGPU instead of the iGPU,
blocking Energy Star certification. These problems are mitigated or resolved
when using Wayland. The OEM team has adopted this solution to prefer Wayland
on affected AMD+NVIDIA platforms and proposes this SRU to address the OEM gap.
* The update introduces new hwdb entries and udev rules in systemd-hwe-hwdb
to set a property for affected systems. gdm3 is updated to prefer Wayland
when this property is present, allowing OEMs to target specific hardware
for Wayland by default and avoid these bugs.
[ Test Plan ]
* On a listed AMD+NVIDIA system, install the update and reboot. Confirm
Wayland is selected (`echo $XDG_SESSION_TYPE` returns wayland). Verify the
AMD iGPU is selected as the renderer with command `glxinfo -B`.
* On other systems, confirm that display server selection is
unchanged.
[ Where problems could occur ]
* If the rules match too broadly, Wayland may be selected on unsupported
hardware.
* If the rules miss affected platforms, the bug will persist. Display server
selection logic could regress on hybrid graphics systems.
[ Other Info ]
* [1] AMD platform built-in display is not selected as primary GPU in Xorg
session: https://gitlab.freedesktop.org/xorg/lib/libpciaccess/-/issues/23
* [2] “PRIME Profiles” option disappears
in nvidia-settings on AMD + Nvidia platforms:
https://github.com/canonical/ubuntu-drivers-common/issues/123
* Only platforms listed in hwdb are affected; others remain unchanged. The
mechanism is extensible for future OEM needs.
* This SRU targets only noble, as OEM certification for these platforms
begins with noble, and future releases already default to Wayland.
To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/2124220/+subscriptions
References