From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: Re: Xorg tearing fix on Intel HD Graphics 4000 Date: Sun, 25 Jun 2017 19:39:02 +0200 Message-ID: <878tkgnf0p.fsf@fastmail.com> References: <877f053hc7.fsf@gnu.org> <87k24539rz.fsf@elephly.net> <87d19xwjxe.fsf@gnu.org> <87h8z9jlvk.fsf@netris.org> <877f05vv6j.fsf@gnu.org> <87efu8nuql.fsf@fastmail.com> <878tkg3s8t.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58719) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dPBV7-0006mE-PR for guix-devel@gnu.org; Sun, 25 Jun 2017 13:39:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dPBV3-0002No-QG for guix-devel@gnu.org; Sun, 25 Jun 2017 13:39:09 -0400 In-Reply-To: <878tkg3s8t.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 , William --=-=-= Content-Type: text/plain Roel Janssen writes: > Marius Bakke writes: > >> William writes: >> >>> The Arch Wiki says that Debian and some others suggest uninstalling >>> xf86-video-intel and relying on the modesetting driver. >>> >>> I have personally found this to help with tearing, but naturally YMMV. >>> >>> See https://wiki.archlinux.org/index.php/Intel_graphics#Installation >>> for more details. >> >> Many distros default to using the built-in xorg modesetting driver. >> >> https://tjaalton.wordpress.com/2016/07/23/intel-graphics-gen4-and-newer-now-defaults-to-modesetting-driver-on-x/ >> https://fedoraproject.org/wiki/Features/IntelKMS >> >> Could those affected by this bug see if it works for them? Maybe we >> should follow suit. > > Maybe I did this the wrong way, but here's what I placed in my config.scm: > > (kernel-arguments (list "modprobe.blacklist=pcspkr" "quiet" "rhgb" > "thinkpad_acpi.fan_control=1" "i195.modeset=1")) You would have to prevent Xorg from selecting the "intel" driver. E.g. by passing #:drivers to (xorg-configuration-file ...). I think changing 'Driver "intel"' to 'Driver "modesetting"' in the configuration snippet you pasted earlier would also override the autoload order. Can you also check if adding "Option TearFree" works with SNA? https://wiki.archlinux.org/index.php/intel_graphics#Tear-free_video --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAllP9TYACgkQoqBt8qM6 VPpxtgf/T/87MOlRlp3zHCW7laaHoRFwMTtouc1Vw68ZD78BNJkJ2JKHtWon+rXH htjRxIK6IBf/ycaZxtsE2foS38D304MjaiJR9zn9MnYC4uRN8w+pv8CHpeVZKfwo vmavgWA5XcsHxNWcD5F328CdwsFLnG371iPe0/TQYeVYhvlwO4XJaZOdXFHIc2/k TtRm7EBwBaIC68jH2l5vMhg2y8SVFXOmS6O1E0i3jZgTckTADOr9OXqNEGx71rUv 1NmcXZ1KA0rw+2feXGam5RjGZV+BejUkQuqBIdHyuCk4rLXU8uO0LPfJ/qcta7wc htWJbJAGAT3FamLL/DGzsL8cXuJoZw== =bEvP -----END PGP SIGNATURE----- --=-=-=--