From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: Xorg tearing fix on Intel HD Graphics 4000 Date: Wed, 21 Jun 2017 12:38:56 +0200 Message-ID: <87k24539rz.fsf@elephly.net> References: <877f053hc7.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:32935) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dNd2U-0002Bs-Jm for guix-devel@gnu.org; Wed, 21 Jun 2017 06:39:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dNd2T-00051Z-LS for guix-devel@gnu.org; Wed, 21 Jun 2017 06:39:10 -0400 In-reply-to: <877f053hc7.fsf@gnu.org> 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: Roel Janssen Cc: guix-devel Hi Roel, > With the following patch to the Xorg configuration file, I have a > tear-free GuixSD experience. I wonder if this is upstreameable in some > way. This patch is probably too broad in effect. Can I change it so > that only the graphics card I have will be affected by this patch? I’m not sure about this, but you can apply it only to your system by changing the slim-service’s “startx” value like this: --8<---------------cut here---------------start------------->8--- (modify-services %desktop-services (slim-service-type config => (slim-configuration (inherit config) (startx (xorg-start-command #:configuration-file (xorg-configuration-file #:extra-config (list your-fix))))))) --8<---------------cut here---------------end--------------->8--- But I suppose what you want is to apply it unconditionally in Guix and have the X server ignore it for all but this one graphics card, right? -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net