All of lore.kernel.org
 help / color / mirror / Atom feed
* Mistake in Gallium how-to in wiki?
@ 2011-07-18 20:42 Andrew Green
       [not found] ` <4E249AA8.5090703-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Green @ 2011-07-18 20:42 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Mistake in Gallium how-to in wiki?
       [not found] ` <4E249AA8.5090703-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2011-07-18 20:57   ` Younes Manton
  2011-07-18 23:23   ` Emil Velikov
  1 sibling, 0 replies; 4+ messages in thread
From: Younes Manton @ 2011-07-18 20:57 UTC (permalink / raw)
  To: Andrew Green; +Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

On Mon, Jul 18, 2011 at 4:42 PM, 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

The config options changed not too long ago and the wiki hasn't been
updated. Feel free to update it if you have an account.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Mistake in Gallium how-to in wiki?
       [not found] ` <4E249AA8.5090703-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  2011-07-18 20:57   ` Younes Manton
@ 2011-07-18 23:23   ` Emil Velikov
       [not found]     ` <op.vyt8lasb8t7z9u-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
  1 sibling, 1 reply; 4+ messages in thread
From: Emil Velikov @ 2011-07-18 23:23 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW, Andrew Green

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Mistake in Gallium how-to in wiki?
       [not found]     ` <op.vyt8lasb8t7z9u-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
@ 2011-07-22 20:24       ` Andrew Green
  0 siblings, 0 replies; 4+ messages in thread
From: Andrew Green @ 2011-07-22 20:24 UTC (permalink / raw)
  To: Emil Velikov, nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

El 18/07/11 18:23, Emil Velikov escribió:
> On Mon, 18 Jul 2011 21:42:16 +0100, Andrew Green 
> <andrew.green.df@gmail.com> 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
>
OK. These config options also worked fine for me, so I changed the wiki 
to recommend them. I also added a TODO suggesting someone add a short 
explanation of the config options, and added some instructions for 
running Gnome. Again, I hope someone who knows more about all this can 
review these changes.

Greetings,
Andrew

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-07-22 20:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
     [not found]     ` <op.vyt8lasb8t7z9u-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2011-07-22 20:24       ` Andrew Green

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.