Slow refresh rate (5-6hz) on Display managed by gnome-shell
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-shell (Ubuntu) |
New
|
Undecided
|
Daniel van Vugt | ||
nvidia-graphics-drivers-535 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
NVIDIA GPU sending out frames to an LG Electronics 27" display.
At the moment, just a single display.
The NVIDIA GPU is available across a Thunderbolt 3 link.
Here is what the Nvidia Drivers are reporting:
beadon@semiauto:~$ nvidia-smi
Mon Jul 10 20:35:25 2023
+------
| NVIDIA-SMI 535.54.03 Driver Version: 535.54.03 CUDA Version: 12.2 |
|------
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|======
| 0 NVIDIA GeForce GTX 1650 Off | 00000000:52:00.0 On | N/A |
| 0% 33C P8 N/A / 85W | 99MiB / 4096MiB | 0% Default |
| | | N/A |
+------
+------
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|======
| 0 N/A N/A 2341 G /usr/bin/
+------
Performing an strace I am seeing that the gnome-shell is **very** frequently hitting :
EAGAIN (Resource temporarily unavailable)
It's not clear to me what is causing this. strace on the 33 threads included for reference. To show different behaviors, clicks, movement of windows, typing in a terminal, as running glxgears to show(get) the refresh rate of 5 frames per second.
Is there some kind of heavy CPU-based communication happening for gnome-shell ? I am seeing the CPU usage spike to 90+% when simple movements are done on screen. However, the nvidia-smi tools reports that it truly is attached to the right GPU, the PID is correct.
Please see the strace for further information.
ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: gnome-shell 44.2-0ubuntu1
ProcVersionSign
Uname: Linux 6.2.0-24-generic x86_64
NonfreeKernelMo
ApportVersion: 2.26.1-0ubuntu2
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Mon Jul 10 20:40:20 2023
DisplayManager: gdm3
InstallationDate: Installed on 2023-01-09 (182 days ago)
InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-
XDG_RUNTIME_
RelatedPackageV
SourcePackage: gnome-shell
UpgradeStatus: Upgraded to lunar on 2023-04-26 (75 days ago)
Your log is mostly showing bug 1967707 but I think the root cause that comes before it is:
[ 199.493073] semiauto gnome-shell[2341]: meta_frame_ native_ release: assertion '!frame_ native- >kms_update' failed