Window dragging lag when rendering 3d objects. (GNOME 42, NVIDIA, glxgear, pymol)

Bug #1964675 reported by Xiaoguang Xue
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gnome-shell (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

OS/software: Ubuntu Jammy Jellyfish (development branch), GNOME 42.beta, X11, NVIDIA-driver-510 (510.54)
Hardware: Intel® Xeon(R) CPU E5-1650 v2 @ 3.50GHz × 12, 31,3 GiB RAM, NVIDIA Corporation GP106 [GeForce GTX 1060 6GB]

How to reproduce: open glxgear, on the same workspace, move any window, there is badly dragging lag. But there is no lag if move window on a different workspace. CPU/GPU usages are normal (<3%).

Disable Sync to VBlank in NVIDIA Settings can solve this issue, but CPU/GPU usages are abornmally high (single core CPU>80%, GPU>10% only for glxgear).

Both NVIDIA-driver-510 and NVIDIA-driver-470 have the same issue. But another Intel-GPU based laptop works fine.

This is not a glxgear bug, as other realtime 3D rendering (PyMOL, Blender...) casue the same issue.

Possible reasons I guess: NVIDIA driver bug, kernel bug, or GNOME 42 bug.

Xiaoguang Xue (cygx1xue)
summary: - Window dragging lag when rendering 3d objects.
+ Window dragging lag when rendering 3d objects. (GNOME 42, NVIDIA)
summary: - Window dragging lag when rendering 3d objects. (GNOME 42, NVIDIA)
+ Window dragging lag when rendering 3d objects. (GNOME 42, NVIDIA,
+ glxgear, pymol)
tags: added: 22.04 ubuntu
tags: added: ubuntu22.04
removed: 22.04 ubuntu
Xiaoguang Xue (cygx1xue)
information type: Public → Public Security
information type: Public Security → Public
Xiaoguang Xue (cygx1xue)
tags: added: jammy
removed: ubuntu22.04
tags: added: gnome42
tags: added: nvidia
tags: added: gnome
removed: gnome42
Xiaoguang Xue (cygx1xue)
tags: added: vsync
Revision history for this message
Xiaoguang Xue (cygx1xue) wrote :

Many error messages:
[drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000400] Failed to grab modeset ownership

Revision history for this message
Xiaoguang Xue (cygx1xue) wrote :

Other DEs (xfce, icewm, and fvwm) do NOT have such issues. I guess this might be a gnome related bug.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

This sounds like a continuation of Nvidia bug 1799679.

Please test regular Ubuntu 22.04 (GNOME 41) and/or Ubuntu 21.10 (GNOME 40) and tell us if the same problem exists there. I just want to confirm it's not a new problem in GNOME 42 here.

Changed in gnome-shell (Ubuntu):
status: New → Incomplete
Revision history for this message
Daniel van Vugt (vanvugt) wrote (last edit ):

Also, when the problem is happening please run:

  apport-collect 1964675
  sudo apt install mesa-utils
  glxinfo > glxinfo.txt
  xrandr --verbose > xrandr.txt
  lspci -k > lspci.txt
  journalctl -b0 > journal.txt

and attach the resulting text files here.

When reporting new bugs in the future please use the 'ubuntu-bug' command.

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.