I can t update my driver

Which command?
@ryee123123 , I posted a full guide in a link.

Gain your self confidence. While computer issues can be frustrating, they are completely within your ability to manage.

i did
watch -n 2 sensors

and then i saw my temp

core0:+50
core1:+49

temp1:49
temp2:49
temp3:27

i put this command: ```
watch -n 2 nvidia-smi



but i don t know where is my gpu temp

it is 48~49c

is this the temp?

You see, the Drivers for an unsupported card - that is difficult to solve.

While I agree that the drivers are probably the cause of the freezing, there is not much we can do about the drivers at this point.
But it is possible that the freeze is caused by something else.
And GPU overheating can cause it.

so there isn t anyway to solve the freezing?

I do not really know that at this time since we have not checked GPU temps fully, etc.
But I admit I think it is likely that the Unsupported older Nvidia card is the most likely cause of the problems.

do i try this:sudo apt install nvidia-driver-340

I thought you already installed that driver.

i installed sudo apt install nvidia-driver-390 not 340

so do i?

It's worth trying...
The 340 was the last known working for that card - that I knew of...

Once installed, launch Software & Updates > Additional Drivers tab and select the 340 to test it.

it says unable to locate package

Try the following:
Add the drivers repository

sudo add-apt-repository ppa:graphics-drivers/ppa

sudo apt-get update && sudo apt-get install nvidia-340

there was an error:Not creating home directory `/'.
Loading new nvidia-340-340.108 DKMS files...
Building for 5.15.0-52-generic
Building for architecture x86_64
Building initial module for 5.15.0-52-generic
Error! Bad return status for module build on kernel: 5.15.0-52-generic (x86_64)
Consult /var/lib/dkms/nvidia-340/340.108/build/make.log for more information.
dpkg: error processing package nvidia-340 (--configure):
installed nvidia-340 package post-installation script subprocess returned error exit status 10
Processing triggers for libc-bin (2.31-0ubuntu9.9) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for initramfs-tools (0.136ubuntu6.7) ...
update-initramfs: Generating /boot/initrd.img-5.15.0-52-generic
Errors were encountered while processing:
nvidia-340
E: Sub-process /usr/bin/dpkg returned an error code (1)

The kernel is too high for it...
I will need to look into this more in the morning.

Ok take your time

Ok... as I said earlier, you need the 5.4 kernel:

However, there is a twist. One user posted that they were using the 5.15 kernel by using a patched 340 driver:

The latest Ubuntu kernel 5.15.0-46 works great with the custom nvidia-340 driver package developed by kelebek333. So in order to get the old drivers running, the following worked for me. Run as root:
add-apt-repository ppa:kelebek333/nvidia-legacy apt update apt install nvidia-340 echo "blacklist nouveau" >> /etc/modprobe.d/blacklist-nouveau.conf update-initramfs reboot
Most useful discussion on this matter see here: Bug #1910709 “DKMS linux-headers-5.8.0-34-generic update brokes ...” : Bugs : nvidia-graphics-drivers-340 package : Ubuntu

Will i use any commands in the article or i will use the commands u told me?