To avoid the noise from the fan.
Ubuntu:
- open nvidia x server settings
- click PRIME Profiles
- select intel integrated graphics card
Windows:
first part
- WIN+R
- type services.msc, then enter
- choose Nvidia Display Container Ls or Nvidia Localsystem Container
- double click, set the boot type as disabled
- set the service status as stop
second part
- WIN+X
- choose device manager
- choose display adapters
- right click the nvidia
- select disable device