[Bug 1965303] Re: Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

2023-10-19 Thread Daniel van Vugt
** No longer affects: gdm3 (Ubuntu)

** No longer affects: gdm3 (Ubuntu Lunar)

** No longer affects: gdm3 (Ubuntu Mantic)

** Description changed:

  [ Impact ]
  The fbdev subsystem has been deprecated for a long time. We should drop it in 
favour of using simpledrm with fbdev emulation layer.
  
  This requires Kernel config changes:
  
  FB_EFI=n
  FB_VESA=n
  
  fbcon will still require FB to be available, but will use the fbdev
  emulation layer
  
  When this stack is enabled, it changes boot timing such that some
  drivers may take a longer time to boot and GDM may hang in a black
- screen.
- 
- This issue has been readily reproduced in Ubuntu and reported to upstream 
mutter.
- https://gitlab.gnome.org/GNOME/mutter/-/issues/2909
+ screen (bug 2039757).
  
  [ Test Plan ]
- * Ensure that a kernel with required kernel changes can boot to GDM using DRM 
driver (amdgpu, i915, or nouveau)
+ * Ensure that systems currently relying on fbdev (and therefore only allowing 
Xorg logins) such as some virtual machine types, boot with working Wayland 
support.
  
  [ Where Problems could occur ]
  * Race conditions could be exposed to DE environments
  * Software that expects to find DRM device at /dev/dri/card0 may have a 
problem.
  * Some older versions of NVIDIA driver might not work properly.
  
  [ Other Info ]
  * Fedora bug: https://bugzilla.redhat.com/show_bug.cgi?id=2022385

** Description changed:

  [ Impact ]
- The fbdev subsystem has been deprecated for a long time. We should drop it in 
favour of using simpledrm with fbdev emulation layer.
+ 
+ The fbdev subsystem has been deprecated for a long time. We should drop
+ it in favour of using simpledrm with fbdev emulation layer.
  
  This requires Kernel config changes:
  
  FB_EFI=n
  FB_VESA=n
  
  fbcon will still require FB to be available, but will use the fbdev
  emulation layer
  
- When this stack is enabled, it changes boot timing such that some
- drivers may take a longer time to boot and GDM may hang in a black
- screen (bug 2039757).
+ [ Test Plan ]
  
- [ Test Plan ]
- * Ensure that systems currently relying on fbdev (and therefore only allowing 
Xorg logins) such as some virtual machine types, boot with working Wayland 
support.
+ * Ensure that systems currently relying on fbdev (and therefore only
+ allowing Xorg logins) such as some virtual machine types, boot with
+ working Wayland support.
  
  [ Where Problems could occur ]
+ 
+ * When this stack is enabled, it changes boot timing such that some drivers 
may take a longer time to boot and GDM may hang in a black screen (bug 2039757).
  * Race conditions could be exposed to DE environments
  * Software that expects to find DRM device at /dev/dri/card0 may have a 
problem.
  * Some older versions of NVIDIA driver might not work properly.
  
  [ Other Info ]
+ 
  * Fedora bug: https://bugzilla.redhat.com/show_bug.cgi?id=2022385

-- 
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/1965303

Title:
  Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

To manage notifications about this bug go to:
https://bugs.launchpad.net/gdm/+bug/1965303/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1965303] Re: Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

2023-10-18 Thread Mario Limonciello
I've split up the GDM for Jammy change into
https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/2039757

** No longer affects: gdm3 (Ubuntu Jammy)

-- 
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/1965303

Title:
  Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

To manage notifications about this bug go to:
https://bugs.launchpad.net/gdm/+bug/1965303/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1965303] Re: Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

2023-10-18 Thread Daniel van Vugt
The GDM issue sounds like something we do want fixed, but not here. It
should get its own bug.

This bug should involve no SRUs.

-- 
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/1965303

Title:
  Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

To manage notifications about this bug go to:
https://bugs.launchpad.net/gdm/+bug/1965303/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1965303] Re: Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

2023-10-18 Thread Mario Limonciello
> Oh, wait. You are just fixing the race condition?

Yeah; I see the confusion.  This issue got caught up by making sure the
GDM race condition was fixed at the same as when this feature is
enabled.

Perhaps it's better to split the GDM part of it off to it's own bug
instead then.

> In that case, why can you not revert the kernel config change in the
HWE backport to Jammy?

That's certainly a possible solution, but what happens when people run
mainline kernels for testing another issue and are exposed to this?
That's how I discovered it, reported it upstream and got it fixed in
GDM.  It's a trivial fix.

-- 
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/1965303

Title:
  Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

To manage notifications about this bug go to:
https://bugs.launchpad.net/gdm/+bug/1965303/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1965303] Re: Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

2023-10-18 Thread Robie Basak
Oh, wait. You are just fixing the race condition?

Please the SRU documentation then. Right now I read "We should drop it
in favour of using simpledrm with fbdev emulation layer" which is very
misleading as to what you're actually proposing to do.

-- 
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/1965303

Title:
  Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

To manage notifications about this bug go to:
https://bugs.launchpad.net/gdm/+bug/1965303/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1965303] Re: Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

2023-10-18 Thread Robie Basak
Oh, this?

> When this stack is enabled, it changes boot timing such that some
drivers may take a longer time to boot and GDM may hang in a black
screen.

In that case, why can you not revert the kernel config change in the HWE
backport to Jammy?

-- 
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/1965303

Title:
  Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

To manage notifications about this bug go to:
https://bugs.launchpad.net/gdm/+bug/1965303/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1965303] Re: Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

2023-10-18 Thread Robie Basak
> it will expose the race condition to GDM

What race condition, please? If this is the justification for the
proposed SRU, then I'd expect to see that explained, but I don't see any
explanation.

-- 
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/1965303

Title:
  Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

To manage notifications about this bug go to:
https://bugs.launchpad.net/gdm/+bug/1965303/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1965303] Re: Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

2023-10-17 Thread Mario Limonciello
The problem is specifically when 24.04's kernel backports to 22.04 it
will expose the race condition to GDM. If that kernel will never
backport then it won't be a problem.

-- 
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/1965303

Title:
  Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

To manage notifications about this bug go to:
https://bugs.launchpad.net/gdm/+bug/1965303/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1965303] Re: Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

2023-10-17 Thread Daniel van Vugt
I don't quite follow why we're calling this an issue. It's an
enhancement that should target 24.04 only.

-- 
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/1965303

Title:
  Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

To manage notifications about this bug go to:
https://bugs.launchpad.net/gdm/+bug/1965303/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1965303] Re: Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

2023-10-13 Thread Mario Limonciello
The issue won't occur in Lunar. It's only specifically a problem with gdm when 
a kernel has been configured this way.
It's not a problem in Jammy yet, but will be a problem when such a kernel gets 
backported as HWE.

** Also affects: linux (Ubuntu Lunar)
   Importance: Undecided
   Status: New

** Also affects: gdm3 (Ubuntu Lunar)
   Importance: Undecided
   Status: New

** Also affects: nvidia-graphics-drivers-470 (Ubuntu Lunar)
   Importance: Undecided
   Status: New

** Changed in: nvidia-graphics-drivers-470 (Ubuntu Lunar)
   Status: New => Fix Released

** Changed in: linux (Ubuntu Lunar)
   Status: New => Won't Fix

** Changed in: gdm3 (Ubuntu Lunar)
   Status: New => Invalid

** Changed in: gdm3 (Ubuntu Jammy)
   Status: Incomplete => In Progress

-- 
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/1965303

Title:
  Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

To manage notifications about this bug go to:
https://bugs.launchpad.net/gdm/+bug/1965303/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1965303] Re: Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

2023-10-13 Thread Steve Langasek
This has been marked as fixed in mantic, but this bug does not say what
the plan is for lunar, which is still the supported upgrade path from
jammy.

** Changed in: gdm3 (Ubuntu Jammy)
   Status: In Progress => Incomplete

-- 
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/1965303

Title:
  Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

To manage notifications about this bug go to:
https://bugs.launchpad.net/gdm/+bug/1965303/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1965303] Re: Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

2023-09-22 Thread Timo Aaltonen
can't target NN yet, so it'll stay open for mantic for now

-- 
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/1965303

Title:
  Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

To manage notifications about this bug go to:
https://bugs.launchpad.net/gdm/+bug/1965303/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1965303] Re: Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

2023-09-22 Thread Timo Aaltonen
Right, I don't think we'll get this in mantic yet, I'll send it for
linux-unstable first (and then it'll get enabled by mainline builds).

-- 
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/1965303

Title:
  Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

To manage notifications about this bug go to:
https://bugs.launchpad.net/gdm/+bug/1965303/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1965303] Re: Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

2023-09-21 Thread Daniel van Vugt
Yes I was referring to the linux task.

-- 
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/1965303

Title:
  Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

To manage notifications about this bug go to:
https://bugs.launchpad.net/gdm/+bug/1965303/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1965303] Re: Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

2023-09-21 Thread Mario Limonciello
The kernel part yes. The bug fix in GDM to prepare for whenever the
kernel part happens I would think not.

-- 
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/1965303

Title:
  Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

To manage notifications about this bug go to:
https://bugs.launchpad.net/gdm/+bug/1965303/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1965303] Re: Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

2023-09-21 Thread Daniel van Vugt
This seems like a significant enhancement that will affect the graphics
backends chosen by Plymouth and some desktop sessions, particularly
virtual machines. Surely this needs a feature freeze exception?

-- 
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/1965303

Title:
  Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

To manage notifications about this bug go to:
https://bugs.launchpad.net/gdm/+bug/1965303/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1965303] Re: Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

2023-09-21 Thread Mario Limonciello
I've uploaded the jammy backport of this patch into the queue, so
assigning it to myself.  As I have readily seen this problem on my own
test kernels I'll validate it with a local kernel with the matching
kconfig options when it's accepted.  This can then be done in advance of
waiting for matching changes landing in OEM-6.5, or HWE-6.5.

** Changed in: gdm3 (Ubuntu Jammy)
   Status: Triaged => In Progress

** Changed in: gdm3 (Ubuntu Jammy)
 Assignee: (unassigned) => Mario Limonciello (superm1)

** Description changed:

- [ Impact ] 
+ [ Impact ]
  The fbdev subsystem has been deprecated for a long time. We should drop it in 
favour of using simpledrm with fbdev emulation layer.
  
  This requires Kernel config changes:
  
  FB_EFI=n
  FB_VESA=n
  
  fbcon will still require FB to be available, but will use the fbdev
  emulation layer
  
  When this stack is enabled, it changes boot timing such that some
  drivers may take a longer time to boot and GDM may hang in a black
  screen.
  
+ This issue has been readily reproduced in Ubuntu and reported to upstream 
mutter.
+ https://gitlab.gnome.org/GNOME/mutter/-/issues/2909
+ 
  [ Test Plan ]
  * Ensure that a kernel with required kernel changes can boot to GDM using DRM 
driver (amdgpu, i915, or nouveau)
  
  [ Where Problems could occur ]
  * Race conditions could be exposed to DE environments
  * Software that expects to find DRM device at /dev/dri/card0 may have a 
problem.
  * Some older versions of NVIDIA driver might not work properly.
  
  [ Other Info ]
  * Fedora bug: https://bugzilla.redhat.com/show_bug.cgi?id=2022385

-- 
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/1965303

Title:
  Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

To manage notifications about this bug go to:
https://bugs.launchpad.net/gdm/+bug/1965303/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1965303] Re: Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

2023-09-21 Thread Bug Watch Updater
** Changed in: gdm
   Status: Unknown => Fix Released

-- 
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/1965303

Title:
  Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

To manage notifications about this bug go to:
https://bugs.launchpad.net/gdm/+bug/1965303/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1965303] Re: Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

2023-09-21 Thread Bug Watch Updater
Launchpad has imported 6 comments from the remote bug at
https://bugzilla.redhat.com/show_bug.cgi?id=2022385.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.


On 2021-11-11T14:33:25+00:00 bcotton wrote:

This is a tracking bug for Change: Replace the fbdev drivers with simpledrm and 
the DRM fbdev emulation layer
For more details, see: 
https://fedoraproject.org/wiki/Changes/ReplaceFbdevDrivers

This change replaces the legacy Linux frame buffer device (fbdev)
drivers that are still used in Fedora, with the latest simpledrm driver
and the DRM fbdev emulation layer.

If you encounter a bug related to this Change, please do not comment
here. Instead create a new bug and set it to block this bug.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1965303/comments/0


On 2021-12-23T11:26:38+00:00 fmartine wrote:

This change has been present in the Fedora kernel since
https://gitlab.com/cki-project/kernel-
ark/-/commit/53d2c01aef5aaad8b8bb54e4254f6ae671c76ee5

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1965303/comments/1


On 2021-12-23T11:44:17+00:00 fmartine wrote:

*** Bug 1986222 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1965303/comments/2


On 2022-02-08T21:06:33+00:00 bcotton wrote:


This bug appears to have been reported against 'rawhide' during the Fedora 
Linux 36 development cycle.
Changing version to 36.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1965303/comments/3


On 2022-02-22T16:34:36+00:00 bcotton wrote:

We have reached the 'Change complete (100% complete)' deadline in the
Fedora Linux 36 release schedule.

At this time, all Changes should be fully complete. Indicate this by
setting this tracking bug to ON_QA.

If you need to defer this Change to a subsequent release, please
needinfo me.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1965303/comments/4


On 2022-05-10T14:41:45+00:00 bcotton wrote:

F36 was released today. If this Change did not land in the release,
please notify bcotton as soon as possible.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1965303/comments/6


** Changed in: linux (Fedora)
   Status: Unknown => Fix Released

** Changed in: linux (Fedora)
   Importance: Unknown => Undecided

-- 
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/1965303

Title:
  Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

To manage notifications about this bug go to:
https://bugs.launchpad.net/gdm/+bug/1965303/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1965303] Re: Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

2023-09-21 Thread Mario Limonciello
** Description changed:

- The fbdev subsystem has been deprecated for a long time. We should drop
- it in favour of using simpledrm with fbdev emulation layer.
+ [ Impact ] 
+ The fbdev subsystem has been deprecated for a long time. We should drop it in 
favour of using simpledrm with fbdev emulation layer.
  
- This requires config changes:
+ This requires Kernel config changes:
  
  FB_EFI=n
  FB_VESA=n
  
  fbcon will still require FB to be available, but will use the fbdev
  emulation layer
  
- fedora bug:
- https://bugzilla.redhat.com/show_bug.cgi?id=2022385
+ When this stack is enabled, it changes boot timing such that some
+ drivers may take a longer time to boot and GDM may hang in a black
+ screen.
+ 
+ [ Test Plan ]
+ * Ensure that a kernel with required kernel changes can boot to GDM using DRM 
driver (amdgpu, i915, or nouveau)
+ 
+ [ Where Problems could occur ]
+ * Race conditions could be exposed to DE environments
+ * Software that expects to find DRM device at /dev/dri/card0 may have a 
problem.
+ * Some older versions of NVIDIA driver might not work properly.
+ 
+ [ Other Info ]
+ * Fedora bug: https://bugzilla.redhat.com/show_bug.cgi?id=2022385

** Bug watch added: gitlab.gnome.org/GNOME/mutter/-/issues #2909
   https://gitlab.gnome.org/GNOME/mutter/-/issues/2909

** Also affects: gdm via
   https://gitlab.gnome.org/GNOME/mutter/-/issues/2909
   Importance: Unknown
   Status: Unknown

** Bug watch added: Red Hat Bugzilla #2022385
   https://bugzilla.redhat.com/show_bug.cgi?id=2022385

** Also affects: linux (Fedora) via
   https://bugzilla.redhat.com/show_bug.cgi?id=2022385
   Importance: Unknown
   Status: Unknown

-- 
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/1965303

Title:
  Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

To manage notifications about this bug go to:
https://bugs.launchpad.net/gdm/+bug/1965303/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1965303] Re: Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

2023-09-21 Thread Mario Limonciello
Mantic has 45~beta-1ubuntu1 which picks up the fix for this.  Jammy is
still open.

** Changed in: gdm3 (Ubuntu Mantic)
   Status: Triaged => Fix Released

-- 
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/1965303

Title:
  Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1965303/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1965303] Re: Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

2023-09-14 Thread Timo Aaltonen
** Description changed:

  The fbdev subsystem has been deprecated for a long time. We should drop
  it in favour of using simpledrm with fbdev emulation layer.
  
  This requires config changes:
  
- DRM=y
- DRM_FBDEV_EMULATION=y
- 
  FB_EFI=n
- FB_VESA=n (? check this)
- 
- SYSFB_SIMPLEFB=y
+ FB_VESA=n
  
  fbcon will still require FB to be available, but will use the fbdev
  emulation layer
  
- At the time of filing this bug report, the NVIDIA drivers don't support
- the fbdev emulation layer, so VT's would be broken on them if this was
- to be enabled right now. So the drivers need fixing, and this bug report
- is a placeholder until we are able to move forward.
- 
- 
  fedora bug:
  https://bugzilla.redhat.com/show_bug.cgi?id=2022385

-- 
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/1965303

Title:
  Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1965303/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1965303] Re: Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

2023-09-04 Thread Daniel van Vugt
** Package changed: gdm (Ubuntu Jammy) => gdm3 (Ubuntu Jammy)

-- 
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/1965303

Title:
  Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1965303/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1965303] Re: Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

2023-08-31 Thread Mario Limonciello
** Also affects: gdm (Ubuntu Jammy)
   Importance: Undecided
   Status: New

