From owner-freebsd-current@FreeBSD.ORG Thu Mar 27 14:47:16 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EE30EFD1; Thu, 27 Mar 2014 14:47:16 +0000 (UTC) Received: from smtp.dlink.ua (smtp.dlink.ua [193.138.187.146]) by mx1.freebsd.org (Postfix) with ESMTP id AA05AA3C; Thu, 27 Mar 2014 14:47:16 +0000 (UTC) Received: from terran (unknown [192.168.99.1]) (Authenticated sender: ray) by smtp.dlink.ua (Postfix) with ESMTPA id 7D949C495C; Thu, 27 Mar 2014 16:47:15 +0200 (EET) Date: Thu, 27 Mar 2014 16:49:05 +0200 From: Aleksandr Rybalko To: Adrian Chadd Subject: Re: (more) screen distortion with intel GPU / xorg on recent -HEAD? Message-Id: <20140327164905.8182ff3783c5370487fa78d3@freebsd.org> In-Reply-To: References: X-Mailer: Sylpheed 3.3.1 (GTK+ 2.24.22; amd64-portbld-freebsd9.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Mar 2014 14:47:17 -0000 On Sun, 23 Mar 2014 13:36:29 -0700 Adrian Chadd wrote: > Less information-poor response: > > * when it happens, the FB will resume correctly for a little bit, then > once everything comes back, it flips to being distorted. So, it's > likely something is misconfiguring stuff during resume. > * I can flip to VTs fine; I can login and do things fine; > * When I flip back to xorg, things still remain distorted; > * If I ctrl-C xorg and start it again, it starts back up correctly. > > So hm, maybe the vt save/resume code learnt something buggy? > No, vt(9) and syscons have nothing to do with FB used by Xorg. With new DRM Xorg allocate own FB and only Xorg and DRM know about it. It seems Xorg's PM events handling is works wrong. Or maybe drm2 should care better about that FB objects. > > -a > > > On 23 March 2014 01:27, Adrian Chadd wrote: > > Hi, > > > > I know this is an information-poor message. > > > > The last time i updated my two test laptops was around the middle of > > last month. Back then, xorg would occasionally get distorted, but > > typically would come back from suspend fine. > > > > Lately, it seems a 50% chance that coming back from suspend that xorg > > will be not only distorted, but further screen redraws are wrong. It's > > like the framebuffer configuration is wrong and persists to be wrong. > > I have to exit out of xorg and restart it. > > > > Has anyone else seen this? > > > > > > -a -- Aleksandr Rybalko