From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kei Kebreau Subject: Re: Xorg tearing fix on Intel HD Graphics 4000 Date: Wed, 21 Jun 2017 12:27:36 -0400 Message-ID: <877f05papz.fsf@openmailbox.org> References: <877f053hc7.fsf@gnu.org> <87k24539rz.fsf@elephly.net> <87d19xwjxe.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43338) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dNioq-00049T-TB for guix-devel@gnu.org; Wed, 21 Jun 2017 12:49:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dNion-00072V-LF for guix-devel@gnu.org; Wed, 21 Jun 2017 12:49:28 -0400 In-Reply-To: <87d19xwjxe.fsf@gnu.org> (Roel Janssen's message of "Wed, 21 Jun 2017 15:26:53 +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: Roel Janssen Cc: guix-devel --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Roel Janssen writes: > Ricardo Wurmus writes: > >> 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=E2=80=99m not sure about this, but you can apply it only to your syste= m by >> changing the slim-service=E2=80=99s =E2=80=9Cstartx=E2=80=9D value like = this: >> >> --8<---------------cut here---------------start------------->8--- >> (modify-services %desktop-services >> (slim-service-type >> config =3D> (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? > > No, not necessarily. I could no longer do 'guix pull && guix system > reconfigure ...', which I attempted to solve by upstreaming this patch. > > I wonder if anyone else is having the same problem on this hardware..=20= =20 I have the same problem on Intel GM45 graphics (in the Thinkpad X200). I'm going to try Ricardo's snippet as well and see if things get better. > > Thanks for your snippet! I've done a system reconfigure and the extra > configuration applied as expected. > > If there is anyone with the same problem, we could look further into > upstreaming it. > > Thanks, > Roel --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEg7ZwOtzKO2lLzi2m5qXuPBlGeg0FAllKnnkACgkQ5qXuPBlG eg0IKA//WlMimARI58uD5ISbjfD1RYyKtWQUuA4nKxDTyb0nZNQMcy3Sp4cpfhUX CtUHkcYaUj2xn1PHj+wQyXCaw6u1QqE8CDDoXURtInlFwGM5YDImS7tCJVBRb5N/ deEFjWhGPxzUoNFS8/NpaKgs0rZg2CffCRxQhUMPn2sjbCSOgHjMB6atIC3gotL9 jsZ6LY58trGLbmY01gsg7HP93ij/0gecZQlPVbKXPG6qK3kRLAWUIZzeenCvZL0a SgYhCFKBAb4W/CuHKtfwY8kYcpDrvhMT+PiOvt5LOTE1I0QeXqQZt4guVINznKhd YsPcVzSZGeBRDCAADi3ETj5pOI/MdtE/oQuj2yo41AgfJYtgVbTRaim8vTs3Xvpf V9buzgHy7mWeBTZJ3ambEKZn+rXH7EODhOO46CaaMMyLwSYguSWsZZ84BUb2nxpN WbtsIMk8C4OIxNmUKhSd8ZNuH1yKI2vlsmxsH2oG9EOe2Ukf9LN1o+FEGxGVWh9c eRvSsu/+lDwn26av4bEfn+6VSlS/oFw0ieLit7fmBVrZJ+BkqTsh2gg26myny5z0 zdYiBNB4H90bpvHmNkDoOhvj7C/ZDMxO+E0pz+XnIEpB+5kxWB8ORhpT0WoFLHPG EYwdoDHxyeTtXSuPI0VA8S8ENWSUO0fW7/vn3lCcPp6Zxuoy9ko= =wd+H -----END PGP SIGNATURE----- --=-=-=--