[Bug 1973604] Re: [nvidia340] display hangs 10s on boot with nvidia-340

2022-05-16 Thread ysfr
** Package changed: gdm3 (Ubuntu) => ubuntu-drivers-common (Ubuntu)

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

Title:
  [nvidia340] display hangs 10s on boot with nvidia-340

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1973604/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1958488] Re: [nvidia][xorg] display hangs on boot LOGO due to race of gdm and nvidia driver probe

2022-05-16 Thread ysfr
Thanks, just opened a separate bug:
[nvidia340] display hangs 10s on boot with nvidia-340
https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1973604

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

Title:
  [nvidia][xorg] display hangs on boot LOGO due to race of gdm and
  nvidia driver probe

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1958488/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1973604] [NEW] [nvidia340] display hangs 10s on boot with nvidia-340

2022-05-16 Thread ysfr
Public bug reported:

Since ubuntu-drivers-common 1:0.9.0~0.20.04.6,
system running kernel 5.4 & nvidia-340 will experience
10s useless delay on boot because 
gpu-manager is waiting for nvidia-drm to load
& nvidia-drm is not built in with nvidia-340.

Several legacy nvidia cards are stuck to nvidia-340 & Kernel 5.4 as detailled 
in:
https://nvidia.custhelp.com/app/answers/detail/a_id/3142/%7E/support-timeframes-for-unix-legacy-gpu-releases

See prior investigation in comments of
https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1958488

** Affects: gdm3 (Ubuntu)
 Importance: Undecided
 Status: New

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

Title:
  [nvidia340] display hangs 10s on boot with nvidia-340

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1973604/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1958488] Re: [nvidia][xorg] display hangs on boot LOGO due to race of gdm and nvidia driver probe

2022-05-13 Thread ysfr
Thanks for investigating !
below is what you requested ...

1.dkms status
nvidia-340, 340.108, 5.4.0-109-generic, x86_64: installed
nvidia-340, 340.108, 5.4.0-110-generic, x86_64: installed
virtualbox, 6.1.32, 5.4.0-109-generic, x86_64: installed
virtualbox, 6.1.32, 5.4.0-110-generic, x86_64: installed

2.find /lib/modules/$(uname -r) -name 'nvidia*'
/lib/modules/5.4.0-110-generic/kernel/drivers/char/drm/nvidia.ko
/lib/modules/5.4.0-110-generic/kernel/drivers/net/ethernet/nvidia
/lib/modules/5.4.0-110-generic/kernel/drivers/video/fbdev/nvidia
/lib/modules/5.4.0-110-generic/kernel/drivers/video/fbdev/nvidia/nvidiafb.ko
/lib/modules/5.4.0-110-generic/kernel/drivers/video/nvidia_uvm.ko

3.Found /var/lib/dkms/nvidia-340/340.108/5.4.0-110-generic/x86_64/log/make.log
(also reachable from symlink 
/var/lib/dkms/nvidia-340/kernel-5.4.0-110-generic-x86_64)
> see attachement

** Attachment added: "dkms nvidia make log"
   
https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1958488/+attachment/5589640/+files/make.log

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

Title:
  [nvidia][xorg] display hangs on boot LOGO due to race of gdm and
  nvidia driver probe

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1958488/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1958488] Re: [nvidia][xorg] display hangs on boot LOGO due to race of gdm and nvidia driver probe

2022-05-12 Thread ysfr
modinfo nvidia-drm
  modinfo: ERROR: Module nvidia-drm not found.
modinfo nvidia_drm
  modinfo: ERROR: Module nvidia_drm not found.

modinfo nvidia
  filename:   
/lib/modules/5.4.0-110-generic/kernel/drivers/char/drm/nvidia.ko

inxi -G
  Graphics:  Device-1: NVIDIA GT218 [GeForce 210] driver: nvidia v: 340.108 
   Display: x11 server: X.Org 1.20.13 driver: nvidia 
   unloaded: fbdev,modesetting,nouveau,vesa resolution: 1600x900~60Hz 
   OpenGL: renderer: GeForce 210/PCIe/SSE2 v: 3.3.0 NVIDIA 340.108 

https://www.nvidia.fr/Download/find.aspx?lang=fr shows
Linux x64 (AMD64/EM64T) Display Driver Recommandé par NVIDIA340.108 
23.12.2019
* Updated the nvidia-drm kernel module for compatibility with the removal of 
the DRIVER_PRIME flag in recent Linux kernel versions. 

lsmod | grep nvidia
  Module  Size  Used by
  nvidia_uvm 36864  0
  nvidia  10588160  50 nvidia_uvm
  drm   491520  3 nvidia

modinfo drm
filename:   /lib/modules/5.4.0-110-generic/kernel/drivers/gpu/drm/drm.ko
author: Thierry Reding 
name:   drm
vermagic:   5.4.0-110-generic SMP mod_unload modversions 

Could that just mean that 'nvidia_drm' we are seeking 
was just named 'drm' in 3.40 ??

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

Title:
  [nvidia][xorg] display hangs on boot LOGO due to race of gdm and
  nvidia driver probe

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1958488/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1958488] Re: [nvidia][xorg] display hangs on boot LOGO due to race of gdm and nvidia driver probe

2022-05-12 Thread ysfr
Hi,

I do not remember blacklisting nvidia-drm intentionally, but will check !
Anyway don't you think this line from journalctl:
  kernel: [drm] Initialized nvidia-drm 0.0.0 20150116 for :01:00.0 on minor 0
indicates nvidia-drm is fine ?

Running Mint 20.3 still with kernel 5.4 if that matters ...
seems also Nvidia driver version 340 is the last to support my GeForce 210 
based card ...
https://nvidia.custhelp.com/app/answers/detail/a_id/3142/%7E/support-timeframes-for-unix-legacy-gpu-releases

Yes it's old ... not only the GPU ..., but still fairly usable ;-)

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

Title:
  [nvidia][xorg] display hangs on boot LOGO due to race of gdm and
  nvidia driver probe

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1958488/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1958488] Re: [nvidia][xorg] display hangs on boot LOGO due to race of gdm and nvidia driver probe

2022-05-11 Thread ysfr
Hi,

did it reverting to ubuntu-drivers-common 1:0.8.1 (focal) >
XXX_before.txt logs in ZIP

accountname@hostname:~$ systemd-analyze time
 Startup finished in 5.469s (kernel) + 5.395s (userspace) = 10.864s 
 graphical.target reached after 4.814s in userspace
accountname@hostname:~$ systemd-analyze blame
 2.343s dev-sda3.device 
 
 2.285s man-db.service  
 
 ... 

& updating to:
ubuntu-drivers-common 1:0.9.0~0.20.04.7 (focal-updates)

accountname@hostname:~$ systemd-analyze time
  Startup finished in 5.557s (kernel) + 14.014s (userspace) = 19.572s 
  graphical.target reached after 13.983s in userspace
accountname@hostname:~$ systemd-analyze blame
  10.488s gpu-manager.service   
   
  10.142s plymouth-quit-wait.service
   
  2.704s dev-sda3.device
  
  ...
  
Hope it helps !

** Attachment added: "requested log"
   
https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1958488/+attachment/5588604/+files/logs.zip

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

Title:
  [nvidia][xorg] display hangs on boot LOGO due to race of gdm and
  nvidia driver probe

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1958488/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1958488] Re: [nvidia][xorg] display hangs on boot LOGO due to race of gdm and nvidia driver probe

2022-05-10 Thread ysfr
Hi,

seems that the change from 1:0.9.0~0.20.04.5 to 1:0.9.0~0.20.04.6
did introduce for me a 10s extra delay at each startup,
despite the fact that it's a desktop with only one (pretty old) Nvidia discrete 
graphic card.

systemd-analyze blame
   10.403s gpu-manager.service
   9.927s plymouth-quit-wait.service
   2.641s dev-sda3.device

While investigating, I found in 
/var/log/gpu-manager.log
   can't access /run/u-d-c-nvidia-drm-was-loaded file
   ...
   can't access /run/u-d-c-nvidia-drm-was-loaded file
   Takes 1ms to wait for nvidia udev rules completed.
   Single card detected

which lead me here ...

Has anyone an idea to workaround this ?

Thanks

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

Title:
  [nvidia][xorg] display hangs on boot LOGO due to race of gdm and
  nvidia driver probe

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1958488/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs