You are not logged in.

#1 2023-11-17 11:34:22

Idiot
Member
Registered: 2023-10-15
Posts: 7

[Solved] Nvidia drivers breaking when trying to install desktop

I’m having a major issue with the proprietary Nvidia drivers I’m trying to install.

After breaking something with my previous Arch Linux installation, details of which I won’t go into for the sake of staying within the context of this post, I decided a fresh reinstall was needed. I did everything, partitioning, formatting, installing Linux etc. etc. For reference, I followed a guide by SomeOrdinaryGamers (https://youtu.be/_JYIAaLrwcY?si=u2id824A2MdLda_h) which is probably a HORRIBLY stupid thing to do, but the process has worked perfectly multiple times before on a couple different machines, so I saw no reason to question it. Everything was going smoothly with no issues, up until installing and configuring the Nvidia drivers.

Again, I followed the guide, making sure everything was exactly as they should be. For reference, I installed the packages: nvidia-dkms libglvnd nvidia-utils opencl-nvidia lib32-libglvnd lib32-nvidia-utils lib32-opencl-nvidia nvidia-settings

Booting into the installation looked promising, but when installing a display server and desktop environment (Wayland and Gnome), mkinitcpio errors out during the install. I can’t get a full output of the command, but everything worked perfectly, except it would spit out the error: ==> ERROR: module not found: ‘nvdia_drm’,
along with:
==> WARNING: errors were encountered during the build. The image may not be complete.

I made sure the linux-headers package was installed, which seemed to be a common theme when trying to find a fix for the issue. I’m not using any sort of fancy custom kernel or the linux-hardened or linux-zen kernels or anything like that. Can anyone please explain how to fix this?

Last edited by Idiot (2023-11-24 21:37:01)

Offline

#2 2023-11-17 11:48:46

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,232

Re: [Solved] Nvidia drivers breaking when trying to install desktop

Stop following youtube videos and follow https://wiki.archlinux.org/title/NVIDIA#Installation instead, in particular pay attention to step 5.

If that didn't help, post your full journal

sudo journalctl -b

And while it'd be advised to reinstall the system entirely following the correct guide https://wiki.archlinux.org/title/Installation_guide we'll miimally need that information.

Why can you not get the full output of the command? https://wiki.archlinux.org/title/List_o … n_services

Offline

Board footer

Powered by FluxBB