[PREVIEW] Nouveau on FreeBSD
Robert Noland
rnoland at FreeBSD.org
Fri Mar 20 23:19:27 PDT 2009
On Sat, 2009-03-21 at 09:12 +0300, Anonymous wrote:
> Robert Noland <rnoland at FreeBSD.org> writes:
>
> [...]
> >
> > http://people.freebsd.org/~rnoland/drm-nouveau-031909.patch
> >
> > robert.
>
> Looks like after adding the driver to kernel config
>
> option drm
> option nouveaudrm
hrm, I'm not that familiar with adding new modules... So I may have
screwed something up.
I only build it as a module.
> make(1) spews following warnings near the begining of output from
> buildkernel target
>
> "Makefile", line 2936: warning: duplicate script for target "nouveau_dma.ln" ignored
> "Makefile", line 2939: warning: duplicate script for target "nouveau_dma.o" ignored
> "Makefile", line 2941: warning: duplicate script for target "nouveau_dma.o" ignored
> "Makefile", line 2963: warning: duplicate script for target "nouveau_drv.ln" ignored
> "Makefile", line 2966: warning: duplicate script for target "nouveau_drv.o" ignored
> "Makefile", line 2968: warning: duplicate script for target "nouveau_drv.o" ignored
> "Makefile", line 3053: warning: duplicate script for target "nouveau_swmthd.ln" ignored
> "Makefile", line 3056: warning: duplicate script for target "nouveau_swmthd.o" ignored
> "Makefile", line 3058: warning: duplicate script for target "nouveau_swmthd.o" ignored
>
> and exits with error on linking
>
> linking kernel.debug
> nouveau_dma.o(.text+0x0): In function `nouveau_dma_wait':
> /usr/src/sys/dev/drm/nouveau_dma.c:141: multiple definition of `nouveau_dma_wait'
> nouveau_dma.o(.text+0x0):/usr/src/sys/dev/drm/nouveau_dma.c:141: first defined here
> nouveau_dma.o(.text+0x170): In function `nouveau_dma_channel_takedown':
> /usr/src/sys/dev/drm/nouveau_dma.c:120: multiple definition of `nouveau_dma_channel_takedown'
> nouveau_dma.o(.text+0x170):/usr/src/sys/dev/drm/nouveau_dma.c:120: first defined here
> nouveau_dma.o(.text+0x1e0): In function `nouveau_dma_channel_init':
> /usr/src/sys/dev/drm/nouveau_dma.c:37: multiple definition of `nouveau_dma_channel_init'
> nouveau_dma.o(.text+0x1e0):/usr/src/sys/dev/drm/nouveau_dma.c:37: first defined here
> ld: nouveau_drm.o: No such file: No such file or directory
> *** Error code 1
>
> Did I miss something? The module works fine but not very usable on my
> 9600GT. One thing to note is that NoAccel works *slower* than without
> nouveau.ko present at least on my box.
That doesn't make any sense... If the module isn't loaded, or X isn't
attached to it nothing is changed.
I have NV50 working now, with EXA and Xv.
robert.
> _______________________________________________
> freebsd-x11 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-x11
> To unsubscribe, send any mail to "freebsd-x11-unsubscribe at freebsd.org"
--
Robert Noland <rnoland at FreeBSD.org>
FreeBSD
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20090321/727cedae/attachment.pgp
More information about the freebsd-x11
mailing list