Re: Mesa 7.8.2 with Hardware Acceleration on Ubuntu 10.10

Srini <[email protected]>
Newsgroups gmane.comp.video.mesa3d.user
Message-ID <[email protected]>
but doing ./configure is generating the default configuration, what I precisely 
need is to enable only i915 pipediver in addition to softpipe. doing just 
./configure is generating below configurations.

****************************************************************************************************************

configure: creating ./config.status
config.status: creating configs/autoconf
config.status: executing configs commands

prefix:          /usr/local
exec_prefix:     ${prefix}
libdir:          ${exec_prefix}/lib
includedir:      ${prefix}/include

Driver:          dri
OSMesa:          no
DRI drivers:     i810 i915 i965 mach64 mga r128 r200 r300 r600 radeon savage sis 
tdfx unichrome swrast
DRI driver dir:  ${libdir}/dri
Use XCB:         no

Gallium:         yes
Gallium dirs:    auxiliary drivers state_trackers
Winsys dirs:      drm
Winsys drm dirs:
Driver dirs:     softpipe failover trace identity svga i915 i965 r300
Trackers dirs:   dri egl xorg

Shared libs:     yes
Static libs:     no
EGL:             glx
GLU:             yes
GLw:             yes (Motif: no)
glut:            no
Demos:           no

CFLAGS:          -g -O2 -Wall -Wmissing-prototypes -std=c99 -ffast-math 
-fvisibility=hidden -fno-strict-aliasing -fPIC
CXXFLAGS:        -g -O2 -Wall -fno-strict-aliasing -fPIC
Macros:          -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN 
-DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING 
-DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_XEXTPROTO_71 -DUSE_X86_ASM 
-DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM

Run 'make' to build Mesa
**************************************************************************************************************


I observe from above configuration EGL is configured for egl_glx, which  is 
software based(if i am correct.). if i continue to do make My EGL is  dependent 
on egl_glx which sits in /usr/local/lib/egl/.. i am telling  this because when I 
tried running some sample application i am getting below error.
***************************************************************************************************************

export LD_LIBRARY_PATH=/root/Mesa-7.8.2/lib/
export EGL_DRIVER=/root/Mesa-7.8.2/lib/
root@srini:~/check_GLES# ./sphere
libEGL warning: Could not open driver /root/Mesa-7.8.2/lib/ 
(/root/Mesa-7.8.2/lib/: cannot read file data: Is a directory)
libEGL warning: Could not open driver /root/Mesa-7.8.2/lib/.so 
(/root/Mesa-7.8.2/lib/.so: cannot open shared object file: No such file or 
directory)
libEGL warning: EGL_DRIVER is set to an invalid driver
libEGL warning: Could not open driver /usr/local/lib/egl/egl_glx 
(/usr/local/lib/egl/egl_glx: cannot open shared object file: No such file or 
directory)
Segmentation fault
***************************************************************************************************************


please guide me where i am doing wrong.


Regards,
Srini.


________________________________
From: Chia-I Wu <[email protected]>
To: Srini <[email protected]>
Cc: [email protected]
Sent: Mon, 21 February, 2011 9:26:53 PM
Subject: Re: [Mesa-users] Mesa 7.8.2 with Hardware Acceleration on Ubuntu 10.10

On Mon, Feb 21, 2011 at 5:32 AM, Srini <[email protected]> wrote:
> I am trying to build Mesa 7.8.2 on Ubutu 10.10 with Hardware acceleration
> for i915, Enabled along with softpipe. I enabled this in the config file
> linux-opengl-es.
> doing "make linux-opengl-es" will end up with big error list.
> is there anything i need to take care before doing this?
> could anyone please help me in fixing this.
linux-opengl-es is broken.  I will either fix it or remove it.

