forcing NVidia's driver for Linux/amd64 to work on FreeBSD/amd64

Scott Long scottl at samsco.org
Tue Apr 12 21:26:11 PDT 2005


Mikhail Teterin wrote:
> Hello!
> 
> Based on the x11/nvidia-driver port I compile the open-source bits of the FreeBSD-driver.
> 
> I then link them with the binary-only piece from NVidia, which produces an nvidia.ko, that
> can be kldloaded to say:
> 
> kernel: nvidia0: <Quadro FX 1000> mem 0xe0000000-0xe7ffffff,0xfd000000-0xfdffffff irq 16 at device 0.0 on pci1
> 
> I then put the Linux version of nvidia_drv.o into X11BASE/lib/modules/drivers/ and try to start X
> using the same config file I used with this same card on my older Xeon system.
> 
> 
> The machine hangs solid -- the last things I see from the X-server are:
> 
> 	[...]
> 	(II) Setting vga for screen 0.
> 	(**) NVIDIA(0): Depth 16, (--) framebuffer bpp 16
> 	(==) NVIDIA(0): RGB weight 565
> 	(==) NVIDIA(0): Default visual is TrueColor
> 	(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
> 	(**) NVIDIA(0): Option "TwinView"
> 	(**) NVIDIA(0): Option "TwinViewOrientation" "LeftOf"
> 	(**) NVIDIA(0): Option "MetaModes" "1600x1200,1600x1200"
> 	(==) NVIDIA(0): Using HW cursor
> 	(==) NVIDIA(0): Video key set to default value of 0x83e
> 	(**) NVIDIA(0): TwinView enabled
> 	(--) NVIDIA(0): Linear framebuffer at 0xE0000000
> 	(--) NVIDIA(0): MMIO registers at 0xFD000000
> 
> Is mine a totally wrong method, or is there hope? Any suggestions?
> 
> I just want my two screens to work again :-)
> 
> Thanks!
> 
> 	-mi

The Linux driver is likely assuming that it can use the PAT extension of
the CPU, but we don't support it (yet).

Scott


More information about the freebsd-emulation mailing list