Skip to content

[Bug] Suspend/Resume: External displays fail (Quadro T1000) - "Permission denied (os error 13)" and Xwayland desync #2273

Description

@iqivi

Symptom
On a laptop with a Quadro T1000, suspending the system with external monitors connected (1x USB-C 4K ThinkVision, 1x HDMI FHD BenQ) results in black screens upon resume. While the kernel detects the displays as connected, the compositor fails to re-initialize the DRM device or sync with Xwayland.

Environment

OS: Pop!_OS (COSMIC Alpha/Epoch)

Compositor: cosmic-comp

GPU: NVIDIA Quadro T1000 (Driver: 580.119.02)

Displays: ThinkVision 4K (USB-C/DP-Alt), BenQ FHD (HDMI)

The Logs (Journalctl)
The failure begins during the suspend phase where the compositor loses DRM master permissions:
Plaintext

cosmic-comp[1586]: Failed to submit rendering: Failed to submit result for display
cosmic-comp[1586]: Unable to clear state: DRM access error: Failed to commit on clear_state on device Some("/dev/dri/card0") (Permission denied (os error 13))

Upon resume, the compositor fails to re-acquire the device and Xwayland falls out of sync:
Plaintext

cosmic-comp[1586]: Failed to set xwayland primary output: The provided output wasn't known to Xwayland
cosmic-comp[1586]: Failed to resume drm device
cosmic-comp[1586]: Failed to update drm device /dev/dri/card1.
cosmic-comp[1586]: Failed to destroy old mode property blob: No such file or directory (os error 2)
cosmic-comp[1586]: Error while handling udev event.

Diagnostic Details

Post-resume, cat /sys/class/drm/card*-*/status confirms the kernel sees the hardware as connected.

Manual udevadm trigger --subsystem-match=drm --action=change does not recover the displays but triggers the xwayland primary output error in cosmic-comp.

Replugging cables does not resolve the issue; only a full reboot or restarting the display manager/session works.

Steps to Reproduce

Connect 4K USB-C and FHD HDMI monitors.

Enter suspend mode.

Resume. External displays remain black/no signal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions