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

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Sat, 2009-03-21 at 09:12 +0300, Anonymous wrote:
> 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

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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-x11
> To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org"
-- 
Robert Noland <rnoland@FreeBSD.org>
FreeBSD

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)

iEYEABECAAYFAknEhtoACgkQM4TrQ4qfROMZ6ACbBQX3IrSIKpWYQZsHZ0+RhutI
z9MAnigv/1/hZVRRuYv122oa42bvv1+Z
=F4Dh
-----END PGP SIGNATURE-----

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