[PREVIEW] Nouveau on FreeBSD

Anonymous swell.k at gmail.com
Fri Mar 20 23:12:41 PDT 2009


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

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.


More information about the freebsd-x11 mailing list