Wayland compositors in Vbox

Discussions about using Linux guests in VirtualBox.
l0ner
Posts: 9
Joined: 30. Aug 2014, 17:24

Wayland compositors in Vbox

Post 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.
ehasis
Posts: 4
Joined: 19. Sep 2012, 16:52

Re: Wayland compositors in Vbox

Post by ehasis »

I'm also interested in know that too.
Thanks in advance!
didierg
Posts: 34
Joined: 1. Apr 2008, 02:12
Primary OS: Fedora other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Fedora & Windows

Re: Wayland compositors in Vbox

Post 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 ?
michael
Oracle Corporation
Posts: 682
Joined: 10. May 2007, 09:46
Contact:

Re: Wayland compositors in Vbox

Post 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.
didierg
Posts: 34
Joined: 1. Apr 2008, 02:12
Primary OS: Fedora other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Fedora & Windows

Re: Wayland compositors in Vbox

Post by didierg »

So is it possible to install Guest Additions without the hardware acceleration part ?
michael
Oracle Corporation
Posts: 682
Joined: 10. May 2007, 09:46
Contact:

Re: Wayland compositors in Vbox

Post by michael »

Just deactivate it in the machine settings.
didierg
Posts: 34
Joined: 1. Apr 2008, 02:12
Primary OS: Fedora other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Fedora & Windows

Re: Wayland compositors in Vbox

Post 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.
michael
Oracle Corporation
Posts: 682
Joined: 10. May 2007, 09:46
Contact:

Re: Wayland compositors in Vbox

Post 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
didierg
Posts: 34
Joined: 1. Apr 2008, 02:12
Primary OS: Fedora other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Fedora & Windows

Re: Wayland compositors in Vbox

Post 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)
l0ner
Posts: 9
Joined: 30. Aug 2014, 17:24

Re: Wayland compositors in Vbox

Post 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.
michael
Oracle Corporation
Posts: 682
Joined: 10. May 2007, 09:46
Contact:

Re: Wayland compositors in Vbox

Post 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.
l0ner
Posts: 9
Joined: 30. Aug 2014, 17:24

Re: Wayland compositors in Vbox

Post 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. :?
michael
Oracle Corporation
Posts: 682
Joined: 10. May 2007, 09:46
Contact:

Re: Wayland compositors in Vbox

Post 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.
l0ner
Posts: 9
Joined: 30. Aug 2014, 17:24

Re: Wayland compositors in Vbox

Post 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).
mikeyj001
Posts: 1
Joined: 27. Sep 2015, 10:32

Re: Wayland compositors in Vbox

Post 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)
Post Reply