How to use my dedicated gpu

From like 7 months I installed zorin os for the first time but I encountered an error when I downloaded the 340 package and when I rebooted my PC it doesn't open

And still I downloaded zorin today and the same thing happened.

So is there any solution I tried alot before but none of them worked like download a stable version of kernel

And I remember downloading Nvidia packages but none of them worked.

I forgot my gpu is Nvidia 820m

driver1
In here, select one of the proprietary ones and reboot

1 Like

Well I did I only had 2 choices one is for integrated gpu and the other for dedicated gpu
And when I select the dedicated one I can't boot again

Your GPU is old so you should probably download the correct driver from nvidia directly.

But I don't know the correct version
How do I know?

Either Google or ChatGPT

But it's not that easy I tried that before and I failed I spent like a week or 2

Does it even have a driver for linux?

can you please post the terminal output for

sudo lshw -C video

Which Nvidia Card are you using?

Nevermind - it is answered in the above...

Can you run

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

Then

sudo apt update && sudo ubuntu-drivers install

Launch Software & updates
Additional drivers
Select the Nvidia 340, 390 or 470 driver, but not the 525 or 535

Once it finishes applying, close Software & Updates.
Open terminal and run

sudo nano /etc/default/grub

Arrow key to this line
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
Add nomodeset parameter
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset"

Tap ctrl+o to overwrite, then enter to save then ctrl+x to exit the editor.
Now you must run

sudo update-grub

Reboot your computer and test.

I only have Nvidia 340

And it didn't work

@ryee123123 check your software and updates source set to "Main Server" in preference to a regional/national server?

Are you saying only 340 shows up on list of Nvidia drivers? Please post a screenshot.

It was set to my country but now I chose main server

That is now clear from your screenshot.
I assume you have selected the Nouveaux driver as the proprietary NVIDIA 340 does not work for you.
Please wait for someone who knows about NVIDIA drivers to see this and can help you.

ok some things of what we did from 11 months:My graphics card doesn t support kernel 5.15 i think because nvidia 340 is quite old(this is what storm said in the beggining)
i think nvidia-driver-440 didnt also work
i installed nvidia 390 but my laptop freezes

aravisian said this(between he did alot of things i didn t mention)But, you are still unable to boot you said. So this implies that the blacklist file was not the cause or the problem.

i tried to install stable kernel 5.4 but i can t boot

I would honestly start at 5.8 and work up from there:

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

apt search linux-headers-5.

then?

i wrote the 2 commands

Once installed, boot into the 5.8 kernel using the Grub Menu - Advanced Options for Zorin
You can double check that you are on 5.8 with terminal command

uname -r

Then test the 340 driver.

The command I gave above includes the Linux-Modules-Extra package.

The apt search command was just in case you wanted to see what kernels are available through the repository.
(If the 5.8 works, I'd stick with it.)

how to boot into kernel using grun hub because i don t remember

there are lots of versions