pop-os / system76-driver

System76 Driver for Pop!_OS
Other
112 stars 29 forks source link

serw12: set NVIDIA ForceFullCompositionPipeline (and unset Firefox WebRender) #173

Closed jacobgkau closed 3 years ago

jacobgkau commented 3 years ago

This PR will persistently set the NVIDIA driver's ForceFullCompositionPipeline option on serw12 by placing a command in /etc/profile to enable the option at login. After enabling it this way, it continues to stay enabled when adding, removing, or reconfiguring displays.

Since the ForceFullCompositionPipeline not only fixes input lag in LibreOffice/Terminal but also fixes the scroll lag in Firefox's default software renderer, this PR also unsets the WebRender override that was previously being used in order to keep the diff minimal. (We now set only the frame_rate option for Firefox, since that is still needed for full performance with the default renderer.)

Tested and confirmed working on lab serw12: