Bug 100167 - nouveau sometimes doesn’t resume properly from suspend
Summary: nouveau sometimes doesn’t resume properly from suspend
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/nouveau (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Nouveau Project
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-12 14:09 UTC by silverunicorn2011
Modified: 2017-03-26 13:14 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg output (117.03 KB, text/plain)
2017-03-12 14:09 UTC, silverunicorn2011
no flags Details
Kernel module list (as returned by lsmod) (5.69 KB, text/plain)
2017-03-12 14:10 UTC, silverunicorn2011
no flags Details
PCI device list (lspci -v) (7.22 KB, text/plain)
2017-03-12 14:11 UTC, silverunicorn2011
no flags Details

Description silverunicorn2011 2017-03-12 14:09:59 UTC
Created attachment 130172 [details]
dmesg output

It happens after resume; sometimes it does not happen. It seems to be more likely if RAM is full, although I have enough swap space.

The symptom is that X applications refuse to start, hanging in `drm_stub_open` (WCHAN column in `top`; status is `D` — “uninterruptible sleep”). I can’t even `kill -9` them: the command succeeds but nothing happens.

The first app to hang seems to be the screen locker; it locks the session but fails to present anything on the screen, so I have to go to VT2 and use `loginctl`. But VT switch becomes unreliable: switching from X to console succeeds at second attempt (while switching back seems to succeed always).

Also I just found one app hanging in `nouveau_drm_preclose` (`D` too), consuming zero RAM. (pid=6455, noticed in the log)

It’s strange but already running applications usually continue to work properly.

I’ve noticed several Oopses in the dmesg output, hope that data will be helpful.
Comment 1 silverunicorn2011 2017-03-12 14:10:34 UTC
Created attachment 130173 [details]
Kernel module list (as returned by lsmod)
Comment 2 silverunicorn2011 2017-03-12 14:11:01 UTC
Created attachment 130174 [details]
PCI device list (lspci -v)
Comment 3 silverunicorn2011 2017-03-12 14:15:48 UTC
System: Parabola GNU/Linux (≈Arch)

Kernel: linux-libre 4.9.11_gnu-1
Linux version 4.9.11-gnu-1 (builduser@emulatorman) (gcc version 6.3.1 20170109 (GCC) ) #1 SMP PREEMPT Sun Feb 19 18:36:28 UYT 2017

Nouveau: xf86-video-nouveau 1.0.13-3

Xorg: xorg-server 1.19.2-1
Comment 4 silverunicorn2011 2017-03-26 13:14:22 UTC
Seems to be fixed in xf86-video-nouveau 1.0.14-1, thanks.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.