xorg.conf sample for xwayland with wlshm DDX.
ashjas
ashjas at gmail.com
Tue Jan 29 22:19:11 PST 2013
Hello.. apart from the xorg conf i didnt require anything seperately..
but just for feedback, i would like to point out one small issue that i
faced while building WLSHM:
my exports:
export WLD=/home/abc/WAYLANDINSTALLDIR
export LD_LIBRARY_PATH=$WLD/lib
export PKG_CONFIG_PATH=$WLD/lib/pkgconfig/:$WLD/share/pkgconfig/
export ACLOCAL="aclocal -I $WLD/share/aclocal"
when i build wlshm i get the following error:
----------------------------
make all-recursive
make[1]: Entering directory `/home/abc/wayland/xf86-video-wlshm'
Making all in src
make[2]: Entering directory `/home/abc/wayland/xf86-video-wlshm/src'
CC wlshm.lo
wlshm.c:31:27: fatal error: xorg/xf86Priv.h: No such file or directory
compilation terminated.
make[2]: *** [wlshm.lo] Error 1
make[2]: Leaving directory `/home/abc/wayland/xf86-video-wlshm/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/abc/wayland/xf86-video-wlshm'
make: *** [all] Error 2
----------------------------
i had to give the absolute path to xf86Priv.h to build wlshm successfully..
though the xf86Priv.h does exist at the proper place in
$WLD/include/xorg/xf86Priv.h, still i had to give an absolute path . i dont
know why... other components of wayland didnt report
any such errors and were able to find the necessary headers placed in $WLD.
Thanks.
Ashish
On Tue, Jan 29, 2013 at 10:36 PM, <darxus at chaosreigns.com> wrote:
> Done. Any changes you'd make? Thanks for the feedback.
>
> On 01/29, ashjas wrote:
> > Darxus, thanks for that information..
> > yes please add the information to the build docs as it is necessary to
> > have the xorg.conf at $WLD/etc/X11/xorg.conf
> > This information was all that was needed to run xwayland using wlshm
> DDX..
> > :
> > Section "Device"
> > � � � � Identifier "Device"
> > � � � � Driver "wlshm" # or wlshm or intel
> > EndSection
> > The path�$WLD/etc/X11/xorg.conf is essential because earlier i was
> trying
> > to add this same information at�./share/X11/xorg.conf.d/10-evdev.conf
> ,
> > which didnt work..
> > Thanks for the help.
> > Regards
> > Ashish
> >
> > On Tue, Jan 29, 2013 at 5:04 PM, <[1]darxus at chaosreigns.com> wrote:
> >
> > On 01/29, ashjas wrote:
> > > � �an xorg.conf containing 'Driver "wlshm"'
> > > � �i am not sure how to put an entry like this in the
> > > � �$WLD/share/X11/xorg.conf.d/10-evdev.conf conf file..
> >
> > [2]
> http://lists.freedesktop.org/archives/wayland-devel/2012-April/003106.html
> >
> > Some stuff in that post is not current (like "--xserver"), but the
> > contents
> > of the xorg.conf and path should be right. �If you want to verify,
> I'll
> > add
> > that stuff to the build instructions.
> >
> > strace is often useful for finding the paths where programs are
> looking
> > for
> > files.
> > --
> > "For every complex problem, there is a solution that is simple,
> neat,
> > and wrong." - H. L. Mencken
> > [3]http://www.ChaosReigns.com
> > _______________________________________________
> > wayland-devel mailing list
> > [4]wayland-devel at lists.freedesktop.org
> > [5]http://lists.freedesktop.org/mailman/listinfo/wayland-devel
> >
> > References
> >
> > Visible links
> > 1. mailto:darxus at chaosreigns.com
> > 2.
> http://lists.freedesktop.org/archives/wayland-devel/2012-April/003106.html
> > 3. http://www.chaosreigns.com/
> > 4. mailto:wayland-devel at lists.freedesktop.org
> > 5. http://lists.freedesktop.org/mailman/listinfo/wayland-devel
>
> > _______________________________________________
> > wayland-devel mailing list
> > wayland-devel at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/wayland-devel
>
>
> --
> '1960: "I have a great idea! lets have every person in the country carry
> a radio tracking beacon!" "That'll never fly!" 2012: "I can has TWO
> iphones??"' - http://bash.org/?952948
> http://www.ChaosReigns.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20130130/035d8e39/attachment.html>
More information about the wayland-devel
mailing list