You are not logged in.
Pages: 1
Topic closed
Hi,
I succesfully installed arch this week following the instructions on the arch wiki. After that I installed the nvidia proprietary drivers and the necessary Xorg packages with pacman.
After rebooting the system and trying to start an Xsession I got the error
unable to connect to X server and unexpected signal 2.
I narrowed the problem down to it being that my nvidia drivers aren't installed properly. My Xorg.log.0 file ends with the first error being
Failed to initialize the NVIDIA kernel module. Please see the system's kernel log for additional error messages and consult the NVIDIA README for details.
From this I understood that - altough the instructions on the arch wiki say to first; download the necessary packages with pacman, secondly; configuring X with
nvidia-xconfig, (which I both did) - the kernel modules still weren't loaded properly.
I then looked up how to do this, and tried
sudo systemctl enable nvidia which gave the error Failed to enable unit: File nvidia.services: No such file or directory.
I also tried
sudo modprobe nvidiawhich gave me FATAL: Module nvidia not found in directory /lib/modules/4.4.46-1-lts".
And that error is correct, since the modules are in the directory /lib/modules/extramodules-4.9-ARCH.
I don't know if this location is normal, from what I've read I don't think so, and I haven't found any information on where pacman should put the nvidia files. I also don't know which file in /lib/modules/extramodules-4.9-ARCH needs to be loaded. (Also, the files have 4.9 in them, something else then the current kernel I'm using, 4.4.46-1-lts)
So my question is if it's normal that the files for the nvidia drivers are where they are, and what I need to do to fix it, or where I read about it. Also if someone knows what information I'm missing (that's not on the wiki) and where I can read about it, please tell me, because the reason I'm stuck is mainly due to me not knowing how it should work. Just following steps only works out if things go as planned.
Thank you.
My graphics card:
NVIDIA Corporation GM204 [Geforce GTX 970] (Kernel modules: nouveau) never installed nouveau
Kernel version:
uname -r4.4.46-1-ltsOutput of
systemctl is-active nvidiainactiveInstalled nvidia packages (I installed some extra nvidia-related packages afterwards):
pacman -Ql nvidianvidia /usr/
nvidia /usr/lib/
nvidia /usr/lib/modprobe.d
nvidia /usr/lib/modprobe.d/nvidia.conf
nvidia /usr/lib/modules/
nvidia /usr/lib/modules/extramodules-4.9-ARCH/
nvidia /usr/lib/modules/extramodules-4.9-ARCH/nvidia-drm.ko.gz
nvidia /usr/lib/modules/extramodules-4.9-ARCH/nvidia-modeset.ko.gz
nvidia /usr/lib/modules/extramodules-4.9-ARCH/nvidia-uvm.ko.gz
nvidia /usr/lib/modules/extramodules-4.9-ARCH/nvidia.ko.gzLast edited by CoreCat (2017-02-05 17:25:43)
Offline
Kernel modules are specific to the kernel they're built for. Install the correct package for the kernel you're using.
Offline
From NVIDIA
For GeForce 400 series cards and newer [NVCx and newer], install the nvidia or nvidia-lts package along with nvidia-libgl.
For the linux-lts kernel you need the matching nvidia-lts package.
It is possible that after installing the driver it may not be needed to create an Xorg server configuration file.
It is recomended to start with no xorg.conf.
edit:
Add missing link
Last edited by loqs (2017-02-05 16:59:43)
Offline
Okay thanks, I'm going to try to deïnstall the current nvidia packages and search for the right ones and install those.
Offline
Thanks alot! It worked. I hadn't tought there was a difference between lts and the other in terms of modules, kinda logical tough.
I had used manjaro before, and this is the first time I got my nvidia card working on an arch-based system.
Seems I'm not familiar enough with pacman yet.
Again, thanks for the quick answer, Scimmia and Ioqs!
Offline
Be sure to edit your first post and prepend [SOLVED] to the thread title.
Edit: Never Mind ![]()
Last edited by ewaller (2017-02-05 17:26:32)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
same problem with me ,solved by pacman -S nvidia-lts
Offline
Don't necrobump, especially solved threads:
https://wiki.archlinux.org/index.php/Co … bumping.22
Closing
Offline
Pages: 1
Topic closed