public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/cosmic-greeter] f43: Fix conflict with kmscon
@ 2026-09-18 19:49 Jocelyn Falempe
0 siblings, 0 replies; only message in thread
From: Jocelyn Falempe @ 2026-09-18 19:49 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-18 19:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-18 19:49 [rpms/cosmic-greeter] f43: Fix conflict with kmscon Jocelyn Falempe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox