Eugeny / tabby

A terminal for a more modern age
https://tabby.sh
MIT License
58.6k stars 3.37k forks source link

Tabs rendering crash: WebGL: CONTEXT_LOST_WEBGL #6296

Open enodr opened 2 years ago

enodr commented 2 years ago

Describe the problem: Tabs rendering crashes (crash icon). In the dev console there is an error related to WebGL: WebGL: CONTEXT_LOST_WEBGL

image

To Reproduce: Random but seems to happen more often since a few revisions (currently using 1.0.176).

enodr commented 2 years ago

Hi,

Still experiencing this issue on a regular basis. Here is how the terminal looks like after crash:

image

Edit: maybe I should add that my laptop is equipped with integrated + discrete GPU. Maybe worth noting as the error concerns WebGL thus somehow related to the graphic card?

Quoted from https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/isContextLost

The user's computer has multiple graphics processors (such as a laptop with both mobile and desktop class GPUs, the former used primarily when on battery power), and the user or system decides to switch GPUs. In this case, all contexts are lost, then restored after switching GPUs.