From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Marusich Subject: Re: Xorg tearing fix on Intel HD Graphics 4000 Date: Sat, 24 Jun 2017 22:46:24 -0700 Message-ID: <87zicw7h73.fsf@gmail.com> 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]:39782) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dP0NW-00016K-8b for guix-devel@gnu.org; Sun, 25 Jun 2017 01:46:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dP0NT-0006HG-7A for guix-devel@gnu.org; Sun, 25 Jun 2017 01:46:34 -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. Why wouldn't you be able to do a 'guix pull && guix system reconfigure'? > I wonder if anyone else is having the same problem on this hardware.. Yes, I have this problem. I use a Lenovo X200. Like Mark, graphical Emacs doesn't display characters right, and it's difficult to tell what the buffer actually contains, sometimes. I've reconfigured my system to use the extra Xorg config you've provided in this thread, and I'll let you know in a week or two if it seems to have fixed the problem. =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAllPTjAACgkQ3UCaFdgi Rp2k/Q/9GPIrXKSxxLyQDnGYbgbbV4dj60Q9iSJ8VoTqluZogO0JwX5IX3bQ+QwB I+Hr2n0OwjPsheTKZ8vk7+0kWmIbEn3ND1Ee9Us3Ct3n50By4y5o3jlN0oGmuu+O MLU83p962gYsFBrq7Fx8Hzn0nKPxmYKsU7jvgJj187AXW0J1jVySJb7iRSDmqEXX IOsRGDHHfczM9uHJoEHK0yZPhPK6ocSv5+sgwfLXGtstPQWT5/3OV29R35YZtyT4 W5d7QrK64zFbrcFXyy4Z2DzNCv6mqld0WkPUEuSvnKLex5/F8eIk9XpmQMH1JLA8 DnjXRMJ1mRW7QLNj5tYjWi9h3rt/5Al57f4GmO4VL/r+LkrZ6JbliMlF+LREsfBg 425gB/AJkjwztn2i87AZOifwD1gB3g7od+aC3TVp5unHXh14Fuc8cPy9KnHc+uNN sBwQfVDMnmIBqqyuIqVwFoiwe8Z/sts3UkXOkJxNBOcdGcM1LD+J0AjYx8DIArlJ vO02fkrvOJheKK4HTeqV9/NK+e9bbdaf/AxlzeX10WZWI4grlj35MRysrgKd8RoE NmNLUddxBd3RvpaXl6c+Ib1B/p/Sw1DSNBojUrzHC5QzwFlyrIlaJZvop30dGCMh HL8fBn77CeVgqCmaZKfzDL4kdhVLqsaHBDTpTM/khn5UYuYN1ss= =iLVu -----END PGP SIGNATURE----- --=-=-=--