NVIDIA 390 driver

i'm at a loss, this is my 3rd attempt asking about NVIDIA 390 driver and cant find a solution anywhere i search

Can't update or even download a theme for my cursor. Any fix? And pls don't be mean I'm new to Linux and former Windows user and I under estimated how hard it is and how careful I have to be. Thank you in advance.

The 390 driver is probably out of support. So using DKMS to tie the modules into the later Zorin OS kernel might fail.

Are you using the Legacy Drivers?

If you are not, we can try that. First, remove all traces of Nvidia drivers. Run this in terminal (You can copy and paste):
sudo apt-get remove --purge '^nvidia-.*'

Then add the kelebek repo:

sudo add-apt-repository ppa:kelebek333/nvidia-legacy

Install the driver:

sudo apt update && nvidia-graphics-drivers-390

ok i put in all u said and intalled the new drivers, how do i test that it worked?

Reboot and either check Nvidia Settings application or in terminal, try nvidia-smi

Welcome to the Forum!

When You install the Driver directly from the Repo's that doesn't work because You are using the 6.8 Kernel and that is too new. The 5.15 Kernel should be compatible. Or You go @Aravisian's Way with the PPA. Then You shouldn't need the older Kernel.

One other Thing: Because You use an Nvidia Card, You should run Your System in Xorg Mode. By default Zorin runs in Wayland. To switch, go to the Login Screen (not the Lock Screen). simply reboot for that. On the Login Screen, click on Your Profile so that the Password Field appears. It as to be appeared. When it is appeared, You should see in the bottom right Corner a Gear Icon. Click on it and choose the Option ''Zorin Desktop on Xorg'' and then log in.

zorg has always been on. also idk what a kernel is, i heard someone had my issue and half fixed it that way by going to a older version or kernel but i have no idea

it told me this

Command 'nvidia-smi' not found, but can be installed with:
sudo apt install nvidia-utils-390 # version 390.157-0ubuntu0.22.04.2, or
sudo apt install nvidia-utils-418-server # version 418.226.00-0ubuntu5~0.22.04.1
sudo apt install nvidia-utils-450-server # version 450.248.02-0ubuntu0.22.04.1
sudo apt install nvidia-utils-470 # version 470.256.02-0ubuntu0.22.04.1
sudo apt install nvidia-utils-470-server # version 470.256.02-0ubuntu0.22.04.1
sudo apt install nvidia-utils-535 # version 535.183.01-0ubuntu0.22.04.1
sudo apt install nvidia-utils-535-server # version 535.230.02-0ubuntu0.22.04.3
sudo apt install nvidia-utils-545 # version 545.29.06-0ubuntu0.22.04.2
sudo apt install nvidia-utils-550 # version 550.120-0ubuntu0.22.04.1
sudo apt install nvidia-utils-550-server # version 550.144.03-0ubuntu0.22.04.1
sudo apt install nvidia-utils-565-server # version 565.57.01-0ubuntu0.22.04.4
sudo apt install nvidia-utils-570-server # version 570.86.15-0ubuntu0.22.04.4
sudo apt install nvidia-utils-510 # version 510.60.02-0ubuntu1
sudo apt install nvidia-utils-510-server # version 510.47.03-0ubuntu3

weird cause i though i installed all this already

also idk how to use the app, it dosent look like it shows anything


You can try

sudo apt install nvidia-utils-390

And see... In the later drivers, it is included with the driver install. I never needed to install it separately, myself.

udo apt install nvidia-utils-390
[sudo] password for damien:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
dctrl-tools dkms libnvidia-cfg1-390 libnvidia-compute-390:i386
libnvidia-decode-390 libnvidia-decode-390:i386 libnvidia-encode-390
libnvidia-encode-390:i386 libnvidia-fbc1-390 libnvidia-fbc1-390:i386
libnvidia-gl-390 libnvidia-ifr1-390 libnvidia-ifr1-390:i386
xserver-xorg-video-nvidia-390
Use 'sudo apt autoremove' to remove them.
Suggested packages:
nvidia-driver-390
The following NEW packages will be installed:
nvidia-utils-390
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 362 kB of archives.
After this operation, 1,019 kB of additional disk space will be used.
Get:1 Index of /kelebek333/nvidia-legacy/ubuntu jammy/main amd64 nvidia-utils-390 amd64 390.157-0ubuntu+klbkjammy1.1 [362 kB]
Fetched 362 kB in 2s (179 kB/s)
Selecting previously unselected package nvidia-utils-390.
(Reading database ... 273672 files and directories currently installed.)
Preparing to unpack .../nvidia-utils-390_390.157-0ubuntu+klbkjammy1.1_amd64.deb
...
Unpacking nvidia-utils-390 (390.157-0ubuntu+klbkjammy1.1) ...
Setting up nvidia-utils-390 (390.157-0ubuntu+klbkjammy1.1) ...
Processing triggers for man-db (2.10.2-1) ...

