public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jocelyn Falempe <jfalempe@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/cosmic-greeter] f43: Fix conflict with kmscon
Date: Fri, 18 Sep 2026 19:49:00 GMT	[thread overview]
Message-ID: <178976094058.1.2317703224104452289.rpms-cosmic-greeter-f3897f27d722@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/cosmic-greeter
            Branch : f43
            Commit : f3897f27d722b7f585676bb4738ba1d4fe14c66a
            Author : Jocelyn Falempe <jfalempe@redhat.com>
            Date   : 2026-09-18T13:57:56+02:00
            Stats  : +36/-0 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/cosmic-greeter/c/f3897f27d722b7f585676bb4738ba1d4fe14c66a?branch=f43

            Log:
            Fix conflict with kmscon

On Fedora 45 Beta, kmscon takes the GPU before cosmic-greeter, so the
users are stuck on the console.
This will prevent kmscon to run on the same VT as cosmic-greeter.

---
diff --git a/0001-feat-systemd-service-conflicts-with-kmscon.patch b/0001-feat-systemd-service-conflicts-with-kmscon.patch
new file mode 100644
index 0000000..552f5d6
--- /dev/null
+++ b/0001-feat-systemd-service-conflicts-with-kmscon.patch
@@ -0,0 +1,33 @@
+From 3073850f0354665ddf359394c53a8d6fe7f6a473 Mon Sep 17 00:00:00 2001
+From: Jocelyn Falempe <jfalempe@redhat.com>
+Date: Thu, 17 Sep 2026 22:40:35 +0200
+Subject: [PATCH] feat: systemd service, conflicts with kmscon
+
+kmscon is replacing agetty/fbcon on Fedora, and thus the systemd service
+should conflict with kmsconvt@tty1 instead of agetty@tty1
+
+Otherwise both kmscon and cosmic greeter compete for the graphic cards.
+
+Signed-off-by: Jocelyn Falempe <jfalempe@redhat.com>
+---
+ debian/cosmic-greeter.service | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/debian/cosmic-greeter.service b/debian/cosmic-greeter.service
+index 278e591..3abbb33 100644
+--- a/debian/cosmic-greeter.service
++++ b/debian/cosmic-greeter.service
+@@ -1,8 +1,8 @@
+ [Unit]
+ Description=COSMIC Greeter
+ After=systemd-user-sessions.service plymouth-quit-wait.service cosmic-greeter-daemon.service
+-After=getty@tty1.service
+-Conflicts=getty@tty1.service
++After=getty@tty1.service ksmcon@tty1.service
++Conflicts=getty@tty1.service kmscon@tty1.service
+ Wants=cosmic-greeter-daemon.service
+ 
+ [Service]
+-- 
+2.55.0
+

diff --git a/cosmic-greeter.spec b/cosmic-greeter.spec
index 84d4b4d..5e13369 100644
--- a/cosmic-greeter.spec
+++ b/cosmic-greeter.spec
@@ -33,6 +33,9 @@ Source2:        vendor-config-%{version_no_tilde}.toml
 Patch:          0001-Make-service-a-display-manager.patch
 Patch:          include-greetd.patch
 
+# Upstream fix for kmscon, from https://github.com/pop-os/cosmic-greeter/pull/546
+Patch: 0001-feat-systemd-service-conflicts-with-kmscon.patch
+
 BuildRequires:  cargo-rpm-macros >= 25
 BuildRequires:  rustc
 BuildRequires:  lld

                 reply	other threads:[~2026-09-18 19:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178976094058.1.2317703224104452289.rpms-cosmic-greeter-f3897f27d722@fedoraproject.org \
    --to=jfalempe@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox