From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Wilson Subject: Re: black screen if sna & TearFree Date: Wed, 15 Aug 2012 22:31:31 +0100 Message-ID: <1345066299_101058@CP5-2952> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from fireflyinternet.com (smtp.fireflyinternet.com [109.228.6.236]) by gabe.freedesktop.org (Postfix) with ESMTP id 56D989E7B3 for ; Wed, 15 Aug 2012 14:31:46 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Grant , intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Wed, 15 Aug 2012 08:09:47 -0700, Grant wrote: > > I'm using a Dell XPS 13 laptop on Gentoo and if I use: > > > > Option "AccelMethod" "sna" > > Option "TearFree" "true" > > > > my video tearing problem disappears, but if I close my laptop lid for > > a few minutes, it comes back up with a black screen, although I can > > get my session back if I switch to VT1 and then back to VT7. I can't > > find anything in the logs. I've tried xf86-video-intel-2.20.3 as well > > as the latest from git. The problem doesn't occur without the above > > two directives. > > > > Does anyone know how to diagnose or fix this? > > > > - Grant > > I can prevent this if I issue 'xset -dpms' before closing the laptop > lid, but xlockmore automatically re-enables dpms unfortunately. BTW, > this does not prevent the problem: The implication would seem to be that an action during dpms is going wrong. Does a simple 'xset dpms force off; sleep 1; xset dpms force on' trigger the error? If so can you please attach your Xorg.0.log and if you could compile with --enable-debug=full and send me the log reproducing the error that would be very helpful. Thanks, -Chris -- Chris Wilson, Intel Open Source Technology Centre