[kwin] [Bug 481520] Screens stays black after unlocking if monitors were switched off while locked (Wayland)

2024-02-18 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=481520

Bug Janitor Service  changed:

   What|Removed |Added

   Keywords||qt6

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 481520] Screens stays black after unlocking if monitors were switched off while locked (Wayland)

2024-02-18 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=481520

fanzhuyi...@gmail.com changed:

   What|Removed |Added

 Resolution|--- |WAITINGFORINFO
 CC||fanzhuyi...@gmail.com
 Status|REPORTED|NEEDSINFO

--- Comment #1 from fanzhuyi...@gmail.com ---
What graphics card are you using? Did your laptop suspend to ram in the mean
time?

FWIW I can't reproduce on plasma 6, wayland, arch linux, nvidia dgpu+intel
igpu. 

Unplugging and replugging an external monitor during lock works for me.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 481520] Screens stays black after unlocking if monitors were switched off while locked (Wayland)

2024-02-18 Thread Guido Winkelmann
https://bugs.kde.org/show_bug.cgi?id=481520

--- Comment #2 from Guido Winkelmann  ---
(In reply to fanzhuyifan from comment #1)
> What graphics card are you using?

It's and AMD Radeon RX 5700 XT.

> Did your laptop suspend to ram in the mean time?

This happened on my desktop, not a laptop, and the desktop did not do any
suspend operations in that time. Or any other time, because I never configured
it to do suspend.

My laptop actually did suspend to RAM in that time, but I doubt that is
related...

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 481520] Screens stays black after unlocking if monitors were switched off while locked (Wayland)

2024-02-18 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=481520

fanzhuyi...@gmail.com changed:

   What|Removed |Added

 Status|NEEDSINFO   |REPORTED
 Resolution|WAITINGFORINFO  |---

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 481520] Screens stays black after unlocking if monitors were switched off while locked (Wayland)

2024-02-18 Thread malvery
https://bugs.kde.org/show_bug.cgi?id=481520

malvery  changed:

   What|Removed |Added

 CC||fort.malv...@gmail.com

--- Comment #3 from malvery  ---
Hello, I often have the same issue.

Steps to reproduce:
1. Login on TTY1 and start plasma session.
2. Set "Screen Locking -> Lock screen automatically -> After" to the 1 minute.
3. Enable "Energy Saving ->  -> Turn
off screen" and set "When locked, turn off screen" to the 30 seconds.
4. Switch to another VT or graphic session, for example TTY2 with logged user2.
5. Wait for more than 1m 30s.
6. Switch to the TTY1 -> you'll get only black screen with cursor.

OS: Archlinux
KDE Plasma: 5.93.0.r67.gdce80ad
KDE Framework: 5.249.0.r3.g45d7321
QT6: 6.6.2
GPU device: Mesa Intel(R) UHD Graphics 630 (CFL GT2)

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 481520] Screens stays black after unlocking if monitors were switched off while locked (Wayland)

2024-02-20 Thread Jakob Petsovits
https://bugs.kde.org/show_bug.cgi?id=481520

--- Comment #4 from Jakob Petsovits  ---
Git commit 9e3e5675924c9b9772693717f4e2b80d0ff394bd by Jakob Petsovits.
Committed on 20/02/2024 at 19:29.
Pushed by jpetso into branch 'master'.

backends/drm: Undo fade-out effect upon unsuccessful DPMS Off

DrmOutput::setDrmDpmsMode() already takes care of reverting any
pending output pipeline changes, but the aboutToTurnOff signal from
setDpmsMode() needs an explicit wakeUp signal to cancel it out.
Related: bug 477916

M  +4-1src/backends/drm/drm_output.cpp

https://invent.kde.org/plasma/kwin/-/commit/9e3e5675924c9b9772693717f4e2b80d0ff394bd

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 481520] Screens stays black after unlocking if monitors were switched off while locked (Wayland)

2024-02-20 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=481520

--- Comment #5 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/plasma/kwin/-/merge_requests/5245

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 481520] Screens stays black after unlocking if monitors were switched off while locked (Wayland)

2024-02-20 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=481520

--- Comment #6 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/plasma/kwin/-/merge_requests/5246

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 481520] Screens stays black after unlocking if monitors were switched off while locked (Wayland)

2024-02-20 Thread Jakob Petsovits
https://bugs.kde.org/show_bug.cgi?id=481520

--- Comment #7 from Jakob Petsovits  ---
I believe the patch I merged (see Comment #4, Invent MR
https://invent.kde.org/plasma/kwin/-/merge_requests/5240) fixes this issue. It
sounds a lot like the same symptoms from Bug 477916 which it was targeting. But
I wasn't able to reproduce this issue myself, following the original
reproduction steps, likely because I'm on a laptop.

The patch is going into Plasma 6.0, please retest with the final release once
it's out and report back if the problem was fixed or still persists. Thanks!

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 481520] Screens stays black after unlocking if monitors were switched off while locked (Wayland)

2024-02-20 Thread Jakob Petsovits
https://bugs.kde.org/show_bug.cgi?id=481520

--- Comment #8 from Jakob Petsovits  ---
Git commit d062ce8750a9fde7973d3457ca5915469925a0e4 by Jakob Petsovits.
Committed on 20/02/2024 at 19:43.
Pushed by jpetso into branch 'Plasma/6.0'.

backends/drm: Undo fade-out effect upon unsuccessful DPMS Off

DrmOutput::setDrmDpmsMode() already takes care of reverting any
pending output pipeline changes, but the aboutToTurnOff signal from
setDpmsMode() needs an explicit wakeUp signal to cancel it out.
Related: bug 477916


(cherry picked from commit 9e3e5675924c9b9772693717f4e2b80d0ff394bd)

M  +4-1src/backends/drm/drm_output.cpp

https://invent.kde.org/plasma/kwin/-/commit/d062ce8750a9fde7973d3457ca5915469925a0e4

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 481520] Screens stays black after unlocking if monitors were switched off while locked (Wayland)

2024-02-20 Thread Jakob Petsovits
https://bugs.kde.org/show_bug.cgi?id=481520

--- Comment #9 from Jakob Petsovits  ---
Git commit 26d36b9ac2414adfba344fa16a268976adb7728d by Jakob Petsovits.
Committed on 20/02/2024 at 19:45.
Pushed by jpetso into branch 'Plasma/5.27'.

backends/drm: Undo fade-out effect upon unsuccessful DPMS Off

DrmOutput::setDrmDpmsMode() already takes care of reverting any
pending output pipeline changes, but the aboutToTurnOff signal from
setDpmsMode() needs an explicit wakeUp signal to cancel it out.
Related: bug 477916


(cherry picked from commit 9e3e5675924c9b9772693717f4e2b80d0ff394bd)

M  +4-1src/backends/drm/drm_output.cpp

https://invent.kde.org/plasma/kwin/-/commit/26d36b9ac2414adfba344fa16a268976adb7728d

-- 
You are receiving this mail because:
You are watching all bug changes.