Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebGL: readpixels error #614

Open
clementcolin opened this issue Apr 18, 2023 · 8 comments
Open

WebGL: readpixels error #614

clementcolin opened this issue Apr 18, 2023 · 8 comments
Assignees
Labels
bug itowns This issue required changes in itowns priority-medium

Comments

@clementcolin
Copy link
Contributor

image

I get this error that freezes my 3D context. :
WebGL: INVALID_OPERATION: readPixels: buffer is not large enough for dimensions using UD-Viz as a library and the SideBarWidget (cf here.

Resizing my window or displaying the debugger get rid of this and allow me to interact with the 3D Context.

Do you any idea where this come from ?

@valentinMachado
Copy link
Contributor

I tried to reproduce your bug by cloning your repo, but looks like you are importing @ud-viz/browser using some witchcraft ^^ why are you not importing @ud-viz/browser in your package.json ?

@clementcolin
Copy link
Contributor Author

I wanted to work with a local UD-Viz version or the current UD-Viz version on the git (I could not wait for the 3.1 release :p ). So, the only solution I found was to use UD-Viz as a Git Submodules or a symbolic link to my local directory holding UD-Viz

@valentinMachado
Copy link
Contributor

Ok I am not familiar with this workflow ahah
You could also import @ud-viz/browser in your package.json as usual and just modify the version number by:
file:the/path/to/your/local/udviz

@clementcolin
Copy link
Contributor Author

Just add the same error working on the #312 branch. It seams to appear kind of randomly, I will try to reproduce it

image

@clementcolin
Copy link
Contributor Author

image

This error appears also when asserting code on my laptop, updating the driver of my graphic card did not change anything.

@valentinMachado
Copy link
Contributor

valentinMachado commented Jun 5, 2023

image

This error appears also when asserting code on my laptop, updating the driver of my graphic card did not change anything.

I am also seeing these warnings, they are not throw when running in google chrome making me thinking they are related to puppeteer

@clementcolin
Copy link
Contributor Author

It seems to be linked to the browser : I'm usually working on Brave, I tried on Firefox and I could not reproduce this bug with it

@valentinMachado
Copy link
Contributor

This bug seems to be related to itowns, this issue should migrate overthere

@valentinMachado valentinMachado added the itowns This issue required changes in itowns label Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug itowns This issue required changes in itowns priority-medium
Projects
None yet
Development

No branches or pull requests

2 participants