Bug 41608 - Suspending/resuming system with cursor on external screen prevents said screen from restoring after resume
Summary: Suspending/resuming system with cursor on external screen prevents said scree...
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/nouveau (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Nouveau Project
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-09 04:11 UTC by maximlevitsky
Modified: 2012-01-21 08:47 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
restore cursor settings after we restore mode (1.60 KB, patch)
2011-10-09 06:17 UTC, maximlevitsky
no flags Details | Splinter Review

Description maximlevitsky 2011-10-09 04:11:23 UTC
And in addition to summary causes general havoc, including black screen internal screen, inability to do anything with blacked screen etc.
100% reproducible.

This is NV86 card running latest git versions of whole GPU stack (kernel/libdrm/ddx/xserver/mesa). Xserver is a bit outdated (a month old git or so, rest are pulled on almost daily basis, and compiled )
Comment 1 maximlevitsky 2011-10-09 04:22:18 UTC
Verified to happen without compiz.
Also disabled pageflipping in DDX, although it won't be active without compiz anyway.
Comment 2 maximlevitsky 2011-10-09 06:16:35 UTC
OK, so it looks like PDISPLAY doesn't like us meddling with disabled crtc.
Thus the attached patch fixes the problem (it makes cursor restore to happen after modesetting).
Comment 3 maximlevitsky 2011-10-09 06:17:35 UTC
Created attachment 52138 [details] [review]
restore cursor settings after we restore mode
Comment 4 maximlevitsky 2011-12-16 15:44:27 UTC
Patch merged long ago - fixed
Comment 5 Florian Mickler 2012-01-21 08:47:27 UTC
A patch referencing this bug report has been merged in Linux v3.3-rc1:

commit a4eaa0a0427ef13468d784953de40c3087e6d870
Author: Maxim Levitsky <maximlevitsky@gmail.com>
Date:   Sun Oct 9 22:58:34 2011 +0200

    drm/nouveau: restore cursors after restoring mode


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.