tableau / extensions-api

Extensions API sample code and developer docs.
http://tableau.github.io/extensions-api
MIT License
268 stars 251 forks source link

Enable WebGL #149

Closed ed-gonzalez closed 2 years ago

ed-gonzalez commented 6 years ago

Please enable WebGL or provide switch to enable by user.

I Would like to include advanced graphics created with WebGL as well as reference libraries such as deck.gl which generates maps using WebGL.

It looks like the embedded browser in the extension object is using chrome 49 and needs to have WebGL enabled. However the web page object seems to be using safari, and WebGL is working there.

tbleaubrowser is enabled there.

johnDance commented 6 years ago

Hello Ed: We are planning on supporting WebGL in extensions, but there are some challenges to overcome. I can't promise a date, but it is a high priority for us. John

jerryhall commented 5 years ago

Any update on this? I'm trying to use the MapAnalytics extension to no avail (JavaScript Alert, demos.mapbox.com, 'This extension is not currently supported on Windows'. and "Failed to initialize MapBox extension! Error: Failed to initialize WebGL'). I do have WebGL installed and working [https://get.webgl.org/]. On the extension site they say that 'a known issue that affects some users on Tableau Desktop for Windows' from here: https://docs.mapbox.com/geographic-analytics/overview/ Any ideas how I might use this (what would be a very useful) tool? I'm on Windows 7, Dell i7, 16gb mem, using Tableau 2018.3.2. Thanks!

johnDance commented 5 years ago

Hi Jerry I have good news and bad news. The good news is that we have enabled WebGL on the Macintosh. The bad news is that this doesn't help you at all. I am sorry. We have run into issues with contention between WebGL and our hardware enabled rendering pipeline. The challenges have changed since October, but the outcome has not. We have not dropped the task, but we need to focus on a few other things first. John

aybbr commented 5 years ago

Hey,

I recently updated my Tableau Desktop version to 2019.1 on MacBook and MapAnalytics stopped working. Same WebGL issue. 'Failed to initialize Mapbox extension! Error: Failed to initialize WebGL' Any idea how can I overcome this?

johnDance commented 5 years ago

Hi! This has been fixed in the 2019.1.1 update, (and 2019.2 when it comes out). John

9squirrels commented 5 years ago

Hi, is there any update on this issue and when it's likely to be resolved for Windows users?

illonage commented 5 years ago

Hi @9squirrels, the team is working on it but we don't have a timeline for it. We will keep updated. Thanks, Geraldine

m4328sfda9 commented 5 years ago

Hi - is there any timeline for when Mapbox extensions/WebGL will be available for Tableau Desktop for windows? Thanks!

LuizMBR commented 4 years ago

Any updates on this?

Kovner commented 4 years ago

Unfortunately we haven't had the bandwidth to put much work on this yet. We have an idea of what we need to do, but that's all we can say at this point. I'm sorry!

pSeeper commented 4 years ago

Hi,

Is there an update in the issue?

What workaround exists?

Kovner commented 4 years ago

Hi @pSeeper I'm sorry there is no update at this time. We haven't had the chance to put in any work on this recently. The only workarounds are to use Server web authoring or Mac Desktop.

JD-Franco commented 4 years ago

Any updates on this?

It is a shame that mapboxgl based extensions won't work on PCs.

Any idea when this would be solved?

johnDance commented 4 years ago

I'm afraid the road to that is harder than it should be. We are focused on some other areas right now. Hopefully in 2021. Sorry. :-( John

iottester123 commented 3 years ago

Hi @johnDance, do you have any updates on this fix?

johnDance commented 3 years ago

Hi @iottester123 This is one of those cases where the quote "It hurts too much to laugh, but I'm too old to cry" might apply.

Underneath desktop, we use Chromium and QWebEngine as our web client. On Windows, Chromium uses ANGLE for its openGL (and therefore) WebGL implementation. ANGLE is not thread safe. Chromium doesn't have an issue with this because all rendering is handled with a single GPU scheduling thread, but Tableau has a different rendering thread model. We were hoping a new version of QWebEngine would solve this problem, but it did not.

We will be investigating some a software rendering solution for openGL/WebGL and see if is performant enough. Sorry for the continued bad news. John

KCPKCP commented 2 years ago

Hi @johnDance

Are there any new updates on this..? I'm using Tableau Desktop 2021.4.8

johnDance commented 2 years ago

Hello @KCPKCP Unfortunately no. Sorry. John

KCPKCP commented 2 years ago

Hi @johnDance ,

Thanks for replying. Hopefully this can be added feature in a future release.

johnDance commented 2 years ago

Duplicate of https://github.com/tableau/extensions-api/issues/378.