Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upWindows build fails to create graphics context #24627
Comments
|
Does it run if you use |
|
It does. |
|
This code uses the default surfman device, which is the ANGLE device. When --angle is not specified, we should be using the wgl device from surfman instead. |
|
OK, we have a problem here, because we use the universal device throughout servo and webxr, which for windows is always the angle device. Fixing this to allow non-angle windows would probably require rewriting the code to be generic in the device, which is something we should do at some point, but is non-trivial. For the moment we could just make |
|
I also have this issue. |
|
|
|
I am having a similar issue, running the nightly build from https://download.servo.org on Windows 10:
The application crashes immediately after startup. |
|
You should be able to work around that by starting it from a terminal window and passing |
This would be nice to have. The current situation with Servo crashing at launch by default is not great. |
Don't panic if surfman initialization fails. Since WebGL is only one component of the web platform, there's no reason that failing to initialize surfman for webgl support should take down the entire browser. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #24642 (in that the browser will now start up) and fix #24627 - [x] These changes do not require tests because tests for graphics acceleration? don't make me laugh.
The window opens and shortly after that it crashes. Both the local and nightly build show the same error.