webgpu / webgpureport.org

A website to show WebGPU info
https://webgpureport.org
49 stars 8 forks source link

report from Brave, chrome and chromium #3

Closed adammaj1 closed 1 year ago

adammaj1 commented 1 year ago
WebGPU Report(beta)
  webgpu request with adapterOptions: {"powerPreference":"high-performance"} failed: Cannot read properties of null (reading 'requestAdapterInfo')
  webgpu request with adapterOptions: {"powerPreference":"low-power"} failed: Cannot read properties of null (reading 'requestAdapterInfo')
misc
getPreferredCanvasFormat    bgra8unorm
fallback adapter    not supported
workers
webgpu API  exists
requestAdapter  successful
requestDevice   failed
requestAnimationFrame   successful
transferControlToOffscreen  successful
es6 modules successful

Brave Version 1.52.126 Chromium: 114.0.5735.133 (Official Build) (64-bit)

or chromium Version 114.0.5735.106 (Official Build) snap (64-bit)

getPreferredCanvasFormat | bgra8unorm
fallback adapter | not supported

WebGPU Report(beta)
[Fix me on GitHub](https://github.com/gfxfundamentals/webgpureport.org)
  webgpu request with adapterOptions: {"powerPreference":"high-performance"} failed: Cannot read properties of null (reading 'requestAdapterInfo')
  webgpu request with adapterOptions: {"powerPreference":"low-power"} failed: Cannot read properties of null (reading 'requestAdapterInfo')
misc
getPreferredCanvasFormat    bgra8unorm
fallback adapter    not supported
workers
webgpu API  exists
requestAdapter  successful
requestDevice   failed
requestAnimationFrame   successful
transferControlToOffscreen  successful
es6 modules successful

or chrome Version 101.0.4951.54 (Official Build) (64-bit)

 webgpu not available on this browser

I know that chrome should be 114 or 115 : https://developer.mozilla.org/en-US/docs/Web/API/WebGPU_API#browser_compatibility any tips?

adammaj1 commented 1 year ago

chrome Version 116.0.5845.4 (Official Build) dev (64-bit)

adapter info:request unmasked
--
architecture | kepler
description |  
device |  
vendor | nvidia
limits:
maxBindGroups | 4
maxBindingsPerBindGroup | 1000
maxBufferSize | 2147483648 (2gb)
maxColorAttachmentBytesPerSample | 32
maxColorAttachments | 8
maxComputeInvocationsPerWorkgroup | 1024 (1k)
maxComputeWorkgroupSizeX | 1024 (1k)
maxComputeWorkgroupSizeY | 1024 (1k)
maxComputeWorkgroupSizeZ | 64
maxComputeWorkgroupStorageSize | 49152 (48k)
maxComputeWorkgroupsPerDimension | 65535 (64k)
maxDynamicStorageBuffersPerPipelineLayout | 8
maxDynamicUniformBuffersPerPipelineLayout | 10
maxInterStageShaderComponents | 60
maxInterStageShaderVariables | 16
maxSampledTexturesPerShaderStage | 16
maxSamplersPerShaderStage | 16
maxStorageBufferBindingSize | 2147483644 (2gb)
maxStorageBuffersPerShaderStage | 8
maxStorageTexturesPerShaderStage | 8
maxTextureArrayLayers | 256
maxTextureDimension1D | 8192 (8k)
maxTextureDimension2D | 8192 (8k)
maxTextureDimension3D | 2048 (2k)
maxUniformBufferBindingSize | 65536 (64k)
maxUniformBuffersPerShaderStage | 12
maxVertexAttributes | 16
maxVertexBufferArrayStride | 2048 (2k)
maxVertexBuffers | 8
minStorageBufferOffsetAlignment | 256
minUniformBufferOffsetAlignment | 256
features:
bgra8unorm-storage
depth-clip-control
depth32float-stencil8
indirect-first-instance
rg11b10ufloat-renderable
texture-compression-bc

WebGPU Report(beta)
[Fix me on GitHub](https://github.com/gfxfundamentals/webgpureport.org)
#1 high-performance
adapter info:
request unmasked
architecture    kepler
description 
device  
vendor  nvidia
limits:
maxBindGroups   4
maxBindingsPerBindGroup 1000
maxBufferSize   2147483648 (2gb)
maxColorAttachmentBytesPerSample    32
maxColorAttachments 8
maxComputeInvocationsPerWorkgroup   1024 (1k)
maxComputeWorkgroupSizeX    1024 (1k)
maxComputeWorkgroupSizeY    1024 (1k)
maxComputeWorkgroupSizeZ    64
maxComputeWorkgroupStorageSize  49152 (48k)
maxComputeWorkgroupsPerDimension    65535 (64k)
maxDynamicStorageBuffersPerPipelineLayout   8
maxDynamicUniformBuffersPerPipelineLayout   10
maxInterStageShaderComponents   60
maxInterStageShaderVariables    16
maxSampledTexturesPerShaderStage    16
maxSamplersPerShaderStage   16
maxStorageBufferBindingSize 2147483644 (2gb)
maxStorageBuffersPerShaderStage 8
maxStorageTexturesPerShaderStage    8
maxTextureArrayLayers   256
maxTextureDimension1D   8192 (8k)
maxTextureDimension2D   8192 (8k)
maxTextureDimension3D   2048 (2k)
maxUniformBufferBindingSize 65536 (64k)
maxUniformBuffersPerShaderStage 12
maxVertexAttributes 16
maxVertexBufferArrayStride  2048 (2k)
maxVertexBuffers    8
minStorageBufferOffsetAlignment 256
minUniformBufferOffsetAlignment 256
features:
bgra8unorm-storage
depth-clip-control
depth32float-stencil8
indirect-first-instance
rg11b10ufloat-renderable
texture-compression-bc
#2 fallback
adapter info:
request unmasked
architecture    swiftshader
description 
device  
vendor  google
limits:
maxBindGroups   4
maxBindingsPerBindGroup 1000
maxBufferSize   1073741824 (1gb)
maxColorAttachmentBytesPerSample    32
maxColorAttachments 8
maxComputeInvocationsPerWorkgroup   256
maxComputeWorkgroupSizeX    256
maxComputeWorkgroupSizeY    256
maxComputeWorkgroupSizeZ    64
maxComputeWorkgroupStorageSize  32768 (32k)
maxComputeWorkgroupsPerDimension    65535 (64k)
maxDynamicStorageBuffersPerPipelineLayout   4
maxDynamicUniformBuffersPerPipelineLayout   8
maxInterStageShaderComponents   60
maxInterStageShaderVariables    16
maxSampledTexturesPerShaderStage    16
maxSamplersPerShaderStage   16
maxStorageBufferBindingSize 1073741824 (1gb)
maxStorageBuffersPerShaderStage 8
maxStorageTexturesPerShaderStage    4
maxTextureArrayLayers   256
maxTextureDimension1D   8192 (8k)
maxTextureDimension2D   8192 (8k)
maxTextureDimension3D   2048 (2k)
maxUniformBufferBindingSize 65536 (64k)
maxUniformBuffersPerShaderStage 12
maxVertexAttributes 16
maxVertexBufferArrayStride  2048 (2k)
maxVertexBuffers    8
minStorageBufferOffsetAlignment 256
minUniformBufferOffsetAlignment 256
features:
bgra8unorm-storage
depth-clip-control
depth32float-stencil8
indirect-first-instance
rg11b10ufloat-renderable
texture-compression-astc
texture-compression-bc
texture-compression-etc2
misc
getPreferredCanvasFormat    bgra8unorm
workers
webgpu API  exists
requestAdapter  successful
requestDevice   successful
getContext("webgpu")    successful
requestAnimationFrame   successful
transferControlToOffscreen  successful
es6 modules successful
greggman commented 1 year ago

I am not sure what you're asking

It sounds like Brave doesn't support WebGPU or doesn't support it correctly.

Maybe file a bug there or wait for a few versions.

adammaj1 commented 1 year ago

I have solved the problem by installing the google chrome dev version. I wanted only to show that your software works and thank you.