Summary: | [NVE4] [regression, bisected] 4.10 (atomic): X shows black screen with cursor after monitors turn off | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Kevin Liu <kevin> | ||||||||
Component: | Driver/nouveau | Assignee: | Nouveau Project <nouveau> | ||||||||
Status: | RESOLVED FIXED | QA Contact: | Xorg Project Team <xorg-team> | ||||||||
Severity: | normal | ||||||||||
Priority: | medium | CC: | bastian.beischer, setupnortoncom, tkoenig | ||||||||
Version: | unspecified | Keywords: | bisected | ||||||||
Hardware: | x86-64 (AMD64) | ||||||||||
OS: | Linux (All) | ||||||||||
Whiteboard: | |||||||||||
i915 platform: | i915 features: | ||||||||||
Attachments: |
|
Description
Kevin Liu
2017-02-23 14:28:52 UTC
Created attachment 129871 [details]
problematic dmesg with three monitors on Linux 4.10
*** Bug 99921 has been marked as a duplicate of this bug. *** Created attachment 129872 [details]
problematic xorg log on 4.10 with three monitors
(Apologies for the email spam; I'm new to bugzilla. I'll refrain from posting any more attachments to avoid more spam. If you need the vbios/other dmesgs or Xorg logs, just ask.)
Are you able to try with xf86-video-modesetting instead of the nouveau 2d driver and report if the issue still occurs? Created attachment 129896 [details]
Normal Xorg logs on Linux 4.10 with xf86-video-modesetting
Interestingly, the bug does not appear with the generic modesetting driver! I've attached the Xorg log, but it seems normal.
(In reply to kevin from comment #5) > Created attachment 129896 [details] > Normal Xorg logs on Linux 4.10 with xf86-video-modesetting > > Interestingly, the bug does not appear with the generic modesetting driver! > I've attached the Xorg log, but it seems normal. Yeah, the nouveau 2D driver doesn't handle page flips failing correctly for some reason (this can happen under atomic when DPMS is set to a power-saving mode). I wasn't able to reproduce this with the nouveau DDX running in its (default) DRI2 mode, only DRI3, so I hadn't prioritized looking into it. I can confirm this problem. I'm using nouveau on a "NVIDIA Corporation GT200b [GeForce GTX 285]" GPU. I'm not using DRI3 either: $ grep DRI /var/log/Xorg.0.log [ 14.197] (==) NOUVEAU(0): Allowed maximum DRI level 2. [ 14.350] (==) NOUVEAU(G0): Allowed maximum DRI level 2. [ 14.426] (II) NOUVEAU(G0): [DRI2] Setup complete [ 14.426] (II) NOUVEAU(G0): [DRI2] DRI driver: nouveau [ 14.426] (II) NOUVEAU(G0): [DRI2] VDPAU driver: nouveau [ 14.443] (II) NOUVEAU(0): [DRI2] Setup complete [ 14.443] (II) NOUVEAU(0): [DRI2] DRI driver: nouveau [ 14.443] (II) NOUVEAU(0): [DRI2] VDPAU driver: nouveau [ 14.598] (II) GLX: Initialized DRI2 GL provider for screen 0 $ LIBGL_DEBUG=verbose glxinfo 2>&1 | grep DRI libGL: Using DRI2 for screen 0 *** Bug 100025 has been marked as a duplicate of this bug. *** (In reply to Ben Skeggs from comment #6) > (In reply to kevin from comment #5) > > Created attachment 129896 [details] > > Normal Xorg logs on Linux 4.10 with xf86-video-modesetting > > > > Interestingly, the bug does not appear with the generic modesetting driver! > > I've attached the Xorg log, but it seems normal. > > Yeah, the nouveau 2D driver doesn't handle page flips failing correctly for > some reason (this can happen under atomic when DPMS is set to a power-saving > mode). > > I wasn't able to reproduce this with the nouveau DDX running in its > (default) DRI2 mode, only DRI3, so I hadn't prioritized looking into it. Lyude has posted a patch[1] which should address this issue. Ben. [1] https://lists.freedesktop.org/archives/nouveau/2017-March/027422.html The patch indeed fixes this issue! The monitors go to sleep and wake up without problems. I can also confirm that the patch fixes the problem. I can also confirm that the DPMS problem with kernel 4.10.x is gone after installing xorg-x11-drv-nouveau-1.0.14-1.fc25.x86_64. 1.0.14 includes the patch: https://cgit.freedesktop.org/nouveau/xf86-video-nouveau/log/?id=b71de83b7fae0abeb311251e6144294d319062cf I had the same issue on an Intel-based system. I managed to overcome it by changing the BIOS video settings from PEG to IGD. I have to use the on-board video to see the BIOS bootup screen, but once Linux takes over, both of my monitors work fine. I see this regularly on a system with Kubuntu 17.10 (that is linux 4.13.x) Nvidia G84GL [Quadro FX 570] Xserver xserver-xorg-video-nouveau 1.0.15 so the issue does not seem to be solved yet. When the power management kicks in and the screen dims, it is then impossible to get back to work. Ideally, by moving the mouse you should get the screenlock screen and the possibility to enter a password to disable the lock. In fact, you only get a black screen with a moving cursor. (In reply to sergio.callegari from comment #14) > I see this regularly on a system with > > Kubuntu 17.10 (that is linux 4.13.x) > Nvidia G84GL [Quadro FX 570] > Xserver xserver-xorg-video-nouveau 1.0.15 That's a contradiction in terms. This bug was for a GK104. You have a G84. Have you gone through all the diagnostic stages that the OP went through and you've found the same thing? Seems highly unlikely. Even if it's true, it's still a different 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.