All the windows and the desktop icons disappear constantly after setting Scaling to 300%

Bug #1967448 reported by Pierre Equoy
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Mutter
Fix Released
Unknown
gnome-shell (Ubuntu)
Invalid
Undecided
Unassigned
gtk+3.0 (Ubuntu)
In Progress
High
Unassigned
mutter (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Summary
=======

Device with nvidia GPU, using proprietary drivers, wayland activated by default.

By default, the scaling is set to 200% (the screen is UHD). If selecting 300%, all the windows close down, as well as the desktop icons (Home) as long as the mouse cursor is in the way.

To fix the issue, one has to open the Display Settings (while making sure the mouse cursor is never above any of the Settings windows!), then set Scaling back to 200% using the keyboard.

This problem does not happen in X11, and does not happen in Wayland if I select 100%, 200% or even 400% scaling!

Steps to reproduce
==================

- Install 22.04 beta, selecting "install third party software" to make sure ubuntu-drivers installs the appropriate proprietary nvidia drivers.
- After installation, make sure Wayland is in use (echo $XDG_SESSION_TYPE should return `wayland`)
- Go to Settings > Display, select 300% scaling, then press Apply

Expected result
===============

The scaling is set to 300% and user can keep using the device.

Actual result
=============

The scaling is set to 300% and all the windows are shut down. If user tries to reopen a window (e.g. Terminal), it is shut down immediately if the mouse cursor is hovering it. The desktop icons keep disappearing and reappearing for as long as the mouse cursor is hovering the background.

The only way to stop this is to go back to Settings > Display, and, using the keyboard, set the scaling back to 200%.

Information
===========

Version: Ubuntu Jammy Jellyfish (development branch) [Beta image]
Release: 22.04

Device: Dell Precision 7760 with Nvidia GPU
CID: 202103-28858

Third party software installed during installation

Wayland in use.

ii linux-generic-hwe-20.04 5.15.0.23.25 amd64 Complete Generic Linux kernel and headers
ii linux-headers-5.15.0-23 5.15.0-23.23 all Header files related to Linux kernel version 5.15.0
ii linux-headers-5.15.0-23-generic 5.15.0-23.23 amd64 Linux kernel headers for version 5.15.0 on 64 bit x86 SMP
ii linux-headers-generic-hwe-20.04 5.15.0.23.25 amd64 Generic Linux kernel headers
ii linux-image-5.15.0-23-generic 5.15.0-23.23 amd64 Signed kernel image generic
ii linux-image-generic-hwe-20.04 5.15.0.23.25 amd64 Generic Linux kernel image
ii linux-modules-5.15.0-23-generic 5.15.0-23.23 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
ii linux-modules-extra-5.15.0-23-generic 5.15.0-23.23 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
ii linux-modules-nvidia-510-5.15.0-23-generic 5.15.0-23.23+1 amd64 Linux kernel nvidia modules for version 5.15.0-23
ii linux-modules-nvidia-510-generic-hwe-20.04 5.15.0-23.23+1 amd64 Extra drivers for nvidia-510 for the generic-hwe-20.04 flavour
ii linux-objects-nvidia-510-5.15.0-23-generic 5.15.0-23.23+1 amd64 Linux kernel nvidia modules for version 5.15.0-23 (objects)
ii linux-signatures-nvidia-5.15.0-23-generic 5.15.0-23.23+1 amd64 Linux kernel signatures for nvidia modules for version 5.15.0-23-generic

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gnome-shell 42~beta-1ubuntu3
ProcVersionSignature: Ubuntu 5.15.0-23.23-generic 5.15.27
Uname: Linux 5.15.0-23-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu79
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Fri Apr 1 10:24:25 2022
DisplayManager: gdm3
GsettingsChanges:
 b'org.gnome.shell' b'welcome-dialog-last-shown-version' b"'42.beta'"
 b'org.gnome.desktop.input-sources' b'sources' b"[('xkb', 'us')]"
 b'org.gnome.desktop.interface' b'gtk-im-module' b"'gtk-im-context-simple'"
 b'org.gnome.desktop.privacy' b'report-technical-problems' b'true'
InstallationDate: Installed on 2022-04-01 (0 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Beta amd64 (20220329.1)
RelatedPackageVersions: mutter-common 42~beta-1ubuntu2
SourcePackage: gnome-shell
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Pierre Equoy (pieq) wrote :
description: updated
description: updated
Revision history for this message
Pierre Equoy (pieq) wrote :

You can clearly see what's going on in the attached video.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :
Changed in mutter (Ubuntu):
status: New → Fix Committed
importance: Undecided → High
Changed in gnome-shell (Ubuntu):
status: New → Invalid
tags: added: fixed-in-42.1 fixed-upstream
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Fixed by wayland-surface-Disable-WL_SURFACE_ERROR_INVALID_SIZE-che.patch which is in:

https://launchpad.net/ubuntu/+source/mutter/42.0-1ubuntu1

Changed in mutter (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Daniel van Vugt (vanvugt) wrote :
Changed in gtk+3.0 (Ubuntu):
status: New → In Progress
importance: Undecided → High
Changed in mutter:
status: Unknown → Fix Released
Changed in gtk+3.0 (Ubuntu):
status: In Progress → Fix Committed
status: Fix Committed → In Progress
tags: added: fixed-in-gtk-3.24.35
removed: fixed-in-42.1
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.