For now, you will have to run ./configure (or scons).
> Thanks in Advance
>
> Regards,
> Srini.
>
> make[4]: Entering directory `/root/Mesa-7.8.2/src/gallium/winsys/xlib'
> Makefile:101: depend: No such file or directory
> running makedepend
> makedepend -fdepend -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE
> -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_XSHM -DHAVE_POSIX_MEMALIGN
> -DGLX_DIRECT_RENDERING -DGALLIUM_SOFTPIPE -I../../../../include
> -I../../../../src/mesa -I../../../../src/mesa/main
> -I../../../../src/gallium/include -I../../../../src/gallium/drivers
> -I../../../../src/gallium/state_trackers/glx/xlib
> -I../../../../src/gallium/auxiliary  xlib.c xlib_cell.c xlib_llvmpipe.c
> xlib_softpipe.c \
>         > /dev/null 2>/dev/null
> make[4]: Leaving directory `/root/Mesa-7.8.2/src/gallium/winsys/xlib'
> make[4]: Entering directory `/root/Mesa-7.8.2/src/gallium/winsys/xlib'
> gcc -c -I../../../../include -I../../../../src/mesa
> -I../../../../src/mesa/main -I../../../../src/gallium/include
> -I../../../../src/gallium/drivers
> -I../../../../src/gallium/state_trackers/glx/xlib
> -I../../../../src/gallium/auxiliary  -Wall -Wmissing-prototypes
> -Wdeclaration-after-statement -Wpointer-arith -O3 -g -fPIC  -D_POSIX_SOURCE
> -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE
> -DPTHREADS -DUSE_XSHM -DHAVE_POSIX_MEMALIGN -DGLX_DIRECT_RENDERING
> -DGALLIUM_SOFTPIPE  -I/usr/X11R6/include -std=c99 -ffast-math
> -fno-strict-aliasing xlib.c -o xlib.o
> gcc -c -I../../../../include -I../../../../src/mesa
> -I../../../../src/mesa/main -I../../../../src/gallium/include
> -I../../../../src/gallium/drivers
> -I../../../../src/gallium/state_trackers/glx/xlib
> -I../../../../src/gallium/auxiliary  -Wall -Wmissing-prototypes
> -Wdeclaration-after-statement -Wpointer-arith -O3 -g -fPIC  -D_POSIX_SOURCE
> -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE
> -DPTHREADS -DUSE_XSHM -DHAVE_POSIX_MEMALIGN -DGLX_DIRECT_RENDERING
> -DGALLIUM_SOFTPIPE  -I/usr/X11R6/include -std=c99 -ffast-math
> -fno-strict-aliasing xlib_cell.c -o xlib_cell.o
> gcc -c -I../../../../include -I../../../../src/mesa
> -I../../../../src/mesa/main -I../../../../src/gallium/include
> -I../../../../src/gallium/drivers
> -I../../../../src/gallium/state_trackers/glx/xlib
> -I../../../../src/gallium/auxiliary  -Wall -Wmissing-prototypes
> -Wdeclaration-after-statement -Wpointer-arith -O3 -g -fPIC  -D_POSIX_SOURCE
> -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE
> -DPTHREADS -DUSE_XSHM -DHAVE_POSIX_MEMALIGN -DGLX_DIRECT_RENDERING
> -DGALLIUM_SOFTPIPE  -I/usr/X11R6/include -std=c99 -ffast-math
> -fno-strict-aliasing xlib_llvmpipe.c -o xlib_llvmpipe.o
> gcc -c -I../../../../include -I../../../../src/mesa
> -I../../../../src/mesa/main -I../../../../src/gallium/include
> -I../../../../src/gallium/drivers
> -I../../../../src/gallium/state_trackers/glx/xlib
> -I../../../../src/gallium/auxiliary  -Wall -Wmissing-prototypes
> -Wdeclaration-after-statement -Wpointer-arith -O3 -g -fPIC  -D_POSIX_SOURCE
> -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE
> -DPTHREADS -DUSE_XSHM -DHAVE_POSIX_MEMALIGN -DGLX_DIRECT_RENDERING
> -DGALLIUM_SOFTPIPE  -I/usr/X11R6/include -std=c99 -ffast-math
> -fno-strict-aliasing xlib_softpipe.c -o xlib_softpipe.o
> make[4]: *** No rule to make target
> `../../../../src/gallium/state_trackers/glx/xlib/libxlib.a', needed by
> `../../../../lib/gallium/libGL.so'.  Stop.
> make[4]: Leaving directory `/root/Mesa-7.8.2/src/gallium/winsys/xlib'
> make[3]: *** [default] Error 1
> make[3]: Leaving directory `/root/Mesa-7.8.2/src/gallium/winsys'
> make[2]: *** [subdirs] Error 1
> make[2]: Leaving directory `/root/Mesa-7.8.2/src'
> make[1]: *** [default] Error 1
> make[1]: Leaving directory `/root/Mesa-7.8.2'
> make: *** [linux-opengl-es] Error 2
>
>
> _______________________________________________
> mesa-users mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/mesa-users
>
>



-- 
[email protected]

_______________________________________________
mesa-users mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.