From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: Xorg tearing fix on Intel HD Graphics 4000 Date: Tue, 27 Jun 2017 13:43:33 -0400 Message-ID: <87lgodfhru.fsf@netris.org> References: <877f053hc7.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44511) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dPuWx-0002PY-67 for guix-devel@gnu.org; Tue, 27 Jun 2017 13:44:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dPuWt-0001yk-WA for guix-devel@gnu.org; Tue, 27 Jun 2017 13:44:03 -0400 In-Reply-To: (Andy Wingo's message of "Mon, 26 Jun 2017 10:55:58 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Andy Wingo Cc: guix-devel Andy Wingo writes: > On Wed 21 Jun 2017 09:55, Roel Janssen writes: > >> For a long time now, I have a tearing issue on GuixSD (parts of the >> screen do not get updated while others do, resulting in dissapearing >> text in Emacs). > > Thank you for this work! I notice this since a month ago and haven't > had time to delve into it. Horrible stuff. > > I wonder if it makes sense to update the intel driver to see if it fixed > it? Then perhaps we could avoid the hack. There are commits here that > touch SNA and things that look like they could be relevant: > > https://cgit.freedesktop.org/xorg/driver/xf86-video-intel/log/ It's a good idea, but we're already using HEAD (6babcf1) from their repo, and have been since June 11 (guix commit e2de6bbdd5). I can confirm that this didn't solve the problem for me. In the meantime, how would you feel about pushing the following commit to master? It would still allow the use of SNA by explicitly asking for it in xorg.conf, but auto-configuration would choose UXA by default. What do you think? Mark >From 745487d79dca402609200f67431ac19eaa99a4eb Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Sun, 25 Jun 2017 05:20:36 -0400 Subject: [PATCH] gnu: xf86-video-intel: Use UXA accel method by default. * gnu/packages/xorg.scm (xf86-video-intel)[arguments]: Add #:configure-flags with "--with-default-accel=3Duxa". --- gnu/packages/xorg.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm index d4da5d709..c6d194622 100644 --- a/gnu/packages/xorg.scm +++ b/gnu/packages/xorg.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright =C2=A9 2013, 2014 Andreas Enge -;;; Copyright =C2=A9 2014, 2015 Mark H Weaver +;;; Copyright =C2=A9 2014, 2015, 2017 Mark H Weaver ;;; Copyright =C2=A9 2014, 2015 Eric Bavier ;;; Copyright =C2=A9 2015, 2016, 2017 Ludovic Court=C3=A8s ;;; Copyright =C2=A9 2015 Eric Dvorsak @@ -2849,7 +2849,8 @@ X server.") (string-prefix? "x86_64-" system))) %supported-systems)) (arguments - '(#:phases (modify-phases %standard-phases + '(#:configure-flags '("--with-default-accel=3Duxa") + #:phases (modify-phases %standard-phases (add-after 'unpack 'bootstrap (lambda _ (zero? (system* "autoreconf" "-vfi"))))))) --=20 2.13.1