[arch-general] NV GeForce 7600, nvidia-304xx-lts, but Failed to load module "nvidia"

Doug Newgard scimmia at archlinux.info
Thu Oct 23 19:03:51 UTC 2014


On Thu, 23 Oct 2014 20:30:55 +0200
Csányi Pál <csanyipal at gmail.com> wrote:

> Hi,
> 
> I'm trying to replace nouveau driver with nvidia-304xx-lts for my
> NVIDIA Corporation G73 [GeForce 7600 GT] videocard.
> 
> I'm following advices at https://wiki.archlinux.org/index.php/Nvidia.
> 
> I have installed the linux kernel: core/linux-lts 3.14.21-1.
> 
> I modified the script for switching from nouveau to nvidia, like:
> [code]
> #!/bin/bash
> # nouveau -> nvidia
> # run as root
> 
> set -e
> 
> # check if root
> if [[ $EUID -ne 0 ]]; then
>    echo "You must be root to run this script. Aborting...";
>    exit 1;
> fi
> 
> if [ -e /etc/X11/xorg.conf.d/30-nouveau.conf ]
>     then rm -v /etc/X11/xorg.conf.d/30-nouveau.conf
> fi
> 
> cp /Adatok/ArchLinuxBeallitasok/30-nvidia.conf /etc/X11/xorg.conf.d/
> 
> sed -i 's/MODULES="nouveau"/#MODULES="nouveau"/' /etc/mkinitcpio.conf
> 
> pacman -Rdds --noconfirm xf86-video-nouveau mesa-libgl lib32-mesa-dri
> lib32-mesa-libgl
> pacman -S --noconfirm nvidia-304xx-lts lib32-nvidia-304xx-libgl
> 
> mkinitcpio -p linux
> 
> reboot
> [/code]
> 
> The 30-nvidia.conf is:
> [code]
> Section "Device"
>         Identifier "Nvidia Card"
>         Driver "nvidia"
>         VendorName "NVIDIA Corporation"
>         Option "NoLogo" "true"
> EndSection
> [/code]
> 
> When I run after reboot and bash login:
> $ startx
> 
> I get not the X Window system, but error messages.
> The /var/log/Xorg.0.log file is:
> [log]
> [   229.009] (II) LoadModule: "nvidia"
> [   229.009] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
> [   229.010] (II) Module nvidia: vendor="NVIDIA Corporation"
> [   229.010]    compiled for 4.0.2, module version = 1.0.0
> [   229.010]    Module class: X.Org Video Driver
> [   229.012] (EE) NVIDIA: Failed to load the NVIDIA kernel module.
> Please check your
> [   229.012] (EE) NVIDIA:     system's kernel log for additional
> error messages. [   229.012] (II) UnloadModule: "nvidia"
> [   229.012] (II) Unloading nvidia
> [   229.013] (EE) Failed to load module "nvidia" (module-specific
> error, 0) [   229.013] (EE) No drivers available.
> [/log]
> 
> What am I missing here? How can I solve this problem?
> 

It tells you the kernel module is not loaded, so start there. modprobe
it and see what happens. BTW, the sed line in that script is pretty bad.


More information about the arch-general mailing list