black screen with cursor via weston-launch, vmwgfx from tty
Submitted by Yong Bakos
Assigned to Wayland bug list
Description
Created attachment 123185 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.
Attachment 123185, "weston log":
weston.log.txt