*** This bug is a duplicate of bug 1970291 ***
    https://bugs.launchpad.net/bugs/1970291

ok, SUPER interesting -- when I force the intel profile to be PRIME,
then I can safely boot with the enclosure attached(!), the systems gets
through gdm, and I can login no problem.

I suspect there is a driver problem we are chasing, and PRIME was just
selecting the NVIDIA GPU for some reason and flailing ..'


Hmm running into a bit of a snag :

beadon@semiauto:~$ sudo nvidia-settings 
[sudo] password for beadon: 

ERROR: NVIDIA driver is not loaded


(nvidia-settings:3802): GLib-GObject-CRITICAL **: 14:38:11.591: g_object_unref: 
assertion 'G_IS_OBJECT (object)' failed

** (nvidia-settings:3802): CRITICAL **: 14:38:11.592: ctk_powermode_new:
assertion '(ctrl_target != NULL) && (ctrl_target->h != NULL)' failed

ERROR: nvidia-settings could not find the registry key file or the X server is 
not accessible.
       This file should have been installed along with this driver at
       /usr/share/nvidia/nvidia-application-profiles-key-documentation. The 
application
       profiles will continue to work, but values cannot be prepopulated or 
validated, and
       will not be listed in the help text. Please see the README for possible 
values and
       descriptions.

** Message: 14:38:11.616: PRIME: Requires offloading
** Message: 14:38:11.616: PRIME: is it supported? yes
** Message: 14:38:11.637: PRIME: Usage: /usr/bin/prime-select 
nvidia|intel|on-demand|query
** Message: 14:38:11.637: PRIME: on-demand mode: "1"
** Message: 14:38:11.637: PRIME: is "on-demand" mode supported? yes

-- 
You received this bug notification because you are a member of Desktop
Packages, 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

Status in gnome-shell package in Ubuntu:
  New
Status in nvidia-graphics-drivers-535 package in Ubuntu:
  New

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/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)

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


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to