** Also affects: linux (Ubuntu Jammy)
   Importance: Undecided
   Status: New

** Also affects: nvidia-graphics-drivers-470 (Ubuntu Jammy)
   Importance: Undecided
   Status: New

** Also affects: gdm (Ubuntu Mantic)
   Importance: Undecided
   Status: New

** Also affects: linux (Ubuntu Mantic)
   Importance: Undecided
 Assignee: Timo Aaltonen (tjaalton)
   Status: Confirmed

** Also affects: nvidia-graphics-drivers-470 (Ubuntu Mantic)
   Importance: Undecided
   Status: Fix Released

** Changed in: linux (Ubuntu Jammy)
   Status: New => Won't Fix

** Changed in: nvidia-graphics-drivers-470 (Ubuntu Jammy)
   Status: New => Fix Released

** Changed in: gdm (Ubuntu Mantic)
   Status: New => Triaged

** Changed in: gdm (Ubuntu Jammy)
   Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gdm in Ubuntu.
https://bugs.launchpad.net/bugs/1965303

Title:
  Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdm/+bug/1965303/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1965303] Re: Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

2023-08-31 Thread Timo Aaltonen
all current nvidia releases support simpledrm since last March, except
390 which has been EOL for some time now

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gdm in Ubuntu.
https://bugs.launchpad.net/bugs/1965303

Title:
  Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdm/+bug/1965303/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1965303] Re: Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

2023-08-31 Thread Timo Aaltonen
thanks for the heads-up, yeah that'd need to be fixed in jammy as well
(for gdm) when a hwe kernel supports simpledrm

I'm thinking if mantic 6.5 would be the first candidate

** Changed in: nvidia-graphics-drivers-470 (Ubuntu)
   Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gdm in Ubuntu.
https://bugs.launchpad.net/bugs/1965303

Title:
  Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdm/+bug/1965303/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1965303] Re: Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

2023-08-31 Thread Mario Limonciello
I'm adding a task for gdm to this bug.  The reason is that if simpledrm
is used, we've found race conditions that occur where the transition
from simpledrm to the proper KMS driver may race with gdm starting up
the login screen.

When gdm loses the race you end up with a black screen.  So please make
sure that any kernels that do adopt simpledrm the matching GDM for OS
releases that run this kernel (think about HWE!) will need to pick up
this GDM fix as well.

https://gitlab.gnome.org/GNOME/gdm/-/commit/04e119c8332a564cfad05dfb9cb6ec547d5ba954

** Also affects: gdm (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gdm in Ubuntu.
https://bugs.launchpad.net/bugs/1965303

Title:
  Migrate from fbdev drivers to simpledrm and DRM fbdev emulation layer

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdm/+bug/1965303/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs