Skip to contentSkip to conversation

Suspend hangs. Never fully suspends and impossible to return to running state.

Bug 199025 [email protected] 1 participant 24 messages May 4, 2018 – Nov 9, 2018 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=199025

Chen Yu ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

          Component|Hibernation/Suspend         |Video(DRI - non Intel)
           Assignee|[email protected]           |drivers_video-dri@kernel-bu
                   |                            |gs.osdl.org
            Product|Power Management            |Drivers
Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#2 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=199025

Patrice Poly ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #19 from Patrice Poly ([email protected]) --- Hello,

I am having the exact same issue on an intel Q6600 , under fedora 28 ,

kernel : 4.16.5-300.fc28.x86_64

In a fresh Fedora 28 install, ( which has runlevel 5 as default ) suspend blanks the screen and disables any input, forcing to a hard restart using the power button.
Reproductible : always

I am using nouveau :

Name : xorg-x11-drv-nouveau
Epoch : 1
Version : 1.0.15
Release : 4.fc28
Arch : x86_64
Size : 229 k
Source : xorg-x11-drv-nouveau-1.0.15-4.fc28.src.rpm
Repo : @System
From repo : anaconda
Summary : Xorg X11 nouveau video driver for NVIDIA graphics chipsets
URL : http://www.x.org
License : MIT
Description : X.Org X11 nouveau video driver.

Setting runlevel defaults to 3 and launching x with startx fixes the issue, which is perfectly acceptable for me as a workaround. Thank you very much @todd for the hint.

I'd be glad to provide additional info if it can help.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#4 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=199025

Paul van Maaren ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #21 from Paul van Maaren ([email protected]) ---
I have the same problem on an Acer E13 (ES1-311-C4Q6), suspend was working as ex
pected on 4.14.18 and hangs on all newer kernels I have tried. Was running Fedor
a 27, just upgraded to 28 and no change.

Working driver:

