#[SOLVED] How do I install nvidia drivers? I read the wiki but I can't figure it out.
61 messages ยท Page 1 of 1 (latest)
In most cases, it should be as simple as installing the nvidia or nvidia-open package
although it may change depending on some things
Did you edit /etc/mkinitcpio.conf and remove kms from the hooks section?
and then run mkinitcpio -P afterwards
yeah you need to do that or novueau will be included in the initramfs and be loaded on boot
Also did you add nvidia-drm-modeset=1, and add your modules?
yes
and then run this command
wait, have you installed any of the driver packages yet?
lemme grab the full list of what you need rq
nvidia-dkms (or nvidia-open-dkms)
nvidia-utils
lib32-nvidia-utils
theres a few more im trying to find
nvidia-utils should already be pulled as a dependency
and lib32-nvidia-dkms isn't a thing
nvidia (either the normal one, dkms, or open) and lib32-nvidia-utils should be good package-wise
Are you able to access another TTY with ctrl + alt + F[2-6]?
yep
Which package did you install for the driver?
You are able to access tty, that's good. Just login with your user account for now
yep
When you ran mkinitcpio -P, did you run it as root or with sudo?
not necessary for drivers (plus you wouldn't be able to access it rn anyeay bc of the boot hang)
I would recommend having the aw nvidia page open that way it's easier to follow, if possible, but this is irrelevant. Next step iss
ginme a sec
wait then how are you on discord
ye
Android or iOS?
this seems very relevant
Anyways
This is if you can't boot into a login scrren: https://wiki.archlinux.org/title/Kernel_mode_setting#Disabling_modesetting
I don't think that will work with the proprietary drivers
yesh no
i need to take a step back rq and re figure this whole thing out bc my adhd is kicking into overdrive rn (which is why im starting to go off track)
Ok so, you installed nvidia-dkms, and ran sudo mkinitcpio -P
alright
Output?
like what did you mean by hanging on this, the boot hang?
what does the boot hang look like (since ive never seen it)
take a pic of it and send it here
wait, did you install the headers for your kernel?
because you need that to use dkms
If you're using the kernel from linux, install the linux-headers package
Zen is linux-zen-headers, lts is linux-lts-headers and so on and so forth (i run zen bc gaeming)
I believe so
Yeah
Does it hang during init? (systemd, that thing with the OK text in green)
Oh
Just go to tty2, remove linux-headers and install linux-lts--headers and reboot
ok good ๐
now
Let's gooo
#9742 ๐ฃ If there is nothing else that we can do for you, please close this thread by adding "[SOLVED]" to the title.
- You can do this on desktop by clicking the three dots on the top right of the page, and pressing "Edit Post".
- You can also do this on Android / iOS by long tapping your post in the text channel list, and tapping "Edit Post".
Your title should be like so: https://cdn.discordapp.com/attachments/503224329191030787/1039841700417384498/image.png
Thank you
there might be some extra snaller things like libvaapi, vaapi support, using GBM instead of EGLstreams and things like that, those are a little more advanced