Activities overview / switching workspaces runs on low framerate (30fps) on NVIDIA + Wayland

Bug #1971338 reported by Triangle Stone
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mutter
Unknown
Unknown
gnome-shell (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

(Bug report can also be found on https://gitlab.gnome.org/GNOME/mutter/-/issues/2247)

Details:

- Ubuntu 22.04 LTS
- GNOME Shell 42.0
- Bug happens on Wayland only
- Dell XPS with i9-9980HK (using the GTX 1650 mobile, since gnome runs very slow on integrated graphics)
- NVIDIA driver version 510.60.02
- Using internal monitor (4k) + two external 4k monitors

Summary:
The activity overview / the process of switching workspaces runs at half the normal framerate (30fps) when running NVIDIA on Wayland.

Steps to reproduce:
- Run Wayland and NVIDIA
- Open activity overview or switch workspaces
- Lament the framerate

What I expected to happen:
I expect the overview and workspace switching process to run at the framerate that matches the monitor refresh rate (60Hz).

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gnome-shell 42.0-2ubuntu1
ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30
Uname: Linux 5.15.0-27-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Tue May 3 08:23:29 2022
DisplayManager: gdm3
InstallationDate: Installed on 2021-11-08 (175 days ago)
InstallationMedia: Ubuntu 20.04.3 LTS "Focal Fossa" - Release amd64 (20210819)
RelatedPackageVersions: mutter-common 42.0-3ubuntu2
SourcePackage: gnome-shell
UpgradeStatus: Upgraded to jammy on 2022-04-29 (3 days ago)

Revision history for this message
Triangle Stone (shaped-rock) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thanks for the bug report.

Your Wayland configuration:

[ 585.472074] xps gnome-shell[96968]: Running GNOME Shell (using mutter 42.0) as a Wayland display server
[ 585.488739] xps gnome-shell[96968]: Device '/dev/dri/card0' prefers shadow buffer
[ 585.488856] xps gnome-shell[96968]: Added device '/dev/dri/card0' (nvidia-drm) using non-atomic mode setting.
[ 585.489653] xps gnome-shell[96968]: Device '/dev/dri/card1' prefers shadow buffer
[ 585.579241] xps gnome-shell[96968]: Added device '/dev/dri/card1' (i915) using atomic mode setting.
[ 585.612068] xps gnome-shell[96968]: Created gbm renderer for '/dev/dri/card0'
[ 585.650099] xps gnome-shell[96968]: Created gbm renderer for '/dev/dri/card1'
[ 585.650209] xps gnome-shell[96968]: Boot VGA GPU /dev/dri/card1 selected as primary

tells me this is a duplicate of bug 1970291.

tags: added: nvidia performance
tags: added: nvidia-wayland
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-shell (Ubuntu):
status: New → Confirmed
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.