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.56k stars 742 forks source link

Stuck on Lock Screen when Full Screen Game is Running #12388

Open amarraff opened 2 months ago

amarraff commented 2 months ago

Distribution

Linux Mint 22

Package version

Cinnamon 6.2.9

Graphics hardware in use

NVIDIA GeForce RTX 3080

Frequency

Always

Bug description

If I'm running a video game in full screen and Linux Mint auto-locks, I cannot type my password. My computer becomes stuck on the lock screen. My mouse also seems to become trapped; if I do manage to get my mouse "free" so it's visible, it can't click anything. The only way I've found to get out of this is to hard reboot my PC via holding down the power button (my case doesn't have a soft reboot button, unfortunately).

Steps to reproduce

1.) Run a video game through Steam in full screen mode. 2.) Wait for Linux Mint to auto-lock the screen. 3.) Try typing in your password or clicking something with your mouse, it shouldn't be possible.

Expected behavior

I am able to enter my password and get back into my computer. This issue did not occur on Linux Mint 21.3 Virginia, I was always able to log in after the screen locked.

Additional information

In case it's relevant, I did upgrade directly from Linux Mint 21.3 to 22 using the upgrade tool. I'm not sure if this bug will occur on a fresh install of Linux Mint 22.

2qar commented 1 month ago

I'm also able to recreate the issue on Linux Mint 21.1 with Cinnamon 5.6.8.

As a workaround, I tried killing cinnamon-screensaver and it pointed me to a script cinnamon-unlock-desktop which just does this:

#!/bin/sh
killall cs-backup-locker
killall cinnamon-screensaver

Running this command in another TTY (ctrl+alt+F1 for a new TTY, ctrl+alt+F7 to get back to Cinnamon) helped me restore my desktop without rebooting.