Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Apr 2005 23:50:45 -0400 (EDT)
From:      Mikhail Teterin <mi@corbulon.video-collage.com>
To:        emulation@FreeBSD.org
Cc:        amd64@FreeBSD.org
Subject:   forcing NVidia's driver for Linux/amd64 to work on FreeBSD/amd64
Message-ID:  <200504130350.j3D3ojql043997@corbulon.video-collage.com>

next in thread | raw e-mail | index | archive | help
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



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