-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Servo on Windows in VirtualBox gets 'NoAvailablePixelFormat' #9468
Comments
|
Guest Machine Host Machine |
|
@larsbergstrom |
|
@Jayflux That's correct! you would need to do "run tests/html/about-mozilla.html" to start it, and hopefully would get a good backtrace. Otherwise, you can do |
|
Could you please paste: And then: into that gdb prompt and paste the results in a comment here? |
and There you go @larsbergstrom |
|
Oh, wow, thanks! That helps a ton. The first failure is here: I suspect that is tied to the inability to correctly load up a Window within a VM host. We probably need to fiddle with our framebuffer selection to work there. And the second one is: This second one I believe that @vvuk and I saw earlier (failure to find a next event in |
|
If we need to use software rendering we can probably build Mesa.
|
|
@larsbergstrom @vvuk When running without the rust backtrace Env i get.... This is a bit hard to debug without a backtrace, whats the difference between the 2? |
|
|
|
Hrm, I seem to remember something about rustc packaging a bunch of mingw libraries and |
|
Anything i can do to help? You want me to paste my |
|
Ok |
|
Same error occurs when attempting to run servo through RDP (from a mac anyways) |
|
A VM host (or RDP) is unlikely to provide OpenGL, or the necessary level of OpenGL under Windows. You can confirm this by downloading something like OpenGL Extensions Viewer from http://www.realtech-vr.com/glview/ and looking at what info it gives for OpenGL renderers. If the VM provides D3D9+ support, we can build ANGLE and have it provide EGL/GLESv2. If we need pure software rendering, depending on the Windows version, ANGLE + WARP might still work, or we can possibly build a software-only Mesa impl and use its DLL. |
|
@vvuk I should note that I worked in a VM because Servo didn't work on Windows. Jason |
|
Just FWIW, I just hit this issue too. I wanted to poke around the layout capabilities of servo for html tables, and decided to create a VM to install servo dependencies without compromising my environment. Since it is now working on Windows too, I decided to go with that for the sake of trying it out. That didn't work out as expected due to this error though :-) I should note I was using Windows 10 Anniversary Update (previews) as both host and guest here, inside Hyper-V Virtual Machines. |
|
HyperV should provide DX support, which means we should be able to use EGL and ANGLE. But it would take a bit of plumbing hacking to make it work, though it would be very interesting to have it working. |
|
Got a problem. |
When run within a default VirtualBox installation of Windows, Servo run from Mach errors with "Error 127". When run as
target/debug/servo.exe tests/html/about-mozilla.html, you get:@Jayflux, Can you please provide a stack backtrace, acquired by doing
RUST_BACKTRACE=1 target/debug/servo.exe tests/html/about-mozilla.html?The text was updated successfully, but these errors were encountered: