You are not logged in.
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-xconfigand 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
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
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
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 nvidiaagain, 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
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 nvidiaAllan-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
bohoomil wrote:pacman -Syy (just in case) pacman -S nvidiaYou 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
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 ![]()
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 unzipStep 2: Get, Install, and Launch the script
cd /usr/bin
wget -Nc smxi.org/smxi.zip
unzip smxi.zip
./sgfxiThe 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 ![]()
Last edited by komrad_toast (2012-09-06 08:25:23)
Offline