deck.gl icon indicating copy to clipboard operation
deck.gl copied to clipboard

Hovering over maps is jerky and flickers instead of smooth

Open Ventronik opened this issue 7 years ago • 13 comments

Description

When mousing over features on a geoJSON layer the hovering on my local machine, in ALL browsers flickers instead of being smooth. However when other machines this problem does not occur

https://gph.is/g/E00Kb6m In the gif above I move the cursor smoothly over the section and it flickers instead of staying highlighted.

Any idea how to fix this. It makes developing very annoying.

Repro Steps

Environment (please complete the following information):

  • Framework Version: [e.g. deck.gl 6.3.0]
  • Browser Version: [e.g. Chrome 71.0]
  • OS: [e.g. Mac OS X 10.4]

Logs

Ventronik avatar Jun 21 '19 21:06 Ventronik

I haven't notice this when I tested locally. When you say it only happens on one particular machine, can you give more details of your machine. What version of deck.gl you are using.

Also, are you just rendering one Layer or more, is it possible there is other geometry at the same location with picking or autohighlight off? Any console warnings/errors?

1chandu avatar Jun 21 '19 22:06 1chandu

@1chandu Since this is on Mac, possible Intel GPU issue? Perhaps the other machines have external GPUs?

ibgreen avatar Jun 21 '19 22:06 ibgreen

Thank you for the replies. I am wondering if ibgreen is right about it being a hardware issue. As even the deckGL example for geoJSON polygons give me this issue.

I am using DeckGL 7.0.10

I am on a Mac Book Air. Mojave 10.14.5 Intel HD Graphics 6000 1536mb

There are no console warnings and I got rid of all layers except for the standard map and my GeoJSON. It still happened.

Ventronik avatar Jun 21 '19 23:06 Ventronik

Ok, yeah possibly Intel GPU issue either a precession/shader instruction issue. I will try to reproduce and report back here.

1chandu avatar Jun 22 '19 00:06 1chandu

I was able to get hold a system with Intel GPU HD Graphics 630 1536MB, tried with geoJson example on deck.gl website (documentation page) , but still not able to reproduce. I am trying to find similar machine as yours.

1chandu avatar Jun 24 '19 20:06 1chandu

@Ventronik , I tested on same exact GPU as yours, but I am not able to reproduce, I am using demo on GeoJSON layer doc page : https://deck.gl/#/documentation/deckgl-api-reference/layers/geojson-layer

picking

Any thing different in out setups?, If you haven't can you try above demo.

1chandu avatar Jun 25 '19 09:06 1chandu

http://www.giphy.com/gifs/PlyVhrEwEqitYy9ohi

Ventronik avatar Jun 25 '19 17:06 Ventronik

The only example I can get similar flashing to happen is in the Example for GeoJSON's and Their hovering tooltips. I also included a screen shot of my machine specs. Hopefully that helps.

When dong the demo it seems to be working fine, as evidenced in the GIF. Is the code for the demo on Github?

Ventronik avatar Jun 25 '19 17:06 Ventronik

Will re-test after 7.3 is released, need to get hold of a similar machine.

1chandu avatar Sep 19 '19 01:09 1chandu

@vectorijk , can you retest with latest release 8.0, please assign in back if you still see this, will try to get hold of a machine with similar GPU.

1chandu avatar Jan 14 '20 23:01 1chandu

I guess you are mentioning @Ventronik :)

vectorijk avatar Jan 15 '20 00:01 vectorijk

Closing for inactivity.

Pessimistress avatar Jan 23 '20 17:01 Pessimistress

Same here

MacBook Air (13-inch, 2017)
Catalina 10.15.2
Intel HD Graphics 6000 1536 MB

Switched from MPB for a while and thought there is a bug in my code

denisinvader avatar Jan 29 '20 00:01 denisinvader