I was trying to get my arch (EndeavourOS) laptop to use the discrete graphics card instead of the CPU GPU. Here’s what I remember doing before rebooting my laptop only to find out that I messed something up:
I first “sudo pacman -Syyu” then I installed nvidia, then nvidia-utils, and nvidia-settings. I installed xorg-xrandr, then did nvidia-xconfig. That’s about all I did that I remember. Trying to debug the problem I uninstalled (“pacman -Rc” via tty) nvidia, nvidia-utils, and nvidia-settings. But all that did was make the login screen loop even though I entered the username and password correct. I have now reinstalled all the nvidia stuff and now its back to title.
Please help. Is there anyway I can recover from this?
And if there’s no recovering from this, can I reset my OS while keeping my personal files untouched?
which kernel(s) are you running, installed any lts? Did you check the steps and comments about nvidia driver in the eos wiki? there is a nvidia-dkms version.
I also recommend reading the forum, upper right there is a search function, maybe you find a solution that helps. Have seen many nvidia troubleshooting.
It is getting late, someone with more knowledge on this will likely be able to help with this info.
nvidia-installer-update-db: warning: The nvidia.com site driver version is 460.67, pacman version is 460.56.
nvidia-installer-update-db: error: cannot fetch latest NVIDIA ids
2021-03-19 10:02:03 [WARNING]: Cannot create Nvidia cards database in /tmp
2021-03-19 10:02:03 [ERROR]: Couldn't find a driver suitable for your graphics card.
2021-03-19 10:02:03 [ERROR]: If you have an older nvidia card you may use the --force option to install nvidia-dkms and follow further instructions.
no worries, arch wiki is great, but eos made this script to help with nvidia install. I generally install my nvidia driver when installing via usb stick eos in the non free driver mode. but it can also be done via the steps shown above.
ok, looks like you have a 460.56 driver installed. I am not familiar with your gpu but I would try deinstalling the nvidia driver in tty and then try again
nvidia-installer-dkms -t
if it works you can follow through with installation and starting the most recent driver. if not I suggest to wait, we have a couple of people in this forum who can better help you further.
just fyi, I see that you have no optimus or bumblebee, I use neither, only gives me trouble.
nvidia-installer-update-db: warning: The nvidia.com site driver version is 460.67, pacman version is 460.56.
nvidia-installer-update-db: error: cannot fetch latest NVIDIA ids
2021-03-19 10:02:03 [WARNING]: Cannot create Nvidia cards database in /tmp
2021-03-19 10:02:03 [ERROR]: Couldn't find a driver suitable for your graphics card.
2021-03-19 10:02:03 [ERROR]: If you have an older nvidia card you may use the --force option to install nvidia-dkms and follow further instructions.
Sorry it is still not working! Can you please post again inxi -G to make sure nvidia is deinstalled properly.
Edit: seems you still have nvidia 460.67
We need to check wether you card is compatible with the recent nvidia drivers, I will mention @ricklinux who is knowledgable in this I believe, and might pop in here at some point.
Also did you disable secure and fast boot in your bios?
Don’t know if you’ve read the update in the OP or not but the only thing I can access right now is the grub CLI (by pressing ‘e’ during boot). Shouldn’t have messed with mkinitcpio.conf, damn it. Sorry but I guess we have to first fix that before anything else, if it is at all fixable…