Fwd: Re: Help compiling mesa/gallium from git!
axel.davy at ens.fr
Fri Feb 7 09:40:49 PST 2014
The new mesa you built has no egl_gallium.so (since you have
--disable-gallium-egl), but you have not removed the old egl_gallium.so,
and it tries to load it, since it is here.
Le 07/02/2014 18:30, Bill Spitzak a écrit :
> In order to try to compile the new xserver for wayland, I updated mesa
> to the latest git version, and now wayland does not work at all!
> Considering it has worked for a long time I would like to try to fix
> this, it is really unfortunate.
> It does appear the problem is in egl gallium and it's software
> fallback. Pekka you were just talking about this in another thread so
> I thought you may have an idea what is wrong, or perhaps what I should
> do to get around it.
> Running weston in the debugger with the debug symbols turned on
> produces this (this is from inside a terminal on X so I am using the
> X11 compositor):
> Starting program: /home/spitzak/install/bin/weston --modules=xwayland.so
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library
> Date: 2014-02-07 PST
> [09:14:13.518] weston 1.4.0
> Bug reports to:
> Build: 1.4.0-59-gc94d622 compositor: Move view
> repositioning logic into shell (2014-02-05 17:36:00 -0800)
> [09:14:13.518] OS: Linux, 3.2.0-58-generic, #88-Ubuntu SMP Tue Dec 3
> 17:37:58 UTC 2013, x86_64
> [09:14:13.518] warning: XDG_RUNTIME_DIR "/run/shm" is not configured
> correctly. Unix access mode must be 0700 (current mode is 777),
> and must be owned by the user (current owner is UID 0).
> Refer to your distribution on how to get it, or
> on how to implement it.
> [09:14:13.519] Using config file '/home/spitzak/.config/weston.ini'
> [09:14:13.519] Loading module
> [09:14:13.619] initializing x11 backend
> [09:14:13.621] Loading module
> libEGL debug: Native platform type: x11 (autodetected)
> libEGL debug: EGL search path is /home/spitzak/install/lib/egl
> libEGL debug: added /home/spitzak/install/lib/egl/egl_gallium.so to
> module array
> libEGL debug: added egl_dri2 to module array
> libEGL debug: dlopen(/home/spitzak/install/lib/egl/egl_gallium.so)
> libEGL info: use X11 for display 0x632e40
> libEGL info: use software fallback
> Program received signal SIGSEGV, Segmentation fault.
> 0x00007ffff1b980af in egl_g3d_new_sw_screen (ndpy=<optimized out>,
> at common/egl_g3d.c:67
> warning: Source file is more recent than executable.
> 67 }
> This does appear to be in egl_gallium.so, which is recently compiled,
> I am not sure why I get the "Source file is more recent" error.
> Mesa is built with the following config line, which is ridiculous
> complex and probably the source of my troubles, but I really have no
> idea what any of this means:
> ./autogen.sh --prefix=$WLD --enable-gles2 --disable-gallium-egl \
> --with-egl-platforms=wayland,x11,drm --enable-gbm \
> --with-gallium-drivers=r300,r600,swrast,nouveau \
> --with-dri-drivers= --disable-dri3
> Thanks for any help!
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
More information about the wayland-devel