Bug 2549227 - cosmic-greeter.service conflicts with kmscon@tty1/ksmcon@tty1 instead of kmsconvt@tty1, causing black screen (DRM master race on tty1)
Summary: cosmic-greeter.service conflicts with kmscon@tty1/ksmcon@tty1 instead of kmsc...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: cosmic-greeter
Version: 45
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Ryan Brue
QA Contact:
URL:
Whiteboard: AcceptedFreezeException
Depends On:
Blocks: F45FinalFreezeException 2418795
TreeView+ depends on / blocked
 
Reported: 2026-10-11 12:20 UTC by Damien Dye
Modified: 2026-10-30 02:41 UTC (History)
6 users (show)

Fixed In Version: cosmic-greeter-1.11.0-2.fc44 cosmic-greeter-1.10.0-4.fc45 cosmic-greeter-1.11.0-2.fc43
Clone Of:
Environment:
Last Closed: 2026-10-29 22:51:06 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Damien Dye 2026-10-11 12:20:55 UTC
Description of problem:
cosmic-greeter.service declares its tty1 conflict against unit names that do not exist when kmscon is in use:

  After=getty ksmcon       <- typo ("ksmcon")
  Conflicts=getty kmscon   <- kmscon ships kmsconvt@.service, not kmscon@.service

kmscon installs /etc/systemd/system/autovt@.service -> kmsconvt@.service, so the console on tty1 is kmsconvt. The greeter does not conflict with it, so kmsconvt@tty1 and cosmic-greeter (greetd vt = 1) both run on tty1 and race for DRM master. greetd.service in the same release already uses the correct name (After=/Conflicts= kmsconvt).

Version-Release number of selected component:
cosmic-greeter-1.9.1-3.fc45.x86_64
kmscon-10.0.4-1.fc45.x86_64
cosmic-comp-1.9.0-1.fc45.x86_64
kernel 7.2.9-300.fc45.x86_64, AMD Picasso/Raven 2 (amdgpu), ThinkPad E595

How reproducible:
Intermittent (race), most boots after installing kmscon.

Steps to Reproduce:
1. Fedora 45 COSMIC with cosmic-greeter.service enabled as display-manager
2. Install kmscon (autovt@.service -> kmsconvt@.service)
3. Reboot and log in at the greeter

Actual results:
Black screen, no greeter or no COSMIC desktop after login. Both units are active on tty1:
  kmsconvt  active running
  cosmic-greeter.service active running
Journal:
  kmscon: Error: drm_shared: Cannot set drm master for /dev/dri/card1 (Error -1)  [x20, then vt_timeout]
  cosmic-comp: Unable to become drm master, assuming unprivileged mode
  cosmic-comp: Failed to add device /dev/dri/card1: Failed to obtain file descriptor for drm device
  cosmic-comp: Error occured in main(): Backend initialized without output
  cosmic-comp: Unable to clear state: DRM access error: Failed to commit on clear_state on device /dev/dri/card1 (Permission denied (os error 13))
  cosmic-comp: Failed to submit rendering: ... Device is currently paused, operation rejected

Expected results:
Starting cosmic-greeter stops kmsconvt@tty1 (as greetd.service does) and the greeter/session gets DRM master.

Additional info:
Workaround, drop-in /etc/systemd/system/cosmic-greeter.service.d/kmscon.conf:
  [Unit]
  After=kmsconvt
  Conflicts=kmsconvt
With this drop-in the greeter and desktop come up normally and kmsconvt@tty1 is stopped (verified after reboot).
Suggested fix: replace "ksmcon"/"kmscon" with "kmsconvt" in cosmic-greeter.service.

Related: bug 2418795 (Changes/UseKmsconVTConsole).

Comment 1 Kamil Paral (Fedora Quality) 2026-10-20 06:53:56 UTC
Proposing for a Final freeze exception, if a patch is ready.

Comment 2 Fedora Update System 2026-10-20 15:35:39 UTC
FEDORA-2026-8e765073e8 (cosmic-greeter-1.10.0-4.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-8e765073e8

Comment 3 Fedora Update System 2026-10-20 15:35:41 UTC
FEDORA-2026-a574be26db (cosmic-greeter-1.10.0-5.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-a574be26db

Comment 4 Fedora Update System 2026-10-20 15:35:45 UTC
FEDORA-2026-29dbbc92bc (cosmic-greeter-1.10.0-5.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-29dbbc92bc

Comment 5 Adam Williamson (Fedora) 2026-10-20 16:04:10 UTC
+4 (+5 / -1) in https://forge.fedoraproject.org/quality/blocker-review/issues/2231 , marking accepted FE.

Comment 6 Geraldo Simião 2026-10-20 23:57:50 UTC
It looks like this upgrade https://bodhi.fedoraproject.org/updates/FEDORA-2026-8e765073e8 fix the bug for F45, just tested it.

Comment 7 Fedora Update System 2026-10-21 02:00:04 UTC
FEDORA-2026-8e765073e8 has been pushed to the Fedora 45 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-8e765073e8`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-8e765073e8

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2026-10-21 02:22:57 UTC
FEDORA-2026-29dbbc92bc has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-29dbbc92bc`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-29dbbc92bc

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2026-10-21 02:50:42 UTC
FEDORA-2026-a574be26db has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-a574be26db`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-a574be26db

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Geraldo Simião 2026-10-21 20:48:38 UTC
confirmed the fix on the new Fedora-COSMIC-Live-45-1.2 iso -> it boots correctly to a working live graphical session.

Comment 11 Fedora Update System 2026-10-22 02:10:55 UTC
FEDORA-2026-aeab363c0d has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-aeab363c0d`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-aeab363c0d

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2026-10-22 02:58:20 UTC
FEDORA-2026-5e2dd95efc (cosmic-applets-1.11.0-2.fc44, cosmic-app-library-1.11.0-2.fc44, and 26 more) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 13 Adam Williamson (Fedora) 2026-10-28 15:24:18 UTC
Unfortunately the fix for this was missed from Fedora 45 RC2 because the bug got closed by the F44 update. Please don't let stable release updates close frozen release blocker/FE bugs.

Also the targeted fix for this - https://bodhi.fedoraproject.org/updates/FEDORA-2026-8e765073e8 - has been obsoleted by a much bigger Cosmic update - https://bodhi.fedoraproject.org/updates/FEDORA-2026-f7931cdf46 . It would have been better not to do that.

Comment 14 Adam Williamson (Fedora) 2026-10-28 15:26:15 UTC
Sorry, I meant it's missed from RC 3.

Comment 15 Fedora Update System 2026-10-29 22:46:01 UTC
FEDORA-2026-8e765073e8 has been pushed to the Fedora 45 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-8e765073e8`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-8e765073e8

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 16 Fedora Update System 2026-10-29 22:51:06 UTC
FEDORA-2026-8e765073e8 (cosmic-greeter-1.10.0-4.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 17 Fedora Update System 2026-10-30 01:32:48 UTC
FEDORA-2026-aeab363c0d (cosmic-applets-1.11.0-2.fc43, cosmic-app-library-1.11.0-2.fc43, and 26 more) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 18 Fedora Update System 2026-10-30 02:41:23 UTC
FEDORA-2026-f7931cdf46 has been pushed to the Fedora 45 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-f7931cdf46`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-f7931cdf46

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.


Note You need to log in before you can comment on or make changes to this bug.