Freeze after suspend, but not lightdm

Everything about X, Gnome, KDE, ... and everything running on it

Freeze after suspend, but not lightdm

Postby cyrano.bergerac » 2020-06-17 23:24

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
cyrano.bergerac
 
Posts: 4
Joined: 2020-06-17 22:57

Re: Freeze after suspend, but not lightdm

Postby Bulkley » 2020-06-18 00:04

Lightdm is a display manager, not a window manager.
Bulkley
 
Posts: 5970
Joined: 2006-02-11 18:35

Re: Freeze after suspend, but not lightdm

Postby cuckooflew » 2020-06-18 00:53

It seems that lightdm only can work.

Any ideas?

Hmm, I don't know, seems to me the logical thing is to use lightdm since it is the only one that works.
Please Read What we expect you have already Done
Google knows a lot, and
"If God had wanted computers to work all the time, He wouldn't have invented RESET buttons"
…one flew east, one flew west,
One flew over the cuckoo’s nest.
cuckooflew
 
Posts: 541
Joined: 2018-05-10 19:34
Location: Some where out west

Re: Freeze after suspend, but not lightdm

Postby Head_on_a_Stick » 2020-06-18 09:57

@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.
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12305
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Freeze after suspend, but not lightdm

Postby cyrano.bergerac » 2020-06-18 12:13

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.
cyrano.bergerac
 
Posts: 4
Joined: 2020-06-17 22:57

Re: Freeze after suspend, but not lightdm

Postby Head_on_a_Stick » 2020-06-18 14:59

Is this GNOME's Wayland session?

What is your graphics hardware and driver?
Code: Select all
lspci -k | grep -iA3 'vga\|display\|3d'

Did you check the X.Org log file or the systemd journal for error messages?
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12305
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Freeze after suspend, but not lightdm

Postby cyrano.bergerac » 2020-06-18 19:30

Head_on_a_Stick wrote:Is this GNOME's Wayland session?

Well, really I don't know. I have Xwayland in my /bin but I don't know if it is active. Sorry.

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


Did you check the X.Org log file or the systemd journal for error messages?

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?
Thanks
cyrano.bergerac
 
Posts: 4
Joined: 2020-06-17 22:57

Re: Freeze after suspend, but not lightdm

Postby Head_on_a_Stick » 2020-06-19 09:05

Easiest way to check if Wayland is running is by using the plain 'xrandr' command, this is from my sway desktop:
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*+
~$

Or check for the $WAYLAND_DISPLAY variable.
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12305
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Freeze after suspend, but not lightdm

Postby cyrano.bergerac » 2020-06-19 11:49

Ok, so I think wayland is not active. $WAYLAND_DISPLAY is null and here the output of xrandr

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)


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)!
cyrano.bergerac
 
Posts: 4
Joined: 2020-06-17 22:57


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 10 guests

fashionable