Open whatisor opened 6 days ago
Do you experience a context lost with all examples using a video texture? How about this one:
https://threejs.org/examples/webgl_video_panorama_equirectangular
Besides, do you see any differences when using Firefox on the affected device?
Do you mind sharing a chrome://gpu/
report in this issue?
I think it is related hardware, but panorama running well without issue.
Can you try to remove all post processing of webgl_materials_video
and check if it works on your machine? Maybe the example is too demanding.
BTW: When you are getting asked to share a chrome://gpu/
report, the idea is not to make a screenshot but click the button "Download Report to File" and then share the resulting text file.
Some more information:
Do you see the same issues in Firefox?
Description
Video texture example is black screen because of WebGL context lost on Ubuntu 22.04.
Initial analysis: When video is not ready( not first frame come), rendering is inited wrongly that makes WebGL crashes.
Issue is fixed on example if checking this before rendering.
if(video.currentTime > 0) composer.render();
Reproduction steps
Code
https://threejs.org/examples/?q=video#webgl_materials_video
Live example
https://threejs.org/examples/?q=video#webgl_materials_video
Screenshots
Version
r170
Device
Desktop
Browser
Chrome
OS
Linux