I found a few fixes for this. Here are the link to double-check:
Install Drivers: How to Install Nvidia Drivers on Ubuntu 20.04
Latest Drivers, Install, Verification and Config via CLI or GUI: Ubuntu Install Nvidia driver using the CLI method # 2
The second one is from March 2021, and is pretty straight forward.
Note: this was especially important for me, as my laptop display is 4k, the screen pad is 1080p and I run an external display. This fix corrected everything across all screens.
Search for driver:
apt-cache search nvidia-driver
Update/Upgrade to latest:
sudo apt update && sudo apt upgrade
Install Driver:
sudo apt install nvidia-driver-${latest-compatable-driver-version}
Reboot:
sudo reboot
After 1st Reboot:
Verify Driver Install:
nvidia-smi
Open Nvidia Settings (as root to adjust system-wide):
sudo nvidia-settings
At this point, the scaling didn't act exactly as expected, so this next part is copied from Amir's reply:
This worked for me:
Open nvidia setting
In PRIME profiles (or another tab) find GPU list
Change GPU to NVIDIA On-Demand
Restart your system
Note: This method may affect the performance of some applications.
BJMI had the right idea by going back into the Nvidia settings and re-enabling performance mode:
This will preserve the graphic settings and correct the scaling issue.
This works for me, thank you. You can switch back to Performance Mode after restart and fractional scaling remains
Note: After the second restart is when I started changing the scaling settings. Everything was working smoothly on subsequent restarts.
gsettings set org.gnome.mutter experimental-features "['scale-monitor-framebuffer']"
and a restart.