On 08/31/2012 05:35 AM, Tiago Vignatti wrote:
Hi,
On 08/30/2012 07:23 AM, [email protected] wrote:
From: Bill Spitzak <[email protected]>
This allows X applications to be run on wayland without having to
delete an xorg.conf file that is required to run the normal X server.
Please correct me if I'm wrong, but the only reason I'm seeing for
having a separate config file on Xwayland is to set a different video
driver, in particular the wlshm.
In that case a reasonable solution is to make Xwayland guess whether a
fallback is needed and automatically sets it internally. We discussed
awhile ago it and maybe you want to enhance the patch I started:
http://lists.freedesktop.org/archives/wayland-devel/2012-May/003320.html
let me know if you need some help.
Tiago
The patch in the above post (adding wlshm to matches in
xf86AutoConfig.c) fixes xserver for me. Along with my patch so it does
not see old xorg.conf files, it allows xwayland to work without any
configuration on my machine.
However I really have no idea if this patch breaks xserver on other
machines, for instance by using shm when egl would work. Just want to
back up the idea.
Certainly xserver should run without any configuration files. If it
needs information that cannot be derived from wayland then there is
something wrong with wayland.
Note that unless something is done about the name, it is impossible to
run wayland with "no" configuration file. It will find an old xorg.conf
file and try to use that and crash. Obviously the user can be told to
clean off the old xorg.conf files but this is not practical if the user
wants to still run X.
_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel