Page 1 of 2

Wayland compositors in Vbox

Posted: 30. Aug 2014, 17:29
by l0ner
Hello.

I would like to ask if it is possible to run Wayland compositor in Virtualbox. I tried running Enlightenment E19 and Weston on an Arch guest (Arch host also) with no success.

I use virtualbox 4.3.14.

Thanks in advance.

Re: Wayland compositors in Vbox

Posted: 16. Sep 2014, 12:55
by ehasis
I'm also interested in know that too.
Thanks in advance!

Re: Wayland compositors in Vbox

Posted: 29. Sep 2014, 03:14
by didierg
Running VirtualBox on a Fedora 20 host, I try to run Fedora 21 Alpha who uses Waymand as guest.

It VB GuestAdditions are not installed it works but if VB GA are installed I get a black screen.

Any help ?

Re: Wayland compositors in Vbox

Posted: 29. Sep 2014, 11:17
by michael
It is not yet possible to run Wayland in VirtualBox with hardware acceleration. I would not want to speculate on when this will be possible.

Re: Wayland compositors in Vbox

Posted: 29. Sep 2014, 15:11
by didierg
So is it possible to install Guest Additions without the hardware acceleration part ?

Re: Wayland compositors in Vbox

Posted: 29. Sep 2014, 16:19
by michael
Just deactivate it in the machine settings.

Re: Wayland compositors in Vbox

Posted: 30. Sep 2014, 00:25
by didierg
I tried to reinstall GA with no HW acceleration enabled and this is the same: black screen on boot

I removed GA and Fedora 21 Alpha run fine in the Vbox.

Re: Wayland compositors in Vbox

Posted: 30. Sep 2014, 07:59
by michael
Ah, that is probably something else then. Could you please try installing a recent test build<1>, including the Additions from that build? (Actually it should even be enough to download the Additions file from the test build page and install that.)

<1> https://www.virtualbox.org/wiki/Testbuilds

Re: Wayland compositors in Vbox

Posted: 30. Sep 2014, 14:21
by didierg
So.....

Fedora 20 running kernel 3.16.3-200 as host
VirtualBox-4.3.17-96317-Linux_amd64.run
VirtualBox_Extension_Pack-4.3.17-96238.vbox-extpack

Fedora 21 running kernel 3.16.3-302 with VBoxGuestAdditions_4.3.17-96277.iso as guest

is a working configuratioon (no black screen)

Re: Wayland compositors in Vbox

Posted: 4. Oct 2014, 11:14
by l0ner
Still not working for me.

I tried Fedora 21 (on an Arch host) and after i installed gnome-session-wayland-session it couldn't start the session. I was selecting gnome on wayland, logging in and after a blank screen it was throwing me back to the login page. No GA installed and no 3D acceleration enabled. Any tips on that??

Also trying to run weston on an Arch guest ends with:
drmModeGetResources failed
failed to create output for /sys/devices/pci0000:00/0000:00:02.0/drm/card0
Failed to process Wayland connection: Broken pipe
failed to create display: Broken pipe

Any help would be appreciated. I don't care about HW acceleration. I just want it to run. Thanks.

Re: Wayland compositors in Vbox

Posted: 6. Oct 2014, 08:45
by michael
That is saying that it is failing because hardware acceleration is not available, and it requires it. As I said previously, !VirtualBox does not yet provide the hardware acceleration drivers needed by Wayland, and I can't even estimate when we will. You should talk to the Fedora and Wayland people to see if it can be made to work when no acceleration is available.

Re: Wayland compositors in Vbox

Posted: 6. Oct 2014, 15:34
by l0ner
michael wrote:That is saying that it is failing because hardware acceleration is not available, and it requires it. As I said previously, !VirtualBox does not yet provide the hardware acceleration drivers needed by Wayland, and I can't even estimate when we will. You should talk to the Fedora and Wayland people to see if it can be made to work when no acceleration is available.
As i said i don't care about HW acceleration. I just want it to run so i can test some stuff. And i can't get it to run neither with Fedora nor with Arch. :?

Re: Wayland compositors in Vbox

Posted: 6. Oct 2014, 15:44
by michael
l0ner wrote:As i said i don't care about HW acceleration. I just want it to run so i can test some stuff. And i can't get it to run neither with Fedora nor with Arch. :?
I understand, but I don't think Wayland can run at all without hardware acceleration, and the sort it needs is not currently available from VirtualBox. As I said, running it without hardware acceleration is something we can't help you with, you will need to talk to either the Wayland people or to the distribution people (Arch or Fedora) about that. VirtualBox already provides all it can there.

Re: Wayland compositors in Vbox

Posted: 6. Oct 2014, 15:58
by l0ner
michael wrote:I understand, but I don't think Wayland can run at all without hardware acceleration, and the sort it needs is not currently available from VirtualBox. As I said, running it without hardware acceleration is something we can't help you with, you will need to talk to either the Wayland people or to the distribution people (Arch or Fedora) about that. VirtualBox already provides all it can there.
Yes i understand. It was just weird that for some people it worked -as mentioned above- and for me it doesn't (fedora 21).

Re: Wayland compositors in Vbox

Posted: 27. Sep 2015, 11:41
by mikeyj001
Hi all,
I would like to ask if it is possible to run Wayland compositor in Virtualbox. I tried running Enlightenment E19 and Weston on an Arch guest (Arch host also) with no success.
I know this is an old thread, but I just wanted to confirm that I'm running Wayland on Arch Linux 32 and 64 bit versions in Virtualbox, since late 2014. I'm not using hardware acceleration.

I'm using the framebuffer backend (fbdev) and using this command as a normal user:

weston-launch -- --backend=fbdev-backend.so

after I log in.

(there are 2 sets of double dashes in the above command)