Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jan 2019 23:17:22 +0300
From:      Greg V <greg@unrelenting.technology>
To:        Johannes Lundberg <johalun0@gmail.com>
Cc:        Christian Weisgerber <naddy@mips.inka.de>, freebsd-x11@freebsd.org
Subject:   Re: Intel modesetting and tearing
Message-ID:  <1547151442.4829.1@smtp.migadu.com>
In-Reply-To: <CAECmPws7LMUZDHGP6VJJhm-XNXSE8hqbdyYDB4frVd_98rS2Nw@mail.gmail.com>
References:  <slrnq3eqtu.m3o.naddy@lorvorc.mips.inka.de> <CAECmPwvmTzaYO=9_mokOc6nebD1z-VEsyUHpsJE1dwkB%2BsM6aA@mail.gmail.com> <1547145358.4829.0@smtp.migadu.com> <CAECmPws7LMUZDHGP6VJJhm-XNXSE8hqbdyYDB4frVd_98rS2Nw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On Thu, Jan 10, 2019 at 9:40 PM, Johannes Lundberg <johalun0@gmail.com>=20
wrote:
>=20
>=20
> On Thu, Jan 10, 2019 at 18:35 Greg V <greg@unrelenting.technology>=20
> wrote:
>>=20
>>=20
>>  On Thu, Jan 10, 2019 at 9:22 PM, Johannes Lundberg=20
>> <johalun0@gmail.com <mailto:johalun0@gmail.com>>
>>  wrote:
>>  > On Thu, Jan 10, 2019 at 16:03 Christian Weisgerber
>>  > <naddy@mips.inka.de <mailto:naddy@mips.inka.de>=20
>> <mailto:naddy@mips.inka.de <mailto:naddy@mips.inka.de>>>
>>  > wrote:
>>  >
>>  >> I recently switched from an obsolescent Radeon card to the=20
>> built-in
>>  >> Intel HD Graphics P4600 with i915kms.ko and the modesetting=20
>> driver.
>>  >> That works fine, but there is very noticeable tearing whenever
>>  >> something moves on-screen. If you google for it, you'll find=20
>> plenty
>>  >> of complaints on Linux, so this is not a FreeBSD issue.
>>  >>
>>  >> For MPlayer, replacing the default Xvideo with GL video output=20
>> (-vo
>>  >> gl)
>>  >> eliminates tearing.
>>  >>
>>  >> And as I found out just today and quite by accident, in Firefox
>>  >> toggling layers.acceleration.force-enabled to true will also
>>  >> eliminate
>>  >> all tearing, whether from soft-scrolling or when playing YouTube
>>  >> videos. Hallelujah!
>>  >
>>  >
>>  > Woot?! You mean I can use modesetting AND have tearfree Firefox?
>>  > Thanks for
>>  > the tip!! I will use this until I switch i3 -> Sway.
>>=20
>>  When I still used X on my Intel laptop (of course with the=20
>> modesetting
>>  DDX), I don't think GL acceleration of Firefox helped with tearing.=20
>> (I
>>  always used GL accelerated Firefox anyway.)
>>=20
>>  The solution was fiddling with compton flags, IIRC '--backend glx
>>  --vsync opengl-swc' was enough for the Intel GPU
>=20
> What resolution? It=FFs less noticeable on smaller screens but on=20
> 4K@60Hz it=FFs quite severe and no Compton settings help. I tried=20
> them all. Or maybe you mean Compton in combination GL in Firefox?

Yeah, I *always* used GL in Firefox.

=




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1547151442.4829.1>