Describe the bug
Loading the Gene Ontology (GO) causes the following panic:
panicked at /home/cachy/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/wgpu-27.0.1/src/backend/wgpu_core.rs:1570:18:
wgpu error: Validation Error
Caused by:
In Device::create_buffer, label = 'edge_line_vertex_buffer'
Buffer size 323712232 is greater than the maximum buffer size (268435456)
Serialization info:
Total solutions: 217837
Elements : 51842
Edges : 70007
Labels : 51853
Cardinalities : 0
Characteristics: 0
To Reproduce
Steps to reproduce the behavior:
- Make sure WebGL is enabled (not WebGPU)
- Load the Gene Ontology
- Check browser console
Expected behavior
The only limit for the renderer should be available memory.
Note that while WebGPU does not panic with GO, it also suffers from this same problem (but only with buffers >1GB).
Desktop (please complete the following information):
- OS: CachyOS x86_64
- Browser: Firefox 148.0.2 64-bit
Additional context
We could maybe look into chunking large buffers, i.e., split a large buffer into multiple smaller buffers.
Some resources in that direction:
Describe the bug
Loading the Gene Ontology (GO) causes the following panic:
Serialization info:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The only limit for the renderer should be available memory.
Note that while WebGPU does not panic with GO, it also suffers from this same problem (but only with buffers >1GB).
Desktop (please complete the following information):
Additional context
We could maybe look into chunking large buffers, i.e., split a large buffer into multiple smaller buffers.
Some resources in that direction: