-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linux - Removing point entity with HeightReference.NONE causes a phantom entity to appear #7031
Comments
Hi @floonone, thanks for including the Sandcastle example! However, everything seemed to work as expected for me. Can you paste a screen shot of what you're seeing? |
Hmm. Yeah, I'm running Windows and couldn't reproduce this. If your drivers are out of date, that's one thing that could cause an issue. @mramato can you see if you can reproduce this on your linux machine? |
I can't seem to reproduce this issue either, I tried both Firefox 62 and Chrome 69 on Kubuntu 18.04. I agree this could be a graphics driver, especially since the point gets all floaty and detached from the scene. Is there any output in the console? What video card are you using? Can you visit http://webglreport.com/ on Chrome 69 on the offending machine and paste the results of the WebGL 1 report (just select all/copy and GitHub will make a pretty table when you paste it). |
No console output. I'm using a Nvidia GeForce GT 730, using Nvidia binary driver version 384.130.
Here it is:
|
Also reported by @cpt-chewieeee in #7045. See #7045 for an example using clustering. @cpt-chewieeee was also seeing this issue on a linux machine, see #7045 (comment) for more details |
Hi, I have also encountered this issue on my linux machine using Electron. Cheers |
Thanks @supercamel! I'm not sure how soon we're going to be able to look into this, but we'll give you and update when we can |
As I stumbled over the same problem, just some system info from me, too: I can provide some vague additional information: Additionally the "phantom points" sometimes disappear, depending on which part of the globe I am looking and how far/near I zoomed in. Here's an example gif I already posted in the issue (#7381) I created before finding this one. In this example the "phantom point" is only appearing after zooming in and out: |
As I started to dig around a bit, I'll just leave my two cents here. Maybe it can at least give some tips if someone else wants to work on it (as I don't have the time right now unfortunately) ;)
|
Thank you for this detailed write up @UniquePanda! That should help our graphics developers narrow in on the problem. |
I can absolutely reproduce this on Linux (Nvidia) and also via Cesium ion (the tileset position tool ends up with a large phantom point). |
I don't think removing the point in necessary to recreate the issue. In our application we were able to cause this by changing the 'show' variable. I am still testing it but a possible work-around is to set the color to have an alpha of 0.0 and hide it via that method. Initially, that seems to be working. |
This is definitely a video driver specific bug/issue on linux, which means it may not be our fault (or possible to workaround). Hopefully that's not the case but we need to dig in further to know for sure. The reason I know this is because I can reproduce it every time under the same hardware if I toggle back and forth between my intel and nvidia GPUs. |
This was fixed in #8054 which went out with the 1.61 release. |
Removing a point entity with the height reference property set to NONE causes a phantom entity to appear in the middle of the screen. This entity has no id and doesn't show up in the collection, so it can't be removed, unless a new point entity is added to the collection, which makes it go away.
Depending on the camera position, the entity disappears and reappears. Setting heightReference to CLAMP_TO_GROUND or RELATIVE_TO_GROUND works as expected.
Sandcastle example
Thanks in advance!
The text was updated successfully, but these errors were encountered: