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:
All config modifications are made as intended.
Re-configuring system76-driver does not duplicate the configurations.
After the configurations are made and the system is rebooted, Firefox scrolling is smooth and LibreOffice Writer input is not laggy. Performed testing with many windows and applications, did not see any issues caused by the new NVIDIA setting.
The screen blinks four times instead of two times when logging in, which seems preferable to the input lag.
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 theframe_rate
option for Firefox, since that is still needed for full performance with the default renderer.)Tested and confirmed working on lab serw12:
system76-driver
does not duplicate the configurations.