Public bug reported: [ 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. ** Affects: oem-priority Importance: Undecided Status: New ** Affects: gdm3 (Ubuntu) Importance: Undecided Status: New ** Affects: systemd-hwe (Ubuntu) Importance: Undecided Status: New ** Information type changed from Proprietary to Public ** Also affects: systemd-hwe (Ubuntu) Importance: Undecided Status: New ** Also affects: gdm3 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm3 in Ubuntu. https://bugs.launchpad.net/bugs/2124220 Title: [DRAFT][SRU] Prefer Wayland on OEM AMD+NVIDIA platforms To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/2124220/+subscriptions -- desktop-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
