debcrafters-packages team mailing list archive
-
debcrafters-packages team
-
Mailing list archive
-
Message #07321
[Bug 2124220] Re: [SRU] Prefer Wayland on OEM AMD+NVIDIA platforms
That said, using Wayland is probably fine in most cases on hybrid
machines because AMD is the primary GPU and Wayland support is mature
for AMD. It only becomes a performance problem when someone plugs a
monitor into the Nvidia GPU (usually the HDMI port). The workaround we
recommend is for people to avoid using HDMI ports on hybrid laptops and
use USB-C adapters for external monitors instead. But I really don't
want someone coming asking if bug 2081140 can be fixed on Noble in
future because the answer is likely no. We only guarantee that Nvidia
support for Wayland is *finished* in 26.04 and later.
--
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