All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Emil Velikov" <emil.l.velikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org,
	Andrew Green
	<andrew.green.df-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Subject: Re: Mistake in Gallium how-to in wiki?
Date: Tue, 19 Jul 2011 00:23:24 +0100	[thread overview]
Message-ID: <op.vyt8lasb8t7z9u@localhost.localdomain> (raw)
In-Reply-To: <4E249AA8.5090703-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

On Mon, 18 Jul 2011 21:42:16 +0100, Andrew Green  
<andrew.green.df-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

> Hi,
>
> I think I've found a mistake in the Gallium instructions in the Nouveau  
> wiki (http://nouveau.freedesktop.org/wiki/GalliumHowto).
>
> According to that page, one should run ./configure like this:
>
> ./configure --enable-debug --enable-glx-tls --disable-asm \
> --with-dri-drivers= --enable-gallium-nouveau \
> --disable-gallium-i915 --disable-gallium-i965 \
> --disable-gallium-r300 --disable-gallium-r600 --disable-gallium-svga \
> --with-state-trackers=glx,dri
>
>
> But when I compiled using that configuration, nouveau_dri.so was not  
> built. Also, a few of the configuration options were not recognized.  
> However, this configure command did work, at least for me:
>
> ./configure --enable-debug --enable-glx-tls --disable-asm \
> --with-dri-drivers --enable-glx --enable-dri --enable-xorg \
> --with-state-trackers=glx,dri --with-gallium-drivers="nouveau
>
>
> Hope this is helpful. (I'm completely "new" to "nouveau", so I guess I  
> may be completely off.) Thanks to the developers for their work on this,  
> greetings,
> Andrew

Note the "--with-state-trackers" options is soon(ish) to be depreciated

My current config (correct according to the latest changes) is

	./autogen.sh \
		--prefix=/usr \
		--with-dri-drivers= \
		--with-gallium-drivers=swrast,nouveau \
		--enable-debug \
		--enable-texture-float \
		--disable-asm \
		--enable-opengl \
		--disable-gles2 \
		--disable-openvg \
		--enable-dri \
		--enable-glx \
		--enable-xvmc \
		--disable-va \
		--disable-vdpau \
		--disable-osmesa \
		--disable-egl \
		--disable-xorg \
		--disable-d3d1x \
		--disable-xa \
		--disable-gbm \
		--disable-xlib-glx \
		--disable-gallium-egl \
		--disable-gallium-gbm \
		--disable-gallium-llvm \
		--disable-xcb \
		--enable-driglx-direct \
		--enable-glx-tls \
		--enable-glu \
		--enable-glw \
		--disable-motif

The above builds, nouveau and swrast drivers and uses the
opengl and xvmc state-trackers

NOTE: Consult yourself with the documentation regarding
"--enable-texture-float"

Emil

> _______________________________________________
> Nouveau mailing list
> Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
> http://lists.freedesktop.org/mailman/listinfo/nouveau

  parent reply	other threads:[~2011-07-18 23:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-18 20:42 Mistake in Gallium how-to in wiki? Andrew Green
     [not found] ` <4E249AA8.5090703-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-07-18 20:57   ` Younes Manton
2011-07-18 23:23   ` Emil Velikov [this message]
     [not found]     ` <op.vyt8lasb8t7z9u-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2011-07-22 20:24       ` Andrew Green

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=op.vyt8lasb8t7z9u@localhost.localdomain \
    --to=emil.l.velikov-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=andrew.green.df-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.