weston 0.95 on 945GME using i915 drm
Pekka Paalanen
ppaalanen at gmail.com
Fri Aug 10 05:31:47 PDT 2012
On Fri, 10 Aug 2012 08:15:01 -0400
jegde jedge <bubbah.t at gmail.com> wrote:
> Please point me in the right direction to get weston up from the
> virtual terminal.
>
>
> I have 0.95 currently working under X, but not DRM or wayland from a
> virtual tty.
> ( I am new, how do you refer to the vtty wayland EGL platform? )
> ( I have mesa master currently running mesa egl demos from the tty )
>
> I have installed and tested the following configuration:
>
>
> ENVIRONMENT
>
> export WLD=/home/bcpl/install # change this to another location if you prefer
> export LD_LIBRARY_PATH=$WLD/lib
> export PKG_CONFIG_PATH=$WLD/lib/pkgconfig/:$WLD/share/pkgconfig/:/usr/lib/pkgconfig/:/usr/share/pkgconfig/
> export ACLOCAL="aclocal -I $WLD/share/aclocal"
> export MESA_DEBUG=1
> export EGL_LOG_LEVEL=debug
> export EGL_DRIVERS_PATH=$WLD/lib
> #export EGL_PLATFORM=drm
> #export EGL_PLATFORM=fbdev
> #export EGL_PLATFORM=wayland
> export LIBGL_DEBUG=verbose
> export WAYLAND_DEBUG=1
> export XDG_RUNTIME_DIR=/home/bcpl/wayland/xdg
> #export XDG_RUNTIME_DIR=/tmp/
> #export CFLAGS="-g -I${WLD}/include -DEBUG -DHAVE_PIPE_LOADER_DRM"
> #export CXXFLAGS="-g -I${WLD}/include -DEBUG -DHAVE_PIPE_LOADER_DRM"
> export CFLAGS="-g -I${WLD}/include -DEBUG"
> export CXXFLAGS="-g -I${WLD}/include -DEBUG"
> export LDLAGS="-g -ldl"
> #sudo groupadd weston-launch
> #sudo usermod -a -G weston-launch $USER
> ## Log all the way out (of X, etc.)
> #sudo chown root weston-launch
> #sudo chmod +s weston-launch
>
>
> MESA
>
> $ ./configure --prefix=/home/bcpl/install --enable-egl --enable-gles1
> --enable-gles2 --with-egl-platforms=drm,wayland,x11,fbdev
> --enable-shared-glapi --with-dri-drivers=i915,i965,r200,swrast
> --enable-gbm --with-gallium-drivers=i915,swrast,nouveau
> --enable-gallium-egl
For intel, I think you should use the dri driver, not gallium.
If EGL chooses egl_gallium as the driver, it can only load the wrong
i915 driver, if any. So you could change to --disable-gallium-egl, too.
Also make sure you never set EGL_PLATFORM to anything, and use
weston-launch to start Weston.
Thanks,
pq
More information about the wayland-devel
mailing list