[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PREVIEW] Nouveau on FreeBSD



On Sat, 2009-03-21 at 09:12 +0300, Anonymous wrote:
> Robert Noland <rnoland_(_at_)_FreeBSD_(_dot_)_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_(_dot_)_org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-x11
> To unsubscribe, send any mail to "freebsd-x11-unsubscribe_(_at_)_freebsd_(_dot_)_org"
-- 
Robert Noland <rnoland_(_at_)_FreeBSD_(_dot_)_org>
FreeBSD

Attachment: signature.asc
Description: This is a digitally signed message part


Visit your host, monkey.org