<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - black screen with cursor via weston-launch, vmwgfx from tty"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=95086">95086</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>black screen with cursor via weston-launch, vmwgfx from tty
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Wayland
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>weston
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>wayland-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>junk@humanoriented.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=123185" name="attach_123185" title="weston log">attachment 123185</a> <a href="attachment.cgi?id=123185&action=edit" title="weston log">[details]</a></span>
weston log

Using VMWare Fusion 8.
Host: OSX 10.11.3 (15D21)
Guest: Ubuntu 16.04 (Unity) or Fedora 23 (Gnome 3)
Switch to tty3. (ctrl-alt-F3)
Start weston-launch.
Expected: See weston desktop shell.
Result: tty3 displays black screen with mouse cursor (arrow)

The log (attached) reports a permission denied error related to page flipping:
queueing pageflip failed: Permission denied

The console output also reports:
failed to bind extensions
failed to load driver: vmwgfx

I can run weston fine as the main display server / DE when I select Weston from
the login manager. Weston also runs fine within the existing Unity/Gnome
session as an X client, via weston.

During an earlier attempt at running weston-launch, the console reported the
inability to find ~/Wayland/install/lib/dri/vmwgfx_dri.so, but still ran,
resulting in the same "black screen with cursor behavior" and the same
"permission denied" page flipping error. Appending "svga" to the
--with-gallium-drivers option for mesa/autogen.sh results in make compiling
successfully and creates vmwgfx_dri.so.

Built mesa with:
./autogen.sh --prefix=$WLD --enable-gles2 --disable-gallium-egl
--with-egl-platforms=x11,wayland,drm --enable-gbm --enable-shared-glapi
--with-gallium-drivers=r300,r600,swrast,nouveau,svga --with-dri-drivers=swrast

Despite the driver existing, I now see the aforementioned errors in the log and
console output.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>