Fractional Scaling does not work properly ubuntu 20.04
Just updated to 20.04 and tried the fractional scaling on my laptop. That does not work at all. Whatever scaling I use it just sets 200%. I googled it and it seems works with wayland server only. I did not find any good solutions to fix it or install wayland instead of xorg. Can you help? Thanks in advance!
Graphics:
Device-1: Intel UHD Graphics 620 vendor: Xiaomi driver: i915 v: kernel
bus ID: 00:02.0 chip ID: 8086:5917
Device-2: NVIDIA GP108M [GeForce MX150] vendor: Xiaomi driver: nvidia
v: 435.21 bus ID: 01:00.0 chip ID: 10de:1d12
Display: x11 server: X.Org 1.20.8 driver: modesetting,nvidia
unloaded: fbdev,nouveau,vesa compositor: gnome-shell tty: N/A
OpenGL: renderer: GeForce MX150/PCIe/SSE2 v: 4.6.0 NVIDIA 435.21
direct render: Yes
Solution 1:
This is a bug with Ubuntu 20.04 + the latest nvidia drivers (435 proprietary and 440 proprietary, tested as far as I'm aware). Check out the launchpad thread. I'm having the same issue with 20.04 + nvidia-driver-440 (GeForce RTX 2080).
Solution 2:
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.
Solution 3:
At my case, a workaround is:
- In the
Settings -> Displays
: SetScale
to100%
- In the
Tweaks -> Fonts
: SetScaling Factor
to desired value (in my case it's1.25
)
PS: If you don't have Tweaks
: install it via: sudo apt install gnome-tweaks
Solution 4:
Try using HDMI port for monitor instead of Thunderbolt USB C. Fractional scaling works there because HDMI port works with NVIDIA graphics card!