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/kmscon] rawhide: Update to v10.0.4
Date: Mon, 28 Sep 2026 08:48:06 GMT [thread overview]
Message-ID: <179058528614.1.6534583956483746221.rpms-kmscon-0fb5bf105328@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/kmscon
Branch : rawhide
Commit : 0fb5bf105328b1108894a2ef1dad4758731ce712
Author : Jocelyn Falempe <jfalempe@redhat.com>
Date : 2026-09-28T10:24:24+02:00
Stats : +33/-96 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/kmscon/c/0fb5bf105328b1108894a2ef1dad4758731ce712?branch=rawhide
Log:
Update to v10.0.4
Important Notes
kmscon changed the default font size to 0, which means it will adjust the font size based on the monitors.
The font size is now the maximum height of the font cell in pixels. So if you have set font-size in your kmscon.conf,
it might be smaller with this new release, and you will need some adjustments.
What's Changed
drm_shared: Use legacy modesetting with vmwgfx driver by @kdj0c in #515
Fix EBUSY error handling in pageflip by @kdj0c in #516
Font refactor by @kdj0c in #519
Implement scaled as a multi-monitor option by @DhruvaSambrani in #509
cursor blinking rate feature by @fnnFox in #517
Refactor dlist.h by @kdj0c in #520
Feat/psf unicode table by @IHateGameDev in #510
fix(psf font out): init width and height by @IHateGameDev in #525
log: Simplify logging, remove timestamp, and level for notice and info. by @kdj0c in #523
gltex: Add render dependency by @kdj0c in #527
fix(gltex): kmscon_font dep by @IHateGameDev in #528
Correct the wrong key sysmbols in the kmscon.conf.example by @suikan4github in #529
drm_shared: Fix hotplug by @kdj0c in #530
run kmsconvt@.service after systemd-vconsole-setup by @kdj0c in #532
Default font size by @kdj0c in #531
config: multi-monitor, default to scaled. by @kdj0c in #533
build: Update libtsm dependency to v4.8.0 by @kdj0c in #534
drm_shared: Add max retry to the wakeup timeout by @kdj0c in #535
Prepare v10.0.4 by @kdj0c in #536
Signed-off-by: Jocelyn Falempe <jfalempe@redhat.com>
---
diff --git a/.gitignore b/.gitignore
index 412ac31..1aa5386 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,3 +12,4 @@
/kmscon-10.0.1.tar.gz
/kmscon-10.0.2.tar.gz
/kmscon-10.0.3.tar.gz
+/kmscon-10.0.4.tar.gz
diff --git a/kmscon.spec b/kmscon.spec
index 9f50b3c..22b023b 100644
--- a/kmscon.spec
+++ b/kmscon.spec
@@ -1,5 +1,5 @@
Name: kmscon
-Version: 10.0.3
+Version: 10.0.4
Release: %autorelease
Summary: Linux KMS/DRM based virtual Console Emulator
# MIT for the source code, and OFL-1.1 for the unifont font.
@@ -8,7 +8,7 @@ URL: https://github.com/kmscon/kmscon/
Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: check-devel
BuildRequires: docbook-style-xsl
-BuildRequires: libtsm-devel >= 4.7.0
+BuildRequires: libtsm-devel >= 4.8.0
BuildRequires: meson
BuildRequires: ncurses
BuildRequires: gcc
@@ -31,8 +31,8 @@ BuildRequires: pkgconfig(xkbcommon) >= 0.5.0
BuildRequires: pkgconfig(zlib)
Recommends: (kmscon-freetype if freetype)
-# Upstream patch to fix pageflip with vmwgfx
-Patch1: terminal-Fix-error-handling-when-pageflip-failed.patch
+# Upstream patch to prevent running kmscon.service when VTs are enabled
+Patch1: systemd-prevent-kmscon.service-to-run-if-dev-tty0-is.patch
%description
Kmscon is a simple terminal emulator based on linux kernel mode setting (KMS).
diff --git a/sources b/sources
index e5bd117..117b8b3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (kmscon-10.0.3.tar.gz) = a252f0cb24c7b6c6bc2aa69cad74b2bec94fb9429f2ab4bf3c56a7e50e002317dbb6ffd44f1be621dff65458465ee7a58b29d2bc35f323f22cc98993d5a71f84
+SHA512 (kmscon-10.0.4.tar.gz) = 885e053ee6109c46edfee50df92fb9caad567b633df2760f37e25c2757fb874d413aed1c1de75c0d3fbc2169fe66f6e63ed16ece78f9b0f79aa72cbc91f3bab3
diff --git a/systemd-prevent-kmscon.service-to-run-if-dev-tty0-is.patch b/systemd-prevent-kmscon.service-to-run-if-dev-tty0-is.patch
new file mode 100644
index 0000000..2531ba9
--- /dev/null
+++ b/systemd-prevent-kmscon.service-to-run-if-dev-tty0-is.patch
@@ -0,0 +1,27 @@
+From 8af81edc3e0e93aed8447573f74f323ea97aaaf5 Mon Sep 17 00:00:00 2001
+From: Jocelyn Falempe <jfalempe@redhat.com>
+Date: Mon, 28 Sep 2026 10:09:16 +0200
+Subject: [PATCH] systemd: prevent kmscon.service to run if /dev/tty0 is
+ present
+
+kmscon.service shouldn't be run when VTs are present. Use kmsconvt@
+service instead
+---
+ scripts/systemd/kmscon.service.in | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/scripts/systemd/kmscon.service.in b/scripts/systemd/kmscon.service.in
+index 9b169f0..45bad14 100644
+--- a/scripts/systemd/kmscon.service.in
++++ b/scripts/systemd/kmscon.service.in
+@@ -4,6 +4,7 @@ Documentation=man:kmscon(1)
+ After=plymouth-quit-wait.service
+ After=systemd-user-sessions.service
+ After=rc-local.service
++ConditionPathExists=!/dev/tty0
+
+ [Service]
+ @PAM_CFG@
+--
+2.55.0
+
diff --git a/terminal-Fix-error-handling-when-pageflip-failed.patch b/terminal-Fix-error-handling-when-pageflip-failed.patch
deleted file mode 100644
index 9830cb1..0000000
--- a/terminal-Fix-error-handling-when-pageflip-failed.patch
+++ /dev/null
@@ -1,91 +0,0 @@
-From 0e526b59b86484e4db46b38bd20b3af5c1b606f1 Mon Sep 17 00:00:00 2001
-From: Jocelyn Falempe <jfalempe@redhat.com>
-Date: Thu, 3 Sep 2026 12:52:04 +0200
-Subject: [PATCH 1/2] terminal: Fix error handling when pageflip failed.
-
-When a pageflip returns -EBUSY, scr->swapping can stay true, and the
-display is then never refreshed.
-So remove scr->swapping and directly call display_is_swapping().
-
-This caused kmscon to freeze on vmwgfx, as this driver returns -EBUSY
-regularly.
-
-Signed-off-by: Jocelyn Falempe <jfalempe@redhat.com>
----
- src/terminal.c | 18 ++++--------------
- 1 file changed, 4 insertions(+), 14 deletions(-)
-
-diff --git a/src/terminal.c b/src/terminal.c
-index b6962e7..be8f7b2 100644
---- a/src/terminal.c
-+++ b/src/terminal.c
-@@ -59,7 +59,6 @@ struct screen {
- struct display *disp;
- struct kmscon_text *txt;
-
-- bool swapping;
- bool pending;
- bool hw_cursor;
- bool enabled;
-@@ -274,7 +273,7 @@ static void disable_screen(struct screen *scr)
- int ret;
-
- log_debug("Disabling screen %s", display_name(scr->disp));
-- if (scr->swapping)
-+ if (display_is_swapping(scr->disp))
- scr->pending = true;
- else {
- log_info("Disabling screen %s", display_name(scr->disp));
-@@ -290,7 +289,6 @@ static void disable_screen(struct screen *scr)
- scr->pending = true;
- }
- }
-- scr->swapping = true;
- }
- scr->enabled = false;
- }
-@@ -319,13 +317,8 @@ static void do_redraw_screen(struct screen *scr)
- kmscon_text_render(scr->txt);
-
- ret = display_swap(scr->disp);
-- if (ret) {
-- if (ret != -EBUSY)
-- log_warning("cannot swap display [%s] %d", display_name(scr->disp), ret);
-- return;
-- }
--
-- scr->swapping = true;
-+ if (ret && ret != -EBUSY)
-+ log_warning("cannot swap display [%s] %d", display_name(scr->disp), ret);
- }
-
- static void redraw_screen(struct screen *scr)
-@@ -333,7 +326,7 @@ static void redraw_screen(struct screen *scr)
- if (!scr->term->awake || !scr->enabled)
- return;
-
-- if (scr->swapping)
-+ if (display_is_swapping(scr->disp))
- scr->pending = true;
- else
- do_redraw_screen(scr);
-@@ -420,8 +413,6 @@ static void redraw_all_text(struct kmscon_terminal *term)
- shl_dlist_for_each(iter, &term->screens)
- {
- scr = shl_dlist_entry(iter, struct screen, list);
-- if (display_is_swapping(scr->disp))
-- scr->swapping = true;
- redraw_screen(scr);
- }
- }
-@@ -430,7 +421,6 @@ static void display_pageflip(void *unused, void *unused2, void *data)
- {
- struct screen *scr = data;
-
-- scr->swapping = false;
- if (scr->pending)
- do_redraw_screen(scr);
- }
---
-2.55.0
-
reply other threads:[~2026-09-28 8:48 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=179058528614.1.6534583956483746221.rpms-kmscon-0fb5bf105328@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