Bug 31984 - Wayland desktop don't wake up
Summary: Wayland desktop don't wake up
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 9
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: KDE maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 32082
Blocks:
  Show dependency treegraph
 
Reported: 2023-06-01 12:16 CEST by Jose Manuel López
Modified: 2023-10-31 19:47 CET (History)
1 user (show)

See Also:
Source RPM: wayland
CVE:
Status comment:


Attachments

Description Jose Manuel López 2023-06-01 12:16:20 CEST
Description of problem: My laptop go to sleep in a wayland session and after, when I need use the laptop again, the session don't start, appears a black screen and the desktop is dead... I can't recover the session in any way.


Version-Release number of selected component (if applicable): Wayland in Plasma 5.27.5


How reproducible: Install wayland, reboot laptop and leave it until it go to sleep


Steps to Reproduce:
1. Install Wayland
2. Leave the computer until go to sleep
3. Try to restart the session, a black screen appears and reboot is imposible.
Comment 1 Morgan Leijström 2023-06-01 15:07:27 CEST
I had such problem, not wayland though, on an old laptop.
Had to use Xorg Modesetting driver there.

What GPU and what driver do you use?

Also: when entering sleep, does that appear to go OK?
i.e power down, and a led start flashing.

Does it power on when wakening - i.e power led on?

CC: (none) => fri

Comment 2 Lewis Smith 2023-06-02 20:17:57 CEST
Jose does not say Wayland with what desktop? It is only standard for Gnome; if using it with Plasma - it remains experimental.

> What GPU and what driver do you use?
Post the O/P of:
 $ inxi -MSG

CC: (none) => lewyssmith

Comment 3 Morgan Leijström 2023-06-02 20:28:46 CEST
Jose have earlier opened

Bug 31841 - Some bugs in Plasma-workspace-wayland

Which we are adding more issues to
Comment 4 Lewis Smith 2023-06-02 20:33:56 CEST
Which answers my question about desktop. Comments 1/2 remain to answer.
Comment 5 Jose Manuel López 2023-06-09 08:35:52 CEST
Sorry, I am very busy lately...

In answer to comment 1.

I had a laptop with AMD 4800H and vega 7 integrated as graphic server, and a laptop with intel i5 and integrated graphics, and the bug appears in the two laptops.

The laptop sleep well but I try boot, simply appears a black screen and the laptop don't run..

I have to shutdown the laptop from the power button and reboot again.

In answer to comment 2.

This is the output from terminal of inxi -MSG of the intel laptop:

[jose@localhost ~]$ inxi -MSG
System:
  Host: localhost Kernel: 6.3.6-desktop-1.mga9 arch: x86_64 bits: 64
    Desktop: KDE Plasma v: 5.27.5 Distro: Mageia 9
Machine:
  Type: Laptop System: Notebook product: NLx0MU v: N/A
    serial: <superuser required>
  Mobo: Notebook model: NLx0MU serial: <superuser required> UEFI: INSYDE
    v: 1.07.09TGO2 date: 03/08/2022
Graphics:
  Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] driver: i915 v: kernel
  Device-2: Bison BisonCam NB Pro type: USB driver: uvcvideo
  Display: x11 server: X.org v: 1.21.1.8 with: Xwayland v: 22.1.9 driver: X:
    loaded: intel,v4l dri: i965 gpu: i915 resolution: 1920x1080~60Hz
  API: OpenGL v: 4.6 Mesa 23.1.1 renderer: Mesa Intel Xe Graphics (TGL GT2)
[jose@localhost ~]$
Comment 6 Jose Manuel López 2023-06-09 08:43:19 CEST
Other thing, in my case, I have the plasma panel at the top of the screen. In wayland this don't work fine. The applications menu icon don't work, at the top of the screen. 

I have checked that all this, works fine if I scale the panel to 40 px, but if I scale the panel to 26 px (as it like me), the actions that I commented before stop working.

Today I will install to Vbox with KdeNeon for check if the bug is there too.
Comment 7 sturmvogel 2023-06-09 08:46:46 CEST
(In reply to Jose Manuel López from comment #6)
> Other thing, in my case, I have the plasma panel at the top of the screen.
> In wayland this don't work fine. The applications menu icon don't work, at
> the top of the screen. 
> 
> I have checked that all this, works fine if I scale the panel to 40 px, but
> if I scale the panel to 26 px (as it like me), the actions that I commented
> before stop working.

And as already mentioned in your other bugs where you reported this, there is a simple fix:
Simply add a panel spacer to the left of the application menu…
Comment 8 Jose Manuel López 2023-06-09 11:09:55 CEST
This isn't a good fix... I checking in KdeNeon and..:

- The applications menu works fine without spacer. 
- The session works fine when I sleep the system in wayland and after I boot again.

I think that we have some bugs in Wayland compiled for Mageia.
Comment 9 Lewis Smith 2023-06-09 21:02:45 CEST
Assigning at lasdt to the KDE/Plasma people.

Assignee: bugsquad => kde
CC: lewyssmith => (none)
Keywords: (none) => FOR_ERRATA9

Comment 10 Jose Manuel López 2023-10-31 17:18:13 CET
On my computer, it seems that this problem was due to the suspension problems I had with the kernel (bug 32082), trying again, I see that plasma with wayland returns well from suspension, so we can close this bug.
Comment 11 Morgan Leijström 2023-10-31 19:47:09 CET
Great then :)

Version: Cauldron => 9
Depends on: (none) => 32082
Resolution: (none) => FIXED
Keywords: FOR_ERRATA9 => (none)
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.