unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Marius Bakke <mbakke@fastmail.com>
To: Roel Janssen <roel@gnu.org>
Cc: guix-devel <guix-devel@gnu.org>, William <w@vieta.uk>
Subject: Re: Xorg tearing fix on Intel HD Graphics 4000
Date: Sun, 25 Jun 2017 19:39:02 +0200	[thread overview]
Message-ID: <878tkgnf0p.fsf@fastmail.com> (raw)
In-Reply-To: <878tkg3s8t.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1382 bytes --]

Roel Janssen <roel@gnu.org> writes:

> Marius Bakke writes:
>
>> William <w@vieta.uk> 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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

  reply	other threads:[~2017-06-25 17:39 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-21  7:55 Xorg tearing fix on Intel HD Graphics 4000 Roel Janssen
2017-06-21 10:38 ` Ricardo Wurmus
2017-06-21 13:26   ` Roel Janssen
2017-06-21 16:27     ` Kei Kebreau
2017-06-21 17:23     ` Mark H Weaver
2017-06-21 22:21       ` Roel Janssen
2017-06-21 23:23         ` William
2017-06-25 11:59           ` Marius Bakke
2017-06-25 17:13             ` Roel Janssen
2017-06-25 17:39               ` Marius Bakke [this message]
2017-06-25  5:47       ` Chris Marusich
2017-06-25  8:31         ` Roel Janssen
2017-06-25 11:38           ` Mark H Weaver
2017-06-25 11:08         ` Mark H Weaver
2017-08-07 21:48           ` Clément Lassieur
2017-06-25  5:46     ` Chris Marusich
2017-06-25  8:28       ` Roel Janssen
2017-07-20  2:43         ` Chris Marusich
2017-07-20 10:57           ` Roel Janssen
2017-06-23 18:00 ` Christopher Baines
2017-06-26  8:55 ` Andy Wingo
2017-06-27 17:43   ` Mark H Weaver
2017-06-28  8:24     ` Andy Wingo
2017-06-28 18:14       ` Mark H Weaver

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878tkgnf0p.fsf@fastmail.com \
    --to=mbakke@fastmail.com \
    --cc=guix-devel@gnu.org \
    --cc=roel@gnu.org \
    --cc=w@vieta.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).