How to use my dedicated gpu

At any point, have you posted the output for

sudo lshw -C video

here?

srry if im late but here

*-display
description: VGA compatible controller
product: Haswell-ULT Integrated Graphics Controller
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 0b
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:49 memory:b5000000-b53fffff memory:c0000000-cfffffff ioport:7000(size=64) memory:c0000-dffff
*-display
description: 3D controller
product: GF117M [GeForce 610M/710M/810M/820M / GT 620M/625M/630M/720M]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:09:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list rom
configuration: driver=nouveau latency=0
resources: irq:48 memory:b3000000-b3ffffff memory:a0000000-afffffff memory:b0000000-b1ffffff ioport:4000(size=128)

between i searched for my problem and here is the links

https://forums.linuxmint.com/viewtopic.php?t=181093

and tell me if one of them will work because i don t know what to do

Nvidia has dropped support for drivers for this product. In using a newer kernel, I can see how this can cause problems. The 390 driver lost all support by the end of 2022.

I think earlier I recommended you roll back to the 5.8 kernel.
Can you check

sudo nano /lib/modprobe.d/nvidia-kms.conf

You should see

options nvidia-drm modeset=1

Change the value to 0

options nvidia-drm modeset=0

Tap ctrl+o to overwrite. Tap enter to save current configuration. Tap ctrl+x to exit the editor.
Now update the modules to match

sudo update initramfs -u

i see nothing

Oh.
Interesting.

Well...
Paste this in

options nvidia-drm modeset=0

Then

this command doest work

command is:sudo update initranfs -U

That is not a command.
It is an option to add to the file.

Then paste

into that file.
Once that is done; save by;

That will revert the terminal back to normal. It is then that you run:

yes i did that when i type sudo update initramfs -u it
say:sudo update:command not found

i already pasted this command

oh u said it is an option but what do i do with it?

Ah, ok. I misunderstood. Previous screenshot made it look like you pasted that in terminal as a command.

You ran

sudo update initramfs -u

and it said update: command not found?
Wow, I have never seen that happen before. I am going to need to try looking this up.

EDIT:
Nevermind - I see I have a typo:
It should be

sudo update-initramfs -u

i ran the command:sudo apt install --reinstall initramfs-tools

ohhhhh ok i will try again

1 Like

then what do i do

between it worked i think

From that screenshot, it shows you on 5.15 kernel, not 5.8

You can try a reboot and see if your Nvidia is recognized... But I think it would be better if you were on the earlier kernel that would still include hte module support for the older Nvidia card drivers.
Honestly, 5.4 kernel would probably be even better.

what about download kernel 5.8 or 5.4?

sudo apt install linux-headers-5.8.0-63-generic linux-modules-5.8.0-63-generic linux-modules-extra-5.8.0-63-generic linux-image-5.8.0-63-generic

sudo apt install linux-headers-5.4.0-81-generic linux-modules-5.4.0-81-generic linux-modules-extra-5.4.0-81-generic linux-image-5.4.0-81-generic

which one do i use first 5.4 or 5.8?

I would try the 5.4 first. Then 5.8. Makes sense to go in linear order.

and is nvidia 340 is the right package?

I got an error

What do I do now

Try 390 driver