wgpu icon indicating copy to clipboard operation
wgpu copied to clipboard

Validation limits are too high

Open munrocket opened this issue 1 year ago • 1 comments

I have integrated gpu card on one PC and all examples gives this error

webgpu.js:331 panicked at 'Unable to find a suitable GPU adapter!: RequestDeviceError { inner: WebGpu(JsValue(OperationError: Required limit (255) is greater than the supported limit (0).
 - While validating maxVertexBufferArrayStride
 - While validating required limits

This limit probably required only for one example.

munrocket avatar Feb 23 '24 13:02 munrocket

Okay this is very weird, as maxVertexBufferArrayStride is required to be at least 2048 - so requesting 255 should be totally fine.

cwfitzgerald avatar Feb 23 '24 23:02 cwfitzgerald

Looks like a dawn issue.

teoxoy avatar Feb 26 '24 15:02 teoxoy

Looks like a dawn issue.

Maybe because I used linux. But other websites was ok. I can check Firefox Nightly.

munrocket avatar Feb 28 '24 21:02 munrocket

With C++ (dawn) I can set validation limit to any amount and this error go away. I suppose with rust+wgpu the same situation?

munrocket avatar Feb 28 '24 21:02 munrocket

I don't think this is an issue on our side, the error in the top most comment looks like a Chromium error that is not spec-compliant.

teoxoy avatar Jul 03 '24 18:07 teoxoy