Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Mar 2009 09:12:11 +0300
From:      Anonymous <swell.k@gmail.com>
To:        Robert Noland <rnoland@FreeBSD.org>
Cc:        freebsd-x11 <freebsd-x11@freebsd.org>
Subject:   Re: [PREVIEW] Nouveau on FreeBSD
Message-ID:  <86d4cbflqc.fsf@gmail.com>
References:  <1237527331.1777.516.camel@balrog.2hip.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Robert Noland <rnoland@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.



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