wiop231
Posts: 6
Joined: Fri Dec 29, 2017 6:25 am

module boost not render in Chrome

The example below worked fined in IE, but not render lines in Chrome with error message.

Example:
http://jsfiddle.net/gh/get/library/pure ... ries-heavy

My Chrome version: 63.0.3239.108

Error message:
boost.js:13 WebGL: INVALID_OPERATION: useProgram: program not valid
boost.js:11 WebGL: INVALID_OPERATION: getUniformLocation: program not linked
boost.js:17 WebGL: INVALID_OPERATION: drawArrays: no valid shader program in use
ppotaczek
Posts: 751
Joined: Mon Oct 02, 2017 3:12 pm

Re: module boost not render in Chrome

Hi wiop231,

I tested your example on the same Chrome version as yours and everything works fine. Perhaps, you have turned off some option related with GPU.
Please go to: chrome://gpu and check if WebGL is enabled.

Useful link: https://superuser.com/questions/836832/ ... my-browser

Best regards!
Paweł Potaczek,
Highcharts Developer
wiop231
Posts: 6
Joined: Fri Dec 29, 2017 6:25 am

Re: module boost not render in Chrome

Thanks! Still working with WebGL2 problem. Seems my display card too old...
wiop231
Posts: 6
Joined: Fri Dec 29, 2017 6:25 am

Re: module boost not render in Chrome

Hi, I adjusted my Chrome's setting. WebGL2 is enabled now. But the chart still not rendering and same error showed again. Everything works fine in IE. So problem might not be my graphics card, it's about browser's options. My gpu status as below. Is there any other thing I can do?

Thanks in advanced.


Graphics Feature Status
Canvas: Hardware accelerated
CheckerImaging: Disabled
Flash: Hardware accelerated
Flash Stage3D: Hardware accelerated
Flash Stage3D Baseline profile: Hardware accelerated
Compositing: Hardware accelerated
Multiple Raster Threads: Enabled
Native GpuMemoryBuffers: Software only. Hardware acceleration disabled
Rasterization: Hardware accelerated
Video Decode: Hardware accelerated
Video Encode: Hardware accelerated
WebGL: Hardware accelerated
WebGL2: Hardware accelerated
Driver Bug Workarounds
clear_uniforms_before_first_program_use
decode_encode_srgb_for_generatemipmap
disable_accelerated_vpx_decode
disable_d3d11
disable_delayed_copy_nv12
disable_direct_composition
disable_discard_framebuffer
disable_dxgi_zero_copy_video
disable_framebuffer_cmaa
disable_larger_than_screen_overlays
exit_on_context_lost
force_cube_complete
msaa_is_slow
scalarize_vec_and_mat_constructor_args
texsubimage_faster_than_teximage
Problems Detected
Some drivers are unable to reset the D3D device in the GPU process sandbox
Applied Workarounds: exit_on_context_lost
TexSubImage is faster for full uploads on ANGLE
Applied Workarounds: texsubimage_faster_than_teximage
Clear uniforms before first program use on all platforms: 124764, 349137
Applied Workarounds: clear_uniforms_before_first_program_use
Always rewrite vec/mat constructors to be consistent: 398694
Applied Workarounds: scalarize_vec_and_mat_constructor_args
Old Intel drivers cannot reliably support D3D11: 363721
Applied Workarounds: disable_d3d11
ANGLE crash on glReadPixels from incomplete cube map texture: 518889
Applied Workarounds: force_cube_complete
On Intel GPUs MSAA performance is not acceptable for GPU rasterization: 527565
Applied Workarounds: msaa_is_slow
Framebuffer discarding can hurt performance on non-tilers: 570897
Applied Workarounds: disable_discard_framebuffer
Direct composition flashes black initially on Win <10: 588588
Applied Workarounds: disable_direct_composition
Zero copy DXGI video hangs on shutdown on Win < 8.1: 621190
Applied Workarounds: disable_dxgi_zero_copy_video
Use GL_INTEL_framebuffer_CMAA on ChromeOS: 535198
Applied Workarounds: disable_framebuffer_cmaa
Disable KHR_blend_equation_advanced until cc shaders are updated: 661715
Applied Workarounds: disable(GL_KHR_blend_equation_advanced), disable(GL_KHR_blend_equation_advanced_coherent)
Decode and Encode before generateMipmap for srgb format textures on Windows: 634519
Applied Workarounds: decode_encode_srgb_for_generatemipmap
VPx decoding isn't supported well before Windows 10 creators update.: 616318, 667532
Applied Workarounds: disable_accelerated_vpx_decode
Accelerated VPx decoding is hanging on some videos.: 654111
Applied Workarounds: disable_accelerated_vpx_decode
Overlay sizes bigger than screen aren't accelerated on some Intel drivers: 720059
Applied Workarounds: disable_larger_than_screen_overlays
Delayed copy NV12 crashes on Intel on Windows <= 8.1.: 727216
Applied Workarounds: disable_delayed_copy_nv12
Native GpuMemoryBuffers have been disabled, either via about:flags or command line.
Disabled Features: native_gpu_memory_buffers
Checker-imaging has been disabled via finch trial or the command line.
Disabled Features: checker_imaging
ppotaczek
Posts: 751
Joined: Mon Oct 02, 2017 3:12 pm

Re: module boost not render in Chrome

Hi wiop231,

Please specify what errors are appearing now? Did you try to reinstall Chrome?

Best regards!
Paweł Potaczek,
Highcharts Developer
wiop231
Posts: 6
Joined: Fri Dec 29, 2017 6:25 am

Re: module boost not render in Chrome

boost.js:11 WebGL: INVALID_OPERATION: getUniformLocation: program not linked
boost.js:13 WebGL: INVALID_OPERATION: useProgram: program not valid
boost.js:15 WebGL: INVALID_OPERATION: useProgram: program not valid
boost.js:17 WebGL: INVALID_OPERATION: drawArrays: no valid shader program in use
ppotaczek
Posts: 751
Joined: Mon Oct 02, 2017 3:12 pm

Re: module boost not render in Chrome

Hi wiop231,

Thank you for the information. Please specify what operating system you are using?
You can try switch ignore-gpu-blacklist flag in chrome://flags and Hardware Acceleration in the Advanced Settings.

If the above actions do not help, try reset your Chrome Settings: https://support.google.com/chrome/answer/3296214?hl=en

Best regards!
Paweł Potaczek,
Highcharts Developer
wiop231
Posts: 6
Joined: Fri Dec 29, 2017 6:25 am

Re: module boost not render in Chrome

My operation system:
Windows 7 Service Pack 1 64 bit
Processor: Intel i5-2400

Actually, I have done that already. I reset my chrome, reopened it. And set ignore-gpu-blacklist flag, turned Hardware Acceleration on. But it not working. Chart not rendering.
barun.srivastav
Posts: 6
Joined: Wed Jan 10, 2018 12:43 pm

Re: module boost not render in Chrome

When i investigated found that with boost.js if huge points are there that is not working on chrome refer below link with boost.js and without boost.js
https://jsfiddle.net/sgo75bg0/2/
above is not working on chrome while below link( without boost.js with same set of data)
https://jsfiddle.net/sgo75bg0/3/

if i reduce the data count then it is working fine with boost.js on chrome as well refer below link.
https://jsfiddle.net/sgo75bg0/4/
barun.srivastav
Posts: 6
Joined: Wed Jan 10, 2018 12:43 pm

Re: module boost not render in Chrome

I am getting same issue with chrome version 61.0.3163.100

refer below link with boost.js and without boost.js
https://jsfiddle.net/sgo75bg0/2/
above is not working on chrome while below link( without boost.js with same same set of data)
https://jsfiddle.net/sgo75bg0/3/

Error message:
boost.js:15 WebGL: INVALID_OPERATION: useProgram: program not valid
WebGL: INVALID_OPERATION: getUniformLocation: program not linked
WebGL: INVALID_OPERATION: drawArrays: no valid shader program in use

Also on Firefox version 52.4.0. i am getting
Error: WebGL: Disallowing antialiased backbuffers due to blacklisting.
Error: WebGL: texImage2D: Conversion requires pixel reformatting.
ppotaczek
Posts: 751
Joined: Mon Oct 02, 2017 3:12 pm

Re: module boost not render in Chrome

Hi,

This case seems to be a bit complex, so I contacted with our boost creator. The answer for the questions will be as soon as possible.
Sorry for the inconvenience.

EDIT
There is an issue with the new Chrome versions. It looks like it's limited to Windows. However, there's a separate issue too that seem to impact scatter and bubble charts only when using Intel cards on osx, which results in the same error message.
The work is in progress and this problem should be repaired in future.

Best regards!
Paweł Potaczek,
Highcharts Developer
barun.srivastav
Posts: 6
Joined: Wed Jan 10, 2018 12:43 pm

Re: module boost not render in Chrome

Hi Team,

Is there any update on this issue. When it will be fixed?

Best regards
Barun
ppotaczek
Posts: 751
Joined: Mon Oct 02, 2017 3:12 pm

Re: module boost not render in Chrome

Hi barun.srivastav,

Unfortunately, we have problem with reproduce this issue and currently we do not plan to spend time fixing it. This particular case is probably either a hardware, driver, or a system misconfiguration issue. The error indicates that the shaders won't compile, which wouldn't happen if everything was fine with the system or browser.

Best regards!
Paweł Potaczek,
Highcharts Developer
TRAFx
Posts: 1
Joined: Thu Mar 22, 2018 4:40 pm

Re: module boost not render in Chrome

I just wanted to weigh in on this. We are having similar problems with invalid WebGL operations on one of our older PCs.

Just like above, it works fine on IE but not in Chrome or Firefox, suggesting it cannot entirely be a system issue.
Here is this PCs Graphics Feature Status:
Graphics Feature Status
Canvas: Hardware accelerated
CheckerImaging: Disabled
Flash: Hardware accelerated
Flash Stage3D: Hardware accelerated
Flash Stage3D Baseline profile: Hardware accelerated
Compositing: Hardware accelerated
Multiple Raster Threads: Disabled
Native GpuMemoryBuffers: Software only. Hardware acceleration disabled
Rasterization: Hardware accelerated
Video Decode: Hardware accelerated
WebGL: Hardware accelerated
WebGL2: Unavailable

As you can see, WebGL 1.0 is available but not 2.0. Does boost require 2.0? How come it works in IE if that's the case?

The console is giving these errors:
15 WebGL: INVALID_OPERATION: useProgram: program not valid
135 WebGL: INVALID_OPERATION: getUniformLocation: program not linked
5 WebGL: INVALID_OPERATION: getAttribLocation: program not linked
17 WebGL: INVALID_OPERATION: drawArrays: no valid shader program in use

OS is Win7, Chrome Version 65.0.3325.181 (Official Build) (32-bit)

The issue occurs only when boosting.

We'd like to know why this is happening so we can gauge how many of our customers might be affected.
Any help would be greatly appreciated.

Cheers,
Tobi
ppotaczek
Posts: 751
Joined: Mon Oct 02, 2017 3:12 pm

Re: module boost not render in Chrome

Hi TRAFx,

Thank you for reporting this problem. This case is very complex and it is hard for me to give you an official answer. Could you report this issue with all this information on our GitHub?

https://github.com/highcharts/highcharts/issues/new

Best regards!
Paweł Potaczek,
Highcharts Developer

Return to “Highcharts Usage”