# ml5.js and error with D3D Shaders

**URL:** <https://discourse.processing.org/t/ml5-js-and-error-with-d3d-shaders/17027>\
**Category:** p5.js\
**Created:** [January 11, 2020, 3:56pm UTC](https://discourse.processing.org/t/ml5-js-and-error-with-d3d-shaders/17027 "2020-01-11T15:56:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lobo](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/lobo/32/7232_2.png) [@lobo](https://discourse.processing.org/u/lobo)\
**Post date:** [January 11, 2020, 3:56pm UTC](https://discourse.processing.org/t/ml5-js-and-error-with-d3d-shaders/17027/1 "2020-01-11T15:56:45Z")

</div>

Hi,

I’ve got several Thinkpads T420 in my classroom with Intel 3000 graphic card, and exactly the same p5js example make error Failed to create D3D Shaders on some of them, but only on some! Not on all. Why?

- My code: [https://editor.p5js.org/heillos/sketches/lYG73fdE5](https://editor.p5js.org/heillos/sketches/lYG73fdE5)
- Errors: [https://pastebin.com/wz1vRC4s](https://pastebin.com/wz1vRC4s)

---

<div class="post-metadata">

**Author:** ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)\
**Post date:** [January 22, 2020, 11:26pm UTC](https://discourse.processing.org/t/ml5-js-and-error-with-d3d-shaders/17027/2 "2020-01-22T23:26:57Z")

</div>

Were you able to resolve this problem?

I’m not sure at all, but my first guess is that some of them have updated display drivers, while others don’t.

See for example this related posenet error report:

[https://www.google.com/search?q=ml5.js+error+"X3511"](https://www.google.com/search?q=ml5.js+error+%22X3511%22)

> <https://github.com/tensorflow/tfjs/issues/295>
>
> TensorFlow.js version 0.10.3
> Chrome version 66.0.3359.139
> I've run the demo on both the main site ( https://storage.googleapis.com/tfjs-models/demos/posenet/camera.html ) and my own local site....
