Closed VitalyMCT closed 6 years ago
@vitaly-livshits thanks for the error report.
Does loading this debug page on the same Windows 10 machine you're seeing this error in PowerBI Desktop on https://www.mapbox.com/mapbox-gl-js/example/check-for-support/ throw an alert?
Also please confirm here that web GL 1
is supported - http://webglreport.com/
The Mapbox Visual for PowerBI checks if your browser returns true
that WebGL is supported. If the test returns false, we show the message you report in this issue.
I cannot reproduce on my Windows 10 machine, so it's likely GPU and environment specific.
Not sure Power BI even cares so this just an idle theory: try changing the default browser to Chrome.
Yes, this is definitely environment specific.
The machine with the issue is equipped with a DisplayLink-based docking station and is running the latest DisplayLink drivers. Do you have any DisplayLink-based docks available at Mapbox?
I only have intermittent access to the environment. I will run the suggested tests the next time I have access and report the results here.
Thanks, @vitaly-livshits. If the machine in question does not have a GPU, then there will need to be a software rendering fallback in the browser. I'm not sure what the default behavior is for the default browser in Power BI Desktop, but I'll ask the Microsoft team.
Please test the two sites above on the machine in question when you have time in both Chrome and Edge, if possible.
Just tried - https://www.mapbox.com/mapbox-gl-js/example/check-for-support/ page loads fine in all 4 browsers installed on the machine. http://webglreport.com/ confirms that WebGL 1 is available in all 4 browsers. The PC has a GPU, it's Intel HD Graphics 520.
There must be something particular about rendering from within PBI Desktop.
Any ideas?
On Mon, Mar 5, 2018 at 11:19 PM, Ryan Baumann notifications@github.com wrote:
Thanks, @vitaly-livshits https://github.com/vitaly-livshits. If the machine in question does not have a GPU, then there will need to be a software rendering fallback in the browser.
Please test the two sites above on the machine in question when you have time in both Chrome and Edge, if possible.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mapbox/mapboxgl-powerbi/issues/71#issuecomment-370657595, or mute the thread https://github.com/notifications/unsubscribe-auth/ABrxZJ8lnnFuHl7DzX8WTzfIIYgBiZ4Tks5tbg5ogaJpZM4SVLeB .
This may be specific to how Power BI Desktop embedded browser works on this machine @vitaly-livshits - let's see what the reply is on https://github.com/Microsoft/PowerBI-visuals/issues/310
I have the same issue in an Azure Windows 10 Pro Iaas VM.
http://webglreport.com/ confirms Edge supports WebGL 1.0 and the map renders just fine at https://www.mapbox.com/mapbox-gl-js/example/check-for-support/
Power BI desktop shows the error.
Thanks for the error report @molotch! I'll continue to work on how to debug this better with the Power BI team.
I have the same issue running Power BI desktop on Azure Windows Server 2012 R2. The two checks both work as described by Molotch above.
Same issue here running March 2018 release of Power BI Desktop on a windows 10 machine with Chrome as default browser.
I have exactly the same issue.
I am on a Dell Latitude 7480 with Intel HD Graphics 520
Tested latest versions of chrome (set as default), edge, firefox and internet explorer. Using March 2018 version of PowerBI.
Results:
https://www.mapbox.com/mapbox-gl-js/example/check-for-support/ checks out ok for all 4 browsers
http://webglreport.com/ confirms WebGL 1 is available in all 4 browsers. WebGL 2 has issues on edge and internet explorer, all the rest are fine.
Looking forward to a fix.
Thanks for the additional bugs these are very helpful. I can cut a test version to try locally and confirm it solves your issue. Ill drop an update tomorrow.
@zapcity @woodwind3442 @Molotch @vitaly-livshits
I created a test build that removes the check we perform to see if the browser self-reports if WebGL is supported. Please try the test pbiviz file and report back on this ticket if this fixes your issue.
My hunch here is that the browser is reporting that webGL is not supported, but the browser has an integrated software rendering fallback.
Just tried the test build. The issue is still there.
On Wed, Mar 21, 2018 at 11:56 AM, Ryan Baumann notifications@github.com wrote:
@zapcity https://github.com/zapcity @woodwind3442 https://github.com/woodwind3442 @Molotch https://github.com/molotch @vitaly-livshits https://github.com/vitaly-livshits
I created a test build that removes the check we perform to see if the browser self-reports if WebGL is supported. Please try the test pbiviz file https://github.com/mapbox/mapboxgl-powerbi/raw/no-webgl-validate/dist/mapboxGLMap.pbiviz and report back on this ticket if this fixes your issue.
Reference Pull Request. https://github.com/mapbox/mapboxgl-powerbi/pull/83 My hunch here is that the browser is reporting that webGL is not supported, but the browser has an integrated software rendering fallback.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mapbox/mapboxgl-powerbi/issues/71#issuecomment-374990790, or mute the thread https://github.com/notifications/unsubscribe-auth/ABrxZOgTRtc0wGhD1oYMqMlaa4l5DeWBks5tgnhFgaJpZM4SVLeB .
Same, issue still persists. I deleted the old custom vis and installed the new one via the link given. Also used my access token. I'll give this a try on my desktop when I get home tonight. It just doesn't work on my laptop with Intel HD Graphics 520.
Do you get the exact same error (the browser does not support WebGL
) as before @vitaly-livshits @zapcity? Or does the map just not render (blank div) with the new version?
I am getting the exact same error as before.
Interesting. I'll publish a new version right away @vitaly-livshits to make sure the visual updates the hash code. Otherwise, your Power BI instance may not be loading the new test version. 5 minutes I'll drop an update here.
@vitaly-livshits how does this work? https://github.com/mapbox/mapboxgl-powerbi/raw/no-webgl-validate/dist/mapboxGLMap.pbiviz
I confirmed that by manually disabling webgl, I get an endless HTML loading animation in my browser using this version. No text error message in the viz div.
This one works, thanks!
Woho @vitaly-livshits!
@zapcity @woodwind3442 @Molotch can you confirm this latest test build solves your issue as well?
Thanks we are making progress! I no longer get the "Your browser doesn't support WebGL" error in my mapbox visualisation. However, I get a progress circle and it keeps generating an error dialog box saying:
Something went wrong: Cannot read property 'resize' of undefined
I have the default map visualization working ok with my lat/long data, but just can't get the mapbox visualisation to work.
@zapcity it looks like the Intel HD 520 card has a history of WebGL errors with Chrome. Chrome is the browser Power BI Desktop uses. https://communities.intel.com/thread/117565. Are you using thr latest graphics card drivers?
Can you open the sample Mapbox Visual for Power BI workbooks from the readme in this repo in Chrome and Firefox? Do they show errors?
I also get this issue. With the current App Source version I get "your browser doesn't support WebGL". With the latest build linked above, I get a never ending loading circle once I put in the mapbox key.
This all happens ONLY when I'm plugged into any DisplayLink USB hub, I've tried three different makes and they all suffer the same issue. I'm using the latest drivers. It works fine without the DisplayLink device connected. Once PBI has loaded and I add the mapbox visual, then I can plug in the display link device and it's fine.
This only happens in Power BI desktop, it doesn't happen in the browser - Edge or Chrome.
I think I got it working. I spent A LOT of time today testing different things. I installed all the latest drivers from Dell. Also updated the DisplayLink drivers from displaylink.com. This is what it comes down to:
So I guess I just have to keep my laptop as my main display - something I prefer not to do. But hey, it works now. So I'm happy. Thanks @ryanbaumann for all your help.
Thanks for the detailed instructions on how to debug and fix, @zapcity! Glad it's working now. Sorry to hear it took quite a bit of troubleshooting - hardware driver issues are always fun to debug.
TL;DR Mapbox GL JS requires Web GL
support. It sounds like there is a hardware driver specific issue with using an external monitor supporting WebGL in PowerBI Desktop. It's worth a shot to open this up in the Power BI Visuals repository if the Power BI Online version of the viz works with the exact same setup.
Thanks @ryanbaumann. Done: https://github.com/Microsoft/PowerBI-visuals/issues/320
I removed the WebGL error message check in https://github.com/mapbox/mapboxgl-powerbi/pull/76
Hi Ryan, I have the same issues on different devices (mobiles, tablets as well as laptops).
I tried your test build. In power bi the visual is not show the error message anymore but its loading all the time (the spinning circle). If I publish the report, the visual is working fine! Are there any restrictions in your test build?
Kind regards from Zurich Steve
Hi @pimsen - what browser are you using locally when you only see the spinning circle?
Hi @ryanbaumann - Thank you very much :)
I have different browsers. Mainly I use Chrome. Its my standard Browser.
The map is loading (spinning circle) only in power bi desktop. In the browser its working. When I configure the map it's necessary to publish to check the changes. It takes time to getting work done. It would be nice if we can check the map in the desktop application not after publishing.
I still can't get this to work. I have enabled webgl in my chrome and restarted. However, it still does not work for my case.
cc/ @samgehret
I seem to still get this message any time I'm using a virtualized PC. I've seen it happen in VMWare VPCs as well as one running on Azure. Thought that may be useful to know. Confirmed with both latest test build and the marketplace version.
We are getting this error in PBI Desktop with the latest (180219) release of the MapBox visualization. Running latest PBI Desktop version (2.55.5010.641). The machine is Windows 10 and has IE, Edge and latest Chrome installed.
How to troubleshoot this?