~$ nvidia-smi
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

this is what i tried

That... was unexpected.
Let's undo that... and while at it, throw dkms as manually installed :

nvidia-graphics-drivers-390 dkms

how do i input the command? it says command not found

Sorry - it is just the install command:

sudo apt install nvidia-graphics-drivers-390 dkms

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package nvidia-graphics-drivers-390

it said this weird

i also did this eariler but i guess it didnt work either

sudo apt install nvidia-driver-390

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
nvidia-compute-utils-390 nvidia-dkms-390 nvidia-kernel-common-390 nvidia-kernel-source-390 nvidia-prime
The following NEW packages will be installed:
nvidia-compute-utils-390 nvidia-dkms-390 nvidia-driver-390 nvidia-kernel-common-390 nvidia-kernel-source-390
nvidia-prime
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 10.6 MB of archives.
After this operation, 30.0 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 Index of /ubuntu jammy/main amd64 nvidia-prime all 0.8.17.1 [9,956 B]
Get:2 Index of /kelebek333/nvidia-legacy/ubuntu jammy/main amd64 nvidia-compute-utils-390 amd64 390.157-0ubuntu+klbkjammy1.1 [79.0 kB]
Get:3 Index of /kelebek333/nvidia-legacy/ubuntu jammy/main amd64 nvidia-kernel-source-390 amd64 390.157-0ubuntu+klbkjammy1.1 [10.0 MB]
Get:4 Index of /kelebek333/nvidia-legacy/ubuntu jammy/main amd64 nvidia-kernel-common-390 amd64 390.157-0ubuntu+klbkjammy1.1 [15.1 kB]
Get:5 Index of /kelebek333/nvidia-legacy/ubuntu jammy/main amd64 nvidia-dkms-390 amd64 390.157-0ubuntu+klbkjammy1.1 [19.9 kB]
Get:6 Index of /kelebek333/nvidia-legacy/ubuntu jammy/main amd64 nvidia-driver-390 amd64 390.157-0ubuntu+klbkjammy1.1 [403 kB]
Fetched 10.6 MB in 15s (685 kB/s)
Selecting previously unselected package nvidia-compute-utils-390.
(Reading database ... 273684 files and directories currently installed.)
Preparing to unpack .../0-nvidia-compute-utils-390_390.157-0ubuntu+klbkjammy1.1_amd64.deb ...
Unpacking nvidia-compute-utils-390 (390.157-0ubuntu+klbkjammy1.1) ...
Selecting previously unselected package nvidia-kernel-source-390.
Preparing to unpack .../1-nvidia-kernel-source-390_390.157-0ubuntu+klbkjammy1.1_amd64.deb ...
Unpacking nvidia-kernel-source-390 (390.157-0ubuntu+klbkjammy1.1) ...
Selecting previously unselected package nvidia-kernel-common-390.
Preparing to unpack .../2-nvidia-kernel-common-390_390.157-0ubuntu+klbkjammy1.1_amd64.deb ...
Unpacking nvidia-kernel-common-390 (390.157-0ubuntu+klbkjammy1.1) ...
Selecting previously unselected package nvidia-dkms-390.
Preparing to unpack .../3-nvidia-dkms-390_390.157-0ubuntu+klbkjammy1.1_amd64.deb ...
Unpacking nvidia-dkms-390 (390.157-0ubuntu+klbkjammy1.1) ...
Selecting previously unselected package nvidia-driver-390.
Preparing to unpack .../4-nvidia-driver-390_390.157-0ubuntu+klbkjammy1.1_amd64.deb ...
Unpacking nvidia-driver-390 (390.157-0ubuntu+klbkjammy1.1) ...
Selecting previously unselected package nvidia-prime.
Preparing to unpack .../5-nvidia-prime_0.8.17.1_all.deb ...
Unpacking nvidia-prime (0.8.17.1) ...
Setting up nvidia-prime (0.8.17.1) ...
Setting up nvidia-kernel-common-390 (390.157-0ubuntu+klbkjammy1.1) ...
update-initramfs: deferring update (trigger activated)
Setting up nvidia-kernel-source-390 (390.157-0ubuntu+klbkjammy1.1) ...
Setting up nvidia-compute-utils-390 (390.157-0ubuntu+klbkjammy1.1) ...
Warning: The home dir /nonexistent you specified can't be accessed: No such file or directory
Adding system user nvidia-persistenced' (UID 129) ... Adding new group nvidia-persistenced' (GID 138) ...
Adding new user nvidia-persistenced' (UID 129) with group nvidia-persistenced' ...
Not creating home directory `/nonexistent'.
Setting up nvidia-dkms-390 (390.157-0ubuntu+klbkjammy1.1) ...
update-initramfs: deferring update (trigger activated)
INFO:Enable nvidia
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
Loading new nvidia-390.157 DKMS files...
Building for 6.8.0-60-generic
Building for architecture x86_64
Building initial module for 6.8.0-60-generic
Can't load /var/lib/shim-signed/mok/.rnd into RNG
40377894A3740000:error:12000079:random number generator:RAND_load_file:Cannot open file:../crypto/rand/randfile.c:106:
Filename=/var/lib/shim-signed/mok/.rnd
...+..+.+.....+............+.+......+...+......+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..
........+..+.+.....+.............+..+.......+......+...............+......+.........+..+...+.+...........+...+........
.......+....+..+.+...+......+...+...........+.+......+........+....+.....+.+...........+....++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++
....+.....+.......+...+..+.+..+....+.....+.............+...............+..+...
+......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
...........+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++...+.+.....+....+........+.+++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++
..+...+.......+.....+...+....+...+........+....+..+.+.........+
...........+...+....+...+.........+.........+......+......+...+..+.........+......+....+...+..+...................+...
......+..+......+....+..................+......+.....+......++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++

Secure Boot not enabled on this system.
Done.

nvidia.ko:
Running module version sanity check.

  • Original module
    • No original module exists within this kernel
  • Installation
    • Installing to /lib/modules/6.8.0-60-generic/kernel/drivers/char/drm/

nvidia-modeset.ko:
Running module version sanity check.

  • Original module
    • No original module exists within this kernel
  • Installation
    • Installing to /lib/modules/6.8.0-60-generic/kernel/drivers/char/drm/

nvidia-drm.ko:
Running module version sanity check.

  • Original module
    • No original module exists within this kernel
  • Installation
    • Installing to /lib/modules/6.8.0-60-generic/kernel/drivers/char/drm/

nvidia-uvm.ko:
Running module version sanity check.

  • Original module
    • No original module exists within this kernel
  • Installation
    • Installing to /lib/modules/6.8.0-60-generic/kernel/drivers/char/drm/

depmod....
Setting up nvidia-driver-390 (390.157-0ubuntu+klbkjammy1.1) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for initramfs-tools (0.140ubuntu13.5) ...
update-initramfs: Generating /boot/initrd.img-6.8.0-60-generic

This output looks good...
What is your terminal output for

sudo lshw -C video

*-display
description: VGA compatible controller
product: GF108 [GeForce GT 730]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
logical name: /dev/fb0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom fb
configuration: depth=32 driver=nouveau latency=0 resolution=1920,1080
resources: irq:146 memory:aa000000-aaffffff memory:a0000000-a7ffffff memory:a8000000-a9ffffff ioport:3000(size=128) memory:c0000-dffff

The above shows it is using only the Nouveau open source driver. Not the 390.
But also:

To the best of my knowledge, this card can run the 470 driver which would be a much better option than the 390.
If you want to try it...

sudo apt-get remove --purge '^nvidia-.*'

sudo add-apt-repository --remove ppa:kelebek333/nvidia-legacy

sudo apt update && sudo apt install nvidia-driver-470 nvidia-dkms-470

Since the OP is new to Linux, I'd assume they don't know about "Additional Drivers" selection box.

This is where I go, to select my Nvidia driver, then once it has been completed, I restart. You can get here by clicking the following...

Click :zorin: logo

Type "Software Updater", then click "Software Updater."

Click "settings" on the app.

Click "Additional Drivers" tab at the top.

Click the "bubble" that corresponds to your "Proprietary" driver version, like I have in my screenshot.


2 Likes

not sure which one to click, the 340 one wasant there before