<div dir="ltr">What compositor are you using, and how did you build Xwayland? Did you build xf86-video-wayland as well?<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Feb 5, 2014 at 12:18 PM, Bill Spitzak <span dir="ltr"><<a href="mailto:spitzak@gmail.com" target="_blank">spitzak@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I was wondering if my problem is not something anybody else is seeing.<br>
<br>
I have Wayland X11 compositor running. This is on an Nvidia card with Nvidia drivers and therefore only SHM clients work. All other Wayland apps either work correctly or they fail immediately because they require EGL.<br>
<br>
All X windows show initially as completely black, including all the area for the shadows. The X application is responding to clicks and redrawing (tested by printing messages to stdout, which appear in the Wayland terminal), but the surface remains completely black. Moving the cursor around shows the cursor changes correctly when it hovers over the resize edges and corners.<br>
<br>
In the most recent version of Wayland I can then resize the window and then it displays, but with several errors in the window borders and shadow, shown in the attached screen shot. This display updates but all changes are deferred until the next event (for instance if I push a button it does not redraw as pushed-in until I move the mouse and send a drag event). Again print statements reveal that my client is getting the expose event and drawing, it's just that the surface does not update, perhaps the commit has not been sent?<br>
<br>
As nobody else seems to think there is a problem with Xserver, my best guess is that Xwayland is trying to use SHM but it has bugs, while EGL works? Another possibility is that Xwayland is broken under X11 compostior but works on hardware backends? As I am unable to test either of these I cannot tell where the problem may lie.<br>
<br>
If it is indeed either SHM or X11 compositor that is at fault, is this something I should work on trying to fix?<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>
<br></blockquote></div><br><br clear="all"><br>-- <br> Jasper<br>
</div>