450.75 with reverse PRIME, xrandr - -scale 2x2 does not work (renders only 1/4 of screen) + problem with NVIDIA-settings


Reverse prime is not working properly withxrandr --scale 2x2 on the HDMI output. It only fills one quarter of the screen. However, as you can see on the attached photo, the mouse is visible outside the rendered area and can be moved around. I have tested in Plasma and i3 and there is no difference.

nvidia-bug-report.log (1.5 MB)

I have initiated the shared screen as per the README with

$ xrandr --setprovideroutputsource NVIDIA-G0 modesetting

$ xrandr --auto


$ xrandr --output HDMI-1-0 --scale 2x2

This to compensate for the fact that my laptop monitor is 4K, while the displays are 1920x1080.

Additionally I have an issue with nvidia-settings, upon running it gives the following error message

ERROR: nvidia-settings could not find the registry key file. This file should have been installed a
application profiles will continue to work, but values cannot be prepopulated or validated,

The files nvidia-application-profiles-450.57-key-documentation nvidia-application-profiles-450.57-rc are present in /usr/share/nvidia. When nvidia settings launches it looks like this, missing all the xorg related settings:

System info:

  • Linux 5.7.8-1
  • Driver 450.57
  • Environment i3 and KDE Plasma
  • Lenovo X1E gen 1 w 1050Ti MaxQ + Intel

Any help is greatly appreciated!

Thanks for reporting this. We’re tracking it with internal bug number 3063041.

Thanks for getting back. Don’t hesitate to reach out if you require any more information that could potentially help you resolve the issue (logs etc.).

What is the current status of this? It’s a real shame it didn’t work first time around because it is a super exciting development for everyone.

@aplattner, any chance we could have an update?

Exact same problem here (my setup is very similar). Can confirm the second issue with files in /usr/share/nvidia as well. Any news?

Linux 5.9.8, Nvidia driver 455.38-7, Quadro P3000

Sorry for the delayed response. Bug 3063041 is still open. Unfortunately I can’t provide an ETA for a fix.

Any update on this support? I have a 4k laptop and a 1920x1200 montior using Xubuntu 20.04 w/ 460.39 and running

xrandr --output eDP-1-1 --scale 1x1 --mode 3840x2400 --output DP-1-1-3 --scale 2x2 --mode 1920x1200 --fb 7680x2400 --right-of eDP-1-1

Does not change the external monitor scale to 2x, and I tried the fraction workarounds using scales like 2x2.0001.

 $ uname -a                                                                                                                                                                                                                                                          
Linux koln 5.8.0-44-generic #50~20.04.1-Ubuntu SMP Wed Feb 10 21:07:30 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux                                                                                                                                                                    
$ xrandr                                                                                                                                                                                                                                                            
Screen 0: minimum 8 x 8, current 7680 x 2400, maximum 32767 x 32767                                                                                                                                                                                                               
eDP-1-1 connected 3840x2400+0+0 (normal left inverted right x axis y axis) 336mm x 210mm                                                                                                                                                                                          
   3840x2400     59.99*+  48.00                                                                                                                                                                                                                                                   
   3840x2160     60.00    60.01    59.98    59.97                                                                                                                                                                                                                                 
   3200x1800     59.96    59.94  
   2880x1620     59.96    59.97  
   2560x1600     59.99    59.97  
   2560x1440     59.99    59.99    59.96    59.95  
   2048x1536     60.00  
   1920x1440     60.00  
DP-1-1 disconnected (normal left inverted right x axis y axis)
DP-1-2 disconnected (normal left inverted right x axis y axis)
DP-1-3 disconnected (normal left inverted right x axis y axis)
DP-1-1-1 disconnected (normal left inverted right x axis y axis)
DP-1-1-2 disconnected (normal left inverted right x axis y axis)
DP-1-1-3 connected 3840x2400+3840+0 (normal left inverted right x axis y axis) 518mm x 324mm
   1920x1200     59.95*+
   1920x1080     60.00    50.00    59.94    30.00    25.00    24.00    29.97    23.98  
   1600x1200     60.00  
   1280x1024     75.02    60.02  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    60.00    59.94  
   720x400       70.08

For the record I just tried 460.56 as well and that did not fix it.

This functionality needs a change to the X server, which is tracked here: modesetting: apply transforms in PRIME shared pixmap updates (!567) · Merge Requests · xorg / xserver