Nvidia 495 "supported"

When I run sudo nano /etc/default/grub, I see you’ve already ran this, mine shows the following,

  GNU nano 5.9                                                                           /etc/default/grub                                                                                     
# GRUB boot loader configuration

GRUB_DEFAULT=saved
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="EndeavourOS"
GRUB_CMDLINE_LINUX_DEFAULT="nvidia-drm.modeset=1 quiet loglevel=3 nowatchdog"
GRUB_CMDLINE_LINUX=""

You want to put nvidia-drm.modeset=1 first before the rest, this allows to force your system to boot the nvidia modules essentially.

So the line should read like this:

GRUB_CMDLINE_LINUX_DEFAULT="nvidia-drm.modeset=1 quiet loglevel=3 nowatchdog"

Save the file, ctrl+x, hit Y to save and rebuild the grub.cfg by running:

sudo grub-mkconfig -o /boot/grub/grub.cfg

Don’t reboot yet, there’s another step after this so hold tight!

1 Like

Okay followed the steps worked!
And yes I didn’t reboot :slight_smile:

Also it was a good explanation

Ok now we’re going to tell your system to force nvidia drivers to load on early boot (this helps to prevent black screens before login screen):

sudo nano /etc/mkinitcpio.conf

# vim:set ft=sh

# MODULES

# The following modules are loaded before any boot hooks are

# run. Advanced users may wish to specify all system modules

# in this array. For instance:

# MODULES=(piix ide_disk reiserfs)

MODULES="nvidia nvidia_modeset nvidia_uvm nvidia_drm"

You’re only editing that very last line, you want it to look exactly like mine, same as above:

MODULES="nvidia nvidia_modeset nvidia_uvm nvidia_drm"

Once you’ve done that…Save the file, ctrl+x, hit Y to save and rebuild the mkinitcpio.conf by running:

sudo mkinitcpio -P

Reboot and (fingers crossed) should be good to go! There may be some additional steps i.e. if you have any screen tearing, but if you don’t notice any issues then you should be good to go for the most part, hopefully!

1 Like

Didn’t work sadly I’m still in the same screen as above :confused:

Also couldnt the forum use such explanations for noobs like me?
Like for troubleshooting yourself

When you do a complete shutdown and power off, and then turn it back on, you’re saying you’re still getting stuck on a black loading screen with some text saying “Starting version 249.x-arch…” ?

I rebooted with the command
I’m trying to shut down now

And yes I got stuck at the screen you described

Edit: rebooted with shut down it’s still stuck in the same screen only that “recovering journal” appeared probably because I was stuck and powered off

EndeavourOS is billed as an intermediate-user type of distro, it’s not meant to be 100% noob friendly per se, it helps to already have a bit of background in using Linux, but the team does want to help everyone get a working system with useful scripts and programs like the Welcome app and the big useful one is the team have the EndeavourOS wiki ( click here for that ), which covers a lot of issues like the one you have now. Just gotta know exactly what you’re searching for of course. I was (am? :wink: ) a noob as well, but with a little experience things start to make more sense over time.

2 Likes

Yeah I’m also still a noob ofc but I will try to improve :slight_smile:
I mainly wanted to switch to endeavourOS since I wanted to learn much about the shell which I did and will continue
But sometimes I’m really overwhelmed by the many options you have
And by how much you can break (ofc you won’t do that if you are experienced)

Anyway
What would you suggest now since nothing worked…
Should I just give up and try to install the 470xx version again?

No worries, we sometimes learn through trial and error and making mistakes. Thankfully if you use all the resources at your disposal (this forum, endeavourOS wiki, arch wiki, google searching, etc), you should be able to fix like 99% of most issues, as long as you have the time and patience, anything is possible to fix.

On a side note, do you have the nvidia-hook package?

pacman -Qs nvidia-hook

This command will just say if you have it installed or not, it doesn’t install or remove anything, it’s just a query.

Yeah I will give my best to improve :smiley:

Also if I do Pacman -Qs nvidia-hook it doesn’t display anything at all and will just ask for the next input

Ok that simply means you don’t currently have nvidia-hook installed. For a quick reference, if it was installed like on my system since I also have nvidia, the command would look like this:

[scott@endeavourOS ~]$ pacman -Qs nvidia-hook
local/nvidia-hook 1.0-1
    pacman hook for nvidia

Now at this point, I don’t want to mess up any of the work @ricklinux was doing with you. The steps I’ve given you so far btw can also be found here: https://discovery.endeavouros.com/nvidia/nvidia-optional-enhancements-and-troubleshooting/2021/03/
It goes into a little bit more detail and there’s a few extra steps, but if you can’t even boot, there’s something else going on. I don’t want to disrupt @ricklinux 's work with you at more than the steps I’ve already provided, so I’m going to suggest for the time being wait till he returns shortly since he’s far far more knowledge with what to do next. But I’ll be around to follow along and see how things go as well, so I can learn more too for the next time this issue happens, I’ll know how to assist better. Sorry I could only be of so much help at the moment, but this forum and community is great, they’ll do their best to get you up and running.

Hey listen you helped me so much!
Don’t underestimate yourself
I will probably just wait for him now and maybe setup my laptop in the meanwhile so I don’t have to type on my phone anymore
Also have a great day/evening!

And I can100% agree that this community is awesome and really welcoming and helpful in all situations

2 Likes

Thanks for the kind words, I just try my best with what I know, but I also try to learn more every chance I get to improve myself and to better help others when I can. And yes this community is pretty :100:

In the mean time @ricklinux to get you up to speed, I’ve only done the first two steps with @Mixel from here: https://discovery.endeavouros.com/nvidia/nvidia-optional-enhancements-and-troubleshooting/2021/03/

OK, this is fine. If you use -Rdd to ignore failing dependencies and “force” removal of the 470xx packages, then you can reinstall the 495xx packages, for example:

sudo pacman -Rdd nvidia-470xx-utils nvidia-470xx-dkms nvidia-470xx-settings
sudo pacman -S nvidia-dkms nvidia-settings

Don’t reboot until you have the Nvidia drivers installed according to dkms status.

Also pay attention to the packages it removes, don’t just press enter without checking them.

1 Like

I have every 495xx installed but I still cannot boot @Scotty_Trees helped me and did the first two steps with me

2 Likes

Ah, yes, I was looking for an Rdd but you did an R instead.

Which kernel are you running? This package will only work with the linux kernel, whereas nvidia-dkms will work for all kernels.

1 Like

I am running kerlnel 5.14.15-arch1-1 if that helps

2 Likes

What desktop are you running? Mine is on Xfce with the same graphics card and no issues.

KDE Plasma I take it?

1 Like