Modern Nvidia Drivers

By the way, there were some updates for Firefox that loaded up a few hours after the full installation and it works fine now.

I found this after a search.

I know it is for Ubuntu 20.04 and 21.04 but thought it might work. What do you think?
As ChanganAuto commented, the NVIDIA driver 340 isn't officially supported on the kernel that 21.04 uses, 5.11. (The error log for the installation I mentioned actually doesn't contain anything other than what I was shown when installing.)

However, I was able to find a way to work around the issue and use the driver anyway, by following the instructions at nvidia-legacy : Butterfly. Basically, you have to enter the following three commands:

*sudo add-apt-repository ppa:kelebek333/nvidia-legacy*
*sudo apt-get update*
*sudo apt-get install xorg-modulepath-fix*

After executing these three commands and reopening the Software Sources settings, the option to select the NVIDIA driver was showing once again. I selected it, and it's working fine now.

Just a word of warning, though: after doing this, I noticed that the options for Important and Recommended Updates were deselected, so my system wasn't updating anymore. I selected those again and that solved that.

1 Like

All that text was from the guy who had the problem with Ubuntu. I have not executed those commands yet but was looking for advice on whether it is worth trying. Basically the system is not useable unless we can sort out the graphics. The delays are just too long and the screen keeps freezing. I will try anything as I would like to keep Zorin but if I mess it up I can always reinstall ( not much point if the problem is not solved) or move on to another distro. Ubuntu seemed to work Ok in Live USB mode, which is surprising, but I guess I did not try to change wallpaper and did not reboot after a full installation. You don't notice the delay when you are loading up a Live USB each time I tried Ubuntu.

If it was me, I would try it.

Thanks. Will give it a go.

That seems to have worked ok. I have an app now called Nvidia server settings and an nvidia logo comes up on the screen during startup. Startup now takes 1 minute 10 seconds for the first Z logo, 1 minute 30 secs secs for nvidia logo, 1 minute 50 seconds for the desktop to appear. Do you think that is still a long time or is that normal?

There is a software update available now:
Changes for nvidia-opencl-icd-340 versions:
Installed version: 340.108-0ubuntu5.20.04.2
Available version: 340.108-4lmtrfocal2

In the description it says:
"OpenCL (Open Computing Language) is a multivendor open standard for general-purpose parallel programming of heterogeneous systems that include CPUs, GPUs and other processors.
This package provides the NVIDIA installable client driver (ICD) for OpenCL which supports NVIDIA GPUs".

Should I install this or is it likely to undo the progress we have just made?

Opsman please edit your posts instead of creating new ones. Its not that people will run faster to help you. Have some patience please.

Yes the boot time is insane and yes you can try to install the driver.

Hi,
The graphics card is now using Nvidia drivers (thanks for your help with this) so you mentioned possibly optimizing speeds and boot? Is there anything that can be done to improve the 2 minutes boot time?

Buy a ssd ? My wife has a 10 years old laptop that boots within 20 seconds. Before with her older hdd it took double the time

I appreciate that but the cost of installing an SSD in this 2009 iMac is prohibitive. It is not something I could do so would have to pay someone to do it. It was booting up El Capitan OS a lot quicker than this but, once it is booted I guess the speeds are similar. It is just any tweaks that may be available in the boot process that would help.

The truth is, what you visually see when your computer boots up, and what actually is, are two different things. I did not know this until I ran the command...

systemd-analyze

Which gave me this result today, on my Zorin machine, running my new Star Labs theme.

Startup finished in 7.973s (kernel) + 13.848s (userspace) = 21.821s graphical.target reached after 13.810s in userspace

I am sorry. You completely lost me there.

CTRL ALT T to enter terminal.

Run the following command...

systemd-analyze

Post the results here. As I said, systemd-analyze provides you how many seconds, or minutes, it took to accomplish each task, in booting up your computer, all the way to the desktop. Its real hard data that lets you know how long things are truly taking.

Like I said, if you really want to know the real truth to your computers boot times in Linux, there is no better command, then systemd-analyze, to provide the results.

Startup finished in 6.655s (kernel) + 50.858s (userspace) = 57.514s
graphical.target reached after 50.373s in userspace

1 Like

If this is on a SSD drive, it took far too long to get into the OS, that is not right.

If this is on a mechanical HDD drive, then this is normal actually.

It is a 640GB HDD.
As I say, it is just the boot up time. When I am opening applications etc it works at an acceptable speed. Would the Lite version be any better? Is it worth me switching?

When it comes to sheer speed performance of the OS, heck ya LITE will be better. So just wait for OS 16 LITE to be released, and then install that.

I agree; that is a normal boot time for HDD.
Yes, Lite would be a bit faster on Boot.

What is the output of

systemd-analyze blame

You can use "Select-all", then copy, then use Pastebin to relay the results.

How does the Pastebin entry get to you? Do I create a new login or login as my username and password on the Forum?