Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Mar 2007 20:38:18 -0700
From:      Garrett Cooper <youshi10@u.washington.edu>
To:        freebsd-questions@freebsd.org
Subject:   Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!
Message-ID:  <45FA112A.3030907@u.washington.edu>
In-Reply-To: <45F989B9.1050908@cyberwang.net>
References:  <45F541F3.5040309@planet.nl>	<45F61BE0.8060502@hier7.com>	<39547.68.184.120.224.1173758324.squirrel@webmail.cyberwang.net>	<200703130832.15210.fbsd-ml@scrapper.ca> <45F989B9.1050908@cyberwang.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Sean Bryant wrote:
> Norbert Papke wrote:
>> On Monday 12 March 2007 20:58, sean@cyberwang.net wrote:
>>  
>>> I'm actually having the same problem, but after I took out device agp 
>>> out
>>> of my kernel. And I still cannot start x with nvidia driver.
>>>
>>> It complains that /dev/nvidiactl couldn't be opened. And then it says it
>>> failed to load the kernel module.
>>>     
>>
>> It seems that the graphics card is not detected.  Does
>> 'pciconf -l | grep nvidia'
>>
>> show anything?
>>
>> What model is it?  If it is an older card, you may need the older 
>> version of the NVIDIA driver.
>>
>>  
>>> sysctl -a | grep nvidia
>>> hw.nvidia.version: NVIDIA UNIX x86 Kernel Module  1.0-9746  Tue Dec 19
>>> 13:20:59 PST 2006
>>> hw.nvidia.registry.EnableVia4x: 0
>>> hw.nvidia.registry.EnableALiAGP: 0
>>> hw.nvidia.registry.NvAGP: 1
>>> hw.nvidia.registry.EnableAGPSBA: 0
>>> hw.nvidia.registry.EnableAGPFW: 0
>>> hw.nvidia.registry.SoftEDIDs: 1
>>> hw.nvidia.registry.Mobile: 4294967295
>>> hw.nvidia.registry.ResmanDebugLevel: 4294967295
>>> hw.nvidia.registry.FlatPanelMode: 0
>>> hw.nvidia.registry.DevicesConnected: 0
>>> hw.nvidia.registry.RmLogonRC: 1
>>> hw.nvidia.registry.DetectPrimaryVga: 1
>>> hw.nvidia.registry.dwords:
>>>     
>>
>> For comparison, here is my output.  Note that  there are card specific 
>> entries.
>>
>> # sysctl -a | grep nvidia
>>        nvidia   603  1293K       -    38844  
>> 16,32,64,128,256,512,1024,2048,4096
>> nvidia0: <GeForce 7600 GS> port 0xbc00-0xbc7f mem 
>> 0xfd000000-0xfdffffff,0xc0000000-0xcfffffff,0xfc000000-0xfcffffff irq 
>> 16 at device 0.0 on pci3
>> nvidia0: [GIANT-LOCKED]
>> hw.nvidia.version: NVIDIA UNIX x86 Kernel Module  1.0-9746  Tue Dec 19 
>> 13:20:59 PST 2006
>> hw.nvidia.registry.EnableVia4x: 0
>> hw.nvidia.registry.EnableALiAGP: 0
>> hw.nvidia.registry.NvAGP: 1
>> hw.nvidia.registry.EnableAGPSBA: 0
>> hw.nvidia.registry.EnableAGPFW: 0
>> hw.nvidia.registry.SoftEDIDs: 1
>> hw.nvidia.registry.Mobile: 4294967295
>> hw.nvidia.registry.ResmanDebugLevel: 4294967295
>> hw.nvidia.registry.FlatPanelMode: 0
>> hw.nvidia.registry.DevicesConnected: 0
>> hw.nvidia.registry.RmLogonRC: 1
>> hw.nvidia.registry.DetectPrimaryVga: 1
>> hw.nvidia.registry.dwords:
>> hw.nvidia.cards.0.model: GeForce 7600 GS
>> hw.nvidia.cards.0.irq: 16
>> hw.nvidia.cards.0.vbios: 05.73.22.16.02
>> hw.nvidia.cards.0.type: PCI-E
>> dev.nvidia.0.%desc: GeForce 7600 GS
>> dev.nvidia.0.%driver: nvidia
>> dev.nvidia.0.%location: slot=0 function=0
>> dev.nvidia.0.%pnpinfo: vendor=0x10de device=0x0392 subvendor=0x3842 
>> subdevice=0xc547 class=0x030000
>> dev.nvidia.0.%parent: pci3
>
> It seems the driver is attached:
> nvidia0@pci1:0:0:       class=0x030000 card=0x00000000 chip=0x00f910de 
> rev=0xa2 hdr=0x00
> 
> its a 6800 GT. From BFG.  I am on CURRENT. And xorg 6.9.0

Driver section from Xorg?

Also, this could be an issue with some changes to the kernel interfaces 
for AGP / PCI-express, video, ABI, etc.. -CURRENT can be problematic 
sometimes and something may have gotten broken after an update.

You may want to take this question up on the -current@ list though.
-Garrett



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45FA112A.3030907>