xserver/hw
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Daniel Monteiro d9e71a6e3b xfree86: don't make a failed GPU screen ScreenInit fatal
InitOutput() calls FatalError() when AddGPUScreen() fails, taking
down the whole server even when the primary screen initialized
fine. The hotplug path (xf86platformAddDevice) already treats the
same failure as recoverable: it deletes the screen and carries on.

Do the same at init: log the failure, delete the screen, continue
with the remaining screens.

Seen in practice on a hybrid laptop where a runtime-suspended
secondary GPU fails to wake (kernel bug): the LightDM greeter's
Xorg dies for a GPU screen it never needed.

Closes: #1912

Signed-off-by: Daniel Monteiro <monteiroquiet@gmail.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2271>
(cherry picked from commit a5ec3570e1)
(cherry picked from commit 82fd237d12a5ddde62997198721583d826f11060)
(cherry picked from commit 195ff6b8900c5d845aa2d63b6fb1592afd7b78db)
2026-10-01 17:23:20 +02:00
..
kdrive kdrive/modesetting: Add hw cursor support 2026-10-01 13:30:12 +02:00
stubs license: add X11 OR MIT OR AGPL-3.0-or-later to Enrico Weigelt's source files 2026-07-29 10:02:59 +02:00
vfb xvfb: enforce CRTC size limit after all arguments are processed 2026-09-29 13:08:23 +02:00
xfree86 xfree86: don't make a failed GPU screen ScreenInit fatal 2026-10-01 17:23:20 +02:00
xnest xnest: replace global arrays by devPrivate's 2026-09-23 18:30:53 +02:00
xquartz darwin: Set thread priorities to user interactive or user initiated as appropriate 2026-09-30 19:24:05 +02:00
xwin xwin: don't use pScreen->myNum as global array index anymore 2026-09-22 12:26:05 +02:00
meson.build