Bug 100167

Summary: nouveau sometimes doesn’t resume properly from suspend
Product: xorg Reporter: silverunicorn2011
Component: Driver/nouveauAssignee: Nouveau Project <nouveau>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: silverunicorn2011
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
dmesg output
none
Kernel module list (as returned by lsmod)
none
PCI device list (lspci -v) none

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.