Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Freeze after suspend, but not lightdm
-
- Posts: 4
- Joined: 2020-06-17 22:57
Freeze after suspend, but not lightdm
Dear all,
I have a strange problem and I am not able to find a similar problem in other threads.
I have Lenovo Aio with AMD CPU and so AMD GPU. No problem if I use Lightdm (Debian buster). But if I try other lighter WM, tty7 freezes after suspend.
I tried openbox, fluxbox, dwm, i3, englightning.. always the same. After suspend (systemctl suspend), the desktop are frozen. But.. if I give some commands (as twice return in xterm or Fn+Enter in i3) nothing happens. I switch to tty1 and I switch to tty7 again.. I see the output of my commands, but frozen yet. I can also go to tty1 and kill the wm process. It seems just a problem of what I see in the monitor, because the software is running well, I also checked by connecting via SSH from other machine.
I do not see any error messages. I tried to install again all the AMD GPU firmware and driver, xinit, xorg, but it doesn't work. It seems that lightdm only can work.
Any ideas?
Thanks
Cyrano
I have a strange problem and I am not able to find a similar problem in other threads.
I have Lenovo Aio with AMD CPU and so AMD GPU. No problem if I use Lightdm (Debian buster). But if I try other lighter WM, tty7 freezes after suspend.
I tried openbox, fluxbox, dwm, i3, englightning.. always the same. After suspend (systemctl suspend), the desktop are frozen. But.. if I give some commands (as twice return in xterm or Fn+Enter in i3) nothing happens. I switch to tty1 and I switch to tty7 again.. I see the output of my commands, but frozen yet. I can also go to tty1 and kill the wm process. It seems just a problem of what I see in the monitor, because the software is running well, I also checked by connecting via SSH from other machine.
I do not see any error messages. I tried to install again all the AMD GPU firmware and driver, xinit, xorg, but it doesn't work. It seems that lightdm only can work.
Any ideas?
Thanks
Cyrano
-
- Posts: 677
- Joined: 2018-05-10 19:34
- Location: Some where out west
- Been thanked: 1 time
Re: Freeze after suspend, but not lightdm
Hmm, I don't know, seems to me the logical thing is to use lightdm since it is the only one that works.It seems that lightdm only can work.
Any ideas?
Please Read What we expect you have already Done
Search Engines know a lot, and
"If God had wanted computers to work all the time, He wouldn't have invented RESET buttons"
and
Just say NO to help vampires!
Search Engines know a lot, and
"If God had wanted computers to work all the time, He wouldn't have invented RESET buttons"
and
Just say NO to help vampires!
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: Freeze after suspend, but not lightdm
@OP: how are you "trying" openbox and the other window managers? What are you doing to make them start, exactly?
I know from personal experience that openbox works just fine in Debian buster without LightDM, you can see this for yourself by downloading the live ISO image from my website link.
I know from personal experience that openbox works just fine in Debian buster without LightDM, you can see this for yourself by downloading the live ISO image from my website link.
deadbang
-
- Posts: 4
- Joined: 2020-06-17 22:57
Re: Freeze after suspend, but not lightdm
Sorry, yes, I confused window/display manager.
If I use Gnome it works. To switch to other WM, I suspend lightdm (service lightdm stop) or I log out and I choose the WM with the mouse in the login window (openbox, i3, fluxbox), I can log in, I use the computer.. if I suspend, when it wakes up it is frozen... not very frozen, just the display, because if I clic C-A-F1 and clic C-A-F7 again I see that the commands worked.
I know that I can use Gnome and it's ok, but I prefer tiled WM and in order to have a faster PC I would like to use i3 or openbox.
If I use Gnome it works. To switch to other WM, I suspend lightdm (service lightdm stop) or I log out and I choose the WM with the mouse in the login window (openbox, i3, fluxbox), I can log in, I use the computer.. if I suspend, when it wakes up it is frozen... not very frozen, just the display, because if I clic C-A-F1 and clic C-A-F7 again I see that the commands worked.
I know that I can use Gnome and it's ok, but I prefer tiled WM and in order to have a faster PC I would like to use i3 or openbox.
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: Freeze after suspend, but not lightdm
Is this GNOME's Wayland session?
What is your graphics hardware and driver?
Did you check the X.Org log file or the systemd journal for error messages?
What is your graphics hardware and driver?
Code: Select all
lspci -k | grep -iA3 'vga\|display\|3d'
deadbang
-
- Posts: 4
- Joined: 2020-06-17 22:57
Re: Freeze after suspend, but not lightdm
Well, really I don't know. I have Xwayland in my /bin but I don't know if it is active. Sorry.Head_on_a_Stick wrote:Is this GNOME's Wayland session?
What is your graphics hardware and driver?
Code: Select all
$ lspci -k | grep -iA3 'vga\|display\|3d'
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Stoney [Radeon R2/R3/R4/R5 Graphics] (rev d9)
Subsystem: Lenovo Stoney [Radeon R2/R3/R4/R5 Graphics]
Kernel driver in use: amdgpu
Kernel modules: amdgpu
Yes, I checked x.org log file, no error or warning. I do not check systemd journal. Could you suggest me how to do that?Did you check the X.Org log file or the systemd journal for error messages?
Thanks
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: Freeze after suspend, but not lightdm
Easiest way to check if Wayland is running is by using the plain 'xrandr' command, this is from my sway desktop:
Or check for the $WAYLAND_DISPLAY variable.
Code: Select all
~$ xrandr
Screen 0: minimum 16 x 16, current 1920 x 1080, maximum 32767 x 32767
XWAYLAND0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 310mm x 170mm
1920x1080 59.96*+
~$
deadbang
-
- Posts: 4
- Joined: 2020-06-17 22:57
Re: Freeze after suspend, but not lightdm
Ok, so I think wayland is not active. $WAYLAND_DISPLAY is null and here the output of xrandr
What can I try? I also tried to launch i3 by tty1 without stopping tty7, but same effect: after suspension.. frozen.
IMPORTANT: I tried to use openbox for 5 minutes and it hanged in the same way also without suspension. It's very strange.. I would like to use lighter WM, but only the heavier works (i.e. gnome)!
Code: Select all
cyrano@trippa:~$ xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
eDP connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 527mm x 296mm
1920x1080 60.00*+
1680x1050 60.00
1280x1024 60.00
1440x900 60.00
1280x800 60.00
1280x720 60.00
1024x768 60.00
800x600 60.00
640x480 60.00
HDMI-A-0 disconnected (normal left inverted right x axis y axis)
IMPORTANT: I tried to use openbox for 5 minutes and it hanged in the same way also without suspension. It's very strange.. I would like to use lighter WM, but only the heavier works (i.e. gnome)!