# Webgpu error in Chrome, but not Chrome Canary for beta 8

**URL:** <https://forum.babylonjs.com/t/webgpu-error-in-chrome-but-not-chrome-canary-for-beta-8/27746>\
**Category:** Bugs\
**Tags:** webgpu\
**Created:** [February 17, 2022, 1:22pm UTC](https://forum.babylonjs.com/t/webgpu-error-in-chrome-but-not-chrome-canary-for-beta-8/27746 "2022-02-17T13:22:59Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![mise](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mise/32/37506_2.png) [@mise](https://forum.babylonjs.com/u/mise)\
**Post date:** [February 17, 2022, 1:22pm UTC](https://forum.babylonjs.com/t/webgpu-error-in-chrome-but-not-chrome-canary-for-beta-8/27746/1 "2022-02-17T13:22:59Z")

</div>

I have an active Chrome WebGPU Experiment running for my production environment, but locally I can only test in Chrome Canary.  
In Chrome Canary it works locally, and also in production. In Chrome I have the errors below in production.  
I made sure to download the latest twgsl and glslang files from preview.babylonjs.

The Babylon playground also doesn’t have WebGPU in regular Chrome as far as I can tell.  
So this is really hard for me to test/understand right now.  
I hope you can help me with this.

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/b/9/b93c7cb617e2220759abc5b0526cba48c614fd2c.png)

[https://tuggowar.io/webgpu](https://tuggowar.io/webgpu) is the production environment with webgpu  
It all worked on the beta 6 by the way.

---

<div class="post-metadata">

**Author:** ![roland](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/roland/32/38940_2.png) [@roland](https://forum.babylonjs.com/u/roland)\
**Post date:** [February 17, 2022, 4:24pm UTC](https://forum.babylonjs.com/t/webgpu-error-in-chrome-but-not-chrome-canary-for-beta-8/27746/2 "2022-02-17T16:24:57Z")

</div>

Hi @mise!

> [@mise](#):
>
> It all worked on the beta 6 by the way.

Are you sure it worked in Chrome? As far as I know it currently works only in Chrome Canary. I don’t follow the updates so just asking 🙂

However:  
Up to date Chrome:

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/b/0/b02bb86abdace661111b68bc75e8f086992d7a83.png)

Chrome Canary:

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/6/3/635971cca900a7e92c0c57031cd155ed4fae2efb.png)

---

<div class="post-metadata">

**Author:** ![Evgeni\_Popov](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/evgeni_popov/32/4432_2.png) [@Evgeni\_Popov](https://forum.babylonjs.com/u/Evgeni_Popov)\
**Post date:** [February 17, 2022, 5:07pm UTC](https://forum.babylonjs.com/t/webgpu-error-in-chrome-but-not-chrome-canary-for-beta-8/27746/3 "2022-02-17T17:07:43Z")

</div>

Chrome is lagging compared to Chrome Canary regarding the WebGPU spec implementation. On our side, we always try to keep in sync with the latest updates of the spec and the implementation in Chrome Canary, so it’s expected it may fail in Chrome depending on the updates.

---

<div class="post-metadata">

**Author:** ![roland](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/roland/32/38940_2.png) [@roland](https://forum.babylonjs.com/u/roland)\
**Post date:** [February 17, 2022, 5:49pm UTC](https://forum.babylonjs.com/t/webgpu-error-in-chrome-but-not-chrome-canary-for-beta-8/27746/4 "2022-02-17T17:49:29Z")

</div>

So the webgpu flag may be present in one version of Chrome and removed by an update later?

---

<div class="post-metadata">

**Author:** ![Evgeni\_Popov](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/evgeni_popov/32/4432_2.png) [@Evgeni\_Popov](https://forum.babylonjs.com/u/Evgeni_Popov)\
**Post date:** [February 17, 2022, 5:56pm UTC](https://forum.babylonjs.com/t/webgpu-error-in-chrome-but-not-chrome-canary-for-beta-8/27746/5 "2022-02-17T17:56:41Z")

</div>

It’s possible, they had removed this flag in Canary in some version… But you can still start Chrome with `--enable-unsafe-webgpu` to overcome this problem.

The problem with Chrome vs Chrome Canary is that Chrome does not implement the latest changes in the spec. For eg, my Chrome version is “98.0.4758.82” whereas my Canary version is “100.0.4887.0”. I think Canary is several weeks (maybe months) ahead of Chrome so is more up to date regarding the implementation of WebGPU.

---

<div class="post-metadata">

**Author:** ![roland](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/roland/32/38940_2.png) [@roland](https://forum.babylonjs.com/u/roland)\
**Post date:** [February 17, 2022, 7:09pm UTC](https://forum.babylonjs.com/t/webgpu-error-in-chrome-but-not-chrome-canary-for-beta-8/27746/6 "2022-02-17T19:09:06Z")

</div>

Thank you!

---

<div class="post-metadata">

**Author:** ![mise](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mise/32/37506_2.png) [@mise](https://forum.babylonjs.com/u/mise)\
**Post date:** [February 17, 2022, 7:56pm UTC](https://forum.babylonjs.com/t/webgpu-error-in-chrome-but-not-chrome-canary-for-beta-8/27746/7 "2022-02-17T19:56:53Z")

</div>

thanks for educating me! I encourage you to stay as ahead as you can 😉  
sorry to keep you so busy today 😶

---

<div class="post-metadata">

**Author:** ![mise](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mise/32/37506_2.png) [@mise](https://forum.babylonjs.com/u/mise)\
**Post date:** [February 17, 2022, 8:19pm UTC](https://forum.babylonjs.com/t/webgpu-error-in-chrome-but-not-chrome-canary-for-beta-8/27746/8 "2022-02-17T20:19:12Z")

</div>

I still am not sure how to version control the changing glslang.\* and twgsl.\*  
do you have a good suggestion for this? can I for example always take the latest because it is backward compatible? or do I need the right version for each specific Babylon release?

---

<div class="post-metadata">

**Author:** ![mise](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mise/32/37506_2.png) [@mise](https://forum.babylonjs.com/u/mise)\
**Post date:** [February 17, 2022, 8:28pm UTC](https://forum.babylonjs.com/t/webgpu-error-in-chrome-but-not-chrome-canary-for-beta-8/27746/9 "2022-02-17T20:28:09Z")

</div>

bah, I cannot get it fixed even by rolling back the before mentioned files and beta 5 or 6.

I think this means a Chrome update messed things up right?

---

<div class="post-metadata">

**Author:** ![Evgeni\_Popov](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/evgeni_popov/32/4432_2.png) [@Evgeni\_Popov](https://forum.babylonjs.com/u/Evgeni_Popov)\
**Post date:** [February 17, 2022, 8:48pm UTC](https://forum.babylonjs.com/t/webgpu-error-in-chrome-but-not-chrome-canary-for-beta-8/27746/10 "2022-02-17T20:48:22Z")

</div>

> [@mise](#):
>
> I still am not sure how to version control the changing glslang.\* and twgsl.\*  
> do you have a good suggestion for this? can I for example always take the latest because it is backward compatible?

Yes, you can always take the latest versions for both.

> [@mise](#):
>
> I think this means a Chrome update messed things up right?

Yes, that’s probably the reason. The spec is still evolving and it’s a work in progess, being an early adopter has some disavantages 🙂
