Most recent testing: 3.14-rc7 mainline. As suggested on IRC by imirkin, returning -EBUSY instead of -EINVAL from nouveau_pmops_runtime_suspend() avoids driver to fall too far to the ground. When returning -EINVAL connectors get being seen as "disconnected" and there is no way to get them connected anymore. When returning -EBUSY the connectors stay functional but DE (enlightenment) complains about missing crtc and all that is visible is black background and a cursor that response to mouse/trackpad. Way to reproduce: Have xorg running, then for each avtive output call: xrandr --output $OUTPUT --off When last output got marked off runtime-suspend kicks in. Same/similar behavior has been observed on radeon (I don't remember the exact kernel releases, but older ones got console to display when switching VTs while newer failed to do so).
Created attachment 96260 [details] Kernel log, nouveau_pmops_runtime_suspend() returning -EINVAL Kernel log for nouveau_pmops_runtime_suspend() returning -EINVAL
Created attachment 96263 [details] Kernel log, nouveau_pmops_runtime_suspend() returning -EBUSY Kernel log, nouveau_pmops_runtime_suspend() returning -EBUSY What enlightenment complains about on stderr: E_RANDR Event: Screen Change: 320 200 E_RANDR Event: Output Change Output: 97 No Crtc Mode: 0 Output Connected Looping Our Crtc Configs Looping Our Output Configs on this Crtc: 95 Found Output 97 on Crtc: 95 Output Has No Crtc Assigned E_RANDR Event: Output Change Output: 98 No Crtc Mode: 0 Output Disconnected Looping Our Crtc Configs Looping Our Output Configs on this Crtc: 95 Looping Our Output Configs on this Crtc: 96 xrandr --verbose: Screen 0: minimum 320 x 200, current 1280 x 800, maximum 8192 x 8192 LVDS-1 connected primary 1280x800+0+0 (0x64) normal (normal left inverted right x axis y axis) 286mm x 179mm Identifier: 0x61 Timestamp: 385919 Subpixel: unknown Gamma: 1.0:1.0:1.0 Brightness: 1.0 Clones: CRTC: 0 CRTCs: 0 Transform: 1.000000 0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 1.000000 filter: EDID: 00ffffffffffff000610909c01010101 10110103801d12780a90b59958528e26 1e505400000001010101010101010101 010101010101521c008f50202e303020 36001eb3100000180000000100061020 00000000000000000a20000000fe0042 313333455730332056320a20000000fe 00436f6c6f72204c43440a20202000af dithering depth: auto supported: auto, 6 bpc, 8 bpc dithering mode: auto supported: auto, off, static 2x2, dynamic 2x2 scaling mode: Full supported: None, Full, Center, Full aspect color vibrance: 150 range: (0, 200) vibrant hue: 90 range: (0, 180) 1280x800 (0x64) 72.5MHz -HSync -VSync *current +preferred h: width 1280 start 1328 end 1360 total 1423 skew 0 clock 50.9KHz v: height 800 start 803 end 809 total 846 clock 60.2Hz 1024x768 (0x65) 63.5MHz -HSync +VSync h: width 1024 start 1072 end 1176 total 1328 skew 0 clock 47.8KHz v: height 768 start 771 end 775 total 798 clock 59.9Hz 800x600 (0x66) 38.2MHz -HSync +VSync h: width 800 start 832 end 912 total 1024 skew 0 clock 37.4KHz v: height 600 start 603 end 607 total 624 clock 59.9Hz 640x480 (0x67) 23.8MHz -HSync +VSync h: width 640 start 664 end 720 total 800 skew 0 clock 29.7KHz v: height 480 start 483 end 487 total 500 clock 59.4Hz 720x400 (0x68) 22.2MHz -HSync +VSync h: width 720 start 744 end 808 total 896 skew 0 clock 24.8KHz v: height 400 start 403 end 413 total 417 clock 59.6Hz 640x400 (0x69) 20.0MHz -HSync +VSync h: width 640 start 664 end 720 total 800 skew 0 clock 25.0KHz v: height 400 start 403 end 409 total 417 clock 60.0Hz 640x350 (0x6a) 17.5MHz -HSync +VSync h: width 640 start 664 end 720 total 800 skew 0 clock 21.9KHz v: height 350 start 353 end 363 total 366 clock 59.8Hz DP-1 disconnected (normal left inverted right x axis y axis) Identifier: 0x62 Timestamp: 385919 Subpixel: unknown Clones: CRTCs: 1 Transform: 1.000000 0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 1.000000 filter: dithering depth: auto supported: auto, 6 bpc, 8 bpc dithering mode: auto supported: auto, off, static 2x2, dynamic 2x2 scaling mode: Full supported: None, Full, Center, Full aspect color vibrance: 150 range: (0, 200) vibrant hue: 90 range: (0, 180) underscan vborder: 0 range: (0, 128) underscan hborder: 0 range: (0, 128) underscan: off supported: auto, off, on Nothing useful in Xorg log: [ 105.060] (II) NOUVEAU(0): EDID vendor "APP", prod id 40080 [ 105.060] (II) NOUVEAU(0): Printing DDC gathered Modelines: [ 105.060] (II) NOUVEAU(0): Modeline "1280x800"x0.0 72.50 1280 1328 1360 1423 800 803 809 846 -hsync -vsync (50.9 kHz eP) [ 116.307] (II) NOUVEAU(0): EDID vendor "APP", prod id 40080 [ 116.307] (II) NOUVEAU(0): Printing DDC gathered Modelines: [ 116.307] (II) NOUVEAU(0): Modeline "1280x800"x0.0 72.50 1280 1328 1360 1423 800 803 809 846 -hsync -vsync (50.9 kHz eP) [ 116.620] resize called 1280 800 disabling all output happens around here [ 215.441] resize called 320 200 [ 234.084] (II) NOUVEAU(0): EDID vendor "APP", prod id 40080 [ 234.084] (II) NOUVEAU(0): Printing DDC gathered Modelines: [ 234.084] (II) NOUVEAU(0): Modeline "1280x800"x0.0 72.50 1280 1328 1360 1423 800 803 809 846 -hsync -vsync (50.9 kHz eP) [ 245.175] (II) NOUVEAU(0): EDID vendor "APP", prod id 40080 [ 245.175] (II) NOUVEAU(0): Printing DDC gathered Modelines: [ 245.175] (II) NOUVEAU(0): Modeline "1280x800"x0.0 72.50 1280 1328 1360 1423 800 803 809 846 -hsync -vsync (50.9 kHz eP) [ 245.490] resize called 1280 800 [ 254.065] (II) NOUVEAU(0): EDID vendor "APP", prod id 40080 [ 254.065] (II) NOUVEAU(0): Printing DDC gathered Modelines: [ 254.065] (II) NOUVEAU(0): Modeline "1280x800"x0.0 72.50 1280 1328 1360 1423 800 803 809 846 -hsync -vsync (50.9 kHz eP)
The both issues should be resolved with adbbdbac04f093c0abf946b1e93e4e5291808491 and 1d8eec8ba4a38fcee9d30e4fb5b3d67a9bff9db3 respectively. Landing with 3.14-rc8. Give the stable 3.14 a try and feel free to reopen if it's still an issue.
*** Bug 79795 has been marked as a duplicate of this bug. ***
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.