This still happens on 26.04 when using the nouveau driver. Boot is
delayed by 10 seconds while we wait to exit the following loop. The
problems seems to be that 'has_nvidia' is set when nvidia hardware is
found, but the loop here seem to assume that it means the nvidia
proprietary driver is used.
The result is that boot is hanging for 10 sec while we wait for this to
run out. I noticed this when I was looking into why booting with nouveau
is much slower than nvidia proprietary driver.
if (has_nvidia && !nvidia_blacklisted) {
for (i = 0; i < 500; i++, usleep(20000)) {
if (is_file(UDEV_NVIDIA_COMPLETED))
break;
/* Get nvidia driver version inside loop because sometime nvidia
* driver take longer time to load.
*/
if (get_nvidia_driver_version(&major, &minor, &extra) &&
major < 390) {
break;
}
}
fprintf(log_handle, "Takes %dms to wait for nvidia udev rules
completed.\n", i * 20);
}
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2001971
Title:
Slow execution during boot and log contains many errors
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/2001971/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs