Skip to content
This repository has been archived by the owner on Nov 18, 2018. It is now read-only.

Gracefully exit when running on VirtualBox #136

Open
plfiorini opened this issue Nov 25, 2015 · 4 comments
Open

Gracefully exit when running on VirtualBox #136

plfiorini opened this issue Nov 25, 2015 · 4 comments

Comments

@plfiorini
Copy link
Member

VirtualBox doesn't support Wayland compositors, but not all users know that.
We should detect when running on VirtualBox and gracefully exit with an explicit error message that will explain the situation.

See hawaii-desktop/hawaii-pkgbuilds#15

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@iBelieve
Copy link
Contributor

iBelieve commented Dec 2, 2015

So if VirtualBox doesn't support Wayland, what virtualization technology do you normally use to test Hawaii?

@rburchell
Copy link

I find that a strange assertion, given that the Jolla SDK is based around a VirtualBox VM running a Wayland compositor - and that we prototyped the Wayland homescreen in a VirtualBox VM all the way back in 2012, if memory serves.

@plfiorini
Copy link
Member Author

I had it running in 2012 too but I was using fbdev (EGL_PLATFORM=fbdev and eglfs), no KMS.

So yes it can run but it wasn't so fast (usable but with a some patience) and there are better alternatives nowadays like qemu.

Also, to make it work you needed to enable fbdev and, if I recall, a mesa patch for fbdev.

https://www.youtube.com/watch?v=G0oaENN1kCE

What I really meant here is that it won't work as it works on bare metal and vmware.

@ibeliever: qemu, vmware or bare metal (laptop with Intel integrated).

@plfiorini
Copy link
Member Author

VirtualBox support is not what I expect to work out of the box on all distributions.
So maybe Green Island should still try to start on VirtualBox, but if it fails it should warn about VirtualBox not being as fully supported as alternatives.

plfiorini added a commit that referenced this issue Apr 9, 2016
Subclasses will override this method to perform OpenGL queries and
check for hardware requirements.

Issue: #136
Issue: #194
Issue: #196
Done-with: Laszlo Agocs <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants