Ubuntu 19.04 VERY long load times w/ Nvidia graphics (esp compared to 18.10)

classic Classic list List threaded Threaded
14 messages Options
Reply | Threaded
Open this post in threaded view
|

Ubuntu 19.04 VERY long load times w/ Nvidia graphics (esp compared to 18.10)

Matthew Crews
Howdy,

I upgraded one of my boxes from 18.10 to 19.04 and the boot time went
from < 1 minute to several minutes in length.

This feels like a major regression to me, but I'm not sure where to
start in troubleshooting. Ideas?

-Matt


--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Ubuntu 19.04 VERY long load times w/ Nvidia graphics (esp compared to 18.10)

ubuntu-users mailing list
On Thu, 18 Apr 2019 18:42:40 +0200 (CEST), Matthew Crews wrote:
>I'm not sure where to start in troubleshooting. Ideas?  

Hi,

run

  systemd-analyze blame

Regards,
Ralf


--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: Ubuntu 19.04 VERY long load times w/ Nvidia graphics (esp compared to 18.10)

Matthew Crews
On 4/18/19 12:44 PM, Ralf Mardorf via ubuntu-users wrote:
> On Thu, 18 Apr 2019 18:42:40 +0200 (CEST), Matthew Crews wrote:
>> I'm not sure where to start in troubleshooting. Ideas?  
>
> run
>
>   systemd-analyze blame


The only thing that it comes up with, at first glance, is
"NetworkManager-wait-online.service" and "plymouth-quit-wait.service",
but neither of those are real legit issues. I even did "systemd-analyze
plot | plot.svg" to review the data, and nothing makes sense as far as
why it is timing out, only that it is.

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: Ubuntu 19.04 VERY long load times w/ Nvidia graphics (esp compared to 18.10)

Colin Law
In reply to this post by Matthew Crews
On Thu, 18 Apr 2019 at 17:44, Matthew Crews <[hidden email]> wrote:
>
> Howdy,
>
> I upgraded one of my boxes from 18.10 to 19.04 and the boot time went
> from < 1 minute to several minutes in length.
>
> This feels like a major regression to me, but I'm not sure where to
> start in troubleshooting. Ideas?

Being old school I would start by looking in /var/log/syslog to try to
see where the delays are.

Colin

>
> -Matt
>
> --
> ubuntu-users mailing list
> [hidden email]
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: Ubuntu 19.04 VERY long load times w/ Nvidia graphics (esp compared to 18.10)

Matthew Crews
On 4/18/19 1:06 PM, Colin Law wrote:

> On Thu, 18 Apr 2019 at 17:44, Matthew Crews <[hidden email]> wrote:
>>
>> Howdy,
>>
>> I upgraded one of my boxes from 18.10 to 19.04 and the boot time went
>> from < 1 minute to several minutes in length.
>>
>> This feels like a major regression to me, but I'm not sure where to
>> start in troubleshooting. Ideas?
>
> Being old school I would start by looking in /var/log/syslog to try to
> see where the delays are.
>
I think I found one possible reason:

It only occurs when the GRUB parameter "nomodeset" is set, which is
unfortunately a common thing you need to do with Nvidia cards.



Here are some logs from /var/log/syslog.

Apr 18 13:18:25 matt-tower systemd[1]: Started Manage, Install and
Generate Color Profiles.
Apr 18 13:18:25 matt-tower colord[1497]: failed to get session [pid
1120]: No data available
Apr 18 13:18:30 matt-tower systemd-resolved[1067]: Server returned error
NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying
transaction with reduced feature level U$
Apr 18 13:18:30 matt-tower systemd-resolved[1067]: message repeated 2
times: [ Server returned error NXDOMAIN, mitigating potential DNS
violation DVE-2018-0001, retrying transaction $
Apr 18 13:18:32 matt-tower systemd[1]:
NetworkManager-dispatcher.service: Succeeded.
Apr 18 13:18:32 matt-tower systemd-resolved[1067]: Server returned error
NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying
transaction with reduced feature level U$
Apr 18 13:18:32 matt-tower systemd-resolved[1067]: message repeated 2
times: [ Server returned error NXDOMAIN, mitigating potential DNS
violation DVE-2018-0001, retrying transaction $
Apr 18 13:18:47 matt-tower systemd[1]: systemd-fsckd.service: Succeeded.
Apr 18 13:18:48 matt-tower systemd-timesyncd[1068]: Synchronized to time
server 91.189.89.198:123 (ntp.ubuntu.com).
Apr 18 13:18:48 matt-tower systemd[1]: systemd-hostnamed.service: Succeeded.
Apr 18 13:19:17 matt-tower systemd-udevd[745]: Spawned process
'/usr/bin/nvidia-smi' [787] is taking longer than 59s to complete
Apr 18 13:19:17 matt-tower systemd-udevd[671]: nvidia: Worker [745]
processing SEQNUM=2809 is taking a long time



--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Ubuntu 19.04 VERY long load times w/ Nvidia graphics (esp compared to 18.10)

ubuntu-users mailing list
On Thu, 18 Apr 2019 22:29:15 +0200 (CEST), Matthew Crews wrote:
>error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001

Googeling for

  DVE-2018-0001

provides a lot of hits.


--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: Ubuntu 19.04 VERY long load times w/ Nvidia graphics (esp compared to 18.10)

Colin Law
In reply to this post by Matthew Crews
On Thu, 18 Apr 2019 at 21:31, Matthew Crews <[hidden email]> wrote:
> ..
> Apr 18 13:19:17 matt-tower systemd-udevd[745]: Spawned process
> '/usr/bin/nvidia-smi' [787] is taking longer than 59s to complete
> Apr 18 13:19:17 matt-tower systemd-udevd[671]: nvidia: Worker [745]
> processing SEQNUM=2809 is taking a long time

So it is an nvidia issue, but only if you have "nomodeset".
I don't know about nvidia, I am glad to say, given the problems so
many seem to have, so other than checking that you have the latest
appropriate driver installed I will have to pass on this one.

Colin

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: Ubuntu 19.04 VERY long load times w/ Nvidia graphics (esp compared to 18.10)

ubuntu-users mailing list
In reply to this post by ubuntu-users mailing list
On Thu, 18 Apr 2019 22:48:20 +0200, Ralf Mardorf wrote:
>On Thu, 18 Apr 2019 22:29:15 +0200 (CEST), Matthew Crews wrote:
>>error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001  
>
>Googeling for
>
>  DVE-2018-0001
>
>provides a lot of hits.

PS:

For example:

https://github.com/dns-violations/dns-violations/blob/master/2018/DVE-2018-0001.md

https://github.com/systemd/systemd/pull/8608


--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: Ubuntu 19.04 VERY long load times w/ Nvidia graphics (esp compared to 18.10)

Colin Law
In reply to this post by ubuntu-users mailing list
On Thu, 18 Apr 2019 at 21:50, Ralf Mardorf via ubuntu-users
<[hidden email]> wrote:
>
> On Thu, 18 Apr 2019 22:29:15 +0200 (CEST), Matthew Crews wrote:
> >error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001
>
> Googeling for
>
>   DVE-2018-0001
>
> provides a lot of hits.

I don't believe that is a significant issue.  It is nothing to worry about.

Colin

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: Ubuntu 19.04 VERY long load times w/ Nvidia graphics (esp compared to 18.10)

ubuntu-users mailing list
In reply to this post by Colin Law
On Thu, 18 Apr 2019 21:49:21 +0100, Colin Law wrote:
>So it is an nvidia issue

It might be an graphics issue only, but it also could be a combination
of several issues.

Maybe the culprit is "just"

"/usr/bin/nvidia-smi' [787] is taking longer than 59s to complete"

but

"retrying transaction"

due to the

"DNS violation DVE-2018-0001"

might cause an additional delay.

However, since the OP mentioned

"It only occurs when the GRUB parameter "nomodeset" is set, which is
unfortunately a common thing you need to do with Nvidia cards."

I'm likely mistaken with the DNS violation issue, so agree with focusing
on the NVIDIA graphics.

I migrated from NVIDIA and ATI to Intel graphics ;).


--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: Ubuntu 19.04 VERY long load times w/ Nvidia graphics (esp compared to 18.10)

ubuntu-users mailing list
In reply to this post by Colin Law
On Thu, 2019-04-18 at 21:58 +0100, Colin Law wrote:
> On Thu, 18 Apr 2019 at 21:50, Ralf Mardorf wrote:
> >   DVE-2018-0001
>
> I don't believe that is a significant issue.

I guess you are right, I agree with focusing
on the NVIDIA issue.



--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: Ubuntu 19.04 VERY long load times w/ Nvidia graphics (esp compared to 18.10)

Matthew Crews
On 4/18/19 2:21 PM, Ralf Mardorf via ubuntu-users wrote:

> On Thu, 2019-04-18 at 21:58 +0100, Colin Law wrote:
>> On Thu, 18 Apr 2019 at 21:50, Ralf Mardorf wrote:
>>>   DVE-2018-0001
>>
>> I don't believe that is a significant issue.
>
> I guess you are right, I agree with focusing
> on the NVIDIA issue.
>
>
>

I did some further testing with different Ubuntu versions (18.04.2,
18.10, and 19.04), and it is definitely Nvidia driver related. I'm going
to file a bug report over this.

Cheers.

-Matt

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: Ubuntu 19.04 VERY long load times w/ Nvidia graphics (esp compared to 18.10)

ubuntu-users mailing list
On Sat, 20 Apr 2019 17:04:01 +0200 (CEST), Matthew Crews wrote:
>I did some further testing with different Ubuntu versions (18.04.2,
>18.10, and 19.04), and it is definitely Nvidia driver related. I'm
>going to file a bug report over this.

Hi,

please post the bug report link. To know what NVIDI card fails,
with which version of the open-source driver and/or version(s) of
the proprietary driver in combination with what kernel and X
and/or Wayland and where to confirm a bug, could be helpful to other.

That's probably a bug that makes it uneasy to decide, if it should be
reported to the Ubuntu or an upstream bug tracker.

Regards,
Ralf


--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: Ubuntu 19.04 VERY long load times w/ Nvidia graphics (esp compared to 18.10)

Matthew Crews
On 4/20/19 10:07 AM, Ralf Mardorf via ubuntu-users wrote:

> On Sat, 20 Apr 2019 17:04:01 +0200 (CEST), Matthew Crews wrote:
>> I did some further testing with different Ubuntu versions (18.04.2,
>> 18.10, and 19.04), and it is definitely Nvidia driver related. I'm
>> going to file a bug report over this.
>
> Hi,
>
> please post the bug report link. To know what NVIDI card fails,
> with which version of the open-source driver and/or version(s) of
> the proprietary driver in combination with what kernel and X
> and/or Wayland and where to confirm a bug, could be helpful to other.
>
> That's probably a bug that makes it uneasy to decide, if it should be
> reported to the Ubuntu or an upstream bug tracker.

Here you go.

https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-418/+bug/1825663

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users