I want to add something here: I'm using the xrandr scale setting since
19.04 as fractional scaling has never worked on Ubuntu and X11. In the
last versions the monitor settings weren't stored.

In my experience when setting the display resolutions / scaling with
xrandr, my NVIDIA card would always black out when I tried to change
anything after setting the initial xrandr command. Either through xrandr
or the display settings. It is also impossible to disconnect a monitor
after setting the scaling, as the card would then black out too.

Restarting the Gnome Server always helps in those cases.

Here's my current script at startup, when setting the 200% scaling in the 
settings:
```
SCALE=1.25
POSITION=4800
xrandr --output DP-4 --primary --pos "0x0" --scale "$SCALE"x"$SCALE" --output 
DP-0 --scale "$SCALE"x"$SCALE" --auto --pos "$POSITION"x0
```

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to mutter in Ubuntu.
https://bugs.launchpad.net/bugs/1873403

Title:
  [nvidia] Screen turns off when trying to set some fractional scaling
  values

Status in mutter package in Ubuntu:
  In Progress
Status in nvidia-graphics-drivers package in Ubuntu:
  Confirmed

Bug description:
  When the nvidia driver is installed, the screen turns off when trying
  to set some fractional scaling values like 150%. And it stays off even
  after rebooting and logging in again.

  And from ssh I can see there's no current mode set anymore (just like
  in bug 1869750):

  $ xrandr
  Screen 0: minimum 8 x 8, current 960 x 600, maximum 16384 x 16384
  DVI-I-0 disconnected (normal left inverted right x axis y axis)
  DVI-I-1 disconnected (normal left inverted right x axis y axis)
  DP-0 disconnected (normal left inverted right x axis y axis)
  DP-1 connected primary (normal left inverted right x axis y axis)
     1920x1200     59.95 +  59.88

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: mutter 3.36.1-3ubuntu2
  ProcVersionSignature: Ubuntu 5.4.0-24.28-generic 5.4.30
  Uname: Linux 5.4.0-24-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu27
  Architecture: amd64
  CasperMD5CheckResult: skip
  Date: Fri Apr 17 15:51:15 2020
  InstallationDate: Installed on 2020-02-03 (73 days ago)
  InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Alpha amd64 (20200124)
  SourcePackage: mutter
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1873403/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to