<div dir="ltr">This actually made xwayland work for me when running weston using the X11 backend.<div><br><div>If I run it using the drm backend, though, it still fails:<div><span id="dbph-0"></span><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
[102316.702] (==) intel(0): Backing store disabled<br>[102316.702] (==) intel(0): Silken mouse enabled<br>[102316.702] (II) intel(0): Initializing HW Cursor<br>[102316.702] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.<br>
[102316.702] (==) intel(0): DPMS enabled<br>[102316.702] (II) intel(0): Set up textured video<br>[102316.703] (II) intel(0): direct rendering: DRI2 Enabled<br>[102316.703] (==) intel(0): hotplug detection: "enabled"<br>
[102316.703] (WW) intel(0): drmSetMaster failed: Permission denied<br>[102316.703] (EE) <br>Fatal server error:<br>[102316.703] (EE) AddScreen/ScreenInit failed for driver 0<br>[102316.703] (EE) <br>[102316.704] (EE) <br>
Please consult the The X.Org Foundation support <br>         at <a href="http://wiki.x.org">http://wiki.x.org</a><br> for help. <br>[102316.704] (EE) Please also check the log file at "/home/dima/install/var/log/Xorg.1.log" for additional information.<br>
[102316.704] (EE) </blockquote></div><div><br></div><div>(I'm assuming that's the bug you were trying to fix?)</div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Sep 1, 2013 at 2:14 PM, Jonas Ådahl <span dir="ltr"><<a href="mailto:jadahl@gmail.com" target="_blank">jadahl@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">When running xwayland, calls to xf86SetDesiredModes() would fail due to<br>
the probed modes list not being populated. This was previously done<br>
indirectly by calling xf86InitialConfiguration() and now needs to be<br>
done explicitly instead.<br>
<br>
Signed-off-by: Jonas Ådahl <<a href="mailto:jadahl@gmail.com">jadahl@gmail.com</a>><br>
---<br>
 hw/xfree86/xwayland/xwayland-output.c | 2 ++<br>
 1 file changed, 2 insertions(+)<br>
<br>
diff --git a/hw/xfree86/xwayland/xwayland-output.c b/hw/xfree86/xwayland/xwayland-output.c<br>
index 28003ba..53829c3 100644<br>
--- a/hw/xfree86/xwayland/xwayland-output.c<br>
+++ b/hw/xfree86/xwayland/xwayland-output.c<br>
@@ -431,6 +431,8 @@ xwayland_screen_preinit_output(struct xwl_screen *xwl_screen, ScrnInfoPtr scrnin<br>
             FatalError("failed to dispatch Wayland events: %s\n", strerror(errno));<br>
     }<br>
<br>
+    xf86ProbeOutputModes(scrninfo, 0, 0);<br>
+<br>
     xwl_screen->outputs_initialized = TRUE;<br>
<br>
     xf86SetScrnInfoModes(scrninfo);<br>
<span class="HOEnZb"><font color="#888888">--<br>
1.8.1.2<br>
<br>
_______________________________________________<br>
wayland-devel mailing list<br>
<a href="mailto:wayland-devel@lists.freedesktop.org">wayland-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/wayland-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/wayland-devel</a><br>
</font></span></blockquote></div><br></div>