[kwin] [Bug 416501] Compositing prevents laptop to wake up from sleep state

2020-01-21 Thread Francesco Cartier
https://bugs.kde.org/show_bug.cgi?id=416501

--- Comment #4 from Francesco Cartier  ---
(In reply to Roman Gilg from comment #3)
> Can you switch VT via Ctrl+Alt+F# key combination and then check if XServer
> and/or KWin are running and restart KWin via DISPLAY=:0 kwin_x11?
> 
> Also try it with Wayland session.

The PC is completely unresponsive from user input. The screen backlight turns
on, the power button LED and the keyboard too, but any kind of input is off.
The key combination you suggested doesn't work with any F# key.

I've tested Wayland and it works fine.

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

[kwin] [Bug 416501] Compositing prevents laptop to wake up from sleep state

2020-01-20 Thread Francesco Cartier
https://bugs.kde.org/show_bug.cgi?id=416501

--- Comment #2 from Francesco Cartier  ---
(In reply to David Edmundson from comment #1)
> Does this happen when another compositor is used?

I've only tried XFWM and it didn't reproduce the problem. 
I've also tried to change the OpenGL version used by KWin from 3.1 to 2.0 but
the problem persisted.

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

[kwin] [Bug 416501] New: Compositing prevents laptop to wake up from sleep state

2020-01-20 Thread Francesco Cartier
https://bugs.kde.org/show_bug.cgi?id=416501

Bug ID: 416501
   Summary: Compositing prevents laptop to wake up from sleep
state
   Product: kwin
   Version: unspecified
  Platform: Other
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: compositing
  Assignee: kwin-bugs-n...@kde.org
  Reporter: francescocart...@gmail.com
  Target Milestone: ---

SUMMARY

As reported on a few forum posts in the Manjaro forum, on AMD Ryzen laptops the
compositor prevents the PC to wake up from a suspend state.
When suspending the machine with the compositor enabled, waking it up will
result in a black screen without any possibility of user input (the PC looks
totally frozen and the only way out is shutting it off with power button).
A workaround so far is disabling the compositor before suspending the device,
either manually or with a systemd service, but even like this it fails from
time to time forcing an hard shutdown.


STEPS TO REPRODUCE
1. Enable the compositor
2. Suspend the device
3. Wake up the device

OBSERVED RESULT
Black screen with no possibility of user input.

EXPECTED RESULT
Wake up the device.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro 18.1.5
KDE Plasma Version: 5.17.5
KDE Frameworks Version: 5.66
Qt Version: 5.14

ADDITIONAL INFORMATION
This issue has been around since I moved to KDE in September 2019, and I've
found the same issues in older forum posts since end-2018.
All my researches had Ryzen CPUs as common specs, I don't know if it might
affect Intel devices.

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