Unable to change extreme resolution

I just updated to Ubuntu 20.04. My laptop’s Nvidia GTX 1650 Driver (440) has caused my laptop’s screen’s resolution to go to 3840 x 2160 - WOW! Everything is sharp and crisp and clear, but some of my apps are having a hard time adjusting - either I need a magnifying glass, or they become oversized depending on scaling. Usually, I would simply choose less of a resolution, but I am not able to. Only resolution available is the 3840 x 2160.

How can I choose a resolution less than 3840 x 2160?

Please run nvidia-bug-report.sh as root and attach the resulting nvidia-bug-report.log.gz file to your post. You will have to rename the file ending to something else since the forum software doesn’t accept .gz files (nifty!).

nvidia-bug-report.log (323.4 KB)

Hope you are able to ‘see’ that log file…

That’s a bug/feature either the i915 or modesetting driver introduced. Previously, it would always auto-add virtual resolutions. That got changed at some time so it would only add those if the display supports exactly one resolution (like most notebook displays do). Unfortunately, your display supports two, 4k@60 and 4k@40.
You will have to add them manually using xrandr. You can also try adding the file
/etc/X11/xorg.conf.d/10-internal-display.conf
containing just

Section "Monitor"
    Identifier     "Monitor0"
    Modeline "1280x720_60.00"  74.48  1280 1336 1472 1664  720 721 724 746  -HSync +Vsync
    Modeline "1152x648_60.00" 59.91 1152 1200 1320 1488 648 649 652 671 -HSync +Vsync
EndSection

and check if those resolutions get available. You can create the needed modelines using cvt, e.g.:
cvt -r 1920 1080 60

Yes, this monitor is something else! It’s so advanced, it doesn’t work except at the most extreme resolution.

How do I add those displays using xrandr? I am somewhat fearful adding drivers due to the ‘breaking’ of my efi partition causing me to be unable to boot. Reloading the system another time is not what I look forward to doing…

in the meantime, I will attempt the display.conf workaround…

There’s no driver loading involved.
xrandr is the manual command for using it once until reboot:

xrandr --newmode "1920x1080_60"  138.50  1920 1968 2000 2080  1080 1083 1088 1111 +hsync -vsync
xrandr --addmode eDP-1-1 "1920x1080_60"
xrandr --output eDP-1-1 --mode "1920x1080_60" 

The xrandr lines did the trick, until reboot, though. I think I have formulated all my ‘needed’ programs work at the higher resolution, except for one - RStudio. I will simply keep the higher resolution until I want to run RStudio, and then will run the xrandr lines beforehand. Fingers crossed that will help ease the transition.

Thanks for all the help.

Has this “bug/feature” of the i915 modesetting been rectified, e.g. gone back to “auto-add virtual resolutions?”