39

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 

7 Answers7

28

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).

16

This worked for me:

  1. Open nvidia setting
  2. In PRIME profiles (or another tab) find GPU list
  3. Change GPU to NVIDIA On-Demand
  4. Restart your system

Note: This method may affect the performance of some applications.

Amir
  • 281
9

At my case, a workaround is:

  • In the Settings -> Displays: Set Scale to 100%
  • In the Tweaks -> Fonts: Set Scaling Factor to desired value (in my case it's 1.25)

PS: If you don't have Tweaks: install it via: sudo apt install gnome-tweaks

RedEyed
  • 1,513
4

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.

Greenonline
  • 2,182
3

Try using HDMI port for monitor instead of Thunderbolt USB C. Fractional scaling works there because HDMI port works with NVIDIA graphics card!

1

I solved it as such in Ubuntu 20.10:

  1. installed nvidia proprietary drivers 460
  2. reboot (asked by the OS)
  3. opened nvidia-settings and verified that "PRIME profiles" shows "NVIDIA (Performance Mode)
  4. sudo vi /etc/modprobe.d/nvidia.conf
  5. added contents options nvidia_drm modeset=1 and saved
  6. sudo update-initramfs -u
  7. reboot
  8. verified that sudo cat /sys/module/nvidia_drm/parameters/modeset returns Y
  9. opened gnome-settings and set fractional scaling to 125%

Last step was a bit flaky as it wouldn't let me apply the changes at first (no Apply button was shown), due to hardware limitations or such. I fiddled around with the scaling (200% then 125%, fractional then non-fractional etc) until it finally let me, and it worked.

-2

Yes, I am having the same issue. I fixed this by by choosing the nouveau display driver from the X.org X server instead using the "additional drivers" application. I hope this helps you.