Also tested with mutter-common 42.5-0ubuntu1 and gnome-shell
42.5-0ubuntu1:
fabiomirmar@U-1JSKZM4R9U78P:~$ sudo apt-cache policy mutter-common
[sudo] password for fabiomirmar:
mutter-common:
Installed: 42.5-0ubuntu1
Candidate: 42.5-0ubuntu1
Version table:
*** 42.5-0ubuntu1 500
500 http://sa-east-1.ec2.archive.ubuntu.com/ubuntu jammy-updates/main
amd64 Packages
100 /var/lib/dpkg/status
42.0-3ubuntu2 500
500 http://sa-east-1.ec2.archive.ubuntu.com/ubuntu jammy/main amd64
Packages
fabiomirmar@U-1JSKZM4R9U78P:~$ sudo apt-cache policy gnome-shell
gnome-shell:
Installed: 42.5-0ubuntu1
Candidate: 42.5-0ubuntu1
Version table:
*** 42.5-0ubuntu1 500
500 http://sa-east-1.ec2.archive.ubuntu.com/ubuntu jammy-updates/main
amd64 Packages
100 /var/lib/dpkg/status
42.0-2ubuntu1 500
500 http://sa-east-1.ec2.archive.ubuntu.com/ubuntu jammy/main amd64
Packages
And I have the same issue.
When I apply the scale change I see:
May 25 13:30:21 U-1JSKZM4R9U78P systemd[2514]:
vte-spawn-11c0b6cb-a094-4eee-9cbf-7a694348f00a.scope: Consumed 1.272s CPU time.
May 25 13:30:21 U-1JSKZM4R9U78P systemd[2514]: gnome-terminal-server.service:
Consumed 1.231s CPU time.
May 25 13:30:25 U-1JSKZM4R9U78P gnome-shell[2862]: Impossible to set scaling on
crtc 59 to 0.615385, error id 2
May 25 13:30:25 U-1JSKZM4R9U78P gnome-shell[2862]: Window manager warning:
Scalig CRTC 59 at 0.615385 failed
May 25 13:30:25 U-1JSKZM4R9U78P gnome-shell[2862]: Xlib: extension "DPMS"
missing on display ":1".
May 25 13:30:25 U-1JSKZM4R9U78P gnome-shell[2862]: Missing logical monitor,
using scale 1
May 25 13:30:26 U-1JSKZM4R9U78P gnome-shell[2862]: Xlib: extension "DPMS"
missing on display ":1".
May 25 13:30:26 U-1JSKZM4R9U78P gnome-shell[2862]: Missing logical monitor,
using scale 1
May 25 13:30:26 U-1JSKZM4R9U78P gnome-shell[2862]: Spurious
clutter_actor_allocate called for actor
0x55a6ef3a4ba0/<dashtodockContainer>[<Gjs_ubuntu-dock_ubuntu_com_docking_DashToDock>:0x55a6ef3a4ba0]
which isn't a descendent of the stage!
May 25 13:30:26 U-1JSKZM4R9U78P gsd-color[2980]: could not find device:
property match 'XRANDR_name'='VNC-output-0' does not exist
May 25 13:30:26 U-1JSKZM4R9U78P gsd-color[2980]: could not find device:
property match 'XRANDR_name'='VNC-output-1' does not exist
May 25 13:30:26 U-1JSKZM4R9U78P gsd-color[2980]: could not find device:
property match 'XRANDR_name'='VNC-output-2' does not exist
May 25 13:30:26 U-1JSKZM4R9U78P gsd-color[2980]: could not find device:
property match 'XRANDR_name'='VNC-output-3' does not exist
May 25 13:30:26 U-1JSKZM4R9U78P gsd-color[2980]: could not find device:
property match 'XRANDR_name'='VNC-output-0' does not exist
May 25 13:30:26 U-1JSKZM4R9U78P gsd-color[2980]: could not find device:
property match 'XRANDR_name'='VNC-output-1' does not exist
May 25 13:30:26 U-1JSKZM4R9U78P gsd-color[2980]: could not find device:
property match 'XRANDR_name'='VNC-output-2' does not exist
May 25 13:30:26 U-1JSKZM4R9U78P gsd-color[2980]: could not find device:
property match 'XRANDR_name'='VNC-output-3' does not exist
May 25 13:30:26 U-1JSKZM4R9U78P gnome-shell[2862]: Can't update stage views
actor <unnamed>[<MetaWindowGroup>:0x55a6ee826330] is on because it needs an
allocation.
May 25 13:30:26 U-1JSKZM4R9U78P gnome-shell[2862]: Can't update stage views
actor <unnamed>[<MetaWindowActorX11>:0x55a6f04896e0] is on because it needs an
allocation.
May 25 13:30:26 U-1JSKZM4R9U78P gnome-shell[2862]: Can't update stage views
actor <unnamed>[<MetaSurfaceActorX11>:0x55a6f048ca30] is on because it needs an
allocation.
May 25 13:30:26 U-1JSKZM4R9U78P gnome-shell[2862]: Window manager warning:
Overwriting existing binding of keysym 31 with keysym 31 (keycode a).
May 25 13:30:26 U-1JSKZM4R9U78P gnome-shell[2862]: Window manager warning:
Overwriting existing binding of keysym 32 with keysym 32 (keycode b).
May 25 13:30:26 U-1JSKZM4R9U78P gnome-shell[2862]: Window manager warning:
Overwriting existing binding of keysym 33 with keysym 33 (keycode c).
May 25 13:30:26 U-1JSKZM4R9U78P gnome-shell[2862]: Window manager warning:
Overwriting existing binding of keysym 34 with keysym 34 (keycode d).
May 25 13:30:26 U-1JSKZM4R9U78P gnome-shell[2862]: Window manager warning:
Overwriting existing binding of keysym 35 with keysym 35 (keycode e).
May 25 13:30:26 U-1JSKZM4R9U78P gnome-shell[2862]: Window manager warning:
Overwriting existing binding of keysym 36 with keysym 36 (keycode f).
May 25 13:30:26 U-1JSKZM4R9U78P gnome-shell[2862]: Window manager warning:
Overwriting existing binding of keysym 37 with keysym 37 (keycode 10).
May 25 13:30:26 U-1JSKZM4R9U78P gnome-shell[2862]: Window manager warning:
Overwriting existing binding of keysym 38 with keysym 38 (keycode 11).
May 25 13:30:26 U-1JSKZM4R9U78P gnome-shell[2862]: Window manager warning:
Overwriting existing binding of keysym 39 with keysym 39 (keycode 12).
May 25 13:30:27 U-1JSKZM4R9U78P gnome-shell[2862]: Can't update stage views
actor <unnamed>[<MetaWindowGroup>:0x55a6ee826330] is on because it needs an
allocation.
May 25 13:30:27 U-1JSKZM4R9U78P gnome-shell[2862]: Can't update stage views
actor <unnamed>[<MetaWindowActorX11>:0x55a6f0488f00] is on because it needs an
allocation.
May 25 13:30:27 U-1JSKZM4R9U78P gnome-shell[2862]: Can't update stage views
actor <unnamed>[<MetaSurfaceActorX11>:0x55a6f048cdb0] is on because it needs an
allocation.
When I try to revert I get:
May 25 13:30:34 U-1JSKZM4R9U78P gnome-shell[2862]: Failed to restore previous
configuration: Invalid mode 2560x984 (19.921875) for monitor 'unknown unknown'
May 25 13:30:34 U-1JSKZM4R9U78P gnome-shell[2862]: Failed to use stored monitor
configuration: Invalid mode 1920x1080 (19.958942) for monitor 'unknown unknown'
May 25 13:30:34 U-1JSKZM4R9U78P gnome-shell[2862]: Failed to use linear monitor
configuration: Invalid mode 800x600 (-nan) for monitor 'unknown unknown'
May 25 13:30:34 U-1JSKZM4R9U78P gnome-shell[2862]: Failed to use fallback
monitor configuration: Invalid mode 800x600 (-nan) for monitor 'unknown unknown'
May 25 13:30:34 U-1JSKZM4R9U78P gnome-shell[2862]: Impossible to set scaling on
crtc 59 to 1.000000, error id 2
May 25 13:30:35 U-1JSKZM4R9U78P gnome-shell[2862]: Xlib: extension "DPMS"
missing on display ":1".
May 25 13:30:35 U-1JSKZM4R9U78P gsd-color[2980]: could not find device:
property match 'XRANDR_name'='VNC-output-0' does not exist
May 25 13:30:35 U-1JSKZM4R9U78P gsd-color[2980]: could not find device:
property match 'XRANDR_name'='VNC-output-1' does not exist
May 25 13:30:35 U-1JSKZM4R9U78P gsd-color[2980]: could not find device:
property match 'XRANDR_name'='VNC-output-2' does not exist
May 25 13:30:35 U-1JSKZM4R9U78P gsd-color[2980]: could not find device:
property match 'XRANDR_name'='VNC-output-3' does not exist
May 25 13:30:35 U-1JSKZM4R9U78P gsd-color[2980]: could not find device:
property match 'XRANDR_name'='VNC-output-0' does not exist
May 25 13:30:35 U-1JSKZM4R9U78P gsd-color[2980]: could not find device:
property match 'XRANDR_name'='VNC-output-1' does not exist
May 25 13:30:35 U-1JSKZM4R9U78P gsd-color[2980]: could not find device:
property match 'XRANDR_name'='VNC-output-2' does not exist
May 25 13:30:35 U-1JSKZM4R9U78P gsd-color[2980]: could not find device:
property match 'XRANDR_name'='VNC-output-3' does not exist
May 25 13:30:35 U-1JSKZM4R9U78P gnome-shell[2862]: DING:
(gnome-control-center:3419): display-cc-panel-WARNING **: 13:30:35.541: Config
not applicable: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: Monitor
mode not found
May 25 13:30:35 U-1JSKZM4R9U78P gnome-shell[2862]: DING:
(gnome-control-center:3419): display-cc-panel-WARNING **: 13:30:35.567: Config
not applicable: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: Monitor
mode not found
May 25 13:30:35 U-1JSKZM4R9U78P gnome-shell[2862]: Can't update stage views
actor <unnamed>[<MetaWindowGroup>:0x55a6ee826330] is on because it needs an
allocation.
May 25 13:30:35 U-1JSKZM4R9U78P gnome-shell[2862]: Can't update stage views
actor <unnamed>[<MetaWindowActorX11>:0x55a6f0488f00] is on because it needs an
allocation.
May 25 13:30:35 U-1JSKZM4R9U78P gnome-shell[2862]: Can't update stage views
actor <unnamed>[<MetaSurfaceActorX11>:0x55a6f048cdb0] is on because it needs an
allocation.
May 25 13:30:35 U-1JSKZM4R9U78P gnome-shell[2862]: Can't update stage views
actor <unnamed>[<MetaWindowGroup>:0x55a6ee826330] is on because it needs an
allocation.
May 25 13:30:35 U-1JSKZM4R9U78P gnome-shell[2862]: Can't update stage views
actor <unnamed>[<MetaWindowActorX11>:0x55a6f0488f00] is on because it needs an
allocation.
May 25 13:30:35 U-1JSKZM4R9U78P gnome-shell[2862]: Can't update stage views
actor <unnamed>[<MetaSurfaceActorX11>:0x55a6f048cdb0] is on because it needs an
allocation.
--
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/2020782
Title:
Changing display scale setting and reverting it, causes gnome-shell to
error with "Failed to restore previous configuration" and other error
messages
Status in mutter package in Ubuntu:
New
Bug description:
In Amazon Workspaces running Ubuntu 22.04, when attempting to change
the Scale in the Gnome Display settings, if you click on a different
scale (i.e. changing from 100% to 200%) and hitting apply, it will
bring up a prompt asking if you want to keep or revert the changes and
there will be a timer of 20 seconds. If you try to revert the changes
(either by letting the timer expire or by clicking the "revert"
button), we will hit one of the following two behaviors:
1 - The setting won't revert and will keep scaled
2 - gnome-shell will show some error messages in syslog and the
display will be "corrupted", where the only window you are able to
click is the display setting and if you try to drag it, it will leave
a "blur" throughout the window (per discussions, this seems to be
https://launchpad.net/bugs/1924689)
For both situations, changing the display resolution (i.e. going into
and out of full screen in the workspaces client) will fix the issue
When hitting situation 1, syslog shows:
May 17 17:33:10 U-1AZMIM8SIPZ6I gnome-shell[3030]: Failed to restore
previous configuration: Invalid mode 1920x1080 (19.958942) for monitor
'unknown unknown'
When hitting situation 2, syslog shows:
May 17 17:31:24 U-1AZMIM8SIPZ6I gnome-shell[3030]: Failed to restore previous
configuration: Invalid mode 1920x984 (19.895834) for monitor 'unknown unknown'
May 17 17:31:24 U-1AZMIM8SIPZ6I gnome-shell[3030]: Failed to use stored
monitor configuration: Invalid mode 1920x984 (19.895834) for monitor 'unknown
unknown'
May 17 17:31:24 U-1AZMIM8SIPZ6I gnome-shell[3030]: Failed to use linear
monitor configuration: Invalid mode 800x600 (-nan) for monitor 'unknown unknown'
May 17 17:31:24 U-1AZMIM8SIPZ6I gnome-shell[3030]: Failed to use fallback
monitor configuration: Invalid mode 800x600 (-nan) for monitor 'unknown unknown'
May 17 17:31:24 U-1AZMIM8SIPZ6I gnome-shell[3030]: Impossible to set scaling
on crtc 59 to 1.000000, error id 2
May 17 17:31:24 U-1AZMIM8SIPZ6I gnome-shell[3030]: Xlib: extension "DPMS"
missing on display ":1".
May 17 17:31:24 U-1AZMIM8SIPZ6I gnome-shell[3030]: Object St.Label
(0x557090d07de0), has been already disposed — impossible to access it. This
might be caused by the object having been destroyed from C code using something
such as destroy(), dispose(), or remove() vfuncs.
May 17 17:31:24 U-1AZMIM8SIPZ6I gnome-shell[3030]: == Stack trace for context
0x557090bee180 ==
May 17 17:31:24 U-1AZMIM8SIPZ6I gnome-shell[3030]: #0 557093f00e68 i
/usr/share/gnome-shell/extensions/[email protected]/appIcons.js:1349
(2cdac32b2e20 @ 105)
May 17 17:31:24 U-1AZMIM8SIPZ6I gnome-shell[3030]: #1 557093f00dd8 i
/usr/share/gnome-shell/extensions/[email protected]/dash.js:42
(2cdac32a5d80 @ 27)
May 17 17:31:24 U-1AZMIM8SIPZ6I gnome-shell[3030]: #2 557093f00d58 i
resource:///org/gnome/shell/ui/dash.js:545 (20c3e0d20970 @ 24)
May 17 17:31:24 U-1AZMIM8SIPZ6I gnome-shell[3030]: JS ERROR: TypeError:
monitor is
null#012_updateWorkAreaBox@resource:///org/gnome/shell/ui/overviewControls.js:58:26#012_init/<@resource:///org/gnome/shell/ui/overviewControls.js:51:45
Sometimes the stack trace isn't shown, but the symptom is the same:
May 17 18:31:39 U-1AZMIM8SIPZ6I gnome-shell[3030]: Failed to restore previous
configuration: Invalid mode 1920x984 (19.895834) for monitor 'unknown unknown'
May 17 18:31:39 U-1AZMIM8SIPZ6I gnome-shell[3030]: Failed to use stored
monitor configuration: Invalid mode 1920x984 (19.895834) for monitor 'unknown
unknown'
May 17 18:31:39 U-1AZMIM8SIPZ6I gnome-shell[3030]: Failed to use linear
monitor configuration: Invalid mode 800x600 (-nan) for monitor 'unknown unknown'
May 17 18:31:39 U-1AZMIM8SIPZ6I gnome-shell[3030]: Failed to use fallback
monitor configuration: Invalid mode 800x600 (-nan) for monitor 'unknown unknown'
May 17 18:31:39 U-1AZMIM8SIPZ6I gnome-shell[3030]: Impossible to set scaling
on crtc 59 to 1.000000, error id 2
May 17 18:31:40 U-1AZMIM8SIPZ6I gnome-shell[3030]: Xlib: extension "DPMS"
missing on display ":1".
I'm unable to reproduce the problem if I manually install ubuntu-desktop and
use the Nice DCV Server (as used by Workspaces) by following the steps from
(using the xorg-x11-drv-dummy):
https://docs.aws.amazon.com/dcv/latest/adminguide/setting-up-
installing-linux.html
One relevant difference is that Workspaces uses a custom X11 server
/usr/bin/Xdcv, instead of /usr/lib/xorg/Xorg, and they have the
following process being started:
/usr/bin/Xdcv -output 800x600+0+0 -output 800x600+800+0 -output
800x600+1600+0 -output 800x600+2400+0 -enabledoutputs 1 vt2 -displayfd
3 -auth /run/user/541001128/gdm/Xauthority -nolisten tcp -background
none -noreset -keeptty -novtswitch -verbose 3
I'm also unable to reproduce the problem using xrdp + Xorg.
While discussing this with the desktop crew, it was mentioned that we see the
same problems in
Xorg. And to a much lesser extent some issues in Wayland too when changing
scales.
mutter and gnome-shell versions being used:
$ sudo apt-cache policy mutter-common
mutter-common:
Installed: 42.2-0ubuntu1
Candidate: 42.5-0ubuntu1
Version table:
42.5-0ubuntu1 500
500 http://sa-east-1.ec2.archive.ubuntu.com/ubuntu jammy-updates/main
amd64 Packages
*** 42.2-0ubuntu1 100
100 /var/lib/dpkg/status
42.0-3ubuntu2 500
500 http://sa-east-1.ec2.archive.ubuntu.com/ubuntu jammy/main amd64
Packages
$ sudo apt-cache policy gnome-shell
gnome-shell:
Installed: 42.4-0ubuntu0.22.04.1
Candidate: 42.5-0ubuntu1
Version table:
42.5-0ubuntu1 500
500 http://sa-east-1.ec2.archive.ubuntu.com/ubuntu jammy-updates/main
amd64 Packages
*** 42.4-0ubuntu0.22.04.1 100
100 /var/lib/dpkg/status
42.0-2ubuntu1 500
500 http://sa-east-1.ec2.archive.ubuntu.com/ubuntu jammy/main amd64
Packages
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/2020782/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp