antvis/G6

Incorrect complex fruchterman layout rendering when GPU accelerated #3424

AgustinBanchio posted onGitHub

Describe the bug

When a Fruchterman layout graph has complex data and is GPU accelerated, the layout is incorrectly rendered.

Sometimes it doesn't show at all and you need to pan and scroll around to see it, and it's all squashed in a diagonal line. See attached screenshot.

This can be replicated with the GPU layout example for complex data.

It doesn't happen on every machine. It runs correctly on other Windows PCs or on a MacBook.

My guess is that it has to do with the actual Graphics Adapter or driver? Nvidia Drivers on Windows?

Tried on different browsers, with no extensions or add-ons, tried replacing direct x with open GL and the issue still persisted.

Your Example Website or App

https://g6.antv.vision/en/examples/net/gpuLayout#fruchtermanComplexData

Steps to Reproduce the Bug or Issue

Go to https://g6.antv.vision/en/examples/net/gpuLayout#fruchtermanComplexData. See the rendered layout.

Expected behavior

The layout should be rendered correctly and not squashed

Screenshots or Videos

image

Platform

  • OS: Windows 10
  • Browser: Chrome (Edge and Firefox also have the same issue.)
  • Version: 97.0.4692.71
  • GPU: Nvidia GeForce 3090 with latest windows 10 drivers

Additional context

Maybe someone with a similar graphics card and setup can try to reproduce and find the issue.

We are having the same issues with M1 and M1Pro MacBooks


This issue has been closed because it has been outdate for a long time. Please open a new issue if you still need help.

这个 issue 已经被关闭,因为 它已经过期很久了。 如果你仍然需要帮助,请创建一个新的 issue。

posted by github-actions[bot] 10 months ago

Fund this Issue

$0.00
Funded

Pull requests