Bug 494529 - On X11, screen freeze after waking up screen
Summary: On X11, screen freeze after waking up screen
Status: RESOLVED DUPLICATE of bug 483094
Alias: None
Product: kscreenlocker
Classification: Plasma
Component: general (show other bugs)
Version: 6.2.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-11 13:27 UTC by Angel
Modified: 2024-10-22 18:20 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Angel 2024-10-11 13:27:30 UTC
SUMMARY
Whenever I leave my pc to automatically lock and turn off the screen, after waking up, both of my monitors are completely frozen and after a 10 to 20 seconds it fixes, you can also switch ttys to fix. I can also log in and when the screen fixes I would be logged in, so only the screen is frozen. This seems to be only a issue with x11

STEPS TO REPRODUCE
1. While unlocked wait for the monitor to turn off, without it being locked before turning off the screen
2. Wake up

OBSERVED RESULT
Freeze on screen

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Kernel: 6.11.2-zen1-1-zen (64-bit)
KDE Plasma Version: 6.2.0
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.3

ADDITIONAL INFORMATION
I have reinstalled my pc and the issue still persisted, I'm with a nvidia gpu, which is the main reason I do not use wayland.
Comment 1 Nate Graham 2024-10-11 17:13:22 UTC
Does it happen with:
1. Only one screen?
2. Not using screen locking, and only letting the monitor(s) go to sleep?
3. Not letting the monitor(s) go to sleep and only locking and unlocking the screen?

Basically, let's try to narrow down the exact event that causes this. Thanks!
Comment 2 Angel 2024-10-13 11:01:20 UTC
(In reply to Nate Graham from comment #1)
> Does it happen with:
> 1. Only one screen?
> 2. Not using screen locking, and only letting the monitor(s) go to sleep?
> 3. Not letting the monitor(s) go to sleep and only locking and unlocking the
> screen?
> 
> Basically, let's try to narrow down the exact event that causes this. Thanks!

1. Issue persists with only 1 screen (I disabled the second screen through settings)
2. There is still freezing even without screen locking
3. Locking and unlocking does not cause freezing

My guess is it's the screen sleeping that is bugged
Comment 3 Angel 2024-10-13 19:27:36 UTC
(In reply to Angel from comment #2)
> (In reply to Nate Graham from comment #1)
> > Does it happen with:
> > 1. Only one screen?
> > 2. Not using screen locking, and only letting the monitor(s) go to sleep?
> > 3. Not letting the monitor(s) go to sleep and only locking and unlocking the
> > screen?
> > 
> > Basically, let's try to narrow down the exact event that causes this. Thanks!
> 
> 1. Issue persists with only 1 screen (I disabled the second screen through
> settings)
> 2. There is still freezing even without screen locking
> 3. Locking and unlocking does not cause freezing
> 
> My guess is it's the screen sleeping that is bugged

So I didn't test if not using screen locking fixes it and that does fix it, as after waking up the screen without locking still works. Also no issues when locking before screen sleeps.
Comment 4 Angel 2024-10-13 19:29:34 UTC
(In reply to Angel from comment #3)
> (In reply to Angel from comment #2)
> > (In reply to Nate Graham from comment #1)
> > > Does it happen with:
> > > 1. Only one screen?
> > > 2. Not using screen locking, and only letting the monitor(s) go to sleep?
> > > 3. Not letting the monitor(s) go to sleep and only locking and unlocking the
> > > screen?
> > > 
> > > Basically, let's try to narrow down the exact event that causes this. Thanks!
> > 
> > 1. Issue persists with only 1 screen (I disabled the second screen through
> > settings)
> > 2. There is still freezing even without screen locking
> > 3. Locking and unlocking does not cause freezing
> > 
> > My guess is it's the screen sleeping that is bugged
> 
> So I didn't test if not using screen locking fixes it and that does fix it,
> as after waking up the screen without locking still works. Also no issues
> when locking before screen sleeps.

The bug appears only when the screen sleep timeout is let's say 5 min and locking the screen is also after 5 min.
Comment 5 Angel 2024-10-19 09:06:34 UTC
Update: I guessed that sleeping the monitor before locking fixes it (may have been a fluke), but it doesn't, so only thing that fixes it is first locking then sleeping.
Comment 6 S. Umar 2024-10-20 17:34:45 UTC
This happens on my screen with no locking enabled. There is a freeze for about 20 sec before things start functioning again. This was not the case in the past (a few months ago). I am on Fedora 40 with daily updates and using Plasma X11.
Kernel: 6.11.4
KDE Plasma Version: 6.2.1 (and 6.2.1.1 for kwin and workspace)
KDE Frameworks Version: 6.7.0
Qt Version: 6.7.2
Comment 7 Nate Graham 2024-10-22 18:20:17 UTC

*** This bug has been marked as a duplicate of bug 483094 ***