debcrafters-packages team mailing list archive
-
debcrafters-packages team
-
Mailing list archive
-
Message #07283
[Bug 2124220] Re: [DRAFT][SRU] Prefer Wayland on OEM AMD+NVIDIA platforms
** Changed in: oem-priority
Assignee: (unassigned) => Tony Hsiao (snalvc)
** Changed in: gdm3 (Ubuntu)
Assignee: (unassigned) => Tony Hsiao (snalvc)
** Changed in: systemd-hwe (Ubuntu)
Assignee: (unassigned) => Tony Hsiao (snalvc)
--
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:
[DRAFT][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