View Full Version : FC6 Problem With Nvidia Driver
NAC
12th November 2006, 11:07 PM
:confused: My pc is AMD64, installed FC6 64bit version.
I Didi
rpm -ivh http://rpm.livna.org/livna-release-6.rpm
Install the Nvidia driver:
yum install kmod-nvidia
no errors during the yum
a very funny thing happened, my grub has 2 options now
1. Fedora Core 6 (2.6.18-1.2798.FC6xen)
2. Fedora Core 6 (2.6.18-1.2798)
if i choose the original (1) i met error about
cannot find nividia.ko
if i choose the option 2, then i met error like:
starting sysstat: calling the system activity data collector (sadc) realloc: success [failed]
Option 2 can find Nvidia Graphic Card, but cannot get online.
-----------------------------------------------
If i install driver manually, "sh NVIDIA-Linux-x86_64-1.0-8776-pkg2.run"
it says, cannot find kernel source, and ask me to install that, but i cannot find something like kernel source 2.6.18-1.2798.FC6xen x86_64 this file.
I am new to linux, hope someone could help.
thanks a lot
NAC
12th November 2006, 11:32 PM
by the way my FC6 with xen
jbkt23
13th November 2006, 12:40 AM
When you exicuted the yum install kmod-nvidia command did you whatch the output? I don't think there is a xen nvidia module so it probably installed the kernel that is supported.
jbkt23
NAC
13th November 2006, 01:42 AM
thanks jbkt23, i've forgotten the output, just remembered there was no error info when i doing that.
and what i think it installed the kernel may not match (2.6.18-1.2798.FC6xen)
Thetargos
13th November 2006, 02:20 AM
Did you install the kmod for your xen kernel too? What does it happen if you try to boot into single user mode, and then query the rpm database for the installed kmod-nvidia packages? To boot into single user mode, just edit your grub prompt (type "e" at the kernel entry, then "e" again at the kernel command line and append a number 1 to the end, then just press enter and then "b" to boot)
What do you see with rpm -qa | grep kmod or better yet rpm -qa | grep nvidia? You should have at least two kmod packages installed, you may want to also yum search kmod-nvidia and then pull the right one for your xen kernel.
NAC
13th November 2006, 07:36 PM
thanks a lot,Thetargos
i am going to fix it
Thetargos
13th November 2006, 07:44 PM
I forgot to mention, you may require to issue /sbin/service network start within runlevel 1, to activate the netwrok services, as I'm not sure if the network is "live" on runlevel 1 (I believe it is not)
NAC
13th November 2006, 10:39 PM
starting sysstat: calling the system activity data collector (sadc) realloc: success [failed]
what does this do?
I cannot get online if i lost it
Thetargos
13th November 2006, 10:43 PM
Can you get online from init 3? (runlevel 3, text mode, network services active)
NAC
13th November 2006, 11:00 PM
no i cannot ping nothing.
and i diid
Yum install kmod-nvidia-xen
and then i have 2 options,
Fedora Core (2.6.18-1.2849.fc6)
Fedora Core (2.6.18-1.2849.fc6xen)
fc6xen is working well now, and can get online everything has done, but the fc6 cannot.
still got
starting sysstat: calling the system activity data collector (sadc) realloc: success [failed]
NAC
13th November 2006, 11:02 PM
anyway, thanks a lot Thetargos,
thanks for u been helping me so far.
really appreciate
Thetargos
13th November 2006, 11:04 PM
Ok this whole Xen thing has gotten me confused. You are hosting any VMs on your machine or is your FC6 installation a virtualized one? Why would you require Xen any other way? Are you running FC6 under a VM or something?
NAC
13th November 2006, 11:49 PM
no, i am not running FC6 under a VM or something,
i installed from DVD FC6 64bit, and I did default installation,
frankly, i dont know what is Xen at all, I dont wanna use fc6xen,but it doesnt work on FC6 properly. and FC6 installed by yum.
after i commanded:
yum install kmod-nvidia.
so...
Thetargos
14th November 2006, 12:45 AM
OK, so mystery solved: You will have to remove any references to xen (yum remove *xen*). Since you installed a xen kernel, I'm sure the problem is that it modified the system in such a way that you can't run a straight one. Once you remove every reference to xen you should be able to boot normally (I hope)
NAC
14th November 2006, 01:41 AM
thanks hopefully
Firewing1
14th November 2006, 03:24 AM
After that, try this:su -
chkconfig sysstat off
rpm -e --allmatches kmod-nvidia
yum install kmod-nvidia
Firewing1
johannlo
15th November 2006, 01:53 PM
I have almost exactly the same problem and above didn't work - but it made the error a bit different (ie instead of dead screen I have black screen, but the monitor doesn't turn off)
brookbot
22nd November 2006, 05:58 AM
Do you guys have any updates? I have the same issue. I've seen several solutions posted on this forum, but nothing is working for me.
Mine was a default install from FC6 DVD for AMD64. I've been trying to install the correct headers to compile the Nvidia driver, but can't get that run.
Yum does not report any kmod-nvidia
[root@neo tmp]# yum search kmod-nvidia
Loading "installonlyn" plugin
Setting up repositories
Reading repository metadata in from local files
No Matches found
And I have the same xen kernel stuff it seems:
[root@neo tmp]# ls /usr/src/kernels/
2.6.18-1.2798.fc6-i686 2.6.18-1.2798.fc6-x86_64 2.6.18-1.2849.fc6-i686
I've also tried to install the nvidia drivers from Yum as was described on another post:
yum install kernel-module-nvidia-`uname -r` nvidia-glx
[root@neo brooke]# yum install kernel-module-nvidia-2.6.18-1.2798.fc6xen nvidia-glx
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
core 100% |=========================| 1.1 kB 00:00
extras 100% |=========================| 1.1 kB 00:00
updates 100% |=========================| 1.2 kB 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 1.4 MB 00:37
################################################## 4364/4364
primary.xml.gz 100% |=========================| 228 kB 00:05
################################################## 762/762
Parsing package install arguments
No Match for argument: kernel-module-nvidia-2.6.18-1.2798.fc6xen
No Match for argument: nvidia-glx
Nothing to do
Any help would be appreciated. I used to be pretty handy with Readhat, but now with yum and x64, etc. I'm some what at a loss.
-Brooke
Seve
22nd November 2006, 06:11 AM
Hello:
You need to install and or enable the livna repo to install the kmod-nvidia
drivers.
Have a look here :http://rpm.livna.org/rlowiki/UsingLivna
Seve
Thetargos
22nd November 2006, 06:46 AM
Indeed. You require the livna repository if you want the livna package, or you can always grab the installer off nVidia's site (least recommended method, as it overwrites system files)
brookbot
22nd November 2006, 06:58 AM
I just did that, found another post with instrucitons. Looks like the drivers, etc. installed just fine. So I reboot did a /sbin/init 5 and got the same screen with lines... Do I need to change /etc/X11/xorg.conf as well?
The other posted mentioned this, but it seems the changes were require for anotehr app...
Here is some pretty output:
[root@neo tmp]# rpm -ivh http://rpm.livna.org/livna-release-6.rpm
Retrieving http://rpm.livna.org/livna-release-6.rpm
warning: /var/tmp/rpm-xfer.03PtTC: Header V3 DSA signature: NOKEY, key ID a109b1
ec
Preparing... ########################################### [100%]
1:livna-release ########################################### [100%]
[root@neo tmp]# yum --enablerepo=livna install kmod-nvidia
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
livna 100% |=========================| 1.1 kB 00:00
core 100% |=========================| 1.1 kB 00:00
updates 100% |=========================| 1.2 kB 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 90 kB 00:02
################################################## 236/236
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for kmod-nvidia to pack into transaction set.
kmod-nvidia-1.0.9629-1.2. 100% |=========================| 17 kB 00:00
---> Package kmod-nvidia.x86_64 0:1.0.9629-1.2.6.18_1.2849.fc6 set to be install
ed
--> Running transaction check
--> Processing Dependency: nvidia-kmod-common >= 1.0.9629 for package: kmod-nvid
ia
--> Processing Dependency: kernel-x86_64 = 2.6.18-1.2849.fc6 for package: kmod-n
vidia
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for kernel to pack into transaction set.
kernel-2.6.18-1.2849.fc6. 100% |=========================| 200 kB 00:05
---> Package kernel.x86_64 0:2.6.18-1.2849.fc6 set to be installed
---> Downloading header for xorg-x11-drv-nvidia to pack into transaction set.
xorg-x11-drv-nvidia-1.0.9 100% |=========================| 32 kB 00:00
---> Package xorg-x11-drv-nvidia.x86_64 0:1.0.9629-1.lvn6 set to be updated
--> Running transaction check
Dependencies Resolved
================================================== ===========================
Package Arch Version Repository Size
================================================== ===========================
Installing:
kmod-nvidia x86_64 1.0.9629-1.2.6.18_1.2849.fc6 livna
1.8 M
Installing for dependencies:
kernel x86_64 2.6.18-1.2849.fc6 updates 18 M
xorg-x11-drv-nvidia x86_64 1.0.9629-1.lvn6 livna 5.1 M
Transaction Summary
================================================== ===========================
Install 3 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 25 M
Is this ok [y/N]: y
Downloading Packages:
(1/3): kernel-2.6.18-1.28 100% |=========================| 18 MB 08:01
(2/3): kmod-nvidia-1.0.96 100% |=========================| 1.8 MB 00:47
(3/3): xorg-x11-drv-nvidi 100% |=========================| 5.1 MB 02:11
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID a109b1ec
Importing GPG key 0xA109B1EC "Livna.org rpms <rpm-key@livna.org>"
Is this ok [y/N]: y
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: kernel ######################### [1/3]
Installing: kmod-nvidia ######################### [2/3]
Installing: xorg-x11-drv-nvidia ######################### [3/3]
FATAL: Module nvidia not found.
Installed: kmod-nvidia.x86_64 0:1.0.9629-1.2.6.18_1.2849.fc6
Dependency Installed: kernel.x86_64 0:2.6.18-1.2849.fc6 xorg-x11-drv-nvidia.x86_
64 0:1.0.9629-1.lvn6
Complete!
Thetargos
22nd November 2006, 07:02 AM
I don't understand... You mean you installed through the nvidia installer and THEN the Livna packages? Or did you only enabled the Livna repository and installed with that?
Thetargos
22nd November 2006, 07:10 AM
Running Transaction
Installing: kernel ######################### [1/3]
Installing: kmod-nvidia ######################### [2/3]
Installing: xorg-x11-drv-nvidia ######################### [3/3]
FATAL: Module nvidia not found.
Installed: kmod-nvidia.x86_64 0:1.0.9629-1.2.6.18_1.2849.fc6
Dependency Installed: kernel.x86_64 0:2.6.18-1.2849.fc6 xorg-x11-drv-nvidia.x86_
64 0:1.0.9629-1.lvn6
Complete!
According to this it would seem that the module could not be loaded, as your currently running kernel does not have the module, hence the error there. I think I understand what you mean now. You will have to reboot the machine for the kernel driver to be loaded as it is made for a different version of the kernel that the one you are currently running. Hence you have to reboot with the newer kernel.
And yes, you will have to make some changes to your /etc/X11/xorg.conf file... Mainly something like this:
Section "ServerLayout"
...
Option "AIGLX" "true"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "record"
Load "freetype"
Load "type1"
Load "glx"
Load "dri"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "nvidia"
Option "NoFlip" "true"
Option "NoLogo" "true"
Option "NVAGP" "3"
Option "HwCursor" "true"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
Option "metamodes" "nvidia-auto-select +0+0; 1280x1024_75 +0+0"
Option "AddARGBGLXVisuals" "true"
Option "RenderAccel" "true"
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "enable"
EndSection
There are a lot of optional stuff there, like all the options in the Section "Device". The option in the ServerLayout is only required if you want to enable the desktop effects, as well as the option in the Section "Extensions". The metamodes in Section "Screen" is for the driver accureately set the refresh rate on my monitor, you may want to leave it blank so the driver can determine what's best for you. The Section "Modules" is only for reference, I believe that the livna package adds that for you, but if it does not, just add that. Once done, restart X (log out and press ctrl+alt+backspace, or reboot the machine)
brookbot
22nd November 2006, 08:36 AM
Thanks, that fixed it - finally! Now I have Linux on my HDTV :p Next up will be to install MythTv and get the HDTV capture card working...
Took me a while to realize that Grub indexes on 0 ie. deafult=0 Gives you the first kernel listed in /boot/grub/grub.conf. The "hiddenmenu" featuer was also on by default - so I couldn't see what kernels I had. I guess I have three kernels on my system now and I was booting the wrong one for a while.
Seems the new kernel still has some issues though, I'm getting this error durring boot:
FATAL: Error inserting acpi_cpufreq (/lib/modules/2.6.18-1.2849.fc6/kernel/archx86_64/kernel/cpufreq/acpi-cpufreq.ko): No such device
Any ideas what this may be from? I really would prefer to not have to compile my own kernel, but it looks like I may have to...
-Brooke
Thetargos
22nd November 2006, 08:42 AM
That's the generic ACPI driver for CPU scaling, is a harmless error. The FATAL: words look ugly, but as long as your CPU uses PowerNow! or SpeedStep, you shouldn't worry. To see the menu in Grub and stop the counter, you just have to press any key. I actually prefer not to see the menu and if I have to change the kernel/OS I'm booting, I need to be paying attention, so I have the timer set to 1 second. You may actually only remove the Grub entries of those kernels, and leave at leats one as "fallback".
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.