Default to Xorg on NVIDIA-only systems

Bug #1969566 reported by Daniel van Vugt
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gdm3 (Ubuntu)
Fix Released
High
Alberto Milone

Bug Description

NVIDIA has requested that we default to Xorg on NVIDIA-only systems.
(@kenvandine was advised so)

One possible reason cited was:
https://gitlab.freedesktop.org/xorg/xserver/-/issues/1317
but if anyone finds additional reasons then please add them here.

But good news: This is only for NVIDIA desktops. Hybrid laptops where Intel/AMD is the primary GPU are unaffected and should default to Wayland (after bug 1968929 is resolved).

Tags: nvidia
summary: - Default to Xorg on Nvidia-only systems
+ Default to Xorg on NVIDIA-only systems
description: updated
description: updated
Revision history for this message
jeremyszu (os369510) wrote :

and for https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1969142 as well.

BTW, I think we should say "on nvidia as boot_vga systems"?

Says, Hybrid desktop (boot from intel or boot from nvidia) or nvidia only laptops or other scenarios.

Hybrid desktop boot from nvidia is needed to be considered in this case, and when we talking about chassis_type then it means the rule needs to consider to check chassis_type from dmi-table. If chassis_type is not mandatory condition, then we can prevent to make it complex.

Revision history for this message
Daniel van Vugt (vanvugt) wrote (last edit ):

Bug 1969142 is a duplicate of bug 1876632 so ideally please use the latter.

I think you're right about a stricter definition of "NVIDIA-only". I do mean all forms of "NVIDIA-primary". I was just trying to word the bug in a way that makes sense to normal users.

However, given that upstream gdm3 needs more work in this area I don't think it's wise to generalise the detection methods this cycle. That will take a lot more time than we have - leave it till next cycle and ensure all that work is done upstream first. We have too many patches in this area already.

Revision history for this message
Henrik Harmsen (henrik-harmsen) wrote :

I updated my 22.04 system today (with Nvidia proprietary drivers and a 3080 card). I added this file:

cat /etc/modprobe.d/nvidia-power-management.conf
options nvidia NVreg_PreserveVideoMemoryAllocations=1

Now both Wayland and suspend/resume seems to work for the first time ever. Without the above file, the system uses X11.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

A fix was uploaded yesterday but it seemingly didn't make the release:

https://launchpadlibrarian.net/597672532/gdm3_42.0-1ubuntu7_source.changes

Changed in gdm3 (Ubuntu):
milestone: ubuntu-22.04 → jammy-updates
Changed in gdm3 (Ubuntu):
assignee: nobody → Alberto Milone (albertomilone)
status: In Progress → Fix Committed
Changed in gdm3 (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.