Helps avoid common decision-making biases.
- Widen your options
- Reality-test assumptions
- Attain distance
- Prepare to be wrong
The monitor and screen buffer(that the GPU writes to) are out of sync.
If the GPU sends a new image to the monitor while it's in the middle of rendering an image, the monitor will continue to render the image but with the latest data sent from the GPU (so it's not the same image at the top and the bottom of the tearing). 1
Screen tearing is maximized when the GPU is rendering max frames that is a harmonic of the refresh rate.
| # e.g. vs_enterprise.exe --layout c:\VSLayout --all | |
| $LAYOUT_PATH="vs-layout-all" | |
| $BOOTSTRAPPER="vs_Community.exe" | |
| $WORKLOAD_DOTNET="Microsoft.VisualStudio.Workload.ManagedDesktop" | |
| $WORKLOAD_CPP="" | |
| # create installer with all components | |
| ./vs_Community.exe --layout $LAYOUT_PATH --lang en-us --all |
| # Install wsl | |
| # this script requires administrator privileges | |
| # check if running as administrator | |
| $currentPrincipal = New-Object Security.Principal.WindowsPrincipal([Security.Principal.WindowsIdentity]::GetCurrent()) | |
| $is_running_as_admin = $currentPrincipal.IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator) | |
| if($is_running_as_admin) { | |
| # continue | |
| } |