[arch-general] NV GeForce 7600, nvidia-304xx-lts, but Failed to load module "nvidia"
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? -- Regards from Pal
On Thu, 23 Oct 2014 20:30:55 +0200 Csányi Pál <csanyipal@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.
2014-10-23 21:03 GMT+02:00 Doug Newgard <scimmia@archlinux.info>:
On Thu, 23 Oct 2014 20:30:55 +0200 Csányi Pál <csanyipal@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.
I did: modprobe nvidia and I get not any message, but the nvidia modell can't be loaded into kernel. -- Regards from Pal
2014-10-24 7:01 GMT+02:00 Csányi Pál <csanyipal@gmail.com>:
2014-10-23 21:03 GMT+02:00 Doug Newgard <scimmia@archlinux.info>:
On Thu, 23 Oct 2014 20:30:55 +0200 Csányi Pál <csanyipal@gmail.com> wrote:
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.
I did several mistakes here. I had installed two versions of kernels: linux and linux-lts I thought that that I must for nvidia to work to install nvidia-304xx-lts because I didn't notice that that I actually uses the linux kernel and not the linux-lts kernel. So, after I noticed my mistake, I uninstalled first linux-lts, then modifiy the script, like so: [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 's/MODULES="nouveau"/MODULES="nvidia"/i' /etc/mkinitcpio.conf echo "Now is the 'MODULES="nvidia"' in /etc/mkinitcpio.conf" pacman -Rdds --noconfirm xf86-video-nouveau mesa-libgl lib32-mesa-dri lib32-mesa-libgl pacman -S --noconfirm nvidia-304xx lib32-nvidia-304xx-libgl mkinitcpio -p linux reboot [/code] When I did run this script as root, I get finally X Window system with nvidia driver. I just don't like that that the console fonts is too big when I get after (re)boot the console login prompt ( not X Window system ). I thought that that if I put the line MODULES="nvidia in the /etc/mkinitcpio.conf then I should get smaller console fonts. -- Regards from Pal
On Fri, Oct 24, 2014 at 2:16 PM, Csányi Pál <csanyipal@gmail.com> wrote:
I just don't like that that the console fonts is too big when I get after (re)boot the console login prompt ( not X Window system ).
I thought that that if I put the line MODULES="nvidia in the /etc/mkinitcpio.conf
then I should get smaller console fonts.
-- Regards from Pal
Smaller fonts = the native resolution = KMS, which the proprietary nvidia driver doesn't implement. Try https://wiki.archlinux.org/index.php/Uvesafb
On Fri, Oct 24, 2014 at 2:16 PM, Csányi Pál <csanyipal@gmail.com> wrote:
I just don't like that that the console fonts is too big when I get after (re)boot the console login prompt ( not X Window system ).
If you use the console often, I highly recommend these kernel parameters: video=vesafb:ywrap,mtrr:3 vga=791 It speeds up scrolling dramatically.
2014-10-24 17:22 GMT+02:00 SanskritFritz <sanskritfritz@gmail.com>:
On Fri, Oct 24, 2014 at 2:16 PM, Csányi Pál <csanyipal@gmail.com> wrote:
I just don't like that that the console fonts is too big when I get after (re)boot the console login prompt ( not X Window system ).
If you use the console often, I highly recommend these kernel parameters: video=vesafb:ywrap,mtrr:3 vga=791
Should it be added in grub.cfg as follows? linux<->/boot/vmlinuz-linux root=UUID=60f0975e-f90f-432b-9576-81b471b916a3 video=vesafb:ywrap,mtrr:3 vga=791 rw quiet -- Regards from Pal
* Csányi Pál <csanyipal@gmail.com> (Fri, 24 Oct 2014 19:45:07 +0200):
If you use the console often, I highly recommend these kernel parameters: video=vesafb:ywrap,mtrr:3 vga=791
Should it be added in grub.cfg as follows?
linux<->/boot/vmlinuz-linux root=UUID=60f0975e-f90f-432b-9576-81b471b916a3 video=vesafb:ywrap,mtrr:3 vga=791 rw quiet
Yes, that's the kernel command line. Regards, Marcel
Hi Marcel, 2014-10-24 20:58 GMT+02:00 Marcel Korpel <marcel.korpel@gmail.com>:
* Csányi Pál <csanyipal@gmail.com> (Fri, 24 Oct 2014 19:45:07 +0200):
If you use the console often, I highly recommend these kernel parameters: video=vesafb:ywrap,mtrr:3 vga=791
Should it be added in grub.cfg as follows?
linux<->/boot/vmlinuz-linux root=UUID=60f0975e-f90f-432b-9576-81b471b916a3 video=vesafb:ywrap,mtrr:3 vga=791 rw quiet
Yes, that's the kernel command line.
It works and I have now the same console resolution as I had before with nouveau driver. I modified the switching script that switch nvidia driver from nouveau to nvidia and this script works: [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 lib32-nvidia-304xx-libgl mkinitcpio -p linux reboot [/code] Of course, one must to changes this script if she/he has different linux kernel installed. -- Regards from Pal
participants (5)
-
Csányi Pál
-
Doug Newgard
-
Karol Blazewicz
-
Marcel Korpel
-
SanskritFritz