debcrafters-packages team mailing list archive
-
debcrafters-packages team
-
Mailing list archive
-
Message #07290
[Bug 2124220] Re: [DRAFT][SRU] Prefer Wayland on OEM AMD+NVIDIA platforms
Thank you for your feedback and for highlighting the ongoing issues with
NVIDIA driver support on Wayland in 24.04.
To clarify, the proposed changes to gdm3 and systemd-hwe-hwdb are
designed to only affect specific OEM platforms—currently, those with
AMD+NVIDIA hybrid graphics—by using targeted hwdb entries. This does not
enable Wayland by default for all NVIDIA systems in 24.04, but rather
allows OEMs to opt-in for select hardware where we have verified that
Wayland resolves critical issues (such as incorrect GPU selection and
Energy Star certification blockers).
On these platforms, the AMD iGPU is correctly selected as the primary
GPU under Wayland, and the known Xorg bugs are avoided. Other systems,
including general NVIDIA-only platforms, will remain on Xorg by default.
Branch with the proposed commit:
https://git.launchpad.net/~snalvc/+git/gdm3/tree/?h=prefer-wayland
** Summary changed:
- [DRAFT][SRU] Prefer Wayland on OEM AMD+NVIDIA platforms
+ [SRU] Prefer Wayland on OEM AMD+NVIDIA platforms
--
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