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

Texture WebGL: OUT_OF_MEMORY #12219

Closed
cnchore opened this issue Sep 27, 2024 · 3 comments · Fixed by #12224
Closed

Texture WebGL: OUT_OF_MEMORY #12219

cnchore opened this issue Sep 27, 2024 · 3 comments · Fixed by #12224

Comments

@cnchore
Copy link

cnchore commented Sep 27, 2024

What happened?

When using the videoElement material, the console reported an error and couldn't draw properly。

error info:
WebGL: OUT_OF_MEMORY: texSubImage2D: bad image data

Reproduction steps

  1. Visit the website: https://sandcastle.cesium.com/?src=Video.html
  2. Opening the development console

...

Sandcastle example

https://sandcastle.cesium.com/?src=Video.html

Environment

Browser: Chrome 129.0.6668.70
CesiumJS Version:1.121
Operating System: macos

@cnchore
Copy link
Author

cnchore commented Sep 27, 2024

image

@ggetz
Copy link
Contributor

ggetz commented Sep 27, 2024

@jjspace Could you please check if this is a regression from #12158? If not, would you mind bisecting to see where this broke?

@jjspace
Copy link
Contributor

jjspace commented Sep 27, 2024

@ggetz git bisect points to commit e00c68a which was part of #12100 from @jjhembd

I definitely don't know enough about this code to be able to point to what specifically may be causing this.

# "bad" commit
git checkout e00c68ad9d24e0373a4bbf928a5f5a441e22d7bd
# "good" commit right before that one
git checkout e00c68ad9d24e0373a4bbf928a5f5a441e22d7bd~1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants