-
Notifications
You must be signed in to change notification settings - Fork 282
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
assertion failed: requested_size.width <= self.max_texture_size (running wpt tests with broken driver) #1260
Comments
Running this command is fine on my machine:
Output:
Similarly, this command succeeds:
However, testing webgl produces a number of timeout and crashes like this one (seems unrelated to the subject issue):
I'm running off rev d04a64394efb40adeadf0dd950247d2a08ba13b0 of servo/servo#16891 |
I printed the sizes and max_texture_size is 0:
I tried adding this servo/servo#16903 but the same problem. I'm running latest servo upstream with Ubuntu 16.04 with kernel 4.8.0-49-generic |
@MortimerGoro Have you recently installed / updated nvidia proprietary drivers on your machine? |
@glennw Yes, I installed & updated some time ago. I have tried to switch to nouveau driver and it works!. The crash only happens with the proprietary drivers. |
@MortimerGoro OK, that matches up with what I've seen on someone else's machine. Something in our build config results in the nVidia proprietary libGL.so being loaded when using OSMesa for the CI tests. This results in much badness, and a non-working GL context. |
Fail initialization if the max texture size is insufficient. This works around #1260 ([driver issues entry](https://github.com/servo/webrender/wiki/Driver-issues#1260---broken-gl-context-reports-max-texture-size-equal-to-zero)) by gracefully failing the initialization instead of panicking the first time we try to allocate a texture cache page. This should let us fallback to another compositor backend and more easily identify the issue when it happens.
Fail initialization if the max texture size is insufficient. This works around #1260 ([driver issues entry](https://github.com/servo/webrender/wiki/Driver-issues#1260---broken-gl-context-reports-max-texture-size-equal-to-zero)) by gracefully failing the initialization instead of panicking the first time we try to allocate a texture cache page. This should let us fallback to another compositor backend and more easily identify the issue when it happens.
Fixed by #1563. |
Running filtered servo wpt tests such as "
./mach test-wpt --release dom
" or "./mach test-wpt --release webgl
" crash on my desktop linux machine.They only crash when --no-pause-after-test is enabled (running test categories or a single test using "
./mach test-wpt --release tests/wpt/web-platform-tests/webgl/conformance-1.0.3/conformance/extensions/oes-vertex-array-object.html --no-pause-after-test
"). Running any single test without --no-pause-after-test works ok.It seems like something broke in headless mode in a webrender change. I was able to run tests with no problem in the past.
Here is the backtrace, any idea?
The text was updated successfully, but these errors were encountered: