Reverse PRIME Now Works Nicely On Ubuntu 24.10
([Ubuntu] 5 Hours Ago
Reverse PRIME + Ubuntu 24.10)
- Reference: 0001495126
- News link: https://www.phoronix.com/news/Ubuntu-24.10-Reverse-PRIME
- Source link:
For those making use of "reverse PRIME" setups where you have a primary NVIDIA discrete GPU while monitors are connected to Intel integrated graphics as the secondary GPU, such configurations should be working nicely with the upcoming Ubuntu 24.10 release under Wayland. This support is also likely to be back-ported for Ubuntu 24.04 LTS.
Daniel Van Vugt of Canonical's Ubuntu desktop team and known for his upstream GNOME contributions [1]commented in yesterday's Ubuntu desktop team update:
"Verified reverse PRIME (Nvidia as primary GPU with monitors also connected to Intel as secondary) now just works in 24.10 Wayland sessions. That was a surprise."
Going back to 2022 had been [2]a bug report for seeking reverse PRIME support for Wayland on Ubuntu:
"Reverse PRIME support for Wayland (Nvidia as primary GPU outputting to Intel GPU display ports)
This is different to the usual dual GPU setup where Intel is primary and Nvidia is secondary."
In that bug report it's mentioned to possibly backport the upstream Mutter change for Ubuntu 24.04 LTS. But as it stands right now the reverse PRIME on Wayland support should be working nicely for Ubuntu 24.10.
[3]
The upstream support in Mutter comes from [4]this change made last month to Mutter for returning the correct number of EGL modifiers. Just a few lines of code was the missing piece to reverse PRIME on GNOME Wayland.
[1] https://discourse.ubuntu.com/t/desktop-team-integration-squad-updates-monday-30th-september-2024/48403/2
[2] https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1978905
[3] https://www.phoronix.com/image-viewer.php?id=2024&image=ubuntu_2410_desktop_lrg
[4] https://gitlab.gnome.org/GNOME/mutter/-/commit/0fab81698286f8cfd50ee5e35698d1ab1d86231e
Daniel Van Vugt of Canonical's Ubuntu desktop team and known for his upstream GNOME contributions [1]commented in yesterday's Ubuntu desktop team update:
"Verified reverse PRIME (Nvidia as primary GPU with monitors also connected to Intel as secondary) now just works in 24.10 Wayland sessions. That was a surprise."
Going back to 2022 had been [2]a bug report for seeking reverse PRIME support for Wayland on Ubuntu:
"Reverse PRIME support for Wayland (Nvidia as primary GPU outputting to Intel GPU display ports)
This is different to the usual dual GPU setup where Intel is primary and Nvidia is secondary."
In that bug report it's mentioned to possibly backport the upstream Mutter change for Ubuntu 24.04 LTS. But as it stands right now the reverse PRIME on Wayland support should be working nicely for Ubuntu 24.10.
[3]
The upstream support in Mutter comes from [4]this change made last month to Mutter for returning the correct number of EGL modifiers. Just a few lines of code was the missing piece to reverse PRIME on GNOME Wayland.
[1] https://discourse.ubuntu.com/t/desktop-team-integration-squad-updates-monday-30th-september-2024/48403/2
[2] https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1978905
[3] https://www.phoronix.com/image-viewer.php?id=2024&image=ubuntu_2410_desktop_lrg
[4] https://gitlab.gnome.org/GNOME/mutter/-/commit/0fab81698286f8cfd50ee5e35698d1ab1d86231e
FireBurn