gosling.js icon indicating copy to clipboard operation
gosling.js copied to clipboard

"Error: WebGL context was lost." while zooming out

Open zhangzhen opened this issue 3 years ago • 5 comments

I came across this error twice since I use gosling. Besides, the page crashed more than two times while I was editing json specs in the gosling editor. What have been written got lost, which annoys me a bit.

Zhen

zhangzhen avatar Oct 20 '21 06:10 zhangzhen

Thank you for reporting these!

Regarding the "WebGL context" issue, could you share what was the example that made the error?

I also confronted this error message several times but have not yet found a way to fix it (#457, #230). Hopefully, I can fix it soon as it seems to be quite critical.

Regarding the crash, could you share your spec whenever you confront that? We made multiple updates on our Editor to fix this issue (e.g., https://github.com/gosling-lang/gosling.js/pull/211), but it looks like we still need to take care of some cases.

sehilyi avatar Oct 25 '21 14:10 sehilyi

Regarding the "WebGL context" issue, could you share what was the example that made the error?

The spec for this example is posted on #569. Gosling seems to take up too much memory (~1 Gb) while running the spec. I ran into this issue in the case of plain dataset. I don't know if the same issue will occur when data is served by Higlass Server because I don't use Higlass Server yet.

Can data be loaded from a local file? This will speed up the loading time.

If the same data is used in more than one tracks, the same data will be loaded multiple times instead of once. Avoiding duplicate data loading can definitely improve performance.

zhangzhen avatar Oct 27 '21 14:10 zhangzhen

@sehilyi This bug is so critical and can cause users to ditch gosling. It occurs also when the data comes from higlass server. Any progress on that?

Zhen

zhangzhen avatar Dec 15 '21 09:12 zhangzhen

@zhangzhen, I agree that this is critical. I was having some problems reproducing this issue.

Let me investigate this issue in detail during the winter break (i.e., until the new year).

sehilyi avatar Dec 16 '21 23:12 sehilyi

@sehilyi have you already fixed this bug?

Zhen

zhangzhen avatar Jun 05 '22 06:06 zhangzhen