# modinfo -F filename `lshw -c video | awk '/configuration: driver/{print $2}'
| cut -d= -f2`
/lib/modules/4.14.18-300.fc27.x86_64/kernel/drivers/gpu/drm/i915/i915.ko.xz
Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#5 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=199025

todd ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

     Kernel Version|4.15.x                      |4.15.x and 4.16.x

--- Comment #22 from todd ([email protected]) ---
@Chen,

I'm going to be tied up for a few weeks, due to a larger than normal workload. So I won't have time to mess with this bug right now.
In the mean time I will try blacklisting all vid drivers and see what happens. Although I suspect it will act the same as when the X display manager is disabled by setting multi-user.target.
But I know it won't be any time this week. Maybe mid next week if I'm lucky.

For the time being though, there are 3 work-arounds listed here that fix the problem.

1) Change runlevel from 5 to 3 (permanent fix - see opening post + comment #6).

2) Restart your X display manager once you log in. For instance Xfce spins use Lightdm. (Temporary fix that lasts until the system is rebooted).
* See comemnt #16

3) Install another video driver and blacklist Nouveau (permanent fix but a big hassle if you run secure boot).
* see comment #5 for manual Nvidia driver install or see comment #7 for
external repository to install Nvidia driver.

I personally don't know anything about the repo listed in comment #7. Whereas in comment #5, you are downloading directly from Nvidia themselves.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#6 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=199025

--- Comment #23 from todd ([email protected]) ---
I'm also curious what desktop environment you guys are running?

I.E.
Awesome, Cinnamon, Enlightenment, GNOME, KDE Plasma, LXDE, MATE, Openbox, Ratpoison, Xfce, ETC.

Thank you.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#7 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=199025

--- Comment #24 from Paul van Maaren ([email protected]) ---
My laptop does not have Nvidia, and I still have the same issue. I am using F28 and KDE Plasma.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#8 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=199025

todd ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

          Component|Video(DRI - non Intel)      |Hibernation/Suspend
           Hardware|Intel                       |x86-64
            Product|Drivers                     |Power Management
Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#9 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=199025

--- Comment #25 from todd ([email protected]) ---
I wish they let us edit our posts here.

I realized I made a mistake in number 3 of comment #22.

It should say "your systems default video driver" instead of Nouvaeu. Also if you're using a GPU other than Nvidia than you will obviously need to find a Intel, or AMD driver you can attempt to install.

Sorry for the confusion.

@paul.
Thanks for info.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#10 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=199025

--- Comment #26 from Chen Yu ([email protected]) ---
If this is highly connected with video driver, then bugzilla freedesktop might be a better place to track this bug down since I've seldom seen any graphic driver people jumped into kernel bugzilla to track issues, and they prefer using freedesktop(at least for i915) AFAIK.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#11 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=199025

--- Comment #27 from todd ([email protected]) ---
@Chen

After seeing a few responses from people I'm starting to see that this is definitely not a video driver specific issue. Not everybody is using Nouveau. I suspected it wasn't from the start because the default generic video driver for Nvidia (Nouveau) has not changed from the start of fedora 27 to the end of fedora 27, and the problem didn't start until an update somewhere in the middle.

So Nouveau was never updated, yet the problem started with a newer kernel. But that could be a coincidence. So I just checked the update history on this machine and found that on 2018-02-17 there was a kernel update to 4.15.3 and there was also another important update that day which could very well be the problem.

xorg-x11-server-Xorg
and
xorg-x11-server-common

I had been out of town for a while and thus missed all updates from 4.14.16 to 4.15.3 So any packages between then I don't have a listing for.

With that in mind I remember that the problem does not exist if you restart X or if you boot into text mode and then manually startX. Plus because Paul just stated that he is using KDE than I guess that pretty much eliminates the desktop environment because I use Xfce.

So I think you're right. We need to report this over at freedesktop bugzilla as well.

Great, more work :(
I already started a post at bugzilla fedora, they said its likely kernel related so my post was closed with a note to post at bugzilla kernel. Now I gotta start a 3rd one.
If I had lots of time I wouldn't mind. Perhaps we can con you into starting one over there. If you do, please post link to it. Otherwise When I get more time I will.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#12 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=199025

--- Comment #28 from Paul van Maaren ([email protected]) ---
I will change the runlevel to text and see if it resolves the problem. I assume I can test by typing: "echo mem > /sys/power/state" ?

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#13 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=199025

--- Comment #29 from Paul van Maaren ([email protected]) --- I just did the runlevel test and it does not make difference for me. I did:

ln -sf /usr/lib/systemd/system/multi-user.target
/etc/systemd/system/default.target

and a reboot to 4.16.6-302 and ran:

echo mem > /sys/power/state

The power light stayed on and it does not wake up. I tried the same after booting to 4.14.18-300 that worked fine.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#14 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=199025

--- Comment #30 from Patrice ([email protected]) ---
I can't access the faulty machine until next Saturday - but it runs Fedora28's latest Xfce .

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#15 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=199025

--- Comment #31 from todd ([email protected]) ---
@Paul

Use the correct method to set your run levels.

The original post tells you how and comment #6 even tells you where to get the information.

read the file.... /etc/inittab

The correct way is .....

systemctl set-default multi-user.target (for text mode / runlevel 3)

systemctl set-defaulta graphical.target (for graphical mode / runlevel 5)

Read the file /etc/inittab please.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#16 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=199025

--- Comment #32 from todd ([email protected]) ---
@Paul

p.s. Almost forgot to mention. Again, please use the systemctl method. So to test your systems suspend use.

systemctl suspend

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#18 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=199025

--- Comment #34 from todd ([email protected]) ---
Did you delete all your symlinks?

Also, it sounds like you might just have done a "dnf system-upgrade reboot" rather than a clean install.?.? Fedora's system-upgrade is a total and complete P.o.S., most often causing more problems then it's worth.

I have an idea of some things I need to test but I don't have time ATM to perform them. I'll post my results when I can get away from work long enough to run them. Could be a couple weeks.

In the mean time, all I can say that might possibly help you is that I really think you need to at least try a clean install. Make sure to zero your drive first.
Perhaps you already know, but after a file is deleted it remains on the drive until at some point the physical space the file was using becomes overwritten by a new file. Plus when simply formatting a drive, it does not delete the old files on the drive. Even after you install a new OS the old files can still be recovered, so long as the physical drive space the original file was residing on is not overwritten.

If you care to run one of the tests I plan to run but don't have time right now then feel free.

**BE SURE TO IMAGE YOUR DRIVE FIRST IN CASE THIS HOSES YOUR INSTALLED OS's.*** Or don't try it at all if you don't back up all your shit first and expect this to work perfectly for you. This is an experiment!!

Use....

dnf --showduplicates list xorg-x11-server-Xorg

and

dnf --showduplicates list xorg-x11-server-common

Use those to enable you to downgrade the X11 server packages to one that was being used when this problem did not occur.
Specifically version 1.19.5-1.fc27.

**BE SURE TO IMAGE YOUR DRIVE FIRST IN CASE THIS HOSES YOUR INSTALLED OS's.*** Or don't try it at all if you don't back up all your shit first and expect this to work perfectly for you. This is an experiment!!

Either way, good luck.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#19 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=199025

--- Comment #35 from todd ([email protected]) ---
p.s.
As you can see, that version listed above is for fedora 27, not 28 so you will need to re-install fedora 27 first.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#20 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=199025

--- Comment #36 from Samuel Sieb ([email protected]) ---
This is resolved for me with the 4.16 kernel after upgrading to F28. And the Fedora bug has been closed as well with someone else saying the same thing.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#21 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=199025

--- Comment #37 from Alex Tucker ([email protected]) ---
Thanks Samuel, updating to kernel-4.16.14-300.fc28.x86_64 and moving back to Nouveau rather than the workaround with the NVIDIA driver, suspend and resume now works again for me too.

Would you be able to provide a link to the Fedora bug you mentioned?

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#22 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=199025

--- Comment #38 from Samuel Sieb ([email protected]) ---
https://bugzilla.redhat.com/show_bug.cgi?id=1558023

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#23 lore raw

[Bug 199025] Suspend hangs. Never fully suspends and impossible to return to running state. - Asus PRIME Z270-P

In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=199025

Len Brown ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

                 CC|                            |[email protected]
           Hardware|x86-64                      |Intel
            Summary|Suspend hangs. Never fully  |Suspend hangs. Never fully
                   |suspends and impossible to  |suspends and impossible to
                   |return to running state.    |return to running state. -
                   |                            |Asus PRIME Z270-P
Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#24 lore raw

[Bug 199025] Suspend hangs with Nouveau loaded. Never fully suspends and impossible to return to running state. - Asus PRIME Z270-P

In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=199025

Chen Yu ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

          Component|Hibernation/Suspend         |Video(Other)
            Product|Power Management            |Drivers
            Summary|Suspend hangs. Never fully  |Suspend hangs with Nouveau
                   |suspends and impossible to  |loaded. Never fully
                   |return to running state. -  |suspends and impossible to
                   |Asus PRIME Z270-P           |return to running state. -
                   |                            |Asus PRIME Z270-P

--- Comment #39 from Chen Yu ([email protected]) --- @todd, is there any chance that you can test if the fc28 works for you?

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel