Subject: bug#74220: invisible cursor

From: Jared Finder <[email-masked]>
Date: Sat, 08 Feb 2025 19:15:54 -0800

On 2025-02-08 08:54, Eli Zaretskii wrote:
>> Date: Sat, 08 Feb 2025 08:29:53 -0800
>> From: Jared Finder <[email-masked]>
>> Cc: [email-masked], [email-masked], 
>> [email-masked],
>>  [email-masked], [email-masked]
>> 
>> An update: A fix will go out with Linux 6.14.  I am building the 
>> kernel
>> locally to confirm the fix.
> 
> Good news.
> 
>> How do we want to note this issue in Emacs' release notes, if at all?
> 
> It should be in PROBLEMS, not in NEWS.

I have verified the fix.  Patch attached to mention in PROBLEMS.  I 
think this bug can be closed.

   -- MJF

From b4b0b1aa1e18db1ee5490946356d47481acc8c0f Mon Sep 17 00:00:00 2001
From: Jared Finder <[email-masked]>
Date: Sat, 8 Feb 2025 19:08:05 -0800
Subject: [PATCH] ; * etc/PROBLEMS: Document problem with mouse display
 (bug#74220)

---
 etc/PROBLEMS | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/etc/PROBLEMS b/etc/PROBLEMS
index ee72a04f493..e0683bc2f5b 100644
--- a/etc/PROBLEMS
+++ b/etc/PROBLEMS
@@ -2815,6 +2815,19 @@ set the 'visible-cursor' variable to nil in your ~/.emacs:
 Still other way is to change the "cvvis" capability to send the
 "\E[?25h\E[?0c" command.
 
+*** GNU/Linux: GPM mouse does not display but still otherwise works.
+
+This happens on Linux kernel versions from 6.7 to 6.13.  On these
+versions, the Linux kernel does not allow programs to draw the mouse
+pointer unless they have superuser permissions.  The GPM daemon
+normally has such permissions and it draws the mouse pointer for other
+programs such as your shell and many ncurses based programs, but not
+for Emacs.
+
+To solve this, you need to change your kernel to a version with this bug
+fixed, such as 6.14.  See associated Linux kernel fix:
+https://lore.kernel.org/regressions/[email-masked]/
+
 ** FreeBSD
 
 *** FreeBSD: Getting a Meta key on the console.
-- 
2.39.5