linuxmint / cinnamon

A Linux desktop featuring a traditional layout, built from modern technology and introducing brand new innovative features.
GNU General Public License v2.0
4.51k stars 733 forks source link

Double Mouse pointer icon after login #9517

Open UweSchneiderGmbH opened 4 years ago

UweSchneiderGmbH commented 4 years ago
 * Cinnamon version 4.6.7
 * Distribution - Mint 20
 * Graphics hardware Radeon RX 590 with amdgpu driver
 * Dual monitor configuration, left 4k with 150%, right full HD with 100%
 * 64 bit

With a chance of about 3..5% after a login, there is a second (not moving) mouse cursor icon.

When the the login screen is active, moving the mouse cursor from one monitor to the other changes the size of the mouse pointer. After login the mouse cursor size has the same (normal) size on both monitors.

During login, on the full HD screen with 100% scaling the pointer it is larger than normal. On the 4k with 150% scaling the pointer is smaller than normal.

When the problem occurs, the double, not moving mouse pointer is either the small one from the login on the 4k monitor or the big one from the login on the full HD monitor.

Making a screen shot disables both pointers for the screen shot and enables them both again after.

The not moving double pointer is always in front of the normal moving one.

The picture is showing the normal pointer behind the not moving big one on the full HD monitor. DoublePointer

The annoying thing is, after it happened, the only solution I know to get rid of the double pointer is rebooting the machine.

With Mint 19 I had the same hardware configuration, but without the possibility to make a 150% scaling, I defined a lower monitor resolution (2560x1440) and used the 100% scaling. There the problem never occurred.

I hope you can fix this.

Kind regards Uwe

Almin17 commented 4 years ago
  • Cinnamon version 4.6.7-1
  • Distribution - Arch Linux, up2date@September 2020
  • Graphics hardware Radeon R390 with amdgpu driver
  • Single monitor configuration, 4k (3840x2160 @ 60Hz refresh rate), 200% scaling activated
  • 64 bit

Finally someone with the same issue! I can second (reproduce) this on Arch Linux since quite some time (months). It does happen regardless of Display Manager (gdm or lightdm) and does not happen in other GTK+-based Desktop environments (like Gnome-Shell or Pantheon).

I have only one screen (4K/UHD/3840x2160) with size scaling on.

I always get the dead Mouse Pointer in the position where it was last in the display Manager just prior to login, making it seem like some staying artefact from gdm or lightdm, only it doesn't happen in gnome-shell or pantheon. By now I adopted the habit to move it of the screen (like lower right corner) before login (hitting Enter in the display manager login) so that it doesn't annoy me.

UweSchneiderGmbH commented 4 years ago

Hi,

Good, than I'm not the only one with this issue. One time I managed to have three mouse pointers. One on each screen, not moving and the "real" one. :-)

And sometimes it happens also, when the (password protected) screen saver activates. In this case the mouse pointer is shown when the screen saver is active (in normal case the mouse pointer is off during screen saver active). After entering the password this pointer keeps showing and not moving and a second normal mouse pointer appears. In this case the relogon trick (described below) does not work and you have to reboot the machine.

So if the problem also occurs with only one screen connected, it must be the scaling. Possibly there is only a small window for a glitch, that the mouse pointer showed during logon is not switched off. And the window gets larger when the scaling is on?

But I've found a additional solution to get rid of the double/tripple cursor.

Instead of rebooting you can log off, move the mouse to "catch" the still standing mouse pointer(s) and relogon.

Unfortunately locking the workstation (Alt-Ctrl-L) doesn't do the trick.

Kind Regards Uwe

zachgenius commented 3 years ago

Fortunately, I'm not the only one with such a bug. I have to move my mouse to the screen corner to "hide" the mouse before login. Sometimes I forgot to do so, I have to restart my computer to solve that because the fake mouse is always there if I just logout and login again......

UweSchneiderGmbH commented 3 years ago

Sorry to hear that the logout/login does not work for you :-(

But I have sone new information that may help to locate the bug.

The memory for the double mouse cursor seems to be freed but the graphic card still displays it.

After some heavy memory usage, there is garbage displayed instead of the mouse pointer, but when taking a screen shot it still gets hidden.

Kind Regards Uwe

P.S.: The update to Mint 20.1 did not change the behavior

leigh123linux commented 3 years ago

See https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1829221/comments/5

https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1829221

https://www.reddit.com/r/Fedora/comments/ctpo18/duplicate_mouse_cursor_after_unlocking/

UweSchneiderGmbH commented 3 years ago

Thanks for the info.

I didn't think to search for the Bug in the underlaying Ubuntu m-(

In the bug report a small java program as a bug-fix for Gnome is mentioned https://github.com/mind-overflow/gnome-fs-duplicate-cursor-fix When I find sone time I'll give it a try.