PDA

View Full Version : FC7 nvidia



Saint Mike
2nd June 2007, 05:39 AM
Hey,

Having issues trying to install kmod-nvidia off livna

It's apparently installed kmod-nvidia-1.0.9755-3.2.6.21_1.3194.fc7 ....Is this right?

rebooting after i install it makes xorg freak out saying there is no /dev/nvidiactl

This is the config it was trying to run strait after install.. and didnt like :(

Anyone got it working yet? could you show me what your rpm -qa | grep kmod-nvidia and ls -l /dev/nvidia* shows



# Xorg configuration created by livna-config-display

Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
ModulePath "/usr/lib/xorg/modules/extensions/nvidia"
ModulePath "/usr/lib/xorg/modules"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
Option "AddARGBGLXVisuals" "True"
Option "DisableGLXRootClipping" "True"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1280x960" "1280x800" "1280x720" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Seve
2nd June 2007, 05:46 AM
Hello:
I have the following installed
$ rpm -aq | grep -F nvidia
xorg-x11-drv-nvidia-1.0.9755-2.lvn7
kmod-nvidia-1.0.9755-3.2.6.21_1.3194.fc7

and
$ locate nvidiactl
/dev/nvidiactl
/etc/udev/devices/nvidiactl

$ yum list installed | grep kernel
kernel.i686 2.6.21-1.3194.fc7 installed
kernel-devel.i686 2.6.21-1.3194.fc7 installed
kernel-headers.i386 2.6.21-1.3194.fc7 installed

$ ls -lhn /dev/nvidia*
crw------- 1 500 0 195, 0 2007-03-10 04:21 /dev/nvidia0
crw------- 1 500 0 195, 1 2007-03-10 04:21 /dev/nvidia1
crw------- 1 500 0 195, 2 2007-03-10 04:21 /dev/nvidia2
crw------- 1 500 0 195, 3 2007-03-10 04:21 /dev/nvidia3
crw------- 1 500 0 195, 255 2007-03-10 04:21 /dev/nvidiactl



Seve

saqer
2nd June 2007, 06:00 AM
I had the same problem. It starts at the very beginnign when udev panics of being not able to copy the nvidia device files /etc/udev/devices/nvidia*. The message during the boot process looks like this:

Starting udev cp: cannot stat 'nvidia0': permission denied.
cp: cannot stat 'nvidia1': permission denied.
.
.
cp: cannot stat 'nvidiactl': permission denied.

then xorg panics for not finding nvidia* devices. Although the nvidia module is loaded according to modprobe.

My system is FC7-x86_64

The interesting part of this is that if I install kmod-nvidia and only restart X, I get the system to be fully accelerated with nvidia drivers. Only Udev panics and then does xorg when I reboot.

dwflo
2nd June 2007, 06:06 AM
Having Same problem here.
Will wait until there are more updates, things should improve...hopefully! :D

Finalzone
2nd June 2007, 06:21 AM
I have posted a workaround (http://forums.fedoraforum.org/showpost.php?p=801124&postcount=17) for people who used livna Nvidia driver. The method does not require to disable SELinux.




Using a terminal as root, create a file called 60-nvidia.nodes with the command:

vi /etc/udev/makedev.d/60-nvidia.nodes
or


gedit /etc/udev/makedev.d/60-nvidia.nodes
Add these lines


nvidia0
nvidia1
nvidia2
nvidia3
nvidiactl

Save them. For vi command, do ESC, ":", type "wq".
Deletethe files included in /etc/udev/devices as they are depreciated.
Reboot. You should get hardware acceleration with Nvidia driver.

Saint Mike
2nd June 2007, 06:24 AM
I disabled selinux and installed kenel-devel(dont think this had anything to do with it) and it works fine now :)

Firewing1
2nd June 2007, 06:26 AM
There's a bug report at Livna, it's a SELinux bug - Disable it for now and things should be better.
Firewing1

charlie_D
2nd June 2007, 06:33 AM
My laptop runs the drivers fine, It's an old(er) R3240CA compaq, so the video is an MX420.


xorg-x11-drv-nvidia-96xx-1.0.9631-11.lvn7
kmod-nvidia-96xx-1.0.9631-12.2.6.21_1.3194.fc7

ls -l /dev/nvidia*


crw------- 1 $me root 195, 0 2007-04-29 04:56 /dev/nvidia0
crw------- 1 $me root 195, 1 2007-04-29 04:56 /dev/nvidia1
crw------- 1 $me root 195, 2 2007-04-29 04:56 /dev/nvidia2
crw------- 1 $me root 195, 3 2007-04-29 04:56 /dev/nvidia3
crw------- 1 $me root 195, 255 2007-04-29 04:56 /dev/nvidiactl

EDIT: I need to post faster ;) Oh well, I'll leave this here anyway; I do have SElinux running (permissive)

saqer
2nd June 2007, 06:38 AM
thanx everybody for the replies. The workaround fixed it for me. Do we have to erase the file when the problem is fixed?

roskoo
2nd June 2007, 06:38 AM
same issue here, following the first reboot
nvidia geforce fx5200
yum install kmod-nvidia, repo livna

Finalzone
2nd June 2007, 06:47 AM
thanx everybody for the replies. The workaround fixed it for me. Do we have to erase the file when the problem is fixed?

Only erase files inside /etc/udev/devices to remove udev problem.

Firewing1
2nd June 2007, 07:04 AM
Thanks for the workaround Finalzone, I'm adding it to the Livna RPMs now. I just wanted to make sure because I'm very inexperienced with anything udev and SELinux - Should the package be providing something like makedev.d/60nvidia?
Firewing1

saqer
2nd June 2007, 07:06 AM
Only erase files inside /etc/udev/devices to remove udev problem.
I got this part already, thanks to your hint. I was asking about the file 60-nvidia.nodes we created whether we keep it even after SELinux issue is resolved.

Finalzone
2nd June 2007, 07:34 AM
Thanks for the workaround Finalzone, I'm adding it to the Livna RPMs now. I just wanted to make sure because I'm very inexperienced with anything udev and SELinux - Should the package be providing something like makedev.d/60nvidia?
Firewing1

Yes according to udev maintainer (https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=241712#c15).



I was asking about the file 60-nvidia.nodes we created whether we keep it even after SELinux issue is resolved.

Yes, keep the file 60-nvidia.nodes because it is used by udev for booting.

Seve
2nd June 2007, 07:42 AM
Hello:
I have SELinux disabled and as such the nVidia drivers appear to work .... other than SLI and Beryl
If I want to see a total 100% lock-up all I have to do is try and start beryl-manager with SLI enabled. :(

Seve

Firewing1
2nd June 2007, 03:58 PM
There's a new nVidia build in livna-testing:

yum --enablerepo=livna-testing update xorg-x11-drv-nvidia
or

yum --enablerepo=livna-testing update xorg-x11-drv-nvidia-96xx
These packages should fix the problem.
Firewing1

coppertrail
2nd June 2007, 11:14 PM
I'm having a very strange problem after installing kmod-nvidia. It installs fine, but when I reboot, I log into FC7, and the desktop freezes, displaying none of the items in the upper right hand portion of the screen. I have to kill X to get out of it. I removed kmod-nvidia (it left livna-config-display behind) and rebooted, same problem. Went in under init 3, removed livna-config-display, and it works fine.

Do I need to do something with livna-config-display before I log into X after installing? I have a 7600GT video card.

Thanks