modesetting: Enable TearFree by default
TearFree support has been available in the modesetting driver for a year with no issues reported. The code is mature and robust, with error handling that's been vetted across many hardware configurations. Notably, TearFree is also the only way to achieve a tear-free desktop with mismatched displays and transformed CRTCs. Enable TearFree by default for a smooth desktop experience out of the box. Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
This commit is contained in:
parent
6c60571528
commit
0dacee6c51
|
@ -1386,7 +1386,7 @@ PreInit(ScrnInfoPtr pScrn, int flags)
|
||||||
"Atomic modesetting %sabled\n", ms->atomic_modeset ? "en" : "dis");
|
"Atomic modesetting %sabled\n", ms->atomic_modeset ? "en" : "dis");
|
||||||
|
|
||||||
/* TearFree requires glamor and, if PageFlip is enabled, universal planes */
|
/* TearFree requires glamor and, if PageFlip is enabled, universal planes */
|
||||||
if (xf86ReturnOptValBool(ms->drmmode.Options, OPTION_TEARFREE, FALSE)) {
|
if (xf86ReturnOptValBool(ms->drmmode.Options, OPTION_TEARFREE, TRUE)) {
|
||||||
if (pScrn->is_gpu) {
|
if (pScrn->is_gpu) {
|
||||||
xf86DrvMsg(pScrn->scrnIndex, X_WARNING,
|
xf86DrvMsg(pScrn->scrnIndex, X_WARNING,
|
||||||
"TearFree cannot synchronize PRIME; use 'PRIME Synchronization' instead\n");
|
"TearFree cannot synchronize PRIME; use 'PRIME Synchronization' instead\n");
|
||||||
|
|
|
@ -118,7 +118,7 @@ as rotated and scaled CRTCs. When PageFlip is enabled, fullscreen DRI
|
||||||
applications will still have the discretion to not use tearing prevention.
|
applications will still have the discretion to not use tearing prevention.
|
||||||
.br
|
.br
|
||||||
The default is
|
The default is
|
||||||
.B off.
|
.B on.
|
||||||
.TP
|
.TP
|
||||||
.BI "Option \*qAtomic\*q \*q" boolean \*q
|
.BI "Option \*qAtomic\*q \*q" boolean \*q
|
||||||
Enable atomic modesetting when supported. The default is
|
Enable atomic modesetting when supported. The default is
|
||||||
|
|
Loading…
Reference in New Issue