Public bug reported:

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/gnome-shell                       
   1MiB |
+---------------------------------------------------------------------------------------+


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
ProcVersionSignature: Ubuntu 6.2.0-24.24-generic 6.2.12
Uname: Linux 6.2.0-24-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.26.1-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: pass
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-256color
 XDG_RUNTIME_DIR=<set>
RelatedPackageVersions: mutter-common 44.2-0ubuntu1
SourcePackage: gnome-shell
UpgradeStatus: Upgraded to lunar on 2023-04-26 (75 days ago)

** Affects: gnome-shell (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug lunar wayland-session

** Attachment added: "gnome-shell-strace---slow-performance--on_gpu"
   
https://bugs.launchpad.net/bugs/2026790/+attachment/5685326/+files/gnome-shell-strace---slow-performance--on_gpu

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-shell in Ubuntu.
https://bugs.launchpad.net/bugs/2026790

Title:
  Slow refresh rate (5-6hz) on Display managed by gnome-shell

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/2026790/+subscriptions


-- 
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to