[nvidia] Display content "overflows" when using Xorg fractional scaling

Bug #1966050 reported by Bin Li
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OEM Priority Project
New
Undecided
Unassigned
gnome-control-center (Ubuntu)
New
Undecided
Unassigned
mutter (Ubuntu)
New
Undecided
Unassigned

Bug Description

On ThinkStation with Nvidia T400.

1. Enter os,and enter Settings -> Displays
2. Change the Scale from 100% to 200% and aplly keep changes
3. Turn on the Fractional scaling
4. Turn off the Fractional scaling
5. Turn on and off again and again, each time the screen size is doubled.

Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767

Screen 0: minimum 8 x 8, current 3840 x 2160, maximum 32767 x 32767

Screen 0: minimum 8 x 8, current 7680 x 4320, maximum 32767 x 32767

Revision history for this message
Bin Li (binli) wrote :

When I did below operation it could show the full desktop.

For 3840 x 2160
$ xrandr --output DP-5 --scale 2x2

For 7680 x 4320
$ xrandr --output DP-5 --scale 4x4

tags: added: oem-priority originate-from-1965860 sutton
Revision history for this message
Daniel van Vugt (vanvugt) wrote (last edit ):
tags: added: xrandr-scaling
tags: added: nvidia
Revision history for this message
Bin Li (binli) wrote :

@daniel,

 Thanks, I will verify that patch, reply you later.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

The patch is what you're already using to get fractional scaling in Xorg sessions. There is nothing to test or verify.

But we know it has issues (https://bugs.launchpad.net/ubuntu/+bugs?field.tag=xrandr-scaling) and so defaulting to Wayland, even for Nvidia, in jammy is a priority. Because Wayland sessions support fractional scaling without using the patch.

Revision history for this message
jeremyszu (os369510) wrote :

This issue comes from OEM partner which certifying with Ubuntu 20.04.
We may still need to consider a fix in X for 20.04 or switching to X from gdm in 22.04.

summary: - [nvidia] Display content "overflows" when using fractional scaling
+ [nvidia] Display content "overflows" when using Xorg fractional scaling
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.