You are not logged in.

#1 2012-09-05 02:00:48

komrad_toast
Member
From: New York
Registered: 2012-08-24
Posts: 37

[SOLVED] Issues with nvidia, module not found.

Hello again everyone, I recently tried installing the nvidia 304.43-1 driver, on the 3.5.3-1-ARCH kernel. Instead of just doing

$ pacman -S nvidia

(as i had issues with that before) I decided to try to compile it from source, following the instruction on the Wiki. I got the driver installed without error, and rebooted, in to a graphical environment. I am assuming it was running on nouveau still, as after i ran

# nvidia-xconfig

and restarted X it gave me the eror saying "module nvidia not found" and X failed to initialize. This is the same error i recieved when installing by pacman. Am i missing a step in installing? Do i need to add nvidia to my mkinitcpio.conf or something?

Last edited by komrad_toast (2012-09-06 08:25:34)

Offline

#2 2012-09-05 02:17:34

komrad_toast
Member
From: New York
Registered: 2012-08-24
Posts: 37

Re: [SOLVED] Issues with nvidia, module not found.

Update -- I have located the nvidia.ko.gz file and i copied it to /lib/modules/3.5.3-1-ARCH/kernel/drivers/video/nvidia.ko.gz (I also tried naming it just nvidia.ko, in the same directory). And when i try to start x with the generated xorg.conf it now tells me "ERROR: could not insert 'nvidia': no such device". I have a NVidia GeForce 8400 GS.

Offline

#3 2012-09-05 08:11:01

harroxelas
Member
Registered: 2012-02-08
Posts: 12

Re: [SOLVED] Issues with nvidia, module not found.

Have you tried this? I have the same card as you and that's what I used some months ago to install my nvidia drivers.

Offline

#4 2012-09-05 08:48:42

bohoomil
Banned
Registered: 2010-09-04
Posts: 2,377
Website

Re: [SOLVED] Issues with nvidia, module not found.

komrad_toast wrote:

Update -- I have located the nvidia.ko.gz file and i copied it to /lib/modules/3.5.3-1-ARCH/kernel/drivers/video/nvidia.ko.gz (I also tried naming it just nvidia.ko, in the same directory). And when i try to start x with the generated xorg.conf it now tells me "ERROR: could not insert 'nvidia': no such device". I have a NVidia GeForce 8400 GS.

nvidia module is not located in the directory you copied it to. Besides, do not copy kernel modules manually. Run

pacman -Syy (just in case)
pacman -S nvidia

again, then remove /etc/X11/xorg.conf and report back if still things go wrong (include the message).

Edit: Don't forget to remove any nvidia leftovers you copied manually.

Last edited by bohoomil (2012-09-05 09:03:56)


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#5 2012-09-05 09:41:17

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,362

Re: [SOLVED] Issues with nvidia, module not found.

bohoomil wrote:
pacman -Syy (just in case)
pacman -S nvidia

.

You missed out a -u there, you just told him to sync mirrors and install something without updating. Given this is a kernel module, what if its not for the kernel version he currently has?

OP, the safer way to do what is above is:-

pacman -Syyu nvidia

Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#6 2012-09-05 09:49:57

bohoomil
Banned
Registered: 2010-09-04
Posts: 2,377
Website

Re: [SOLVED] Issues with nvidia, module not found.

ngoonee wrote:
bohoomil wrote:
pacman -Syy (just in case)
pacman -S nvidia

You missed out a -u there, you just told him to sync mirrors and install something without updating. Given this is a kernel module, what if its not for the kernel version he currently has?

Of course -- I typed it automatically without checking again before posting. Thank you for correcting this.


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#7 2012-09-06 07:34:51

komrad_toast
Member
From: New York
Registered: 2012-08-24
Posts: 37

Re: [SOLVED] Issues with nvidia, module not found.

Thank you harroxelas (and of course everyone else that took the time to respond to my question)! The smxi script worked perfectly. To anyone else having the same issue as me, I HIGHLY recommend this script. However, i still cannot play Minecraft sad

For a quick run-down of what i did to install the driver:

Step 1: Exit X. Log in as root on a TTY (I just used TTY1)

Step 1.5 (optional): If you do not have the 'unzip' package already, install it with pacman.

pacman -S unzip

Step 2: Get, Install, and Launch the script

cd /usr/bin
wget -Nc smxi.org/smxi.zip
unzip smxi.zip 
./sgfxi

The sgfxi script is the script that installs the nvidia driver, you can also launch the smxi script for some more options, including the installation of the nvidia driver. This script is all i needed however.

After step two, the installer should guide you through the rest of the process



Another quick question for anyone willing to take the time to answer, how do I get GLX working? nvidia-settings says it "Failed to query the GLX server vendor." and glxinfo returns this - "glxinfo: error while loading shared libraries: libGL.so.1: wrong ELF class: ELFCLASS32". It is trying to use the 32-bit libraries instead of the 64-bit, any suggestions on how to coerce it to use the 64-bit ones?

UPDATE: Installed lib32-nvidia-utils. Removed the files from nvidia-utils and re-installed nvidia-utils and lib32-nvidia-utils. I had to do it this way because "sudo pacman -R nvidia-utils couldn't find thee package, even though it WAS on my system) However, now glxinfo returns "Xlib:  extension "GLX" missing on display ":0.0"." I have absolutely no idea what is happening at this point.

UPDATE 2: Got it fixed, a simple reboot did the trick. Thanks for the help once again guys smile

Last edited by komrad_toast (2012-09-06 08:25:23)

Offline

Board footer

Powered by FluxBB