You are not logged in.
and yet:
[root@mythfe01 dev]# ls -alh nvid*
crw-rw-rw- 1 root root 195, 0 Mar 26 16:06 nvidia0
crw-rw-rw- 1 root root 195, 255 Mar 26 16:06 nvidiactl
and:
[root@mythfe01 dev]# lsmod | grep nv
nvidia 4083280 0
agpgart 28872 1 nvidia
but:
NVIDIA: could not open the device file /dev/nvidia0 (Input/output error).
(EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device!
(EE) NVIDIA(0): *** Aborting ***
I am using a homemade kernel, but i can't think of a reason why that would prevent things from working properly considering the module loaded ok.
Any thoughts?
Offline
Do you use udev? Have a look if there is a ruleset for nvidia, I remember there was one. Afaik, nvidia should be owned by the video group - well, once it was, I am not up to date and have no arch machine with nvidia right now.
Frumpus ♥ addict
[mu'.krum.pus], [frum.pus]
Offline
Permissions shouldn't be a problem yet, I was experimenting as root.
Offline
Do you use udev? Have a look if there is a ruleset for nvidia, I remember there was one. Afaik, nvidia should be owned by the video group - well, once it was, I am not up to date and have no arch machine with nvidia right now.
Could anyone specify how to do that? I have the exact same problem, although I use the default kernel that came with Arch.
NVIDIA: could not open the device file /dev/nvidia0 (Permission denied).
NVIDIA: Direct rendering failed; attempting indirect rendering.
[kristjans@myhost ~]$ cat /proc/driver/nvidia/cards/0
Model: GeForce 6200 TurboCache(TM)
IRQ: 22
Video BIOS: 05.44.02.52.00
Card Type: PCI-E
DMA Size: 39 bits
DMA Mask: 0x7fffffffff
[kristjans@myhost dev]$ ls -alh nvid*
crw-rw---- 1 root 27 195, 0 2007-10-06 19:10 nvidia0
crw-rw-rw- 1 root 27 195, 255 2007-10-06 19:10 nvidiactl
[kristjans@myhost dev]$ lsmod | grep nv
nvidia 6829684 40
i2c_core 20352 2 nvidia,i2c_piix4
agpgart 27224 2 nvidia,ati_agp
Last edited by KSiimson (2007-10-11 04:23:18)
Offline
Try adiing the following section to xorg.conf:
Code:
Section "DRI"
Mode 0666
EndSection
Offline
Try adiing the following section to xorg.conf:
Code:Section "DRI"
Mode 0666
EndSection
Nvidia doesn't use dri. And even if it did, this isn't done anymore.
The nvidia device nodes are not owned by the video group on Arch (Gentoo has a special setup so they are), but here I have
ls -l /dev/nvidia*
crw-rw-rw- 1 root root 195, 0 mar 8 16:06 /dev/nvidia0
crw-rw-rw- 1 root root 195, 255 mar 8 16:06 /dev/nvidiactl
this means that *everyone* can access the nvidia card. Probably not the safest, which is why Gentoo changes it, but at least things work without requiring further configuration.
Edit: Oh wow, I just noticed this is a massive necro-bump. dklovedoctor, you resurrected a *years* old thread to give incorrect advice. Whoa.
Last edited by Gusar (2012-03-14 09:32:20)
Offline