[DragonFlyBSD - Bug #3465] (Closed) syscons/drm: no console when the display is connected after boot

sigttou bugtracker-admin at leaf.dragonflybsd.org
Thu Nov 19 23:52:25 PST 2026


Issue #3465 has been updated by sigttou.

Status changed from New to Closed

Patches moved to GH PR#67.

----------------------------------------
Bug #3465: syscons/drm: no console when the display is connected after boot
http://bugs.dragonflybsd.org/issues/3465#change-14967

* Author: sigttou
* Status: Closed
* Priority: Normal
* Category: Driver
* Target version: 6.6
* Start date: 2026-11-08
----------------------------------------
If no display is detected when the machine boots (e.g. the monitor is on another input after a cold boot, so the firmware sets up no
GOP framebuffer), the VGA adapter cannot be verified, vga0 fails to attach and syscons never attaches. i915 then defers its fbdev setup.
When the display appears later, hotplug, connector probing and the modeset all work, but @register_framebuffer()@ finds no syscons softc
and returns 0. drm considers the console registered and never retries. The screen stays black, with no kms console and no ttyv* devices,
until the next reboot.

1. syscons: when @register_framebuffer()@ finds no softc, attach syscons late as the kernel console on the DRM framebuffer, allocating
   the console buffers that @scmeminit()@ skipped. If that fails, return an error instead of 0.
2. drm_fb_helper: re-arm @deferred_setup@ when framebuffer registration fails, so the next hotplug retries.
3. vga: fail the probe when the adapter cannot be verified, instead of failing later at attach.

---Files--------------------------------
0001-syscons-late-attach-syscons-when-register_framebuffe.patch (5.53 KB)
0002-drm-fb_helper-re-arm-deferred_setup-when-fb-registra.patch (1.07 KB)
0003-vga-fail-the-probe-when-the-adapter-could-not-be-ver.patch (1.53 KB)


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account


More information about the Bugs mailing list